diff --git a/AUTHORS.txt b/AUTHORS.txt index 17ad53623..4fdcd72a0 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -1,58 +1,58 @@ OpenSceneGraph Library 3.4.0 -550 Contributors: +578 Contributors: Firstname Surname ----------------- Robert Osfield -Don Burns Stephan Huber Paul Martz Farshid Lashkari Mathias Frhlich -Marco Jez Wang Rui Jean-Sbastien Guay -Ulrich Hertlein Mike Weiblen +Ulrich Hertlein +Marco Jez Sukender Eric Wing Cedric Pinson Brede Johansen Bob Kuehne +Wojciech Lewandowski Michael Platings Geoff Michel -Wojciech Lewandowski Eric Sokolowsky David Callu Laurens Voerman Colin McDonald -Trajce Nikolov Tim Moore Martin Lavery +Trajce Nikolov Mattias Helsing -Tree Jason Beverage +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 +Jannik Heller David Fries Tom Jolley Paul Melis Luc Frauciel Aurelien Albert -Pavel Moloshtan Brad Christiansen Terry Welsh +Pavel Moloshtan Olaf Flebbe Mathieu Marache Lionel Lagarde @@ -61,32 +61,31 @@ Art Tevs Philip Lowman Per Fahlberg Norman Vine -Jannik Heller Chris Denham Serge Lages -Romano Jos Magacho da Silva +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 Sebastian Messerschmidt +Randall Hopper Kristofer Tingdahl +Jan Ciger Gideon May Don Tidrow -Stephane Lamoliatte +Ruben Lopez Michael Gronager Martin Naylor Joakim Simonsson David Spilling Daniel Sjlie Bryan Thrall +Robert Michael Rafa Gaitan Mike Connell Fabien Lavignotte @@ -96,64 +95,64 @@ Riccardo Corsi Melchior Franz Konstantin Matveyev Johannes Baeuerle +Stephane Lamoliatte Neil Hughes Martin Beckett Marc Helbling +Jordi Torres 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 +Bjrn 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 -Bjrn 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,16 @@ Bradley Anderegg Andreas Goebel Alok Priyadarshi Ali Botorabi -Alberto Barbati Alan Dickinson 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 +199,7 @@ Rene Molenaar Piotr Domagalski Phil Atkin Pawel Ksiezopolski +Patrick Neary Nathan Monteleone Miha Ravelj Miguel Escriva @@ -225,6 +227,7 @@ Fabio Mierlo Doug McCorkle Donald Cipperly Don Leich +Don Burns Dietmar Funck Colin Cochran Christian Ruzicka @@ -239,6 +242,7 @@ Andreas Henne Anders Backman Alexander Wiebel Alessandro Terenzi +Alberto Barbati Zach Deedler Yuzhong Shen Wee See @@ -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 Lvset 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,18 @@ 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 Charbit Rocco Martino Robert Swain +Robert Mon Rob Smith Rob Radtke Rob Bloemkool @@ -378,6 +392,7 @@ Remo Eichenberger Reinhard Sainitzer Rein Kadijk Ragnar Hammarqvist +R Fri Qing Shen Piotr Rak Pierre Bourdin @@ -389,6 +404,7 @@ Petr Salinger Peter Bear Peter Amstutz Per Nordqvist +Pavel Sat Paul Idstein Paul Fredrikson Paul Fotheringham @@ -403,12 +419,16 @@ Oren Fromberg Oliver Neumann Ole-Morten Duesund Nicolas Brodu +Nick Thu +Nick Fri Nick Black +Neil Tue Mojtaba Fathi Mirko Viviani Mikkel Gjl Mike Krus Mike Garrity +Mick Thu Michal Durkovic Michael Schanne Michael Polak @@ -416,6 +436,8 @@ Michael Morrison Michael Logan Michael Kapelko Michael Bach Jensen +Maya Thu +Maya Leonard Max Rhiener Max Behensky Mauricio Hofmam @@ -432,9 +454,9 @@ Martin Beck Marius Kintel Mario Guimaraes Marcus Hein +Marco Thu Marco Sciabica Marco Lehmann -Maik Keller Lukas Diduch Louis Hamilton Likasz Izebski @@ -456,7 +478,9 @@ Juan Hernando Josh Portway Jonathan Greig John Tan +John Hedström John Grant +John Farrier John Donovan John Davis John Cummings @@ -479,8 +503,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 +521,8 @@ Ferdinand Cornelissen Fajran Iman Fabien Dachicourt Erik Johnson +Eric Thu +Eric Buehler Eduardo Alberto Edmond Gheury Ed Ralston @@ -526,8 +554,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 +566,6 @@ Bart Gallet Axel Volley Arjun Ramamurthy Anthousis Andreadis -Anish Thomas Andy Preece Andrew Reyonolds Andreas Roth diff --git a/ChangeLog b/ChangeLog index 549d591d0..c57f57a8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,87463 +1,66969 @@ -2015-08-12 10:44 robert +Tue, 1 Mar 2016 19:44:32 +0000 +Checked in by : Robert Osfield +Refactored the make tag-test, tag-run, branch-test, branch-run and ChangeLog features of the CMakeLists build system so it now supports working off git instead of subversion - * include/osg/State: Added initializer +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. -2015-08-12 10:30 robert +Mon, 29 Feb 2016 15:57:01 +0000 +Checked in by : Robert Osfield +Merged improved parsing of #pragma from master. - * ChangeLog: Updated ChangeLog +Wed, 24 Feb 2016 16:00:12 +0000 +Checked in by : Robert Osfield +Fixed debug build -2015-08-12 10:19 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/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: Merged shaders from - svn/trunk that refactor the workaround to the NVidia driver bug +Mon, 22 Feb 2016 09:19:51 +0000 +Checked in by : Robert Osfield +From Anish Thomas, "Underflow bug in BufferObject pool usage" -2015-08-12 10:06 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: - * ChangeLog: Update ChangeLog +Code: + DrawElementsUByte* elems = new DrawElementsUByte(PrimitiveSet::TRIANGLES); + elems->push_back(0); + elems->push_back(1); + elems->push_back(2); -2015-08-12 06:38 robert + elems->push_back(2); + elems->push_back(3); + elems->push_back(0); + geom->addPrimitiveSet(elems); + geom->addPrimitiveSet(new DrawArrays(PrimitiveSet::QUADS,0,4)); - * CMakeLists.txt, ChangeLog, README.txt: Change RC number to 0 for - 3.4.0 stable release. - Updated ChangeLog - Updated the release data in the README +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-08-11 20:12 robert - * CMakeLists.txt, ChangeLog: Updated ChangeLog and RC nubmer to 13, - and added GL1 to the docs on the GL_PROFILE 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-08-11 20:08 robert +To enable recent versions of the DOM to be found in their new install locations. - * 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 length bug. -2015-08-11 08:44 robert +Thu, 18 Feb 2016 19:53:36 +0000 +Checked in by : Robert Osfield +Updated the AuthenticationDetails::HttpAuthentication enum to reflect current libcurl values - * CMakeLists.txt, CMakeModules/FindAsio.cmake, - CMakeModules/FindLIBLAS.cmake, src/osgPlugins/CMakeLists.txt: - Moved the FIND_PACKAGE(Boost) from the root CMakeLists.txt into - the local Find scripts to avoid Boost check when not neccessary. +Thu, 18 Feb 2016 10:57:19 +0000 +Checked in by : Robert Osfield +Replaced (long int) with more portable (GLint64) -2015-08-10 19:58 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." - * ChangeLog: Updated ChangeLog +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-08-10 19:56 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/osg/State.cpp: From svn/trunk merged support for passing the - GL_VENDOR string into the #pragma(tic) shader compositions - defines +Wed, 17 Feb 2016 17:36:10 +0000 +Checked in by : Robert Osfield +Fixed warning -2015-08-10 19:46 robert +Wed, 17 Feb 2016 17:08:07 +0000 +Checked in by : Robert Osfield +Commented out unused functions and variable. - * CMakeLists.txt, ChangeLog: Update RC number to 12, and updated - ChangeLog +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-08-10 19:40 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. - * CMakeLists.txt: Fixed line endings -2015-08-10 19:39 robert +Mon, 25 Jan 2016 19:38:44 +0000 +Checked in by : Robert Osfield +Added .gitignore to queiten down git status reports - * 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. +Mon, 25 Jan 2016 12:18:32 +0000 +Checked in by : Robert Osfield +Revert "From Jannik Heller and Robert Osfield, introduced ReadResult/WriteResult::statusMessage() method that creates a std::string from the stutus value and message string." as this submission was meant for the master only, not the binary compatible 3.4 branch.This reverts commit df97a18a5754ed39ac43044ad9557e8409790ff3. -2015-08-10 19:19 robert - * src/osg/Shader.cpp: Quietened down #pragma(tic) shader - composition messages +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-08-10 05:04 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." - * include/osg/Types, src/osg/CMakeLists.txt: Build fix for VS and - installing TYpes +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-08-09 10:20 robert +Thu, 21 Jan 2016 08:32:57 +0000 +Checked in by : Robert Osfield +Fixed typo View::setImagePager(..) template method - * AUTHORS.txt, ChangeLog: Update ChangeLog and AUTHORS for rc11 +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-08-09 10:16 robert +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. - * CMakeLists.txt: Updated RC number to 11. +Tue, 19 Jan 2016 15:39:46 +0000 +Checked in by : Robert Osfield +From Ravi Mathur, OSX/Clang 7.0.0 build fix -2015-08-09 10:16 robert +Mon, 14 Dec 2015 17:59:45 +0000 +Checked in by : Robert Osfield +From Wojciech Lewandowski, Visual Studio 2008 compatibility fixTwo fixed files: - * src/osg/GL.in: Changed GLint64 and GLuint64 to use int64_t and - uint64_t (pulled in via include/osg/Types) to avoid conflict with - Qt5 definitions +osgPlugins/osgjs/JSON_Objects +osgPlugins/stl/ReaderWriterSTL.cpp. -2015-08-09 09:40 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. - * include/osgViewer/api/X11/PixelBufferX11, - src/osgViewer/PixelBufferX11.cpp: Added #idef guards for SGIX - usage -2015-08-08 08:49 robert +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 - * src/osgPlugins/zip/ZipArchive.cpp: From Glenn Waldron, fix error - in ZIP plugin handling of memory buffer -2015-08-06 15:10 robert +Mon, 23 Nov 2015 11:45:01 +0000 +Checked in by : Robert Osfield +Added support for copying include/osgViewer/config headers on make install. - * CMakeLists.txt, ChangeLog: Updated rc number and ChangeLog for - 3.4.0-rc10 - -2015-08-06 15:04 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: Merged workaround - for NVidia driver/GPU bug by updating shaders from svn/trunk that - change float to int usage. - -2015-08-06 15:03 robert - - * src/osgText/Text.cpp: Added checks for the validity of chached - coordinate arrays. - -2015-08-03 19:38 robert - - * AUTHORS.txt, CMakeLists.txt, ChangeLog: Updated rc number to 9, - and updated ChangeLog and AUTHORS.txt - -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 15:12 robert - - * AUTHORS.txt, ChangeLog: Update ChangeLog and AUTHORS - -2015-07-31 15:01 robert - - * CMakeLists.txt: Updated rc number to 8 for 3.4.9-rc8 - -2015-07-31 13:47 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 21:32 robert - - * AUTHORS.txt, CMakeLists.txt, ChangeLog: Update version and rc - number of 3.4.0-rc7. - -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. +Mon, 9 Nov 2015 15:14:07 +0000 +Checked in by : Robert OSFIELD +Fixed warning messagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15179 16af8721-9629-0410-8352-f15c8da7e697 -2015-07-23 14:37 robert - - * include/osg/Types, include/osgViewer/ViewerBase: From Pjotr - Svetachov, buid fixes for VS2015. - -2015-07-23 14:30 robert - - * src/osgPlugins/osc/osc/OscOutboundPacketStream.cpp: Fixed - indentation -2015-07-23 14:03 robert +Sun, 8 Nov 2015 11:59:23 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, fixed typo of OSG_COMPIlE_CONTEXTS env vargit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15175 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/osc/osc/OscOutboundPacketStream.cpp: -2015-07-23 11:14 robert +Thu, 5 Nov 2015 14:38:19 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Avoid per frame X11 roundtrips"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15174 16af8721-9629-0410-8352-f15c8da7e697 - * 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 -2015-07-23 09:23 robert +Mon, 26 Oct 2015 11:43:28 +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/branches/OpenSceneGraph-3.4@15172 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgFX/BumpMapping.cpp, src/osgFX/Cartoon.cpp: Added missing - handling of lightnumber and associate lights -2015-07-23 07:39 robert +Mon, 26 Oct 2015 11:41:44 +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/branches/OpenSceneGraph-3.4@15170 16af8721-9629-0410-8352-f15c8da7e697 - * 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 14:55 robert +Fri, 23 Oct 2015 11:07:30 +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/branches/OpenSceneGraph-3.4@15168 16af8721-9629-0410-8352-f15c8da7e697 - * applications/osgversion/Contributors.cpp: Fixed Contributors list -2015-07-22 14:51 robert +Thu, 22 Oct 2015 14:14:53 +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: - * ChangeLog: Updated ChangeLog + bool addChild(Node* child); // old method which can only be used with a Node* -2015-07-22 14:41 robert + tempalte bool addChild(const osg::ref_ptr& child) { return addChild(child.get()); } // adapter template method - * CMakeLists.txt: Update rc to 6. +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-07-22 14:30 robert - * include/osg/AlphaFunc, include/osg/GLDefines: Moved from - svn/trunk, moved GL_ALPHA_TEST from AlphaFunc to GLDefines -2015-07-22 14:27 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15165 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt, src/osg/GL.in: From svn/trunk merged automatic - detection of GLint64 + GLuint64 in GL headers -2015-07-21 14:22 robert +Thu, 8 Oct 2015 15:58:22 +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/branches/OpenSceneGraph-3.4@15149 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: Added check for - validity of OpenFlight shininess value. -2015-07-21 13:42 robert +Mon, 5 Oct 2015 11:18:46 +0000 +Checked in by : Robert OSFIELD +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/branches/OpenSceneGraph-3.4@15148 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/BoundsChecking: Fixed typo -2015-07-20 13:23 robert +Fri, 25 Sep 2015 15:20:32 +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/branches/OpenSceneGraph-3.4@15144 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Reduced debug message verbosity. -2015-07-20 07:53 robert +Fri, 25 Sep 2015 11:15:09 +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/branches/OpenSceneGraph-3.4@15142 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt: Updated RC to 5 for 3.4.0-rc5 release -2015-07-20 07:46 robert +Fri, 25 Sep 2015 10:10:10 +0000 +Checked in by : Robert OSFIELD +Refactored osgViewer::Renderer's handled of FrameStamp to avoid threading conflictsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15139 16af8721-9629-0410-8352-f15c8da7e697 - * ChangeLog: Updated ChangeLog for rc -2015-07-20 07:42 robert +Thu, 24 Sep 2015 14:14:43 +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/branches/OpenSceneGraph-3.4@15137 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/osgjs/json_stream: Changed the _MSC_VER check to - <= 1700 to support VS2012. -2015-07-19 09:51 robert +Thu, 24 Sep 2015 09:29:15 +0000 +Checked in by : Robert OSFIELD +Fixed line endingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15133 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Reinstated the - TIFFSetField(image, TIFFTAG_ROWSPERSTRIP, rowsperstrip); -2015-07-17 18:31 robert +Fri, 4 Sep 2015 15:35:14 +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: - * CMakeModules/FindGStreamer.cmake: From KOS, "I'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 + 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-07-17 09:16 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. - * CMakeLists.txt: Updated release candidate number +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-07-17 09:06 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. +" - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS -2015-07-17 08:21 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15128 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt: Added cmake version checked for cmake_policy - setting -2015-07-17 08:12 robert +Fri, 4 Sep 2015 15:05:06 +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) - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Patrick Neary, "To - the tiff plugin, add the capability to write tiff images with - unsigned short data" +This bug is present since svn rev 8663 (just before 2.6.0 release) -2015-07-16 19:16 robert - * 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" +attached is a zip with the files: -2015-07-16 15:56 robert +OpenSceneGraph\include\osgDB\ImagePager - * 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” -2015-07-16 11:01 robert - * src/osgText/Text.cpp: Added check to catch cases where the - backdrop coordinate cache is too small for the number of contexts - being computed. +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-07-15 10:02 robert - * src/osgPlugins/ive/DataInputStream.cpp: Added initializers and - reverted OSX workaround from 2013. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15126 16af8721-9629-0410-8352-f15c8da7e697 -2015-07-14 16:55 robert - * CMakeLists.txt: Fixed source of 3.4.0-rc tags to branches so that - release candidates are made from the correct 3.4 branch. +Fri, 4 Sep 2015 14:50:27 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "I crashed osgconv while compressing textures:osgconv --compressed-dxt1 cow.osg cow.ive -2015-07-14 16:37 robert +due to different handling of the extentions in osg 3.4 and up. - * CMakeLists.txt, ChangeLog: Updated ChangeLog and Release - Candidate number of 3.4-rc2 +attached is a zip with the files: -2015-07-14 13:33 robert +OpenSceneGraph\applications\osgconv\osgconv.cpp - * 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 - * 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. +This file is valid for svn branch and stable3.4." -2015-07-14 08:25 robert - * src/osg/StateSet.cpp: Added _defineList into the - osg::StateSet::compare() implementation to address issues with - osgUtil::Optimizer ignoring defines. -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. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15123 16af8721-9629-0410-8352-f15c8da7e697 -2015-07-13 16:04 robert - * 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(). +Fri, 4 Sep 2015 14:35:03 +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; -2015-07-13 08:48 robert + dirtyDisplayList(); - * include/osg/GLDefines: From Terry Welsh, "fThis fixes problem - where new glClipControl feature would not compile for GLES2 - profile" + if (_useVertexBufferObjects) + { + for(ArrayList::iterator itr = _vertexAttribList.begin(); + itr != _vertexAttribList.end(); + ++itr) + { +if(itr->get())//ADDED + addVertexBufferObjectIfRequired(itr->get()); + } + } +} +" -2015-07-03 06:50 robert +and - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS for 3.4-rc1 +"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." -2015-07-03 06:30 robert - * .: Branch OpenSceneGraph-3.4 -2015-07-03 06:28 robert - * Updated for 3.4 branch. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15122 16af8721-9629-0410-8352-f15c8da7e697 -2015-07-02 11:58 robert - * Fixed repeated name in SETUP_PLUGIN. +Wed, 12 Aug 2015 11:13:17 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15114 16af8721-9629-0410-8352-f15c8da7e697 -2015-07-02 10:25 robert - * Updated ChangeLog and AUTHORS file in prep for 3.4 branch. +Wed, 12 Aug 2015 10:44:20 +0000 +Checked in by : Robert OSFIELD +Added initializergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15113 16af8721-9629-0410-8352-f15c8da7e697 -2015-07-02 08:57 robert - * Build fix +Wed, 12 Aug 2015 10:30:18 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15112 16af8721-9629-0410-8352-f15c8da7e697 -2015-07-02 08:52 robert - * Moved the defination of GL_MAX_VARYING_COMPONENTS to GL_3_0 block - to avoid warnings of redefinition. +Wed, 12 Aug 2015 10:19:15 +0000 +Checked in by : Robert OSFIELD +Merged shaders from svn/trunk that refactor the workaround to the NVidia driver buggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15111 16af8721-9629-0410-8352-f15c8da7e697 -2015-07-01 05:32 robert - * Updated ChangeLog +Wed, 12 Aug 2015 10:06:58 +0000 +Checked in by : Robert OSFIELD +Update ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15108 16af8721-9629-0410-8352-f15c8da7e697 -2015-07-01 05:10 robert - * From Mathias Froehlich, added seriliazers for new - osg::ClipControl +Wed, 12 Aug 2015 06:38:59 +0000 +Checked in by : Robert OSFIELD +Change RC number to 0 for 3.4.0 stable release. Updated ChangeLog Updated the release data in the READMEgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15099 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-30 09:51 robert - * Updated ChangeLog and AUTHORS files +Tue, 11 Aug 2015 20:12:02 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and RC nubmer to 13, and added GL1 to the docs on the GL_PROFILE usagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15098 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-30 09:11 robert - * From Mathias Froehlich, "Attached a new state attribute - implementing the glClipControl that appeared with GL4.5." +Tue, 11 Aug 2015 20:08:07 +0000 +Checked in by : Robert OSFIELD +Refactored workaround of NVidia nan length bug.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15097 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-30 08:39 robert - * Quitened down debug for ViewConfig argument parsing +Tue, 11 Aug 2015 08:44:46 +0000 +Checked in by : Robert OSFIELD +Moved the FIND_PACKAGE(Boost) from the root CMakeLists.txt into the local Find scripts to avoid Boost check when not neccessary.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15094 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-30 08:38 robert - * Build fix for GLDAL>=2 +Mon, 10 Aug 2015 19:58:22 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15090 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-26 09:40 robert - * From Christian Kehl, added Vec2::set(const Vec2) method +Mon, 10 Aug 2015 19:56:53 +0000 +Checked in by : Robert OSFIELD +From svn/trunk merged support for passing the GL_VENDOR string into the #pragma(tic) shader compositions definesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15089 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-19 09:51 robert - * From Jannik Heller, fixed clearReferencesToDependentCameras() - calls +Mon, 10 Aug 2015 19:46:19 +0000 +Checked in by : Robert OSFIELD +Update RC number to 12, and updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15086 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-17 16:25 robert - * 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. +Mon, 10 Aug 2015 19:40:25 +0000 +Checked in by : Robert OSFIELD +Fixed line endingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15084 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-16 17:18 robert - * Small tidy up to make script more readable. +Mon, 10 Aug 2015 19:39:18 +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/branches/OpenSceneGraph-3.4@15082 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-16 17:17 robert - * Added QT_QTCORE_INCLUDE_DIR entry to qfont plugin build to fix - Qt4 build under Linux +Mon, 10 Aug 2015 19:19:03 +0000 +Checked in by : Robert OSFIELD +Quietened down #pragma(tic) shader composition messagesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15080 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-15 19:59 robert - * 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, 10 Aug 2015 05:04:39 +0000 +Checked in by : Robert OSFIELD +Build fix for VS and installing TYpesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15076 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-15 13:51 robert - * Experiment with how to define GLsizeiptr. +Sun, 9 Aug 2015 10:20:51 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog and AUTHORS for rc11git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15074 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-15 13:51 robert - * Upated version number +Sun, 9 Aug 2015 10:16:48 +0000 +Checked in by : Robert OSFIELD +Updated RC number to 11.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15073 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-12 20:23 robert - * Removed old and unused windows code path to avoid confusion +Sun, 9 Aug 2015 10:16:03 +0000 +Checked in by : Robert OSFIELD +Changed GLint64 and GLuint64 to use int64_t and uint64_t (pulled in via include/osg/Types) to avoid conflict with Qt5 definitionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15072 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-12 11:28 robert - * Updated ChangeLog +Sun, 9 Aug 2015 09:40:59 +0000 +Checked in by : Robert OSFIELD +Added #idef guards for SGIX usagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15070 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-12 08:04 robert - * From Farshid Lashkari, "I've modified some setter methods of - TextBase to avoid unnecessary calls to - computeGlyphRepresentation() if the value has not changed." +Sat, 8 Aug 2015 08:49:53 +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/branches/OpenSceneGraph-3.4@15068 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-11 08:44 robert - * Reverted the typdef GLfloat GLdouble for Andoid as this was - causing conflicts. +Thu, 6 Aug 2015 15:10:55 +0000 +Checked in by : Robert OSFIELD +Updated rc number and ChangeLog for 3.4.0-rc10git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15063 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-10 18:22 robert - * Updated ChangeLog and AUTHORS file for 3.3.8 dev release +Thu, 6 Aug 2015 15:04:36 +0000 +Checked in by : Robert OSFIELD +Merged workaround for NVidia driver/GPU bug by updating shaders from svn/trunk that change float to int usage.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15062 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-10 16:48 robert - * 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. - - " +Thu, 6 Aug 2015 15:03:50 +0000 +Checked in by : Robert OSFIELD +Added checks for the validity of chached coordinate arrays.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15061 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-10 16:47 robert - * 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." +Mon, 3 Aug 2015 19:38:37 +0000 +Checked in by : Robert OSFIELD +Updated rc number to 9, and updated ChangeLog and AUTHORS.txtgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15043 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-10 10:00 robert - * 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." +Mon, 3 Aug 2015 19:14:11 +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-06-09 16:49 robert + - * Added supoort for - osg::CullSettings/Camera::InheritanceMaskActionOnAttributeSetting - and InheritanceMask properties. +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-06-09 12:51 robert - * Added namespace around typedef to avoid conflict issues -2015-06-09 10:49 robert - * 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/branches/OpenSceneGraph-3.4@15042 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-09 09:44 robert - * Added output of HUD scene graph to hud.osgt and hud.osgb for - testing purposes. +Fri, 31 Jul 2015 15:12:10 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog and AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15039 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-08 11:33 robert - * Updated AUTHORS and ChangeLog for dev release +Fri, 31 Jul 2015 15:01:34 +0000 +Checked in by : Robert OSFIELD +Updated rc number to 8 for 3.4.9-rc8git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15038 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-08 11:18 robert - * 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. - " +Fri, 31 Jul 2015 13:47:03 +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-06-08 10:20 robert +I also needed to remove quotes from this line in order for headers to be found: - * Addressed race condition where SceneView::setLightingMode() was - setting a shread Master Camera's StateSet. +set(FREETYPE_INCLUDE_DIRS "${FREETYPE_DIR}/include +${FREETYPE_DIR}/include/freetype/config") -2015-06-07 11:13 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." - * Fixed setReferenceTime() bug where a * eather than the correct / - was being used. Bug and fix suggested Benjamin Richter. -2015-06-04 09:35 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15037 16af8721-9629-0410-8352-f15c8da7e697 - * Updated AUTHORS for dev release -2015-06-04 09:13 robert +Fri, 31 Jul 2015 13:44:36 +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. - * From Jannik Heller, Transform::computeBound() optimization. +"glxinfo | grep s3tc" gives: + GL_S3_s3tc -2015-06-04 09:05 robert +Note, if I install the package "libtxc-dxtn-s2tc0", I get in addition: - * From Jannik Heller, Removed unused - StatsHandler::_keyEventToggleVsync +glxinfo | grep s3tc + GL_EXT_texture_compression_s3tc + GL_S3_s3tc -2015-06-04 09:00 robert +However, S3TC compressed textures worked correctly within the OSG even without libtxc-dxtn-s2tc0 installed. - * 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 ." +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-06-03 10:28 robert - * Removed export that was breaking windows build -2015-06-03 09:14 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15034 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +Fri, 31 Jul 2015 10:59:23 +0000 +Checked in by : Robert OSFIELD +Warning fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15033 16af8721-9629-0410-8352-f15c8da7e697 - * From KOS, build fix for osg::Uniform::Callback to - osg::UniformCallback change -2015-06-03 09:06 robert +Fri, 31 Jul 2015 10:54:17 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, warning fixes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15031 16af8721-9629-0410-8352-f15c8da7e697 - * Added doxygen comment for typedef -2015-06-03 08:38 robert +Fri, 31 Jul 2015 10:27:08 +0000 +Checked in by : Robert OSFIELD +Compile fix for Mingw.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15028 16af8721-9629-0410-8352-f15c8da7e697 - * Build fix for when Uniform::Callback isn't defined -2015-06-02 10:25 robert +Thu, 23 Jul 2015 21:32:17 +0000 +Checked in by : Robert OSFIELD +Update version and rc number of 3.4.0-rc7.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15026 16af8721-9629-0410-8352-f15c8da7e697 - * From Konstantin Matveyev, serializer support for UniformCallback -2015-06-02 09:33 robert +Thu, 23 Jul 2015 15:46:39 +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/branches/OpenSceneGraph-3.4@15024 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +Thu, 23 Jul 2015 14:37:24 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, buid fixes for VS2015.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15022 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +Thu, 23 Jul 2015 14:30:39 +0000 +Checked in by : Robert OSFIELD +Fixed indentationgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15019 16af8721-9629-0410-8352-f15c8da7e697 - * From Albert Luaces, typo fixes. -2015-06-01 13:11 robert +Thu, 23 Jul 2015 14:03:15 +0000 +Checked in by : Robert OSFIELD +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15018 16af8721-9629-0410-8352-f15c8da7e697 - * From Jannik Heller, typo fixes +Thu, 23 Jul 2015 11:14:00 +0000 +Checked in by : Robert OSFIELD +Warning fixes for Clang-3.6git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15017 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-01 12:14 robert - * 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." +Thu, 23 Jul 2015 09:23:32 +0000 +Checked in by : Robert OSFIELD +Added missing handling of lightnumber and associate lightsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15014 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-01 12:07 robert - * 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." +Thu, 23 Jul 2015 07:39:01 +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/branches/OpenSceneGraph-3.4@15012 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-01 10:50 robert - * 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); - } - ... - }" - +Wed, 22 Jul 2015 14:55:26 +0000 +Checked in by : Robert OSFIELD +Fixed Contributors listgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15008 16af8721-9629-0410-8352-f15c8da7e697 -2015-06-01 10:41 robert - * From Jannik Heller, build fix +Wed, 22 Jul 2015 14:51:58 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15006 16af8721-9629-0410-8352-f15c8da7e697 -2015-05-29 07:52 robert - * From Jannik Heller, fix for race condition in orphanded - BufferObject handling. +Wed, 22 Jul 2015 14:41:55 +0000 +Checked in by : Robert OSFIELD +Update rc to 6.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15005 16af8721-9629-0410-8352-f15c8da7e697 -2015-05-26 17:24 robert - * 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 - - * 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 +Wed, 22 Jul 2015 14:30:01 +0000 +Checked in by : Robert OSFIELD +Moved from svn/trunk, moved GL_ALPHA_TEST from AlphaFunc to GLDefinesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15004 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +Wed, 22 Jul 2015 14:27:36 +0000 +Checked in by : Robert OSFIELD +From svn/trunk merged automatic detection of GLint64 + GLuint64 in GL headersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15003 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +Tue, 21 Jul 2015 14:22:01 +0000 +Checked in by : Robert OSFIELD +Added check for validity of OpenFlight shininess value.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14999 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +Tue, 21 Jul 2015 13:42:22 +0000 +Checked in by : Robert OSFIELD +Fixed typogit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14996 16af8721-9629-0410-8352-f15c8da7e697 - * 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 - * Added use of ref_ptr<> +Mon, 20 Jul 2015 13:23:50 +0000 +Checked in by : Robert OSFIELD +Reduced debug message verbosity.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14994 16af8721-9629-0410-8352-f15c8da7e697 -2015-05-25 12:39 robert - * Changed the EventQueue::frame() event generation to use the - generatePointerData/reprojectPointerData() methods in the same - way that other events are handled. +Mon, 20 Jul 2015 07:53:18 +0000 +Checked in by : Robert OSFIELD +Updated RC to 5 for 3.4.0-rc5 releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14991 16af8721-9629-0410-8352-f15c8da7e697 -2015-05-25 11:33 robert - * Added osgGA::GUIEventAdapter* returns from various EventQueue - event generation methods. +Mon, 20 Jul 2015 07:46:58 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for rcgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14990 16af8721-9629-0410-8352-f15c8da7e697 -2015-05-21 14:11 robert - * Fixed memory error associated with reading over the end of - container due to an unbounded while loop. +Mon, 20 Jul 2015 07:42:00 +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/branches/OpenSceneGraph-3.4@14988 16af8721-9629-0410-8352-f15c8da7e697 -2015-05-06 18:39 robert - * Update ChangeLog and AUTHORS file +Sun, 19 Jul 2015 09:51:17 +0000 +Checked in by : Robert OSFIELD +Reinstated the TIFFSetField(image, TIFFTAG_ROWSPERSTRIP, rowsperstrip);git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14986 16af8721-9629-0410-8352-f15c8da7e697 -2015-05-05 11:05 robert - * Changed the CMP0020 check to > 2.8.10 - Updated SO version number +Fri, 17 Jul 2015 18:31:19 +0000 +Checked in by : Robert OSFIELD +From KOS, "I've mentioned in the "osg-users" ML about build error with the newest GStreamer 1.5Please, have a look at the attached patch." -2015-04-30 14:04 robert +CMakeModules/FindGStreamer.cmake - * From Christian Kehl, changes for making osgAndroid working with - GLES1 enabled -2015-04-30 13:59 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14983 16af8721-9629-0410-8352-f15c8da7e697 - * From Dmitriy Ogalcev, fix for crash when calling setCursor from a - non GUI thread -2015-04-28 16:12 robert +Fri, 17 Jul 2015 09:16:06 +0000 +Checked in by : Robert OSFIELD +Updated release candidate numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14980 16af8721-9629-0410-8352-f15c8da7e697 - * Replaced attempt at passing NULL Matrix with two specialized - methods. -2015-04-27 19:31 robert +Fri, 17 Jul 2015 09:06:03 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14978 16af8721-9629-0410-8352-f15c8da7e697 - * 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, 17 Jul 2015 08:21:28 +0000 +Checked in by : Robert OSFIELD +Added cmake version checked for cmake_policy settinggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14974 16af8721-9629-0410-8352-f15c8da7e697 - * Refactoring GlyphGeometry Boundary class to facilate better bevel - overlap detection -2015-04-23 12:58 robert +Fri, 17 Jul 2015 08:12:51 +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/branches/OpenSceneGraph-3.4@14970 16af8721-9629-0410-8352-f15c8da7e697 - * Comment out debug notification -2015-04-23 09:49 robert +Thu, 16 Jul 2015 19:16:54 +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/branches/OpenSceneGraph-3.4@14966 16af8721-9629-0410-8352-f15c8da7e697 - * Removed unused method -2015-04-22 14:25 robert +Thu, 16 Jul 2015 15:56:40 +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”git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14964 16af8721-9629-0410-8352-f15c8da7e697 - * 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)." -2015-04-21 17:29 robert +Thu, 16 Jul 2015 11:01:50 +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/branches/OpenSceneGraph-3.4@14962 16af8721-9629-0410-8352-f15c8da7e697 - * 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." -2015-04-20 10:41 robert +Wed, 15 Jul 2015 10:02:31 +0000 +Checked in by : Robert OSFIELD +Added initializers and reverted OSX workaround from 2013.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14960 16af8721-9629-0410-8352-f15c8da7e697 - * Updated AUTHORS -2015-04-20 10:36 robert +Tue, 14 Jul 2015 16:55:27 +0000 +Checked in by : Robert OSFIELD +Fixed source of 3.4.0-rc tags to branches so that release candidates are made from the correct 3.4 branch.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14957 16af8721-9629-0410-8352-f15c8da7e697 - * Build fix -2015-04-20 10:19 robert +Tue, 14 Jul 2015 16:37:31 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and Release Candidate number of 3.4-rc2git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14955 16af8721-9629-0410-8352-f15c8da7e697 - * Build fix -2015-04-20 09:39 robert +Tue, 14 Jul 2015 13:33:17 +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/branches/OpenSceneGraph-3.4@14954 16af8721-9629-0410-8352-f15c8da7e697 - * Moved uniform substitution to infront of vertex attribute - substituion to make sure gl_Vertex usage is replaced when - required. -2015-04-20 09:08 robert +Tue, 14 Jul 2015 13:26:34 +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/branches/OpenSceneGraph-3.4@14951 16af8721-9629-0410-8352-f15c8da7e697 - * 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)." -2015-04-17 14:36 robert +Tue, 14 Jul 2015 08:25:20 +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/branches/OpenSceneGraph-3.4@14949 16af8721-9629-0410-8352-f15c8da7e697 - * Updated dev release number -2015-04-17 13:33 robert +Mon, 13 Jul 2015 16:09:40 +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/branches/OpenSceneGraph-3.4@14946 16af8721-9629-0410-8352-f15c8da7e697 - * Added implementations for the libraryName and className for the - AntiSquish node. -2015-04-17 13:24 robert +Mon, 13 Jul 2015 16:04:38 +0000 +Checked in by : Robert OSFIELD +Standardize the call to setUpThreading() in CompositeViewer/Viewer::realize().Standardize the call to scene->resizeGLObjects(). - * 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 +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14945 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +Mon, 13 Jul 2015 08:48:41 +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/branches/OpenSceneGraph-3.4@14942 16af8721-9629-0410-8352-f15c8da7e697 - * Changed MSVC version test to <= to enable fallback for VS2010. -2015-04-16 10:07 robert +Fri, 3 Jul 2015 06:50:25 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS for 3.4-rc1git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14939 16af8721-9629-0410-8352-f15c8da7e697 - * Fixed crash when AntiSquish node is the root of the scene graph. -2015-04-15 18:34 robert +Fri, 3 Jul 2015 06:30:28 +0000 +Checked in by : Robert OSFIELD +Branch OpenSceneGraph-3.4git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14938 16af8721-9629-0410-8352-f15c8da7e697 - * Updated ChangeLog -2015-04-15 18:05 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 - * Updated version number of dev release -2015-04-15 17:12 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 - * Added missing const to find VS2005 build -2015-04-14 18:16 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 - * 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 +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 - * From Philippe Renon, MingW build fix -2015-04-13 11:48 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 - * Fixed typo of SEPARATE enums -2015-04-13 10:43 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 - * From Jannik Heller, typo fixes -2015-04-13 10:11 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 - * 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 +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 - * 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 +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 - * 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 +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 - * 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 +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 - * Added WindowSizeHandler to osgmanipulator example -2015-04-07 18:01 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 - * From Jannik Heller, typo fixes -2015-04-07 16:58 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 - * 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 +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 - * From Janik Heller, clean up of drawable/node usage -2015-04-07 15:52 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 - * Removed unused ShapesToGeometriesVisitor. -2015-04-07 15:49 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 - * Cleaned up handling of Drawables so it utilizes the Node - inheritance properly. -2015-04-03 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. - * Build fix for VS2005. +This at least provides a proper error message rather than a crash, while we are working on better fixes for the problem." -2015-04-03 13:34 robert - * Improved the doxygen comment for the new - createImageWithOrientationConversion(..) function. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14918 16af8721-9629-0410-8352-f15c8da7e697 -2015-04-03 13:29 robert - * Added automatic rotation of jpeg image based on EXIF rotation - information provided in the header. +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 -2015-04-03 13:19 robert - * Implemented an osg::createImageWithOrientationConversion(...) - method to aid for changing orientation of images. +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 -2015-04-02 16:11 robert - * Added reading of EXIF_Orientation tags when present in a jpeg - file. +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 -2015-04-02 10:12 robert - * 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." +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 -2015-04-01 09:37 robert - * 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." +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 -2015-03-31 19:31 robert - * Fixed crash when using a subload callback, where the _images - array is empty by _images[0] was still being accessed. +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 -2015-03-31 19:29 robert - * Added --subload command line option and test subload callback for - testing purposes +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 -2015-03-31 16:23 robert - * 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); +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 -2015-03-31 15:08 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) - * Introduced Camera::resizeAttachments(int width, int height) to - resize all the Texture and Image assigned the the Camera - attachments. +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-03-31 10:41 robert +" - * Refactor the RTT Camera resize code into a seperate Callback - method in prep for this all being done by a single Camera API - call. -2015-03-31 10:36 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14908 16af8721-9629-0410-8352-f15c8da7e697 - * 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. -2015-03-23 11:36 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 - * Added StatsHandler to osgtessellationshaders example to test out - rendering bug associated with stats rendering. -2015-03-20 17:58 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." - * Added event handle to alter the RTT Camera's dimensions to follow - the windows resizes. -2015-03-20 15:49 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14905 16af8721-9629-0410-8352-f15c8da7e697 - * Fixed resize dimensions of X11 window -2015-03-20 11:48 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 - * 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 +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 - * Added Texture wrap setting to CLAMP_TO_EDGE to fix rendering - problem when running the default osgdistortion example -2015-03-17 18:10 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 - * Fixed VisualStudio warning -2015-03-17 14:50 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 - * From Konstantin Matveyev, "Added ComputeBoundingBoxCallback, - ComputeBoundingSphereCallback and UpdateCallback implmenentations - to serializers" -2015-03-17 09:40 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 - * Updated ChangeLog and AUTHORS file for dev release -2015-03-17 09:09 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 - * Fixed library wrapper -2015-03-17 08:25 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 - * Added ComputeBoundingSphereCallback reference -2015-03-17 08:24 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 - * 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 - " -2015-03-17 08:19 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 - * Changed to using osgDB::ofstream to work around Windows build - issue -2015-03-16 17:01 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 - * Removed unneccessary library link line. -2015-03-16 14:16 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 - * Removed the using namespace std and replaced with local std:: to - make the code clearer -2015-03-16 12:13 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 - * 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 +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 - * From Konstantin Matveyev, "Last update in the - osgAnimation::Animation ONCE mode bug fix" -2015-03-16 10:07 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." - * Added --play-mode [ONCE, STAY, LOOP, PPONG] to help with testing. -2015-03-13 08:12 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14890 16af8721-9629-0410-8352-f15c8da7e697 - * 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) - " -2015-03-12 17:11 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 - * Refactored how the callbacks for updating geometry are managed in - MorphGeometry and RigGeometry to address bugs in serialization. -2015-03-12 15:12 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 - * 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 +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 - * From Mattias Helsing, add copyright notice from other osgjs - header to the json_stream header -2015-03-12 13:37 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 - * 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 +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. - * From Laurens Voerman, warning fixes -2015-03-11 17:36 robert +Please see archive in the attachment. - * 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 +PS +DEEP_COPY_UNIFORMS works for me. +" +Note from Robert Osfield, added typedef UniformCallback Callback for backwards compatibility. - * 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 - * Updated the comments to be more relevant +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14885 16af8721-9629-0410-8352-f15c8da7e697 -2015-03-10 18:15 robert - * Work in progress to allow osg::Texture2DArray to be set up with a - single osg::Image containing 3D image data. +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 -2015-03-10 18:07 robert - * Work in progress on new osgtexture2DArray example +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 -2015-03-09 11:27 robert - * 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 +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 -2015-03-05 19:53 robert - * Update AUTHORS file for 3.3.6 dev release +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 -2015-03-05 19:33 robert - * Updated dev release number +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 -2015-03-05 19:26 robert - * Updated ChangeLog for dev release +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. -2015-03-05 10:53 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. - * Added check for newline at end of version line, and of it's not - add a '\n' +There is one thing left to fix and that is Texture2D::SubloadCallback: -2015-03-04 18:39 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); + } + ... + }" + - * Updated SO_VERSION after changes to osgPresentation -2015-03-04 18:36 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14879 16af8721-9629-0410-8352-f15c8da7e697 - * Restructed the osgPresentation and present3D directories back to - the structure that was present in OSG-3.2 -2015-03-04 17:42 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 - * 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 +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 - * Updated AUTHORS for 3.3.5 dev release -2015-03-03 14:59 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 - * Fixed ClusterCullingCallback parser problem due to osg::Callback - not being included in inheritance list -2015-03-03 12:56 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 - * Restructed the checks in the - CollectLowestTransformsVisitor::removeTransforms() to avoid - benign case being flagged as warning. -2015-03-03 12:03 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 - * 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 +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())) - * Re-organized the #ifdef's to avoid usage of glPolyginMode under - GLES +to -2015-03-02 14:38 robert +Code: +if (_cameraRequiresSetUp || (_camera.valid() && _cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) +" - * Updated SO_VERSION to take account of API changes in osgDB -2015-03-02 12:11 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14873 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +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 - * 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 -2015-03-01 15:20 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. - * 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@14871 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +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 - * Updated version number after dev release. -2015-02-27 09:47 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 - * Updated ChangeLog and Contributors to fix trailing spaces -2015-02-27 09:05 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 - * Fixed Windows warnings - -2015-02-27 04:29 robert - - * Fixes for warnings - -2015-02-26 20:15 robert - - * Fixed build with auto ptr conversion switched off - -2015-02-26 19:51 robert - - * Updated AUTHORS - -2015-02-26 19:14 robert - - * 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 - - * 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 +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 - * From Julien Valentin and Alberto Luaces, added support for - transform feedback extensions -2015-02-26 17:18 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 - * Update AUTHORS file -2015-02-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 - * Fixed typo -2015-02-26 13:52 robert +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 - * Regenerated AUTHORS.txt to fix missing special characters -2015-02-25 19:59 robert +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 - * Updated AUTHORS file -2015-02-25 19:52 robert +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 - * Updated ChangeLog -2015-02-25 19:38 robert +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 - * From Aitor Moreno, "Attached you will find the modified file - without the lines which raises the exception. " -2015-02-25 19:31 robert +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 - * 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 +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 - * 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 +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 - * 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 +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 - * From Andreas Henne, Support for GL3 core profile in osgText -2015-02-25 16:59 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. - * 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. +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." -2015-02-25 14:55 robert - * Fixed handling of NULL entries in osg::Geometry TexCoordArrayList - and VertexAttribArrayList. -2015-02-24 11:06 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14854 16af8721-9629-0410-8352-f15c8da7e697 - * Fixed matrix setup. -2015-02-23 20:28 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 - * Fixed image allocation operations. -2015-02-23 11:43 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 - * From Miha Ravšelj and Robert Osfield, fix for serializer bug in - osgText::TextBase and osg::Camera -2015-02-23 11:07 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 - * From Arjun Ramamurthy, fix for use of StatsHandler in - multipleviews/windows -2015-02-20 15:12 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 - * 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 +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 - * Removed redudent shaders, and updated remaining shaders to match - OpenSceneGraph-Data/shaders -2015-02-20 15:02 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 - * 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 -2015-02-18 10:52 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 - * Moved osgTerrain::GeometryPool from - osgTerrain::DisplacementMappingTechnique to the - osgTerrain::Terrain -2015-02-18 10:23 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 - * 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." -2015-02-17 20:42 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 - * Added support for DefineList to StateSet::merge(..) -2015-02-17 19:40 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 - * 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." -2015-02-17 19:22 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 - * Removed GL_ usage in defines -2015-02-17 19:21 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 - * Removed commented out lines -2015-02-17 10:36 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 - * Cleaned up warning generated when compiling osgocculusviewer -2015-02-13 12:50 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 - * Improvements to the #pragma(tic) shader composition support -2015-02-13 10:56 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 - * 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. -2015-02-13 07:45 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 - * 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." -2015-02-11 19:21 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 - * Fixed warning -2015-02-11 16:41 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 - * Added reassignment of the #version line to the first entry in the - source list. -2015-02-11 09:41 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. - * Added GL #define for Windows build +" -2015-02-10 21:13 robert - * Windows build fix +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14831 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-10 18:01 robert - * Added GL_LINES_ADJACENCY_EXT variants back into ObjectWraper to - enable backwards compatibility. +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 -2015-02-10 17:53 robert - * Change for new Program API +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 -2015-02-10 17:20 robert - * Added support for new #pragam(atic) shader composition to new - displacement mapping technique +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 -2015-02-10 17:04 robert - * 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(..). +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 -2015-02-04 15:11 robert - * Fixed typo. +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 -2015-02-03 16:36 robert - * Removed unncessary _EXT +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 -2015-02-02 09:53 robert - * 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. +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 -2015-01-27 15:07 robert - * Replaced _EXT defines with GL-3.2 versions +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 -2015-01-23 17:15 robert - * 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." +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 -2015-01-23 13:51 robert - * Changed osgFX::MultiTextureControl so that it uses an - osg::FloatArray internally to enable sharing with osg::Uniform. +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 -2015-01-23 13:50 robert - * Added MultiTextureControl event handling of shift 012 i.e. ')', - '!', '"' and 'A' to toggle full on for each of the respective or - all texture units. +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 -2015-01-22 16:49 robert - * Added #define GL_SEPARATE_ATTRIBS and correcte - GL_INTERLEAVED_ATTRIBS +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 -2015-01-22 16:41 robert - * From Alexey Pavlov, "Export fix for Windows platform" +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 -2015-01-22 15:08 robert - * Added GL_INTERLEAVED_ATTRIBS for windows build +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 -2015-01-22 15:07 robert - * Fixed warning +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 -2015-01-21 15:35 robert - * From Andreas Henne, OpenGL core profile fixes required for OSX. +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 -2015-01-21 11:09 robert - * Added TextureWeights uniform support and controls to - osgFX::MultiTextureControl to support usage with shaders. +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 -2015-01-20 18:01 robert - * Re-enabled texturing and fixed runtime warning +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 -2015-01-20 17:58 robert - * Added hardwired geometry shaders +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 + }; -2015-01-20 17:40 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); - * Updated shaders -2015-01-20 15:23 robert - * Added key osgTerrain::GeometryPool methods virtual to make it - easier to override the shaders +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14811 16af8721-9629-0410-8352-f15c8da7e697 -2015-01-20 11:24 robert - * 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 +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 -2015-01-19 11:29 robert - * Added GeometryPool::s/getUseGeometryShader() hint, and - OSG_TERRAIN_USE_GEOMETRY_SHADER env var for setting the default - value. +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 -2015-01-16 11:03 robert - * Added support for using geometry shaders to align the quad - diagonals with the local terrain +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 -2015-01-12 10:31 robert - * Added a local Vec3Array cache to the HeightFieldDrawable to - facilitate efficient intersection testing +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 -2015-01-12 10:30 robert - * 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. +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 -2015-01-07 14:14 robert - * 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. - " +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 -2015-01-07 10:36 robert - * From Farshid Lashkari, "small change to - osg::Image::readImageFromCurrentTexture to allow reading data - from compressed cubemap textures." +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 -2015-01-06 17:23 robert - * Cleaned up GL_TEXTURE_BUFFER_*ARB usage as include/osg/GLDefines - now provides the non ARB variants +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 -2015-01-06 17:12 robert - * 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 - " +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 -2015-01-06 17:09 robert - * Updates SO_VERSION in prep for API modifications since the 3.3.3 - dev release +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 -2015-01-06 14:55 robert - * From Julien Valentin, added missing initializer +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 -2015-01-06 14:41 robert - * From Julien Valentin, typo fix +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 -2015-01-05 17:39 robert - * 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." +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-12-24 11:56 robert - * Updated ChangeLog and AUTHORS +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-12-24 11:43 robert +osg: +Unsupported associated class osg::UpdateCallback (osg_Drawable_UpdateCallback); +ComputeBoundingBoxCallback - * Removed debug message +osgAnimation: +Unsupported wrapper class osgAnimation::RigComputeBoundingBoxCallback +" -2014-12-24 11:25 robert - * 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@14795 16af8721-9629-0410-8352-f15c8da7e697 -2014-12-24 11:02 robert - * 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. +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 -2014-12-24 10:55 robert - * 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. +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 -2014-12-24 10:47 robert - * 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. +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 -2014-12-24 10:14 robert - * Aded shaders for various combinations of layers. +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 -2014-12-24 10:13 robert - * Added osgDB::readShaderFileWithFallback(..) convinience functions - to make it easier to set up reading external shader files with a - built in fallback. +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 -2014-12-23 14:20 robert - * Added support for reading Vec3 colour arrays +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 -2014-12-23 12:10 robert - * 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. +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 -2014-12-22 10:35 robert +USE_SERIALIZER_WRAPPER(Callback) +" - * Added comment about using -DCMAKE_DISABLE_FINDPACKAGE_* command - line. -2014-12-22 09:50 robert - * Added doxygen comment for ref_ptr<>::release(). +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14786 16af8721-9629-0410-8352-f15c8da7e697 -2014-12-22 09:49 robert - * Updated version number after dev release +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 -2014-12-19 11:00 robert - * Windows build error and warning fixes +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. -2014-12-19 10:25 robert +Tested with Visual Studio Express 2013 on 64bit windows 7" - * Updated ChangeLog and AUTHORS file for dev release -2014-12-19 08:27 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14782 16af8721-9629-0410-8352-f15c8da7e697 - * Added if () block to avoid script variables set to NOT-Found - being used in searching -2014-12-19 08:25 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 - * Fixed script warnings -2014-12-18 17:47 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 - * From Aitor Moreno, LAS plugin - depends upon boost and liblas and - liblas-c -2014-12-18 16:52 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 - * From Adrian Clark, build fix for recent Android NDK using the old - Android build approach. -2014-12-18 15:59 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" - * 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 +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14776 16af8721-9629-0410-8352-f15c8da7e697 - * Updated AUTHORS -2014-12-18 11:19 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. - * Updated ChangeLog in prep for dev release -2014-12-18 11:09 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14775 16af8721-9629-0410-8352-f15c8da7e697 - * Fixed warning -2014-12-18 10:59 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 - * Added DisplaySettings::s/getNvOptimusEnablement() and - OSG_NvOptimusEnablement env var control to control the setting of - the NvOptimusEnablement variable -2014-12-18 09:24 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 - * 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 +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 - * 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 +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 - * Added support for using SDL2 to the osgmovie to enable it to - handle floating point audio formats -2014-12-17 19:20 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 - * 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 - - * 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 - - * Fixed warnings and memmory leaks - -2014-12-16 17:15 robert - - * Fixed warnings - -2014-12-16 17:08 robert - - * 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 +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 - * 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 - - * 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. - " +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 -2014-12-15 17:15 robert - * 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" +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 -2014-12-10 18:23 robert - * Build fix +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 -2014-12-10 13:05 robert - * Added OpenGL Transform Feedback extensions. +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 -2014-12-10 12:23 robert - * 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 +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 -2014-12-10 11:44 robert - * Added GLDefines header +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 -2014-12-10 11:29 robert - * From Farshid Lashkari, "The Collada loader would crash while - processing textures on certain files. I've attached the fix." +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 -2014-12-10 10:44 robert - * Removed old GL2Extensions class, replacing it with a typedef to - GL2Extensions - Removed old includes to include/osg/GL2Extensions +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 -2014-12-10 10:38 robert - * 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 +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 -2014-12-10 09:11 robert - * Streamlined the extension functions +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. -2014-12-09 21:33 robert +//GLbitfield mask = 0; //this resolves the issue same as in camera +Also same bit-wise comparison bug was also present in write method. +------------------------------------------------------------------------------------- - * Added #ifdef's around GLsync typedef +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)" -2014-12-09 20:09 robert - * Windows build fixes -2014-12-09 19:31 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14752 16af8721-9629-0410-8352-f15c8da7e697 - * Added new examples to runexamples.bat script -2014-12-09 19:22 robert +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 - * Quietened down debug messages -2014-12-09 19:20 robert +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 - * 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 +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 - * Moved FBO Extensions into GL2Extensions. -2014-12-09 14:58 robert +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 - * Removed no longer used Extension definition -2014-12-09 14:57 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14747 16af8721-9629-0410-8352-f15c8da7e697 - * Moved local Extensions structs into GL2Extensions -2014-12-09 11:14 robert +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 - * Moveved Stencil/StencilTwoSided::Extensions into GL2Extensions -2014-12-09 10:37 robert +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." - * Moved local Extensions objects to GL2Extensions -2014-12-09 10:05 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14744 16af8721-9629-0410-8352-f15c8da7e697 - * Moved Texture*::Extensions functionality into GL2Extensions -2014-12-08 16:08 robert +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 - * MOved VertexProgram and FragmentProgram::Extensions into - GL2Extensions. -2014-12-08 11:08 robert +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 - * Fixed memory leak in RenderStageCache. -2014-12-07 17:31 robert +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 - * MOved SampleMaski::Extensions into osg::GL2Extensions -2014-12-05 20:05 robert +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 - * Moved TextureCubeMap::Extension functionality into GL2Extensions -2014-12-05 17:26 robert +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 - * Moved osg::Drawable::Extensions into osg::GL2Extensions -2014-12-05 10:37 robert +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 - * Fixed windows build warnings -2014-12-05 09:52 robert +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 - * Windows build fix -2014-12-05 08:58 robert +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 - * From the GLintptr + GLsizeiptr defintions to GL2Extensions header -2014-12-04 19:03 robert +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 - * Moved osg::BlenFunc::Extensions into osg::GL2Extensions -2014-12-04 18:13 robert +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 - * Moved GLBufferObject::Extensions structure into - osg::GL2Extensions -2014-12-04 18:12 robert +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 - * Removed redundent spaces -2014-12-04 17:12 robert +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 - * Added glMemoryBarrier, glMapBufferRange and glBindBufferBase to - GL2Extensions -2014-12-04 16:28 robert +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 - * Moved old GL2Extensions::Get(..) usage across to new - osg::State::get() usage -2014-12-04 16:22 robert +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 - * Ported GL2Extentions across to using the new GL extensions - approach - cutting code count by 3000 lines! -2014-12-04 15:10 robert +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 - * Build fix for when ref_ptr<> auto conversion is disabled -2014-12-03 17:31 robert +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). - * Added osg::Capability and Cabibilityi base classes to wrap up - glEnable/glDisable + glEnablei/glDisablei functionality, with - osg::Enablei and osg::Disablei concrete implementations. +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." -2014-12-02 17:12 robert - * Added osg::BlendFunci, osg::BlendEquationi and osg::ColorMaski - StateAttrirbutes that wrap the glBlendFunci, glBlendEquationi and - glColorMaski functions -2014-12-02 15:37 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14720 16af8721-9629-0410-8352-f15c8da7e697 - * Moved BlendEquation across to using the new GL extension setup - approach. -2014-12-02 15:21 robert +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") - * Fixed typo +though all required modules are installed. -2014-12-02 11:10 robert +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. - * 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. +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." -2014-11-28 16:20 robert - * 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@14719 16af8721-9629-0410-8352-f15c8da7e697 -2014-11-28 16:10 robert - * 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. +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 -2014-11-28 10:54 robert - * Standardized on defined(__ANDROID__) +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 -2014-11-28 10:52 robert - * Added getlocaledecpoint() workaround for Android build of lua - plugin +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. -2014-11-27 15:54 robert - * Added in source shaders +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14716 16af8721-9629-0410-8352-f15c8da7e697 -2014-11-27 15:39 robert - * Changed the name of shader files +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 -2014-11-26 20:40 robert - * 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." +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 -2014-11-26 19:05 robert - * Windows build fix +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 -2014-11-26 17:08 robert - * Fixed warnings +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 -2014-11-26 17:04 robert - * Fixed warnings +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 -2014-11-26 16:29 robert - * Fixed deprecated warnings +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 -2014-11-26 16:15 robert - * Fixed warning +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 -2014-11-26 16:04 robert - * Fixed warnings. +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 -2014-11-26 16:00 robert - * Fixed warning +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 -2014-11-26 15:59 robert - * Fixed warning +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 -2014-11-26 14:06 robert - * Added osgTerrain::DisplacementMappingTechnique serializer - -2014-11-26 14:04 robert - - * Renamed ShaderTerrain to DisplacementMappingTechnique and moved - it from the osgterrain example testbed into the osgTerrain - NodeKit - -2014-11-26 13:36 robert - - * Moved osgTerrain::GeometryPool from osgterrain example into - osgTerrain NodeKit - -2014-11-25 14:37 robert - - * Removed GL header as it's already included via the - ${OPENSCENEGRAPH_OPENGL_HEADER} entry. - -2014-11-25 10:58 robert - - * 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 - - * Removed DrawArrays optimization to simplify the code and open the - door to adding primitive combining. - -2014-11-25 10:11 robert - - * Commented out State::setUpVertexAttribAlias(..) debug message. - -2014-11-24 15:19 robert - - * 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 - - * Added VertexAttribDivisor class to wrap up glVertexAttribDivisor - function - -2014-11-24 14:09 robert - - * Fixed osgsimplegl3 example's set up of the main camera. - -2014-11-24 14:01 robert - - * Added numTextureUnits parameter to the - osg::State::resetVertexAttributeAlias(bool, unit) method, and set - the default to 8. - -2014-11-21 20:16 robert - - * 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 - - * Added comment clarifying how Image::getColor(..) out of 0..1 - range texcoords are handled - now clamped to edge. - -2014-11-21 17:22 robert - - * Implemented a clamp to edge policy for the - Image::g/setColor(color, texcoord). - -2014-11-21 17:17 robert - - * Added testing for Drawables in the CopyOp::operator(Node*) to - replicate the old functionality. - -2014-11-21 16:27 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * From Björn Blissing, fix for ambiguous defines in Atomic.cpp when - compiling with MinGW and GCC - -2014-11-20 17:37 robert - - * 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 - - * 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." +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 -2014-11-20 16:38 robert - * 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." +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 -2014-11-20 10:52 robert - * 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())." +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 -2014-11-20 10:45 robert - * 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." +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 -2014-11-20 10:05 robert - * 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" +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 -2014-11-20 09:55 robert - * From Sukender, "Fix for 3DS reader, which may read wrong - triangles. Actually, indices may suffer a 'short int' overflow, - in two places." +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 -2014-11-20 09:41 robert - * Fixed segfalt in Texture2DArray copy constructor where it would - apply images to an uninitialzed vector. +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. -2014-11-20 09:32 robert - * 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@14692 16af8721-9629-0410-8352-f15c8da7e697 -2014-11-20 09:21 robert - * From Pjotr Svetachov, fix for build breakage with giflib 5.0. +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 -2014-11-20 08:26 robert - * From Per Nordqvist, "The README.txt is still somewhat confusing - so I have updated it" +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 -2014-11-19 17:45 robert - * Removed configure script as it's no longer required as cmake . - will now default to Release +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 -2014-11-19 17:42 robert - * Added CMake script to set the default CMAKE_BUILD_TYPE to - Release. Approach taken from simgear. +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 -2014-11-19 17:29 robert - * Fixed Contributors names +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 -2014-11-19 17:10 robert - * From Clement Boesch, "Fix remaining bit of Giflib5 usage" +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 -2014-11-19 11:37 robert - * 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" +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 -2014-11-19 11:30 robert - * 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." +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 -2014-11-19 10:43 robert - * Changed the way that the cell size is passed to the shader +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 -2014-11-19 09:33 robert - * 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." +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 -2014-11-17 15:43 robert - * Fixed typo +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 -2014-11-17 09:19 robert - * Fixed typo in comment +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 -2014-11-14 17:44 robert - * Added use of GL_TRIANGLE_STRIP to cut down the size of the - primitive indices required. +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 -2014-11-14 16:47 robert - * Implemented skirt functionality +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. +" -2014-11-13 09:40 robert +" It seems that libav does not have a channels attribute in AVFrame structure. This new version should do." - * 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. -2014-11-11 18:28 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14676 16af8721-9629-0410-8352-f15c8da7e697 - * Moved implementation of ObjectCache functionality out of Registry - into a dedicated osgDB::ObjectCache class. -2014-11-10 16:04 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 - * 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 +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 - * 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 +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 - * 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 +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 - * 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 +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 - * 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 +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 - * Improvements to the ShaderTerrain experiemental terrain rendering - technique. -2014-11-04 20:07 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 - * Changed TerrainTile::setDirty() to use children needing update - traversal mechanism to address threadng issues. -2014-11-04 20:06 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 - * 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 +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 - * Build fixes for ffmpeg LIBAVCODEC_VERSION_MAJOR >= 56 -2014-11-04 11:18 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 - * 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 +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 - * 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 +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 - * 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 +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 - * Removed --sync related code as it's now integrated into - osg::DisplaySettings and osgViewer -2014-10-21 14:46 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 - * 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, 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 - * Removed checks against Drawable as these are no longer required. -2014-09-17 17: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 - * 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 +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 - * Changed osgvolume example to use the new tf plugin rather than - having local code for reading transfer function -2014-09-16 11:00 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 - * Added write support + With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. -2014-09-15 17:53 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. +" - * Added .tf & .tf-255 plugin for reading ascii 1D transfer functon - files in support for volume rendering. -2014-09-12 14:16 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14654 16af8721-9629-0410-8352-f15c8da7e697 - * Added basic frame rendering for TabWidget -2014-09-10 17:03 robert +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 - * Improved the alignment and sizing of TabWidget tab headers -2014-09-10 11:59 robert +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 - * Implemented the selection of tabs by clicking, using mouse wheel - or arrow keys. -2014-09-09 16:12 robert +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 - * Improved the handling of the dialog title text -2014-09-09 15:14 robert +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 - * 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 +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 - * 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 +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 - * Build fix -2014-09-05 16:04 robert +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 - * Added shell of new osgUI::TabWidget class -2014-09-05 11:05 robert +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 - * 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 +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 - * Added setting of the IsoSurfaceProperty in VolumeSettings -2014-09-03 12:28 robert +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 - * Added close button on Dialog title bar -2014-09-02 17:01 robert +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. - * Refactored the handling of ComboBox item picking to make it - faster and more reliable -2014-09-02 10:00 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14640 16af8721-9629-0410-8352-f15c8da7e697 - * Improved handling of ComboBox popup toggling -2014-09-02 09:14 robert +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. - * Added support for scaling widgets via the scoll wheel. -2014-09-02 08:41 robert - * Removed debugging message -2014-09-01 19:13 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14639 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +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. - * Improved support for controlling the ShadingModel via the - VolumeSettings object -2014-08-28 09:42 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14638 16af8721-9629-0410-8352-f15c8da7e697 - * Improved handling of VolumeSettings -2014-08-27 15:08 robert +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 - * 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 +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 - * Changed the NodeVisitor::apply(Drawable&) to call apply(Node&) -2014-08-27 09:25 robert +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 - * Added support for getting osgVolumre::Property::ModifieCount -2014-08-25 16:56 robert +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 - * Added Property::getModifiedCount() + dirty() to help with - tracking changes. Added VolumeSettings serializers for Property - objects -2014-08-25 13:43 robert +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 - * Changed StateSet::ParentList from vector to - vector to reflect that Drawable is now a Node. -2014-08-22 19:00 robert +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 - * Improved handling of setting of the depth of the UI. -2014-08-20 14:15 robert +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 - * Reordered method implemenations to make it easier to compare - similar methods -2014-08-19 16:58 robert +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 - * Added toggling on/off of the VolumeSettings ui via the 'E' key. -2014-08-19 16:37 robert +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 - * 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 +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 - * Fixed MD2 danglng pointer crash. -2014-08-19 09:00 robert +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 - * Fixed build -2014-08-19 08:57 robert +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 - * Fixed build -2014-08-14 19:00 robert +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 - * Added support for ComboBox::currentIndexChanged*(uint) callback - API. -2014-08-13 09:24 robert +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 - * Resert default value to 1.0 -2014-08-08 16:42 robert +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 - * 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 +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 - * 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 +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 - * 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 +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 - * From Glen Waldron, "Node: patch for remove*Callback() methods to - resolve a crash" -2014-08-08 09:28 robert +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." - * Changes to support building against ANDROID under OSX. -2014-08-05 18:32 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14613 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +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 - * Implemented callbacks for validate(), textChanged() and - returnPressed() -2014-08-01 10:57 robert +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 - * 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 +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 - * Added NodeVisitor::INTERSECTION_VISITOR VisitorType + With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. -2014-07-30 12:48 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. - * Fixed rendering of Popups +" -2014-07-30 12:47 robert +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. - * Update SO version to account for new changes to osg::StateSet and - osgUI -2014-07-30 12:47 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14609 16af8721-9629-0410-8352-f15c8da7e697 - * Added StateSet::RenderBinMode::PROTECTED_RENDERBIN_DETAILS and - OVERRIDE_PROTECTED_RENDERBIN_DETAILS options. -2014-07-29 15:50 robert +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 - * Added preliminary icon to ComboBox. -2014-07-29 15:50 robert +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 - * Fixed debug comment -2014-07-29 15:50 robert +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 - * Implemented prelimary icon support allowing UI widget to place - image and model based icons on widgets -2014-07-29 15:47 robert +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 - * Added catch for NULL Transform pointers getting into the - _transformMap. -2014-07-28 16:19 robert +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. - * Added handling of Drawables added directly to scene graph without - Geode decorating them. -2014-07-24 14:14 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14604 16af8721-9629-0410-8352-f15c8da7e697 - * Added support for changing background colour of LineEdit widget - when focus changes -2014-07-24 13:25 robert +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 - * Refined the colouring of widget to be more in sync with the - defaults used in Qt. -2014-07-23 16:36 robert +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" - * Added VolumeSettings::Filename property. -2014-07-23 15:57 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14602 16af8721-9629-0410-8352-f15c8da7e697 - * Changed the default text colour to black -2014-07-23 14:50 robert +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 - * Added writeFile support -2014-07-23 10:49 robert +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 - * Added Node:getNumParents() and Node:getParent(index) support -2014-07-22 16:02 robert +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 - * 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 +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 - * Centralized the calling of #include and VS fallback - into include/osg/Types header -2014-07-21 14:32 robert +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 - * 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 +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 - * Added setting of glPixelStore before glTexSubImage2D call. -2014-07-21 13:43 robert +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 - * 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 - - * Initial work on integtasting osgUI into Present3D - -2014-07-21 12:18 robert - - * Fixed indentation - -2014-07-21 09:35 robert - - * Added debug messages - -2014-07-18 17:17 robert - * Added serailizer support for NodeVisitor, UpdateVisitor, - CullVisitor and EventVisitor +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 -2014-07-14 15:59 robert - * Added readScript/writeScript methods to ReaderWriter +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 -2014-07-14 14:09 robert - * Renamed osgDB::PropertyInterface to osgDB::ClassInterface to - better reflect it's functionality +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 -2014-07-04 16:45 robert - * Added preliminary support for writing VolumeSettings to disk from - within Present3D in response to pressing and releasing 'Ctrl-S'. +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 -2014-07-03 16:36 robert - * Updated iso and mip shaders from OpenSceneGraph-Data. +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 -2014-07-03 13:06 robert - * Added virtual destructors +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 -2014-07-03 13:05 robert - * Fixed line endings +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 -2014-07-03 13:01 robert - * Changed enum usage to use the new osgVolume::VolumeSettings - versions and added support for reading a VolumeSettings file. +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 -2014-07-03 10:01 robert - * Refactor VolumeSettings so that it's subclassed from - osgVolume::Property +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 -2014-07-02 16:26 robert - * Added osgVolume::VolumeSettings object +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 -2014-07-02 15:34 robert - * Changed the default image output format to .osgb as .dds isn't - able to represent signed byte, short and int data correctly. +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 -2014-07-02 14:14 robert - * fixed handlng of file type of nested files within a .osgx, .osgt - and .osgb file. +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 -2014-07-02 10:25 robert - * 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" +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 -2014-07-01 07:31 robert - * Added #include to address compile issue on some Linux - distro's. +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 -2014-06-30 15:31 robert - * Add dds no flip on write option to prevent output of .dds volume - from being flipped by the dds plugin. +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 -2014-06-30 13:24 robert - * REmoved debug cout +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 -2014-06-30 10:13 robert - * From Mikhail Izmestev, "Attached fix to avoid vector reallocs on - push_back in StateGraph::moveStateGraph." +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 -2014-06-30 09:12 robert - * Updated ChangeLog and AUTHORS file +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 -2014-06-30 08:56 robert - * Updated version number +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 -2014-06-30 08:46 robert - * From Pjotr Svetachov, "Here is a small fix for a overflow when - editing large 3d volume data." +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 -2014-06-30 08:20 robert - * Removed space from #include. +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 -2014-06-30 07:37 robert - * From Alexander Sinditskiy, build fix to allow building against - versions older than librsvg-2.36.2 +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 -2014-06-28 06:22 robert - * Replaced using NodeCallback::run with explict run() - implementation. +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 -2014-06-27 15:57 robert - * 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." +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 -2014-06-27 15:55 robert - * Removed unused method. +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 -2014-06-27 15:48 robert - * 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." +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 -2014-06-27 15:39 robert - * Updated AUTHORS file +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 -2014-06-27 15:38 robert - * Added an OSG_INIT_SINGLETON_PROXY to make sure that the - ApplicationUsage singleton gets intialized before usage. +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 -2014-06-27 15:36 robert - * Updated AUTHORS file +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 -2014-06-27 15:30 robert - * 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. +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 -2014-06-26 15:54 robert - * Update ChangeLog for dev release +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 -2014-06-26 14:16 robert - * Revised KdTreeBuilder so that is used the new - apply(osg::Geometry&) method rather than expanding an osg::Geode. +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. -2014-06-26 11:49 robert - * 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@14560 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-26 11:11 robert - * 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 - - * Removed erroneous character - -2014-06-26 10:53 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Refactored the way that hole are pruned from the occluder hole - list. - -2014-06-25 11:07 robert - - * 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 - - * 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 - - * changed debug message to use OSG_DEBUG - -2014-06-25 09:57 robert - - * 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" +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 -2014-06-25 08:21 robert - * 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." +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. -2014-06-25 08:18 robert - * From Björn Blissing, "Fix to support correct shininess and - transparency in FBX plugin" +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14557 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-24 19:57 robert - * From Pjotr Svetachov, "There were some modes missing when - exporting to .ogst so I added them." +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 -2014-06-24 14:58 robert - * 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." +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 -2014-06-24 11:24 robert - * Merged fix to merge geometries. +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 -2014-06-23 12:02 robert - * Fixed nested callback calling. +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 -2014-06-16 16:16 robert - * Fixed check against totaly number of vertices +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 -2014-06-16 08:54 robert - * 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. - " +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 -2014-06-13 17:17 robert - * Added osgUI::ColorPalette class +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 -2014-06-13 17:16 robert - * Fixed typo in parameter name +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 -2014-06-12 16:00 robert - * 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. +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 -2014-06-12 15:24 robert - * Added if () blocks to - State::convertVertexShaderSourceToOsgBuiltIns() to ensure that - only parts of the shader than need replacing are replaced. +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 -2014-06-12 14:12 robert - * Improved positioning of combo box popup items +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 -2014-06-12 14:05 robert - * Added frame support to ComboBox. - - Improved the alingment support for text +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 -2014-06-11 16:31 robert - * Added handling of AligmentSettings of Text layout +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 -2014-06-11 10:55 robert - * Implemented more robust intersection handling for mouse - interactions. Wired up even handling of ComboBox popup. +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 -2014-06-10 08:50 robert - * Added using Callback::run() method to Drawable::CullCallback +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 -2014-06-09 13:46 robert - * Fixed handling of Drawable callbacks and - NumChildrenRequiringEventTraversal +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 -2014-06-06 15:05 robert - * Removed redudent NodeVisitor::s/getUserData() as osg::Object - provide this. - - Added using run entry to InteractiveImageHandler to quieten - warning +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 -2014-06-06 09:12 robert - * Added using NodeCallback::run() to avoid warnings +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) -2014-06-06 09:01 robert + SET(OSG_OSX_SDK_NAME "macosx${MACOS_VERSION_MAJOR}.${MACOS_VERSION_MINOR}") - * Added missing OSG_EXPORT +Also i added the check for the new Version to some more find scripts. -2014-06-05 16:26 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. +" - * 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 +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14527 16af8721-9629-0410-8352-f15c8da7e697 - * Updated shaders from OpenSceneGraph-Data sources -2014-06-03 15:05 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 - * 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 +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 - * Reverted change of Node::ParentList from being a vector - back to a vector -2014-06-03 09:23 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 - * Refactor osg::Geode to subclass from osg::Group and reuse the - NodeList children container -2014-06-02 16:20 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/ - * 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. +it gets substituted as -2014-06-02 08:13 robert +/usr/x86_64-1-gnu/ - * From Roni Zanolli, build fix for iPhone +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). -2014-05-30 16:44 robert +Quoting that path directly in CMake scripts solves that problem. +" - * Implemented basic frame graphic -2014-05-29 15:21 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14522 16af8721-9629-0410-8352-f15c8da7e697 - * Futher work on ComboBox/Popup -2014-05-29 10:51 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 - * Added beginnings of ComboBox popup functionality. -2014-05-28 10:18 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 - * Added cached Depth and ColorMask to reduce the amount of - duplicate state in the osgUI subgraph -2014-05-28 10:06 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 - * Replaced Widget::GraphicsSubgraph with GraphicsSubgraphMap to - allow finer control of when the rendering subgraphs are done. -2014-05-27 14:14 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 - * Improved handling of text -2014-05-26 16:32 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 - * Removed Dialog/Popup::open/close() methods as they are replaced - by the setVisible() method -2014-05-26 16:27 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 - * Implemented Widger::Visible and Enabled usage -2014-05-26 16:15 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: - * Added Visible and Enalbed properties to Widget + 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 -2014-05-26 16:15 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 - * Fixed missing initilaizer +- 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-05-26 15:58 robert - * Added item serializer +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14514 16af8721-9629-0410-8352-f15c8da7e697 -2014-05-23 18:59 robert - * Implemented clipping of widget to the widgets extents. +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 -2014-05-23 15:00 robert - * Implemented scheme for making sure nested widgest overdraw parent - widgets graphics +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 -2014-05-23 15:00 robert - * Added wrappers for open and close methods +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." -2014-05-22 10:02 robert - * Added osgUI::Widget::set/getGraphicsSubgraph() to hold the - subgraph that does the rendering portion of widgets +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14508 16af8721-9629-0410-8352-f15c8da7e697 -2014-05-21 16:15 robert - * Addd method implementation in serializers +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 -2014-05-21 10:17 robert - * Fixed handling of traverse +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 -2014-05-21 09:45 robert - * 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. +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." -2014-05-21 09:07 robert - * Added osg::runNamedCallbackObjects(..) convinience method for run - all named osg::CallbackObjects attached to an osg::Object +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14503 16af8721-9629-0410-8352-f15c8da7e697 -2014-05-21 09:06 robert - * Renamed callbacks to avoid overlap with Node callbacks +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 -2014-05-20 16:09 robert - * Moved the _boundingSphere set method into the update section of - the Drawable::getBoundingBox() method - - Added an UpdateVisitor::apply(Drawable&) implementation. +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 -2014-05-20 15:34 robert - * 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." +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 -2014-05-20 08:35 robert - * Improved the handling of updating of text +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 -2014-05-20 08:35 robert - * Added shell of Popup class +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 -2014-05-20 08:34 robert - * Added check against whether an event has been handled or not - before actioning escape/quit. +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 -2014-05-19 10:11 robert - * Add shell of Dialog class +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 -2014-05-19 09:30 robert - * Added handling of up/down key to ComboBox +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 -2014-05-16 19:24 robert - * Added initial cut of ComboBox +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 -2014-05-16 10:38 robert - * Added initial shell of PushButton implementation +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 -2014-05-15 16:30 robert - * Added support for intesecting Drawable that are attached directly - to the scene graph without an osg::Geode +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. -2014-05-15 14:57 robert +fixed in attached zip: +src\osgWrappers\deprecated-dotosg\osg\ProxyNode.cpp - * From Sebastian Messerschmidt, "There was some small error due to - MS non-conformity handling comments correctly." +applies to both the 3.2 branch and svn trunk" -2014-05-15 14:45 robert - * From Pjotr Svetachov, build fixes for VisualStudio +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14484 16af8721-9629-0410-8352-f15c8da7e697 -2014-05-15 13:34 robert - * Added osgGA dependency +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 -2014-05-15 13:22 robert - * Placed the #include within #ifdef OSG_USE_BOUND to - prevent unncessary inclusion of Node header when OSG_USE_BOUND is - false. +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 -2014-05-15 09:26 robert - * 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. +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 -2014-05-14 16:52 robert - * Fixed the bounding sphere computation and handling of Drawable as - the root of the scene graph +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 -2014-05-14 16:01 robert - * Further work on Bound class/Node::getBound() and - Drawable::getBound() and usage in OSG codebase +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 -2014-05-14 16:00 robert - * Cleaned up code +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 -2014-05-14 10:19 robert - * +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 -2014-05-13 08:43 robert - * 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. +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 -2014-05-12 12:10 robert - * 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. - " +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 -2014-05-12 11:27 robert - * Added beginnings of new osgUI library, a replacement for - osgWidget that works fully in 3D/stereo and is scriptable. +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 -2014-05-06 16:38 robert - - * Replaced obsolete __linux usage. - -2014-05-06 09:43 robert - - * 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 - - * 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 - - * From Farshid Lashkari, "fix for the Collada loader where it would - access a null string in some cases" - -2014-05-02 09:11 robert - - * 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 - - * From Stephan Huber, fix for OSX build - -2014-04-30 13:19 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed type error - -2014-04-25 08:57 robert - - * 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 - - * Reordered the configuiration file blocks to make it more - understandable - -2014-04-25 08:18 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed reference invalidation bug. - -2014-04-24 07:22 robert - - * Fixed typo in OPENSCENEGRAPH_OPENGL_HEADER name - -2014-04-24 07:20 robert - - * Removed header as this CMake generated configuration file is not - required to be part of svn repository - -2014-04-23 19:30 robert - - * Added src/osg/OpenGL.in configuration file and include/osg/OpenGL - header files - -2014-04-23 09:08 robert - - * 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 - - * Fixed comment - -2014-04-13 16:04 robert - - * 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 - - * 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 - - * Disabled warnings to address issues in FBX headers that generate - lots of warnings that we can't fix. - -2014-04-08 19:42 robert - - * Added extra search paths to add compatibility with Kubuntu/Ubuntu - 14.04 now locaton for freetype - -2014-04-08 17:45 robert - - * Updated ChangeLog and fixed Contributors list - -2014-04-08 12:00 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed build when using of double BoundingBox/BoundingSphere - -2014-04-07 14:17 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed iso surface shaders - -2014-04-01 18:56 robert - - * Improved the setting of sample density/ratio so that they are - consistent - -2014-04-01 18:33 robert - - * Fixed handling of volume tiles with a region. -2014-03-27 12:47 robert +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." - * Added cube and hull rendering support -2014-03-19 17:56 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14471 16af8721-9629-0410-8352-f15c8da7e697 - * Restructured the handling of TileData to make it more extensible - and flexible. -2014-03-18 18:14 robert +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 - * Addd ExteriorTransparencyFactorProperty for support of upcomming - functionality of rendering a cube volume with a hull volume - inside it. -2014-03-17 15:54 robert +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 - * Added support for animating volume hulls. -2014-03-13 14:02 robert +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 - * 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 +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 - * From Stephan Huber, fix for building lua plugin from local source -2014-03-13 10:28 robert +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 - * Added support for directly invoking scripts using - and to enable scripts to interact with each - other. -2014-03-12 11:01 robert +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 - * Improved support for passing events between scripts and Present3D - application -2014-03-11 10:52 robert +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 - * Added PresentationInterface class to make it more convinient to - access the current presentation from scripting languages -2014-03-10 19:08 robert +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 - * Added scripting support for JumpData, KeyPosition, HomePosition - and parts of SlideEventHandler that enable dispatching of user - created events. -2014-03-07 11:09 robert +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 - * 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 +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. - * Added support for osg::Image to the lua plugin. +Run osgterrain example with --shader command line option to select displacement mapping shader approach. -2014-03-04 13:36 robert - * Implement add, set and get methods for StateSet. -2014-03-04 13:35 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14458 16af8721-9629-0410-8352-f15c8da7e697 - * Relaxed the handling of Image objects -2014-03-04 13:34 robert +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 - * Fixed handling of OverrideValue -2014-02-28 17:38 robert +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. - * From Stephan Huber, fix for handling font paths on a local - machine when other files have been source from a remote machine. +One can also use the --sync command line option for application that pass on command line options to the osg::DisplaySettings::instance(). -2014-02-27 10:02 robert - * Added MapReverseIterator implementation. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14456 16af8721-9629-0410-8352-f15c8da7e697 -2014-02-26 18:18 robert - * Added MapIteratorObject and support for it in the lua plugin to - provide map iterator functionality. +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 -2014-02-26 11:01 robert - * Added Map serializer size() method and support for it in the lua - plugin. Renamed functions in lua plugin to be more consistent. +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 -2014-02-26 08:26 robert - * Added support for vector and map containers in - osgDB::Serailizer's and lua plugin. +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 -2014-02-24 10:19 robert - * 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. +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 -2014-02-13 18:52 robert - * 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 +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 -2014-02-13 11:01 robert - * Added inital cut of PrimitiveSetSet wrappers to scripting +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 -2014-02-12 18:10 robert - * Added full range of Array subclasses to wrappers +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 -2014-02-12 18:03 robert - * Added initial support for wrapping osg::Array in a way that can - be used via scripting. +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 -2014-02-11 18:18 robert - * Fixed handling of assignment of User Object's that replace - existing Object with the specified propertyName. +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 -2014-02-11 18:07 robert - * Improved support for setting/getting properties via the - osg::UserDataContainer. +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 -2014-02-11 10:56 robert - * Quitened down debug messages +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. -2014-02-11 09:43 robert - * Changed implementation of enums to use strings as lua type to - make it easier to do comparisons and track values +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14440 16af8721-9629-0410-8352-f15c8da7e697 -2014-02-10 18:07 robert - * Implemented Widget::handle, handleImplementation, traverse and - travseImplementation() wrappers to enable them to be extended via - scripting +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 -2014-02-10 16:44 robert - * Added support for serailizing and scripting BoundingBox and - BoundingSphere objects +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 -2014-02-08 17:53 robert - * 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 +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 -2014-02-08 10:39 robert - * Added support for enum's in the Lua script integration +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 -2014-02-08 10:38 robert - * Fixed export +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 -2014-02-07 16:06 robert - * 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 +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 -2014-02-07 10:46 robert - * Added initial Widget wrapper +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 -2014-02-06 17:32 robert - * 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. +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 -2014-02-06 17:04 robert - * Added osg::CallbackObject suport to the experiment Widget base - class to enable script language extension of widgets +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 -2014-02-06 11:25 robert - * Added support for casting objects to allow one to access a parent - classes methods. +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 -2014-02-05 11:08 robert - * Tweaked the detection of when the position transform for the hull - is required. +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 -2014-02-05 11:07 robert - * Added support for a tag that can be used within - tag. +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 -2014-02-05 11:04 robert - * Improved the white space trimming +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 -2014-02-04 16:49 robert - * 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. +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 -2014-02-04 16:46 robert - * Added test code for nesting a within a volume tag. +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 -2014-02-04 11:24 robert - * From Stephan Huber, added support for compile source code of lua - with the lua plugin +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 -2014-02-03 15:35 robert - * Fixed error in the computation of tex coords of Maximum Intensity - Projection + Transfer Function rendering. +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 -2014-01-31 19:18 robert - * Replaced C cast to long with a static_cast() to - avoid a build error under Mingw 64. +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 -2014-01-31 16:20 robert - * 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. +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 -2014-01-29 11:01 robert - * Updated ChangeLog +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 -2014-01-28 16:49 robert - * From Kristofer Tingdahl, made method virtual +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 -2014-01-28 16:48 robert - * Fixed MingW build's handling of debug d postfix. +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 -2014-01-28 15:28 robert - * Removed the invocation of gcc on all platforms +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 -2014-01-28 11:01 robert - * 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. +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 -2014-01-27 15:43 robert - * Removed unimplemented method +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 -2014-01-24 17:31 robert - * 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" +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 -2014-01-24 17:06 robert - * 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 - - * From Michael Schanne, "small fix for a duplicate OR operand in - KdTree.cpp." - -2014-01-24 16:28 robert - - * 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 - - * From Torben Dannhauer, VisualStudio 2013 build fixes - -2014-01-24 16:19 robert - - * 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 - - * 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 - - * Fixed warnings - -2014-01-24 14:26 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed warnings - -2014-01-23 16:48 robert - - * 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. +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). -2014-01-23 15:37 robert +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." - * 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 - * Removed debug message +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14407 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-23 10:50 robert - * Changed the TransprencyProperty range to 0 to 2.0 to enable - forcing opaque qualities on fragments +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: -2014-01-23 10:11 robert - * Cleaned up debug message. +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); -2014-01-23 10:09 robert - * 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 +which is not taking into account the viewport x and y when performing the blit. It probably should be: - * 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 +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); +" - * Added GL_TEXTURE_2D_MULTISAMPLE to texture mode list. +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-01-22 17:29 robert - * Made protected methods virtual to allow subclassing to customize - more aspects of the window setup. -2014-01-22 16:29 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14405 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +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." - * Added support for sampleRatio and sampleRatioWhenMoving - properties -2014-01-21 18:58 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14403 16af8721-9629-0410-8352-f15c8da7e697 - * Build fixes for when ref_ptr<> automatic type conversion is - turned off -2014-01-21 18:48 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 - * Added support for osgVolue::SampleRatioProperty. Fixed build - errors when compiling with ref_ptr<> automatic type conversion. -2014-01-21 18:31 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 - * Build fixes for when ref_ptr<> has no auto type conversion -2014-01-21 17:27 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 - * Fixed build error -2014-01-21 17:00 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 - * Fixed build error due to typo. -2014-01-20 17:23 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. - * Integrated multipass volume rendering shaders from - OpenSceneGraph-Data -2014-01-20 17:03 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14396 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +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 - * Removed nolonger used code paths -2014-01-20 15:54 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 - * Disable depth test for rendering of hull backface -2014-01-20 15:10 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 - * 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 - - * 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 - - * 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 - - * Fixed warning - -2014-01-17 18:20 robert - - * From Stephan Huber, fix for OSX build issue - -2014-01-17 14:02 robert - - * 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 +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 - * 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 +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 - * From Jordi Torres, "Fixed a typo in - ReaderWriterCURL::ReaderWriterCURL() changed Psuedo for Pseudo." -2014-01-17 12:40 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 - * Fixed handling of background colours. -2014-01-16 17:26 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 - * Removed old redundent TexGen usage. -2014-01-16 17:17 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 - * Added hull="hul-filename" property support to tag that - can used thus: - - - CardiacCT - -2014-01-16 16:08 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 - * Added support for controlling the extents of the volume rendering - by nesting the hull underneath VolumeTile. Currently only - supported by the new osgVolume::MultipassTechnique -2014-01-09 11:13 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 - * From Paul Martz, build fix for Windows GL3 build -2014-01-09 09:41 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 - * Added per TileData RTT Camera in prep for rendering backface of - volume to a depth texture -2014-01-08 15:56 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 - * Changed near/far values to use CullVisitor::value_type and use - std::numeric_limits<>. -2014-01-08 10:33 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 - * 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." -2014-01-08 10:31 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 - * Removed more odd characters -2014-01-08 10:28 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 - * Removed more odd characters -2014-01-08 10: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. - * Removed odd characters -2014-01-08 10:16 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14377 16af8721-9629-0410-8352-f15c8da7e697 - * Moved destructor to protected -2014-01-07 19:06 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 - * Refined the GLint64 definitions -2014-01-07 18:32 robert +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 - * Removed duplicated instances of GLint64EXT declarations -2014-01-07 16:43 robert +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 - * Removed execute properties via svn propdel svn:executable file -2014-01-07 16:29 robert +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=...) +============================================================================== - * 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." +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. -2014-01-07 16:18 robert +=============================================================================== +@@ -221,7 +223,12 @@ + imageData[i] = 0; + } - * Bumped SO_VERSION number of OpenThreads to avoid conflicts with - Debian SO_VERSION bump ++ glPixelStorei(GL_UNPACK_ALIGNMENT,1); -2014-01-07 16:15 robert ++ #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, +================================================================================ - * From Sebastian Messerschmidt, "Original shader was not running on - various NVidia cards due to old syntax in shader." +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-01-07 11:01 robert - * Added State::getMaxTextureCoords() and - State::getMaxTextureUnits() inline methods. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14372 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-06 17:19 robert - * Added support for Switch::set/getValue() +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 -2014-01-06 16:58 robert - * Added Group::setChild(..) and Geode::setDrawable(..) - MethodObjects +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 -2014-01-06 15:46 robert - * Removed the prototype MethodObject classes +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 -2014-01-06 15:45 robert - * 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. +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 -2014-01-06 10:23 robert - * Renamed the OSGSIM cmake variable to OSGSIM_LIBRARY to be - consistent with the rest of the variables. +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 -2014-01-03 14:36 robert - * Fixed build of V8 and Python plugins +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 -2013-12-25 17:36 robert - * Preliminary support for wrapping methods in the lua script - plugin. +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 -2013-12-20 09:57 robert - * Added tag to .p3d to allow one to provide multiple ways - to render children within a layer. +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 -2013-12-19 17:13 robert - * 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." +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 -2013-12-19 15:10 robert - * 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. +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 -2013-12-19 13:53 robert - - * 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 +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 - * 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 +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 - * 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 +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 - * Implemented support for calling scripts from with Present3D. -2013-12-17 12:18 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 - * Added support for new osgVolume::MultiPassTechnique to Present3D. - To use add property renderer="MultiPass": - - MyVolumeData -2013-12-17 10:52 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 - * Added experimental image 3d downsample function. -2013-12-16 11:28 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' - * Removed the unused Texture::Extensions::numTextureUnits() -2013-12-13 12:38 robert +attached a zipped version of include\osgViewer\ViewerEventHandlers" - * Implemented ability to switch between different shaders with new - MultipassTechnique -2013-12-12 09:53 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14343 16af8721-9629-0410-8352-f15c8da7e697 - * Added SampleRatioWhenMoving property and support to new - osgVolume::MultipassTechnique. -2013-12-12 09:51 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 - * Applied unquie CullVisitor::Identifier rather than reusing the - cloned one. -2013-12-11 17:20 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 - * Changed epsilon to 1e-5 to address picking problems with planaer - objects -2013-12-11 12:00 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 - * Added initial support for 1D transfer functions to - MultipassTechnique -2013-12-10 13:38 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 - * Added support for handling viewports with offset origins, and - with it split stereo. -2013-12-10 10:43 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 - * Introduced SampleRatioValueProperty for more intuitive control of - how many samples to take when volume rendering -2013-12-09 10:39 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 - * Improvements to new MultipassTechnique -2013-12-06 19:31 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 - * Further work on new MultipassTechnique/VolumeScene. -2013-12-06 09:35 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 - * From Mike Krus, compile fix to enable compiling across a wider - set of versions. -2013-11-26 19:03 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 - * Added support for using shaders to render the RTT textures with - depth -2013-11-26 10:38 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 - * Replaced readShaderFile() usage to readRefShaderFile() -2013-11-25 17:36 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 - * Added initial render to texture functionality into - osgVolume::VolumeScene -2013-11-22 10:27 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 - * Warning fixes -2013-11-22 09:48 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 - * 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 +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 - * Removed trailing spaces, added missing return to last lines -2013-11-21 18:17 robert +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 - * 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 +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 - * 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 +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 - * 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 +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 - * 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 +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 - * Converted std::max to osg::maximum to fix VS2013 build error -2013-11-21 10:31 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 - * 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 +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" - * 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 - " +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. -2013-11-18 13:31 robert +Attached is a modified version of the Registry.cpp, returning the object in cache and let the duplicate loaded object to be destroyed. - * From Stephan Huber, compile fix for OpenGL ES on iOS. +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." -2013-11-18 13:25 robert - * 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 +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14300 16af8721-9629-0410-8352-f15c8da7e697 - * Added panning and zooming functionality to transfer function UI - prototype code. -2013-11-18 12:45 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 - * 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 +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 - * 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 +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 - * Restored the rescaleToZeroToOneRange() to address rendering - issues. -2013-11-11 10:55 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 - * Removed unused variables -2013-11-08 12:28 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. - * 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 +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14290 16af8721-9629-0410-8352-f15c8da7e697 - * Added support for assinging and display transfer functions -2013-11-08 12:25 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 - * Quietened down debug messages -2013-11-07 12:37 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 - * Changed the LineSegmentIntersector to RayIntersector to provide - more reliable intersections with flat meshes. -2013-11-07 12:35 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". - * 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 +In attachment the modified file, based on osg 3.2.0 +ricky -2013-11-06 09:50 robert - * Re-enabled the disable of the transfer function + +if(fileExists(simpleFileName)) +{ + OSG_DEBUG << "FindFileInPath(" << filename << "): returning " << +filename << std::endl; + return simpleFileName; +} + +" -2013-11-06 09:49 robert - * Fixed handling of web cams +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14285 16af8721-9629-0410-8352-f15c8da7e697 -2013-11-06 09:23 robert - * 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 +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. -2013-11-06 09:20 robert +I've added an option to preserve originals materials names, with the assurance of unique material names are preserved." - * Restructed the call to avformat_open_input to provide more - information. -2013-11-05 15:23 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14283 16af8721-9629-0410-8352-f15c8da7e697 - * Fixed typo -2013-11-01 14:40 robert +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 - * 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 +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 - * Added initial shell of new osgtransferfunction example that will - be tested bed for upcomming transfer function editing UI. -2013-10-28 12:03 robert +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. - * From Likasz Izebski, "added support for etc2/eac compression" -2013-10-25 15:47 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14277 16af8721-9629-0410-8352-f15c8da7e697 - * Added explict setting of the PolygonMode to over the distion mesh - being toggled to wireframe. -2013-10-25 14:54 robert +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 - * 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 +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 - * Remoed -fpermissive +I added enviroment variable OSG_GL_TEXTURE_STORAGE_ENABLE to control usage of glTexStorage2d. Initially it is disabled. -2013-10-25 09:02 robert +It used only if image have mipmaps. - * Fixed warning +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." -2013-10-24 20:22 robert +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" - * Fixed warning -2013-10-24 19:56 robert - * Removed depreated glib call +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14275 16af8721-9629-0410-8352-f15c8da7e697 -2013-10-24 19:32 robert - * Fixed FileInfo self intialization bug +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." -2013-10-24 17:43 robert - * Fixed build problems with the - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14273 16af8721-9629-0410-8352-f15c8da7e697 -2013-10-24 12:15 robert - * 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)" +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 -2013-10-24 10:10 robert - * From Stephan Huber, add support for controlling the - OSXMenubarBehavior set by DisplaySettings. +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 -2013-10-24 09:06 robert - * Cleaned up addChild/getChild/setChild/getNumChildren methods and - added readNodeFile, readImageFile and readObjectFile functions +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 -2013-10-23 16:17 robert - * Added support for - Group::addChild/setChild/getChild/getNumChildren. +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 -2013-10-22 19:12 robert - * 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(). +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 -2013-10-22 18:58 robert - * Preliminary remapping of internalFormat for GL3 core profile +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 -2013-10-22 16:28 robert - * Fixed warnings +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 -2013-10-22 11:32 robert +Here is a fix, using "std::streampos" standard type for stream positions up to 64bits. +" - * 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 +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14261 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +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 - * Fixed handling of osg::Program so that it's not overriden by - shader composition when enabled -2013-10-21 16:35 robert +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 - * Added State::releaseGLObjects() and - ShaderComposer::releaseGLObjects() to avoid problems with cleanup - of graphics context -2013-10-21 09:54 robert +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 - * Build fixes for clang -2013-10-18 09:57 robert +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 - * 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 +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 - * From Vladimir Chebeav, fix for removal of nested callbacks -2013-10-18 07:55 robert +Thu, 12 Jun 2014 14:05:28 +0000 +Checked in by : Robert OSFIELD +Added frame support to ComboBox.Improved the alingment support for text - * From Konstantin Matveyev, "Multiple light fix in FBX-importer" -2013-10-18 07:52 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14252 16af8721-9629-0410-8352-f15c8da7e697 - * From Colin McDonald, "Some missing updates to the serializer - static build support." -2013-10-18 07:31 robert +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 - * 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 +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 - * Fix for error in getting the uniform block max name length, fix - suggested by Christopher Fennell. -2013-10-17 14:02 robert +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 - * From Stephan Huber, build fix -2013-10-10 20:43 robert +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 - * Added set/get to the ImageSerializer and removed some redudent - comments -2013-10-10 20:42 robert +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 - * 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 - * From Laurens Voerman, compile fix for VisualStudio -2013-10-10 14:41 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14247 16af8721-9629-0410-8352-f15c8da7e697 - * 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 +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 - * Added get/set method to Serializer to allow pointer passing - without going through InputStream/OutputStream. -2013-10-09 15:32 robert +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 - * 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 +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 - * 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 - - * Cleaned up line endings - -2013-10-04 20:42 robert - - * 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 - - * Moved code across to use lua_userdata to manage pointer to - osg::Object that is ref()/unref() - -2013-10-04 16:30 robert - - * Added support for Lua 5.2 and osg::Object creation from within - Lua scripts. - -2013-10-04 16:29 robert - - * Added createObject() interface - -2013-10-04 16:28 robert - - * Updated version number after 3.3.0 dev release - -2013-10-03 16:20 robert - - * Fixed errors in Contributors list - -2013-10-03 08:45 robert - - * From Jan Peciva, RayIntersector implementation - -2013-10-02 13:59 robert - - * 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 - - * 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 - - * Re-ordered the public/protected sections to keep the public - section all together - -2013-10-02 11:09 robert - - * 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 - - * Fixed build with no automatic ref_ptr<> conversion - -2013-10-01 19:31 robert - - * Updated AUTHORS files - -2013-10-01 19:00 robert - - * Updated ChangeLog in prep for dev release - -2013-10-01 17:01 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * - -2013-09-27 18:43 robert - - * Unified Vec/Plane/Quat handling code. - -2013-09-27 13:04 robert - - * Added support for getting Vec* and Matrix objects from Lua stack - and assigning them as OSG object properties. - -2013-09-26 17:27 robert - - * Initial cut of setting and getting osg::Object properties within - Lua scripts -2013-09-24 15:17 robert +Wed, 4 Jun 2014 08:59:31 +0000 +Checked in by : Robert OSFIELD +Updated shaders from OpenSceneGraph-Data sources - * Added support for passing parameters in and out of scripts. - - Implemented support for osg::ValueObject in LuaScriptEngine. +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. -2013-09-24 15:08 robert +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 - * Changed NodeVisitor so that is subclasses from osg::Object rather - than osg::Referenced to enable it to be used with serialization - and scripting +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 -2013-09-24 08:56 robert +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. - * Removed redundent spaces +Mon, 2 Jun 2014 08:13:39 +0000 +Checked in by : Robert OSFIELD +From Roni Zanolli, build fix for iPhone -2013-09-23 14:10 robert +Fri, 30 May 2014 16:44:36 +0000 +Checked in by : Robert OSFIELD +Implemented basic frame graphic - * Added test for osgGA::GUIEventAdapter +Thu, 29 May 2014 15:21:42 +0000 +Checked in by : Robert OSFIELD +Futher work on ComboBox/Popup -2013-09-20 15:43 robert +Thu, 29 May 2014 10:51:26 +0000 +Checked in by : Robert OSFIELD +Added beginnings of ComboBox popup functionality. - * Removed unnceccesary setNumChildrenRequiringUpdateTraversal from - VolumeTile constructor. +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 -2013-09-20 10:44 robert +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. - * Added initial cut of white and black lists +Tue, 27 May 2014 14:14:51 +0000 +Checked in by : Robert OSFIELD +Improved handling of text -2013-09-20 10:25 robert +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 - * Added compoundClassName() convinience method to standardize the - generation of the compoundClassName. +Mon, 26 May 2014 16:27:33 +0000 +Checked in by : Robert OSFIELD +Implemented Widger::Visible and Enabled usage -2013-09-20 10:04 robert +Mon, 26 May 2014 16:15:33 +0000 +Checked in by : Robert OSFIELD +Added Visible and Enalbed properties to Widget - * Added type maps to help with querrying supported type names +Mon, 26 May 2014 16:15:12 +0000 +Checked in by : Robert OSFIELD +Fixed missing initilaizer -2013-09-19 16:19 robert +Mon, 26 May 2014 15:58:18 +0000 +Checked in by : Robert OSFIELD +Added item serializer - * 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. +Fri, 23 May 2014 18:59:16 +0000 +Checked in by : Robert OSFIELD +Implemented clipping of widget to the widgets extents. -2013-09-19 16:18 robert +Fri, 23 May 2014 15:00:49 +0000 +Checked in by : Robert OSFIELD +Implemented scheme for making sure nested widgest overdraw parent widgets graphics - * Removed unneccessary return +Fri, 23 May 2014 15:00:09 +0000 +Checked in by : Robert OSFIELD +Added wrappers for open and close methods -2013-09-11 15:44 robert +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 - * 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 +Wed, 21 May 2014 16:15:02 +0000 +Checked in by : Robert OSFIELD +Addd method implementation in serializers -2013-09-10 15:17 robert +Wed, 21 May 2014 10:17:31 +0000 +Checked in by : Robert OSFIELD +Fixed handling of traverse - * 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] - " +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. -2013-09-10 13:29 robert +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 - * From Giuseppe Donvito, Fixed typo of "CLEAR_GLOBAL_STATESET = - 0x16," to indended "CLEAR_GLOBAL_STATESET = "0x10". +Wed, 21 May 2014 09:06:17 +0000 +Checked in by : Robert OSFIELD +Renamed callbacks to avoid overlap with Node callbacks -2013-09-10 09:23 robert +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. - * Added osgPresentation::Show node and implementations with basic - property reporting for various internal nodes of presentation - graph -2013-09-09 16:02 robert - * 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 - - " +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." -2013-09-09 14:58 robert - * From Colin Cochran, OES support for point sprites -2013-09-09 13:33 robert +Tue, 20 May 2014 08:35:39 +0000 +Checked in by : Robert OSFIELD +Improved the handling of updating of text - * 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. - " +Tue, 20 May 2014 08:35:19 +0000 +Checked in by : Robert OSFIELD +Added shell of Popup class -2013-09-09 12:44 robert +Tue, 20 May 2014 08:34:32 +0000 +Checked in by : Robert OSFIELD +Added check against whether an event has been handled or not before actioning escape/quit. - * From Ulrich Hertlein, "Patch for FindAVFoundation to work with OS - X 10.9" +Mon, 19 May 2014 10:11:50 +0000 +Checked in by : Robert OSFIELD +Add shell of Dialog class -2013-09-09 12:37 robert +Mon, 19 May 2014 09:30:36 +0000 +Checked in by : Robert OSFIELD +Added handling of up/down key to ComboBox - * 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." +Fri, 16 May 2014 19:24:58 +0000 +Checked in by : Robert OSFIELD +Added initial cut of ComboBox -2013-09-09 12:33 robert +Fri, 16 May 2014 10:38:40 +0000 +Checked in by : Robert OSFIELD +Added initial shell of PushButton implementation - * 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 " - " +Thu, 15 May 2014 16:30:17 +0000 +Checked in by : Robert OSFIELD +Added support for intesecting Drawable that are attached directly to the scene graph without an osg::Geode -2013-09-06 09:35 robert +Thu, 15 May 2014 14:57:28 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messerschmidt, "There was some small error due to MS non-conformity handling comments correctly." - * Initial cut of Audio/Volume/Movie/Image presentation objects +Thu, 15 May 2014 14:45:28 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, build fixes for VisualStudio -2013-09-05 10:23 robert +Thu, 15 May 2014 13:34:50 +0000 +Checked in by : Robert OSFIELD +Added osgGA dependency - * 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." +Thu, 15 May 2014 13:22:47 +0000 +Checked in by : Robert OSFIELD +Placed the #include within #ifdef OSG_USE_BOUND to prevent unncessary inclusion of Node header when OSG_USE_BOUND is false. -2013-09-05 10:08 robert +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. - * 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 - * Fixed warnings +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 -2013-09-05 08:42 robert +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 - * 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." +Wed, 14 May 2014 16:00:08 +0000 +Checked in by : Robert OSFIELD +Cleaned up code -2013-09-05 08:22 robert +Wed, 14 May 2014 10:19:43 +0000 +Checked in by : Robert OSFIELD - * Added missing Model.cpp -2013-09-04 17:27 robert +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. - * Moved the property test from the model to presentation to test - out the property inheritance scheme +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 -2013-09-04 16:25 robert +- Added accept(NodeVisitor) method to Drawable/Geometry - * Added PrintProperties visitor +- Added traverse(NodeVisitor) to Geode which calls accept(NodeVisitor) on all Drawables -2013-09-04 15:39 robert +- 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. - * Added PrintPropertiesAction to osgPresentation +- Update other osgUtil node visitors (GLObjectsVisitor, IncrementalCompileOperation, ..) to use new apply(Drawable) method. +" -2013-09-04 10:33 robert - * Added Action class NodeVisitor that supports osgPresentation - nodes. -2013-09-03 15:50 robert +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. - * Added test for osgPresentatation::Group::getSupportedProperties() +Tue, 6 May 2014 16:38:57 +0000 +Checked in by : Robert OSFIELD +Replaced obsolete __linux usage. -2013-09-03 10:17 robert +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." - * Added beginings of Text implementation +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." -2013-09-02 10:56 robert +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" - * 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." +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)); -2013-09-02 10:56 robert +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);". - * Refactored the use of epsilon in the clamping of the start/end - points of the LineSegmentIntersector to better handle numerical - precision issues. +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: -2013-09-02 09:12 robert + pd->tid.set( (void*)_beginthreadex(NULL,static_cast(pd->stackSize),ThreadPrivateActions::StartThread,static_cast(this),CREATE_SUSPENDED,&ID)); + ResumeThread(pd->tid.get()); - * Fixed double copy in StackedTransform copy constructor -2013-09-02 08:29 robert +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." - * Added IO test for new osgPresentation nodes -2013-09-01 17:24 robert - * Added Audio, Image, Movie, Model and Volume class to - osgPresentation. +Thu, 1 May 2014 15:50:14 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fix for OSX build -2013-08-23 16:47 robert +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 - * Fixed build +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. " -2013-08-23 11:42 robert +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). - * Added color property to FontData parsing +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. -2013-08-22 13:39 robert +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. +" - * Quitened down debug message -2013-08-22 12:37 robert - * Removed debug messages +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. :) )" -2013-08-22 12:07 robert +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." - * Quitened down debug message +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. -2013-08-22 11:18 robert +Files: + - "CMakeLists.txt" is the top-level file. + - FindGLCORE.cmake" and "OsgMacroUtils.cmake" go in CMakeModules. +" - * Quitened down debug message -2013-08-22 10:09 robert - * Added warning when model file has not be found +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." -2013-08-22 10:05 robert +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. +" - * Reduced debug message level, and added a notify message for when - an image isn't loaded -2013-08-22 07:49 robert - * Added test for serializers and fixed serializers +Mon, 28 Apr 2014 11:53:58 +0000 +Checked in by : Robert OSFIELD +Fixed type error -2013-08-21 19:54 robert +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." - * Added initial classes for present3D refactor -2013-08-18 18:10 robert - * Moved old osgPresentation source files to - osgPresentation/deprecated subdirectory. +Fri, 25 Apr 2014 08:56:53 +0000 +Checked in by : Robert OSFIELD +Reordered the configuiration file blocks to make it more understandable -2013-08-18 16:59 robert +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 - * Moved old present3D sources into local deprecated directory to - clean up the main present3D source directory for future - refactored present3D +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." -2013-08-09 16:51 robert +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." - * 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. +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: -2013-08-09 11:00 robert +setMouseYOrientation( MouseYOrientation, bool updatecooreds=false ); - * Removed CameraNode reference +but then the serializer complained. -2013-08-09 07:46 robert +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. - * Removed unused includes +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. -2013-08-09 07:38 robert +A consequence of this is that I have changed the pan-code to use the same algorithm as the middle-mouse-pan. - * Removed old cursor code +The rest of it is very similar from previous revision, and there has been some fine-tuning here and there. -2013-08-08 17:21 robert +" - * 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 - * Added osgPresentation::Cursor class to wrap up 3D cursor in the - scene functionality +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. +" -2013-08-07 17:08 robert - * 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 +Thu, 24 Apr 2014 10:38:58 +0000 +Checked in by : Robert OSFIELD +Fixed reference invalidation bug. - * 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." +Thu, 24 Apr 2014 07:22:55 +0000 +Checked in by : Robert OSFIELD +Fixed typo in OPENSCENEGRAPH_OPENGL_HEADER name -2013-08-01 17:38 robert +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 - * Added missing initializer for _epsilon +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 -2013-08-01 11:25 robert +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: - * From Anish Thomas, added catch for to an empty DrawElementsUInt - creation. + ./configure + make -2013-08-01 10:38 robert +OR - * Updated ChangeLog and AUTHORS file + ./configure -DOPENGL_PROFILE=GL2 -2013-08-01 10:28 robert +To select OpenGL 3 core profile build using GL3/gl3.h header: - * 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." + ./configure -DOPENGL_PROFILE=GL3 -2013-08-01 10:04 robert +To select OpenGL Arb core profile build using GL/glcorearb.h header: - * 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." + ./configure -DOPENGL_PROFILE=GLCORE -2013-08-01 10:00 robert +To select OpenGL ES 1.1 profile use: - * 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)." + ./configure -DOPENGL_PROFILE=GLES1 -2013-08-01 07:19 robert +To select OpenGL ES 2 profile use: - * Added osg::RenderInfo::pushRenderBin()/popRenderBin() and - RenderInfo::getRenderBinStack() and getCameraStack() access - methods for getting access to the current RenderBin/RenderStage. + ./configure -DOPENGL_PROFILE=GLES2 -2013-07-31 13:11 robert - * 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 +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. -2013-07-31 07:11 robert - * From Aurelien Albert, "Here is the code to get access to OpenGL - handle of an osg::FrameBufferObject" -2013-07-31 06:56 robert - * 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." +Mon, 14 Apr 2014 16:16:08 +0000 +Checked in by : Robert OSFIELD +Fixed comment -2013-07-31 06:42 robert +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. - * From Sergey Kurdakov, fixed GLES2 invalid enumerant warning by - disabling the check against GL_MAX_TEXTURE_COORDS under GLES. +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 -2013-07-30 06:39 robert +- FindFBX.cmake: add support for latest fbx sdk ( 2014.2 )" - * 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 - * Removed trailing spaces +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. -2013-07-30 06:12 robert +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 - * Merged from OSG-3.2 branch the removal of check for Asio under - Windows +Tue, 8 Apr 2014 17:45:21 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and fixed Contributors list -2013-07-24 17:30 robert +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" - * Changed default of serialize draw to off -2013-07-24 14:24 robert - * Pulled in READE, NEWS and AUTHORS changes from OSG-3.2 branch. +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." -2013-07-24 13:02 robert - * 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 -2013-07-24 12:51 robert +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." - * Updated NEWS from OSG-3.2 branch +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." -2013-07-24 12:48 robert +Mon, 7 Apr 2014 15:04:34 +0000 +Checked in by : Robert OSFIELD +Fixed build when using of double BoundingBox/BoundingSphere - * Fixed warning +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. -2013-07-24 12:25 robert +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." - * Updated SO version for post 3.2 era. -2013-07-24 12:17 robert - * Added getCallbacks() methods +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)). +> -2013-07-23 18:11 robert +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) . - * From Rocco Martino, build fix for compiling against ffmpeg/trunk +Thank you! +" -2013-07-23 15:28 robert - * Added NOT ANDROID to force use of posix API when building for - Android under Windows -2013-07-23 10:24 robert +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." - * Added lazy setting of the UserDataContainer to avoid unncessarily - create a UserDataContain when an empty description list is passed - to Node::setDescriptions(..) +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 +" -2013-07-23 09:54 robert - * Fixed crash when open(..) returns an error. -2013-07-23 05:25 robert +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. - * 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). - " +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. +" -2013-07-22 13:31 robert - * From Andreas Ekstrand, "Attached is a small modification of the - Collada writer that protects from crashes due to valArray being - NULL in some situations." -2013-07-22 10:15 robert +Fri, 4 Apr 2014 11:25:51 +0000 +Checked in by : Robert OSFIELD +Fixed iso surface shaders - * Added FRAME_BUFFER_OBJECT enum +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 -2013-07-22 10:15 robert +Tue, 1 Apr 2014 18:33:02 +0000 +Checked in by : Robert OSFIELD +Fixed handling of volume tiles with a region. - * Updated OpenThreads version +Thu, 27 Mar 2014 12:47:44 +0000 +Checked in by : Robert OSFIELD +Added cube and hull rendering support -2013-07-19 21:05 robert +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. - * 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." +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. -2013-07-19 20:59 robert +Mon, 17 Mar 2014 15:54:52 +0000 +Checked in by : Robert OSFIELD +Added support for animating volume hulls. - * Added default setting of BIND_PER_VERTEX when applying - Geometry::setTexCoordArray() +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“ -2013-07-19 17:00 robert +So fonts should work on iOS when loaded remotely, even when a local file is available and with the resthttp-plugin serving the presentation. +" - * Updated OpenThreads version to be in sync with OSG version -2013-07-19 14:55 robert - * Updated version number for svn/trunk to 3.3.0 for all new feature - development +Thu, 13 Mar 2014 13:59:34 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fix for building lua plugin from local source -2013-07-19 14:07 robert +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. - * Updated AUTHORS file for new 3.2 branch +Wed, 12 Mar 2014 11:01:09 +0000 +Checked in by : Robert OSFIELD +Improved support for passing events between scripts and Present3D application -2013-07-19 14:06 robert +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 - * Updated version number to 3.2.0-rc1 in prep for create the 3.2 - branch, and 3.2.0-rc1 +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. -2013-07-19 10:31 robert +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. - * Update ChangeLog and AUTHORS files for 3.1.10 dev release -2013-07-19 10:17 robert - * Updater version for 3.1.10 dev release +Thu, 6 Mar 2014 10:27:26 +0000 +Checked in by : Robert OSFIELD +Added support for osg::Image to the lua plugin. -2013-07-19 10:11 robert +Tue, 4 Mar 2014 13:36:13 +0000 +Checked in by : Robert OSFIELD +Implement add, set and get methods for StateSet. - * Removed #if 0 #endif block +Tue, 4 Mar 2014 13:35:27 +0000 +Checked in by : Robert OSFIELD +Relaxed the handling of Image objects -2013-07-19 09:43 robert +Tue, 4 Mar 2014 13:34:23 +0000 +Checked in by : Robert OSFIELD +Fixed handling of OverrideValue - * 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. +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. -2013-07-19 06:56 robert +Thu, 27 Feb 2014 10:02:55 +0000 +Checked in by : Robert OSFIELD +Added MapReverseIterator implementation. - * 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." +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. -2013-07-19 06:39 robert - - * 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 - - * 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 - - * Added a dirty() call to Image::setData(..) - -2013-07-18 16:29 robert - - * 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 - - * From Lionel Lagarde, "The extension name is misspelled. It - conflicts with GLEW." - -2013-07-02 19:24 robert - - * Updated AUTHORS and ChangeLog for 3.1.9 dev release - -2013-07-02 14:35 robert - - * From Laurens Voerman, "With fstream inheritaince now removed the - warning can be enabled again." - -2013-07-02 14:17 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated AUTHORS, ChangeLog for dev release - -2013-07-01 10:22 robert - - * Removed BIND_INSTANCE_DIVISOR as they don't yet have any - implementation backend to support them. - -2013-07-01 09:12 robert - - * 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 - - * 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 - - * Fixed debug build compile problem - -2013-07-01 08:21 robert - - * 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 - - * 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 - - * From Alberto Luaces, "Documentation for -p and --speed options in - osgviewer" - -2013-06-28 14:38 robert - - * From Marcel Pursche, fixed checking of destination dimensions in - osg::copyImage. - -2013-06-28 14:32 robert - - * 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 - - * From Gill Peacegood, "fix for a memory leak in the - DelaunayConstraint class" - -2013-06-28 14:08 robert - - * 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 - - * Fixed handling of DISPLAY=127.0.0.1:2 usage. - -2013-06-28 13:43 robert - - * 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. - " +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. -2013-06-28 12:45 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. - * Added handling of an odd number rows in the capsule rendering and - primitive calculation. +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. -2013-06-28 12:00 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. - * From David Callu, warning fixes and removal of spaces at end of - lines. +Added missing properties to PrimitiveSet serializers -2013-06-28 10:59 robert - * 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 +Thu, 13 Feb 2014 11:01:36 +0000 +Checked in by : Robert OSFIELD +Added inital cut of PrimitiveSetSet wrappers to scripting - * From David Callu, added support for glVertexAttribLPointer and - glVertexAttribIPointer, utilized via - osg::Array::setPreserveDataType(true); +Wed, 12 Feb 2014 18:10:52 +0000 +Checked in by : Robert OSFIELD +Added full range of Array subclasses to wrappers -2013-06-28 08:57 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. - * From David Callu, serializer support for new Vec* and Vec*Array - classes +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. -2013-06-28 08:11 robert +Tue, 11 Feb 2014 18:07:37 +0000 +Checked in by : Robert OSFIELD +Improved support for setting/getting properties via the osg::UserDataContainer. - * +Tue, 11 Feb 2014 10:56:51 +0000 +Checked in by : Robert OSFIELD +Quitened down debug messages -2013-06-27 17:37 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 - * From David Callu, "Added Vec3ub, Vec3us, Vec4us, Vec2ub and - Vec2us classes" +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 -2013-06-27 16:44 robert +Mon, 10 Feb 2014 16:44:13 +0000 +Checked in by : Robert OSFIELD +Added support for serailizing and scripting BoundingBox and BoundingSphere objects - * 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 - " +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. -2013-06-27 15:18 robert +Fixed handling of boolean values in the Lua plugin - * From Aurelien Albert, added passing on of the gl array normalize - to OpenGL when uses vertex attribute aliasing. -2013-06-27 14:46 robert - * Replaced deprecatated osg::Geometry::get*Binding() calls. -2013-06-27 13:37 robert +Sat, 8 Feb 2014 10:39:20 +0000 +Checked in by : Robert OSFIELD +Added support for enum's in the Lua script integration - * Added Geometry::containsDeprecatedData() / fixDeprecatedData() +Sat, 8 Feb 2014 10:38:51 +0000 +Checked in by : Robert OSFIELD +Fixed export -2013-06-27 10:58 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 - * Removed deprecated usage of osg::Geometry::get*Binding() -2013-06-27 09:59 robert - * Replaced deprecated osg::Geometry::set*Binding() usage. -2013-06-27 09:54 robert +Fri, 7 Feb 2014 10:46:16 +0000 +Checked in by : Robert OSFIELD +Added initial Widget wrapper - * Replaced deprecated osg::Geometry::set*Binding() usage +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. -2013-06-27 09:54 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 - * Replaced deprecated osg::Geometry::set*Binding() usage. +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. -2013-06-27 08:44 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. - * Replaced deprecated osg::Geometry::set*Binding() usage +Wed, 5 Feb 2014 11:07:03 +0000 +Checked in by : Robert OSFIELD +Added support for a tag that can be used within tag. -2013-06-27 08:30 robert +Wed, 5 Feb 2014 11:04:29 +0000 +Checked in by : Robert OSFIELD +Improved the white space trimming - * Replaced deprecated Geometry::set*Binding() +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. -2013-06-26 18:06 robert - * Replaced deprecated Geometry::set*Binding() usage -2013-06-26 17:58 robert +Tue, 4 Feb 2014 16:46:33 +0000 +Checked in by : Robert OSFIELD +Added test code for nesting a within a volume tag. - * Removed deprecated Geometry::set*Binding() usage +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 -2013-06-26 17:54 robert +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. - * Added osg::getBinding(osg::Array* array) convinience function - that returns the Array::getBinding() is the array is not NULL, - otherwise returns BIND_OFF. +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. -2013-06-26 17:45 robert +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. - * Replaced deprecated osg::Geometry::set*Binding() usage +Renamed ScriptCallback to ScriptNodeCallback to avoid possibly confusion between osg::CallbackObject and the ScriptNodeCallback. -2013-06-26 17:44 robert - * Replaced deprecated osg::Geometry::set*Binding() calls. -2013-06-26 16:16 robert - * From Sebastian Messerschmidt, "I've taken some time and - refactored some places where the old set*Binding were used." +Wed, 29 Jan 2014 11:01:24 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2013-06-26 13:00 robert +Tue, 28 Jan 2014 16:49:20 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, made method virtual - * 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)" +Tue, 28 Jan 2014 16:48:47 +0000 +Checked in by : Robert OSFIELD +Fixed MingW build's handling of debug d postfix. -2013-06-26 12:59 robert +Tue, 28 Jan 2014 15:28:17 +0000 +Checked in by : Robert OSFIELD +Removed the invocation of gcc on all platforms - * Removed unused methods +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. -2013-06-26 12:33 robert - * Removed spaces from end of line -2013-06-26 12:33 robert - * Fixed bug in TemplateTargetAttributeDispatch that was causing a - crash with the osgsimplegl3 example -2013-06-26 09:04 robert +Mon, 27 Jan 2014 15:43:36 +0000 +Checked in by : Robert OSFIELD +Removed unimplemented method - * 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." +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 -2013-06-26 08:53 robert +2> The drawelements need to be rewritten as the vertices are reordered. - * Removed Geometry::fixDeprecatedData() as it won't work on const - Geometry +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" -2013-06-26 07:08 robert - * 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 +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). - * Removed #include as it's nolonger required in the - header +On some ATI cards (at least RADEON HD) this also leads to an "incomplete " FBO status -2013-06-25 16:10 robert +I've added a test to enable drawbuffers only if target is "DRAW" or "READ_DRAW", this solves my problems on ATI cards." - * 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 - * 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 - - * 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 - - * 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 - - * 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 - - * Updatd SO_VERSION to reflect changes in ABI from merging - submissions. - -2013-06-24 12:27 robert - - * 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 - - * From Mourad Boufarguine, "Attached is a fix for the ply reader to - use the output of osgDB::findDataFile. - - " - -2013-06-24 11:39 robert - - * 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 - - * 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 - - * Convert usage to use const versions of containers - -2013-06-24 09:59 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Introduced typedef's to make the code more readble and - maintanable - -2013-06-24 08:48 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated version number after dev release - -2013-06-21 19:35 robert - - * Removed spaces from end of lines - -2013-06-21 14:37 robert - - * Fixed author name error introduced by xxdiff - -2013-06-21 14:30 robert - - * Reapplied AUTHORS changes - -2013-06-21 14:29 robert - - * Update ChangeLog and AUTHORS.txt for release - -2013-06-21 14:17 robert - - * Removed unneccessary handling of BIND_PER_PRIMITIVE on output - code - -2013-06-21 13:59 robert - - * From Pjotr Svetachov, introduced use of - osg::observer_ptr in place of osg::Camera* - -2013-06-21 13:41 robert - * From Stephan Huber, "attached you'll find the missing - readObject-implementations for the imageio-plugin as suggested by - Remo Eichenberger." +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." -2013-06-21 12:10 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" - * From Laurens Voerman, build fix +Fri, 24 Jan 2014 16:24:59 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, VisualStudio 2013 build fixes -2013-06-21 10:59 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." - * Build fixes for new osg::Geometry -2013-06-21 10:14 robert - * Converted osg::Geometry::ArrayData usage across to osg::Array. +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." -2013-06-21 10:03 robert +Fri, 24 Jan 2014 15:40:18 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * 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." +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. -2013-06-21 09:53 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. - * From Mathieu Marache, I needed to modify the FindCOLLADA.cmake to - enable its compilation under macosx. +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 -2013-06-21 09:47 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" - * Converted ArrayData usage across to set*Array() usage with new - binding parameter +Thu, 23 Jan 2014 19:55:37 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2013-06-21 09:43 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. - * 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) +I am therefor suggesting a slight generalization of the ComputeBoundVisitor with the attached patch, which is tested. -2013-06-21 09:40 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. +" - * Removed spaces at ends of lines +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. -2013-06-21 09:17 robert - * 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." -2013-06-21 08:56 robert - * 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." +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. -2013-06-21 08:37 robert +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. +" - * 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 - * 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." +Thu, 23 Jan 2014 10:56:17 +0000 +Checked in by : Robert OSFIELD +Removed debug message -2013-06-20 16:44 robert +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 - * Fixed the handling the mouse min/max ranges of slave Cameras that - have a parent Camera with a viewport. +Thu, 23 Jan 2014 10:11:15 +0000 +Checked in by : Robert OSFIELD +Cleaned up debug message. -2013-06-20 15:48 robert +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. - * Temporarily commented out call to - view.assignStereoOrKeystoneToCamera() for implementing stereo as - this was causing problem in trackball manipulation +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. -2013-06-20 15:18 robert +Thu, 23 Jan 2014 07:59:46 +0000 +Checked in by : Robert OSFIELD +Added GL_TEXTURE_2D_MULTISAMPLE to texture mode list. - * Added local namespace for util functions, and fixed the return - type of checkDeprecatedData() +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. -2013-06-20 12:15 robert +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: - * 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." + and will be treated the same + WHITE and White will be treated the same + and , will all be treated the same -2013-06-20 10:59 robert - * Commented out verbose debug messages for shader composition -2013-06-20 10:42 robert - * Updated ChangeLog and AUTHORS file +Wed, 22 Jan 2014 11:25:54 +0000 +Checked in by : Robert OSFIELD +Added support for sampleRatio and sampleRatioWhenMoving properties -2013-06-20 10:05 robert +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 - * 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." +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. -2013-06-20 09:30 robert +Tue, 21 Jan 2014 18:31:20 +0000 +Checked in by : Robert OSFIELD +Build fixes for when ref_ptr<> has no auto type conversion - * From Jan Ciger, compilation fix for Qt 5.0.2 +Tue, 21 Jan 2014 17:27:21 +0000 +Checked in by : Robert OSFIELD +Fixed build error -2013-06-20 09:27 robert +Tue, 21 Jan 2014 17:00:56 +0000 +Checked in by : Robert OSFIELD +Fixed build error due to typo. - * From Laurens Voerman, build fix for VS. +Mon, 20 Jan 2014 17:23:11 +0000 +Checked in by : Robert OSFIELD +Integrated multipass volume rendering shaders from OpenSceneGraph-Data -2013-06-19 17:28 robert +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. - * Removed svn:executable property. +Mon, 20 Jan 2014 16:21:24 +0000 +Checked in by : Robert OSFIELD +Removed nolonger used code paths -2013-06-19 17:26 robert +Mon, 20 Jan 2014 15:54:48 +0000 +Checked in by : Robert OSFIELD +Disable depth test for rendering of hull backface - * Removed svn:executable property +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." -2013-06-19 17:25 robert +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. - * Removed svn:executable property. -2013-06-19 16:24 robert - * Cleaned up usage of BIND_PER_PRIMITIVE where possible. +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. -2013-06-19 12:32 robert - * From Magnus Kessler, typo fixes to doxygen docs and comments -2013-06-19 12:28 robert +Fri, 17 Jan 2014 18:20:39 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * 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" +Fri, 17 Jan 2014 18:20:28 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fix for OSX build issue -2013-06-19 12:27 robert +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: - * Converted tabs to four spaces +mac/qt5.2 +linux/qt5.2 +windows/qt5.2, and +mac/qt5.1 -2013-06-19 12:19 robert +All platforms perform as expected. - * 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 " +The previous fix removed the -f flag to the moc-pre-processor, but on windows, it turned out that -f "osgQt/QGraphicsViewer" was needed. -2013-06-19 10:56 robert +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. - * Build fixes for new deprecated osg::Geometry functions -2013-06-18 19:09 robert +Secondly, I wonder if it would be possible to apply my patch for FindRSVG.cmake from 22nd November in the 3.2 branch. - * 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. +In short, the version of librsvg must be equal or higher to 2.35: -2013-06-18 17:49 robert +PKG_CHECK_MODULES(RSVG librsvg-2.0>=2.35) +" - * Moved the assignment of the normal binding to after the - setNormalArray call -2013-06-18 17:48 robert - * Moved the Geometry::set*Binding to after the set*Array() to - prevent problems when using the deprecated functionality. +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:.... -2013-06-18 15:54 robert +GUIEventHandler: In copy constructor 'osgGA::GUIEventHandler::GUIEventHandler(const osgGA::GUIEventHandler&, const osg::CopyOp&)': - * Removed BIND_PER_PRIMITIVE reference +/include/osgGA/GUIEventHandler:56:9: error: base class 'class osg::Object' should be explicitly initialized in the copy constructor [-Werror=extra] -2013-06-18 15:03 robert +It seems the diamond problem: - * Moved the set binding and normalize for VertexAttrib to after the - VertexAttrib array assignment + A = osg::Object + / \ + / \--> Virtual inheritance +B C + \ / + \ / + D = EventHandler + | + | + E = GUIEventHandler -2013-06-18 14:52 robert +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. - * Changed header guard back to original, and removed deprecated - enum -2013-06-18 14:22 robert +In case A is not initialized in the copy constructor of derived classes the default constructor will be called, which seems a bug. - * Fixed order of binding. +I've added osg::Object to the initalization list of EventHandler and GUIEventHandler copy constructors, because both classes are instantiables. + " -2013-06-18 11:49 robert - * Removed experiment GeometryNew as it's no longer required. -2013-06-18 11:18 robert +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." - * 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. +Fri, 17 Jan 2014 12:40:58 +0000 +Checked in by : Robert OSFIELD +Fixed handling of background colours. -2013-06-14 09:43 robert +Thu, 16 Jan 2014 17:26:35 +0000 +Checked in by : Robert OSFIELD +Removed old redundent TexGen usage. - * Fixed TextBase::computeBound() so it take into account all - corners of the text box thus ensuring proper handling of rotated - text +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 + -2013-06-12 12:49 robert - * From Martin Naylor, replace osgDB::fstream with an osgDB::open() - call. -2013-06-11 10:52 robert - * 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. +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 -2013-06-11 10:49 robert +Thu, 9 Jan 2014 11:13:09 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, build fix for Windows GL3 build - * Fixed indentation +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 -2013-06-11 09:05 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<>. - * 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 +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." -2013-06-10 14:34 robert +Wed, 8 Jan 2014 10:31:36 +0000 +Checked in by : Robert OSFIELD +Removed more odd characters - * From Kristofer Tingdahl, with additions from Riccardo Corsi and - Robert Milharcic, support for Qt5 build +Wed, 8 Jan 2014 10:28:24 +0000 +Checked in by : Robert OSFIELD +Removed more odd characters -2013-06-10 10:37 robert +Wed, 8 Jan 2014 10:24:43 +0000 +Checked in by : Robert OSFIELD +Removed odd characters - * Fixed remove and add callback so they properly handle nested - callbacks +Wed, 8 Jan 2014 10:16:39 +0000 +Checked in by : Robert OSFIELD +Moved destructor to protected -2013-06-07 10:54 robert +Tue, 7 Jan 2014 19:06:44 +0000 +Checked in by : Robert OSFIELD +Refined the GLint64 definitions - * 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);" +Tue, 7 Jan 2014 18:32:45 +0000 +Checked in by : Robert OSFIELD +Removed duplicated instances of GLint64EXT declarations -2013-06-07 10:52 robert +Tue, 7 Jan 2014 16:43:07 +0000 +Checked in by : Robert OSFIELD +Removed execute properties via svn propdel svn:executable file - * 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." +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." -2013-06-06 08:23 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 - * Replaced OpenThreads::Mutex with a OpenThreads::ReentrantMutex to - allow draw callbacks to use Renderer. +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." -2013-06-05 07:55 robert +Tue, 7 Jan 2014 11:01:32 +0000 +Checked in by : Robert OSFIELD +Added State::getMaxTextureCoords() and State::getMaxTextureUnits() inline methods. - * Reorder member variables to ensure better packing in memory. +Mon, 6 Jan 2014 17:19:21 +0000 +Checked in by : Robert OSFIELD +Added support for Switch::set/getValue() -2013-06-05 07:27 robert +Mon, 6 Jan 2014 16:58:07 +0000 +Checked in by : Robert OSFIELD +Added Group::setChild(..) and Geode::setDrawable(..) MethodObjects - * 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 +Mon, 6 Jan 2014 15:46:36 +0000 +Checked in by : Robert OSFIELD +Removed the prototype MethodObject classes -2013-06-04 19:04 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. - * Updates to GeometryNew, Array and ArraDispatchers to clean up - GeometryNew so that is no longer uses ArrayData. +Added addChild/removeChild() etc to Group.cpp, and addDrawable/removeDrawable() etc. to Geode.cpp serializers. -2013-06-04 14:55 robert - * 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 +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. - * Removed now redundent osggeodemo +Fri, 3 Jan 2014 14:36:58 +0000 +Checked in by : Robert OSFIELD +Fixed build of V8 and Python plugins -2013-06-04 13:29 robert +Wed, 25 Dec 2013 17:36:32 +0000 +Checked in by : Robert OSFIELD +Preliminary support for wrapping methods in the lua script plugin. - * Removed geo plugin as the modelling tool it was assocaited is - long defunct. +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. -2013-06-04 10:06 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. - * Cleaned up BIND_PER_PRIMITIVE and array indice usage +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-06-04 09:32 robert - * 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 +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. - * Removed deprecated usage of osg::Geometry indices and - BIND_PER_PRIMITIVE +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: -2013-06-03 15:10 robert + "lua::LuaScriptEngine::pushValue(osg::Quat const&) const", referenced from: - * From Aurelien Albert, Added support for texture swizzle. + PushStackValueVisitor::apply(osg::Quat const&) in LuaScriptEngine.o -2013-06-03 14:38 robert + "lua::LuaScriptEngine::pushValue(osg::Plane const&) const", referenced from: - * Updated version and so_version in prep for 3.1.8 developer - release + PushStackValueVisitor::apply(osg::Plane const&) in LuaScriptEngine.o -2013-06-03 14:27 robert +ld: symbol(s) not found for architecture x86_64 - * 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." +clang: error: linker command failed with exit code 1 (use -v to see invocation) -2013-06-03 14:04 robert - * 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 +Looks like LuaScriptEngine was missing implementation of those 2 member functions. Fixed src/osgPlugins/lua/LuaScriptEngine.cpp file in attachment. - * 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 - * Added Vec*b, Vec4ub, Vec*s, Vec*i, Vec*ui serializers -2013-06-03 12:19 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. - * Added Vec2i, Vec2ui, Vec3i, Vec3ui, Vec4i and Vec4ui headers to - CMake header list +Here’s an example: -2013-06-03 11:38 robert +0x72 +" - * From Art Tevs, int and uint Vec classes -2013-06-03 09:19 robert - * From Aurelien Albert, "This submission is made against trunk - version and add the loading of "glVertexAttribDivisor" - extension." +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. +" -2013-05-31 10:28 robert - * 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 +Thu, 19 Dec 2013 10:02:16 +0000 +Checked in by : Robert OSFIELD +Implemented support for calling scripts from with Present3D. - * From Ulrich Hertlein, "attached is a patch that fixes another - clang++ compiler warning when returning - std::vector::size() as 'unsigned int'. - " +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 -2013-05-30 09:07 robert - * 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 - - * Renamed PanoramicSphericalDisplay.cpp to fix a typo - -2013-05-28 16:39 robert - - * Updated ChangeLog and Contributors list - -2013-05-28 15:43 robert - - * 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 - - * 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 - - * 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 - - * Fixed date typo -2013-05-28 14:35 robert - * 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 - - * 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. +Tue, 17 Dec 2013 10:52:50 +0000 +Checked in by : Robert OSFIELD +Added experimental image 3d downsample function. -2013-05-28 11:47 robert +Mon, 16 Dec 2013 11:28:10 +0000 +Checked in by : Robert OSFIELD +Removed the unused Texture::Extensions::numTextureUnits() - * From Sukender, "Added ".dds" file deletion on writing failure." +Fri, 13 Dec 2013 12:38:01 +0000 +Checked in by : Robert OSFIELD +Implemented ability to switch between different shaders with new MultipassTechnique -2013-05-28 11:46 robert +Thu, 12 Dec 2013 09:53:24 +0000 +Checked in by : Robert OSFIELD +Added SampleRatioWhenMoving property and support to new osgVolume::MultipassTechnique. - * 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." +Thu, 12 Dec 2013 09:51:30 +0000 +Checked in by : Robert OSFIELD +Applied unquie CullVisitor::Identifier rather than reusing the cloned one. -2013-05-28 11:44 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 - * 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." +Wed, 11 Dec 2013 12:00:27 +0000 +Checked in by : Robert OSFIELD +Added initial support for 1D transfer functions to MultipassTechnique -2013-05-28 11:25 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. - * 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. +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 -2013-05-28 10:46 robert +Mon, 9 Dec 2013 10:39:01 +0000 +Checked in by : Robert OSFIELD +Improvements to new MultipassTechnique - * Fixed the computation of the spot light direction. +Fri, 6 Dec 2013 19:31:12 +0000 +Checked in by : Robert OSFIELD +Further work on new MultipassTechnique/VolumeScene. -2013-05-28 09:20 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. - * Fixed View::setUpViewInWindow() parameter +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 -2013-05-28 08:38 robert +Tue, 26 Nov 2013 10:38:35 +0000 +Checked in by : Robert OSFIELD +Replaced readShaderFile() usage to readRefShaderFile() - * Added an OSG_INIT_SINGLETON_PROXY(..) to initialize the static - s_GLExtensionDisableString variable +Mon, 25 Nov 2013 17:36:17 +0000 +Checked in by : Robert OSFIELD +Added initial render to texture functionality into osgVolume::VolumeScene -2013-05-27 09:10 robert +Fri, 22 Nov 2013 10:27:15 +0000 +Checked in by : Robert OSFIELD +Warning fixes - * Updated AUTHORS file +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. -2013-05-27 09:07 robert +Fri, 22 Nov 2013 09:38:50 +0000 +Checked in by : Robert OSFIELD +Removed trailing spaces, added missing return to last lines - * Updated AUTHORS file +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. -2013-05-27 09:05 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" - * Updated ChangeLog and AUTHORS file -2013-05-27 08:13 robert - * 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 :)." +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. -2013-05-27 08:10 robert +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. +" - * Moved quad buffer definitions into include/osg/Camera -2013-05-26 10:44 robert - * Updated AUTHORS file +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. -2013-05-26 10:27 robert +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. +" - * Updated ChangeLog -2013-05-25 10:09 robert - * From Farshid Lashkari, " small update to TangentSpaceGenerator to - support QUAD_STRIP primitive types." +Thu, 21 Nov 2013 11:02:08 +0000 +Checked in by : Robert OSFIELD +Converted std::max to osg::maximum to fix VS2013 build error -2013-05-24 17:16 robert +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. - * Resrtuctured the use of static's in the Uniform::getNameID() - method to avoid problems under Android. +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 +" -2013-05-24 17:06 robert - * From Jordi Torres, "We must use JNI_FALSE instead of false in JNI - code. Otherwise the examples will not compile. This patch should - be applied to osgAndroidExampleGLES1/jni and - osgAndroidExampleGLES2/jni. the osgNativeLib.cpp is the same. " -2013-05-24 09:43 robert +Mon, 18 Nov 2013 13:31:44 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, compile fix for OpenGL ES on iOS. - * Removed redudent code +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 -2013-05-24 09:35 robert +Mon, 18 Nov 2013 12:46:00 +0000 +Checked in by : Robert OSFIELD +Added panning and zooming functionality to transfer function UI prototype code. - * 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, 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 -2013-05-23 18:29 robert +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. - * Added repolation of the _deadparts stack which would otherwise - been invalidatd by the depth sort of particles. -2013-05-23 15:55 robert - * From Pawel Ksiezopolski, Added example of using - osg::TextureBuffer + GLSL to render forest. -2013-05-23 14:14 robert +Tue, 12 Nov 2013 14:21:00 +0000 +Checked in by : Robert OSFIELD +Restored the rescaleToZeroToOneRange() to address rendering issues. - * From David Fries, "This updates the CMakeLists.txt instructions - for the commands - to make the doxygen documentation." +Mon, 11 Nov 2013 10:55:51 +0000 +Checked in by : Robert OSFIELD +Removed unused variables -2013-05-23 12:29 robert +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. " - * Refactored the idle mechanism to fix problems with the vnc thread - going idle when it shouldn't have. +Fri, 8 Nov 2013 12:26:14 +0000 +Checked in by : Robert OSFIELD +Added support for assinging and display transfer functions -2013-05-23 10:25 robert +Fri, 8 Nov 2013 12:25:35 +0000 +Checked in by : Robert OSFIELD +Quietened down debug messages - * 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. +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. -2013-05-22 15:48 robert +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 - * Quitened down debug messages +Wed, 6 Nov 2013 09:50:16 +0000 +Checked in by : Robert OSFIELD +Re-enabled the disable of the transfer function -2013-05-22 13:16 robert +Wed, 6 Nov 2013 09:49:51 +0000 +Checked in by : Robert OSFIELD +Fixed handling of web cams - * Removed debug messages +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 -2013-05-22 13:09 robert +Wed, 6 Nov 2013 09:20:35 +0000 +Checked in by : Robert OSFIELD +Restructed the call to avformat_open_input to provide more information. - * 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" +Tue, 5 Nov 2013 15:23:32 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2013-05-22 12:49 robert +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." - * 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." +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. -2013-05-22 11:06 robert +Mon, 28 Oct 2013 12:03:55 +0000 +Checked in by : Robert OSFIELD +From Likasz Izebski, "added support for etc2/eac compression" - * 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. " +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. -2013-05-22 10:28 robert +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. - * 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 - * 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." +Fri, 25 Oct 2013 14:46:37 +0000 +Checked in by : Robert OSFIELD +Remoed -fpermissive -2013-05-21 10:22 robert +Fri, 25 Oct 2013 09:02:39 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * From Valeriy Dubov, fix for Android build under OSX +Thu, 24 Oct 2013 20:22:13 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2013-05-21 09:48 robert +Thu, 24 Oct 2013 19:56:04 +0000 +Checked in by : Robert OSFIELD +Removed depreated glib call - * 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." +Thu, 24 Oct 2013 19:32:00 +0000 +Checked in by : Robert OSFIELD +Fixed FileInfo self intialization bug -2013-05-21 09:44 robert +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 - * Added use of SingleWindow for when only one screen is used +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)" -2013-05-20 19:24 robert +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. - * 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 - - * Added support for controlling border and override redirect to the - SingleWindow View::Config - -2013-05-20 10:23 robert - - * 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 - - * Added support for setting the left/right cull masks - -2013-05-16 14:51 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 - * Changed the default of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO - to OFF +Wed, 23 Oct 2013 16:17:26 +0000 +Checked in by : Robert OSFIELD +Added support for Group::addChild/setChild/getChild/getNumChildren. -2013-05-16 14:11 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. - * Fixed stereo offsets of HORIZONTAL_SPLIT and VERTICAL_SPLIT - stereo modes +Added assignment of the DisplaySettings to the WindowSystemInterface in Viewer/ComppsiteViewer::realize(). -2013-05-16 14:07 robert - * Reverted back to changes before experiements with ViewConfig -2013-05-16 10:28 robert +Tue, 22 Oct 2013 18:58:15 +0000 +Checked in by : Robert OSFIELD +Preliminary remapping of internalFormat for GL3 core profile - * Cleaned up the WoWVxDisplay command line parsing +Tue, 22 Oct 2013 16:28:20 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2013-05-16 10:11 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." - * Renamed osgViewer::Config osgViewer::ViewConfig and moved it's - declaration into include/osgViewer. -2013-05-16 09:08 robert - * Added WoWVxDisplay view config +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." -2013-05-15 16:15 robert - * Created a dedicated include/osgViewer/config and - src/osgViewer/config directories to place all the Config classes. -2013-05-15 12:50 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 - * Added support for osgViewer::Config in osgViewer::Viewer command - line parsing +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 -2013-05-15 11:31 robert +Mon, 21 Oct 2013 09:54:41 +0000 +Checked in by : Robert OSFIELD +Build fixes for clang - * Introduced osgViewer::Config base class and beginnigs of various - Config implementations. - Introduced osgViewer serializers plugin for serialization support - for osgViewer::Config implementations and Keystone +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." -2013-05-14 16:23 robert +Fri, 18 Oct 2013 08:37:18 +0000 +Checked in by : Robert OSFIELD +From Vladimir Chebeav, fix for removal of nested callbacks - * 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. - - " +Fri, 18 Oct 2013 07:55:26 +0000 +Checked in by : Robert OSFIELD +From Konstantin Matveyev, "Multiple light fix in FBX-importer" -2013-05-14 16:18 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." - * From Michael Kapelko, "The provided patch (against SVN revision - 13380) adds missing constness to returning calls (without it the - user code does not compile)." +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." -2013-05-14 16:15 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. - * From Farshid Lashkari, "The tga image loader was not properly - reading in 16-bit images. Fix is attached." +Thu, 17 Oct 2013 14:02:15 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, build fix -2013-05-14 16:12 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 - * 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." +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." -2013-05-14 13:35 robert +Thu, 10 Oct 2013 14:45:57 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, compile fix for VisualStudio - * Updated ChangeLog +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." -2013-05-14 13:34 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. - * Updated version after dev release +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. -2013-05-13 13:12 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“ +" - * Added OSGUTIL_EXPORT for Windows build -2013-05-13 12:08 robert - * Updated version number for dev release +Mon, 7 Oct 2013 09:33:46 +0000 +Checked in by : Robert OSFIELD +Cleaned up line endings -2013-05-13 11:59 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. - * Updated ChangeLog for 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() -2013-05-13 11:51 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. - * Updated links to svn repository +Fri, 4 Oct 2013 16:29:45 +0000 +Checked in by : Robert OSFIELD +Added createObject() interface -2013-05-13 11:02 robert +Fri, 4 Oct 2013 16:28:49 +0000 +Checked in by : Robert OSFIELD +Updated version number after 3.3.0 dev release - * Fixed build for when automatic type conversion isn't enabled for - ref_ptr<> +Thu, 3 Oct 2013 16:20:29 +0000 +Checked in by : Robert OSFIELD +Fixed errors in Contributors list -2013-05-13 09:53 robert +Thu, 3 Oct 2013 08:45:57 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, RayIntersector implementation - * Fixed the render order to the Render To Texture cameras used in - stereo keystoning. +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. -2013-05-13 09:49 robert +I've modified the ObjectWrapper class to defer the prototype object +creation until if & when actually required." - * Improved the use of the Keystone's defined in the DisplaySettings - object. -2013-05-13 09:18 robert - * Added to Viewer::realize() automatic setup using Keystone when - available and enabled, and when no other window setup has been - selected. +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." -2013-05-10 17:59 robert - * Added DisplaySettings::KeystoneHint flag that can be set via - --keystone-on and --keystone-off command line parameters, and the - OSG_KEYSTONE env var -2013-05-10 16:06 robert +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 - * Added keystone file handling +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); + } -2013-05-10 11:56 robert + geom->setNormalArray(perVertexNormals.get(), +osg::Array::BIND_PER_VERTEX); +" - * Added --keystone command line support into - DisplaySettings, and added OSG_KEYSTONE_FILES env var support - into osg::DisplaySettings. -2013-05-10 10:00 robert - * Moved Keystone support from osgkeystone example into - osgViewer::View +Tue, 1 Oct 2013 19:34:21 +0000 +Checked in by : Robert OSFIELD +Fixed build with no automatic ref_ptr<> conversion -2013-05-09 15:18 robert +Tue, 1 Oct 2013 19:31:48 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS files - * Moved Keystone class into osgViewer library. +Tue, 1 Oct 2013 19:00:02 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog in prep for dev release -2013-05-07 14:43 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. - * Cleaned up event handler and namespaces in prep for integrating - keystone functionality into osgViewer +I've also added accessors for modes and texture, since it could be usefull in the same way. -2013-05-07 13:34 robert +All methods are const, so I think there is no side-effects." - * Added keystone support for left eye, right eye and quad buffer - stereo -2013-05-07 11:13 robert - * Added keystone setup to vertical split stereo suport and cleaned - up the horizontal split stereo code +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." -2013-05-03 20:12 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: - * Commented out debug output +« +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: -2013-05-03 19:26 robert +static std::map myHandyMap; +static bool once = true; +if(once) { ...fill myHandyMap; once = false } +... use myHandyMap; - * 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. +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. -2013-04-26 10:00 robert +The attached patch (inventor-plugin-multithread.patch) rectifies this +problem by: - * As a test of new repository updated date in README.txt +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-04-18 17:02 robert - * Refactored Keystone setup as a step toward integrating Keystone - correction with stereo -2013-04-18 09:47 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). - * Implemented stereo support into osgkeystone as a testbed for - moving stereo support from SceneView into osgViewer +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-04-17 11:04 robert - * Implemented initial cut of anaglyphic stereo -2013-04-16 09:26 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." - * Changed point to osg::ref_ptr<> to prevent memory leaks. -2013-04-15 14:21 robert - * Preperation for adding stereo support direclty into osgViewer. +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 -2013-04-12 13:01 robert +Finally in OSXAvFoundationCoreVideoTexture.cpp the include OSXAVFoundationVideo.H was updated to OSXAVFoundationVideo.h" - * Added support for enable/disabling the keystone editing using the - Ctrl-g key to toggle the UI and grid on/off. -2013-04-12 09:05 robert - * Moved keystone event handler onto the keystone distortion Camera. +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." -2013-04-12 08:52 robert +Mon, 30 Sep 2013 10:28:14 +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. -2013-04-11 17:12 robert +Fri, 27 Sep 2013 18:43:35 +0000 +Checked in by : Robert OSFIELD +Unified Vec/Plane/Quat handling code. - * Add support for a finer grained mesh on the distortion mesh for - higher quality results. +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. -2013-04-11 16:07 robert +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 - * Moved the keystone geometry computation into a - Keystone::compute3DPositions(..) method +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. -2013-04-10 16:36 robert - * Removed old experimental keystone code to clean up the example -2013-03-28 10:46 robert +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 - * Changed the way that the keystone geometry is calculated. +Tue, 24 Sep 2013 08:56:47 +0000 +Checked in by : Robert OSFIELD +Removed redundent spaces -2013-03-27 16:29 robert +Mon, 23 Sep 2013 14:10:36 +0000 +Checked in by : Robert OSFIELD +Added test for osgGA::GUIEventAdapter - * Added keypad control of corner points +Fri, 20 Sep 2013 15:43:24 +0000 +Checked in by : Robert OSFIELD +Removed unnceccesary setNumChildrenRequiringUpdateTraversal from VolumeTile constructor. -2013-03-26 17:03 robert +Fri, 20 Sep 2013 10:44:24 +0000 +Checked in by : Robert OSFIELD +Added initial cut of white and black lists - * Moved local variable into local scope to avoid it being created - when not used. +Fri, 20 Sep 2013 10:25:23 +0000 +Checked in by : Robert OSFIELD +Added compoundClassName() convinience method to standardize the generation of the compoundClassName. -2013-03-26 16:47 robert +Fri, 20 Sep 2013 10:04:50 +0000 +Checked in by : Robert OSFIELD +Added type maps to help with querrying supported type names - * Introduced shearing of the image +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. -2013-03-26 11:00 robert +Thu, 19 Sep 2013 16:18:20 +0000 +Checked in by : Robert OSFIELD +Removed unneccessary return - * Improved the setup of the keystone distortion correction mesh. +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 -2013-03-21 16:42 robert - * Updated developer release number -2013-03-21 16:22 robert +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] +" - * Added check against isVertexBufferObjectSupported() in - set*Pointer() methods -2013-03-21 11:35 robert - * Added keystone grid to aid editing +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". -2013-03-20 14:03 robert +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 - * 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. +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" -2013-03-19 16:43 robert - * Improve corner point tracking/keystone computation -2013-03-19 12:44 robert +Mon, 9 Sep 2013 14:58:25 +0000 +Checked in by : Robert OSFIELD +From Colin Cochran, OES support for point sprites - * Added event handle for interactive setting of keystone variables +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. " -2013-03-15 17:35 robert +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" - * Experiments with modifying the projection matrix to provide - keystoning. +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." -2013-03-14 16:24 robert +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 - * Initial skeleton of new osgkeystone example +2> Added header files to "Plugins osg" project, so visual studio can find the source of + OSG_WARN << "AsciiInputIterator::readProperty(): Unmatched property " +" -2013-03-11 17:16 robert - * 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 - * 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. - - " +Fri, 6 Sep 2013 09:35:56 +0000 +Checked in by : Robert OSFIELD +Initial cut of Audio/Volume/Movie/Image presentation objects -2013-02-13 16:29 robert +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. - * From Lukasz Izdebski,"added support for gl_SampleMaski." +In osg/Uniform.cpp the compiler complains that base_class is unknown +unless I add a class name qualifier. -2013-02-13 16:03 robert +Not a build fix, but I spotted a typo in osgUtil/SceneView." - * 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 - - * From Jordi Torres, Android build fix - -2013-02-12 15:40 robert - - * From Jordi Torres, fix for Android build - -2013-02-12 15:18 robert - - * From Stephan Huber, fixed bug in setting _numMessagesPerEvent and - added more debug information - -2013-02-07 19:16 robert - - * 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 - - * From Lukasz Izdebski , "I added write and read numInstances in - PrimitiveSet." - -2013-02-07 11:08 robert - - * Updated SO version in prep for serialization foramt change - -2013-02-07 08:46 robert - - * Updated AUTHORS list - -2013-02-06 16:04 robert - - * 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 - - * 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 - - * Added TODO note about RGB -> RGBA - -2013-02-06 12:46 robert - - * 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 - - * Simplified include/osg/Math to use Standard C++ maths headers - - and - -2013-02-06 11:16 robert - - * Fixed warning - -2013-02-06 09:20 robert - - * From Stephan Huber, fixed for Windows 64bit build - -2013-02-05 18:22 robert - - * Added .get()'s to fix compilation when ref_ptr<> type conversion - is disabled - -2013-02-04 16:25 robert - - * Updated ChangeLog - -2013-02-04 14:42 robert - - * Updated version number after 3.1.4 developer release - -2013-02-04 13:28 robert - - * 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 - - * Fixed warning - -2013-02-04 13:27 robert - - * Fixed warnings - -2013-02-04 13:11 robert - - * Fixed warning -2013-02-04 12:50 robert - * Fixed warning and converted tabs to four spaces +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." -2013-02-04 12:38 robert +Thu, 5 Sep 2013 10:04:56 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Fixed warnings +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." -2013-02-04 12:01 robert +Thu, 5 Sep 2013 08:22:27 +0000 +Checked in by : Robert OSFIELD +Added missing Model.cpp - * Fixed warning +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 -2013-01-31 16:26 robert +Wed, 4 Sep 2013 16:25:18 +0000 +Checked in by : Robert OSFIELD +Added PrintProperties visitor - * Standardized use of GL_HALF_FLOAT_NV and GL_HALF_FLOAT_ARB to - GL_HALF_FLOAT +Wed, 4 Sep 2013 15:39:17 +0000 +Checked in by : Robert OSFIELD +Added PrintPropertiesAction to osgPresentation -2013-01-31 11:09 robert +Wed, 4 Sep 2013 10:33:11 +0000 +Checked in by : Robert OSFIELD +Added Action class NodeVisitor that supports osgPresentation nodes. - * 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. +Tue, 3 Sep 2013 15:50:28 +0000 +Checked in by : Robert OSFIELD +Added test for osgPresentatation::Group::getSupportedProperties() -2013-01-30 11:31 robert +Tue, 3 Sep 2013 10:17:06 +0000 +Checked in by : Robert OSFIELD +Added beginings of Text implementation - * Added handling of movies into Timeout +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." -2013-01-30 10:49 robert +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. - * Added disabling of the traversal of the Timeout in update when - the timout is not displayed and disabled traversal by the - SlideEventHandler. +Mon, 2 Sep 2013 09:12:24 +0000 +Checked in by : Robert OSFIELD +Fixed double copy in StackedTransform copy constructor -2013-01-30 10:40 robert +Mon, 2 Sep 2013 08:29:09 +0000 +Checked in by : Robert OSFIELD +Added IO test for new osgPresentation nodes - * Fixed the erronous header so that it is OSGPL like the rest of - the osgAnimation. +Sun, 1 Sep 2013 17:24:35 +0000 +Checked in by : Robert OSFIELD +Added Audio, Image, Movie, Model and Volume class to osgPresentation. -2013-01-30 10:21 robert +Fri, 23 Aug 2013 16:47:27 +0000 +Checked in by : Robert OSFIELD +Fixed build - * From Stephan Huber, "As I have not all referenced image-data, - SlideShowConstructor crashed on my end. Attached is a fix for - that crash." +Fri, 23 Aug 2013 11:42:52 +0000 +Checked in by : Robert OSFIELD +Added color property to FontData parsing -2013-01-28 14:56 robert +Thu, 22 Aug 2013 13:39:36 +0000 +Checked in by : Robert OSFIELD +Quitened down debug message - * 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." +Thu, 22 Aug 2013 12:37:49 +0000 +Checked in by : Robert OSFIELD +Removed debug messages -2013-01-28 14:30 robert +Thu, 22 Aug 2013 12:07:55 +0000 +Checked in by : Robert OSFIELD +Quitened down debug message - * 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). - " +Thu, 22 Aug 2013 11:18:45 +0000 +Checked in by : Robert OSFIELD +Quitened down debug message -2013-01-25 16:54 robert +Thu, 22 Aug 2013 10:09:21 +0000 +Checked in by : Robert OSFIELD +Added warning when model file has not be found - * 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." +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 -2013-01-25 11:54 robert +Thu, 22 Aug 2013 07:49:22 +0000 +Checked in by : Robert OSFIELD +Added test for serializers and fixed serializers - * 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" - " +Wed, 21 Aug 2013 19:54:03 +0000 +Checked in by : Robert OSFIELD +Added initial classes for present3D refactor -2013-01-25 11:08 robert +Sun, 18 Aug 2013 18:10:39 +0000 +Checked in by : Robert OSFIELD +Moved old osgPresentation source files to osgPresentation/deprecated subdirectory. - * From Lukasz Izdebski, "Adding this GL mode makes possibly to use - this GL Modes (added in core OpenGL 3.2) in Windows." +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 -2013-01-25 10:36 robert +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. - * Fixed compile warning -2013-01-25 10:24 robert - * Added debug message for Timout +Fri, 9 Aug 2013 11:00:55 +0000 +Checked in by : Robert OSFIELD +Removed CameraNode reference -2013-01-24 18:48 robert +Fri, 9 Aug 2013 07:46:22 +0000 +Checked in by : Robert OSFIELD +Removed unused includes - * Fixed usage of META_NodeVisitor so it doesn't include "" +Fri, 9 Aug 2013 07:38:32 +0000 +Checked in by : Robert OSFIELD +Removed old cursor code -2013-01-23 17:38 robert +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 - * 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" +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 -2013-01-23 17:37 robert +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. - * 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 - * 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 - - * From Wang Rui with edits from Robert Osfield, additional GLenums - for cross platform build +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." -2013-01-23 15:54 robert - * From Lionel Lagarde, fixed typo bug -2013-01-23 11:50 robert +Thu, 1 Aug 2013 17:38:34 +0000 +Checked in by : Robert OSFIELD +Added missing initializer for _epsilon - * Removed redundent code block +Thu, 1 Aug 2013 11:25:02 +0000 +Checked in by : Robert OSFIELD +From Anish Thomas, added catch for to an empty DrawElementsUInt creation. -2013-01-23 11:45 robert +Thu, 1 Aug 2013 10:38:02 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file - * 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." +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." -2013-01-23 11:20 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 - * 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 +float cos_yaw = cosf(osg::inDegrees(yaw)); +float sin_yaw = sinf(osg::inDegrees(yaw)); - * 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')." +to be +float cos_yaw = cosf(osg::inDegrees(-yaw)); +float sin_yaw = sinf(osg::inDegrees(-yaw)); -2013-01-22 16:13 robert +it seems to work as well." - * Added and functionality to .p3d functionality. -2013-01-22 10:33 robert - * 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 - - * Added Options support to ImageSequence LOAD_* functionality - -2013-01-18 16:30 robert - - * Update SO_VERSION to reflect new API changes - -2013-01-18 16:21 robert - - * 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 - - * Added and - support to to allow the different timeout statges to be - broadcast. - -2013-01-17 11:57 robert - - * Changed the defaults of the Timeout to be DBL_MAX by default. - -2013-01-17 11:48 robert - - * 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 +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)." - * Added support for to Timeout support. +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. -2013-01-16 16:13 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 - * Implemented basic Timeout display and timing codes - -2013-01-15 11:31 robert - - * Added shell of Timeout class - -2013-01-11 11:30 robert - - * 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 - - * 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 - - * Added support for property that tells a video - to start specificied number of sections into a video. - -2013-01-10 10:53 robert - - * 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 - - * 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 - - * Added reset of the cursorFileName when hideCursor is activated to - prevent the custom cursor being enabled. - -2013-01-08 10:21 robert - - * Added case for FORWARD_EVENT to address warning - -2013-01-07 15:03 robert - - * 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 - - * 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 - - * 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. - - " +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" -2012-12-20 16:16 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." - * Made UpdateVisitor::TravesalMode default to - TRAVERSE_ACTIVE_CHILDREN +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. -2012-12-20 12:14 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. - * Added region="$xmin $ymin $zmin $xmax $ymax $zmax" support to - tag, along with animation support via the - support. +Tue, 30 Jul 2013 06:36:49 +0000 +Checked in by : Robert OSFIELD +Removed trailing spaces -2012-12-19 17:14 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 - * Removed lighting of trk lines +Wed, 24 Jul 2013 17:30:46 +0000 +Checked in by : Robert OSFIELD +Changed default of serialize draw to off -2012-12-19 12:38 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. - * Changed the colour calculation and added gl_ClipVertex to enable - clipping. +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 -2012-12-18 11:20 robert +Wed, 24 Jul 2013 12:51:13 +0000 +Checked in by : Robert OSFIELD +Updated NEWS from OSG-3.2 branch - * Removed erroneous region setting +Wed, 24 Jul 2013 12:48:59 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2012-12-18 09:49 robert +Wed, 24 Jul 2013 12:25:18 +0000 +Checked in by : Robert OSFIELD +Updated SO version for post 3.2 era. - * 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 - - * 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 - - * Added handling of aspect ratio for vertical/horizontal split - stereo. - -2012-12-14 16:31 robert - - * 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 - - " +Wed, 24 Jul 2013 12:17:06 +0000 +Checked in by : Robert OSFIELD +Added getCallbacks() methods -2012-12-14 16:30 robert +Tue, 23 Jul 2013 18:11:35 +0000 +Checked in by : Robert OSFIELD +From Rocco Martino, build fix for compiling against ffmpeg/trunk - * Updated SO version - -2012-12-13 17:35 robert - - * 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 +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 -2012-12-13 16:23 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(..) - * Added colouring and lighting of track using shader +Tue, 23 Jul 2013 09:54:25 +0000 +Checked in by : Robert OSFIELD +Fixed crash when open(..) returns an error. -2012-12-11 17:45 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). +" - * Fixed handling of image colour space conversion when pixel format - changes -2012-12-11 17:27 robert - * Added automatic conversion of RGB to RGBA when doing - REPLACE_ALPHA_WITH_LUMINANCE colour space conversion. -2012-12-11 10:44 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." - * Disabled lighting and set the colour to white +Mon, 22 Jul 2013 10:15:59 +0000 +Checked in by : Robert OSFIELD +Added FRAME_BUFFER_OBJECT enum -2012-12-11 09:55 robert +Mon, 22 Jul 2013 10:15:44 +0000 +Checked in by : Robert OSFIELD +Updated OpenThreads version - * First cut of generating lines from .trk data +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 -2012-12-10 11:11 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]." - * Added setting of the fusion distance. +I added the missing lines and tested it with OSG 3.1.9 and iOS SDK 6.1." -2012-12-08 16:11 robert - * 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 - * 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) - - " +Fri, 19 Jul 2013 20:59:09 +0000 +Checked in by : Robert OSFIELD +Added default setting of BIND_PER_VERTEX when applying Geometry::setTexCoordArray() -2012-12-07 19:04 robert +Fri, 19 Jul 2013 17:00:24 +0000 +Checked in by : Robert OSFIELD +Updated OpenThreads version to be in sync with OSG version - * Added template swapBytes method +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 -2012-12-07 13:59 robert +Fri, 19 Jul 2013 14:07:17 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for new 3.2 branch - * Added naming of root of presentation and used this in the setup - of the position of the camera. +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 -2012-12-07 12:47 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 - * Fixed handling of window size/projection matrix +Fri, 19 Jul 2013 10:17:26 +0000 +Checked in by : Robert OSFIELD +Updater version for 3.1.10 dev release -2012-12-07 10:19 robert +Fri, 19 Jul 2013 10:11:42 +0000 +Checked in by : Robert OSFIELD +Removed #if 0 #endif block - * 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. +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. -2012-12-06 19: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." - * Intial shell of .trk plugin +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." -2012-12-06 18:12 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() - * From Stephan Huber, build fix -2012-12-06 14:42 robert - * Added default value for initialization of port number -2012-12-06 11:36 robert - * Fixed typo +Thu, 18 Jul 2013 20:17:48 +0000 +Checked in by : Robert OSFIELD +Added a dirty() call to Image::setData(..) -2012-12-06 11:36 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. - * Added creation of directory path for ouput if one is required +Some of the included libraries are released in newer versions, so I adapted +the attached CMake module to find these renamed files. -2012-12-06 08:02 robert +I hope you can merge this minor changes soon, since I plan to publish the +small 3rdparty package today. +" - * From Stephan Huber, ZerConfDevice plugin for Windows and Apple -2012-12-05 17:15 robert - * 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" +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." -2012-12-05 11:41 robert +Tue, 2 Jul 2013 19:24:10 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and ChangeLog for 3.1.9 dev release - * Added --screen-distance , --screen-height and - --screen-width command line support and associated - settings to the configuration file. +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." -2012-12-05 10:13 robert +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) - * Moved the expansion of the key codes into ApplicationUsage so - that help is only generated for non zero keycodes. +modified file (OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp) attached in Zip" -2012-12-04 19:02 robert - * Fixed default camera position -2012-12-04 18:51 robert +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 - * Changed the -w and -h options to --width and --height - respectively. +Regards, Laurens. -2012-12-04 18:30 robert - * Cleaned up command line usage +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)" -2012-12-04 18:28 robert - * Tidied up command line docs. -2012-12-04 18:21 robert +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. - * Tidied up CaptureSettings and added command line docs +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. -2012-12-04 12:47 robert +Here is a modified version of this class, which add some "virtual" method to allow easy subclassing." - * 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 - * Added missing break; +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." -2012-12-03 16:49 robert +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. - * 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 - * Renamed souce file -2012-12-03 10:10 robert +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." - * 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 - * Fixed error in Unfiform set method +Mon, 1 Jul 2013 12:16:32 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS, ChangeLog for dev release -2012-12-03 09:35 robert +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. - * Added include of osc plugin directory to help with Windows build +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." -2012-12-02 11:45 robert - * From Wang Rui, build fix -2012-11-30 20:03 robert +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" - * Fixed crash when no CameraManipulator is assigned to the viewer +Mon, 1 Jul 2013 09:09:49 +0000 +Checked in by : Robert OSFIELD +Fixed debug build compile problem -2012-11-30 16:52 robert +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. - * Added support for 0x and numeric defintion of keys to be used - with functionality. +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. " -2012-11-30 15:43 robert +Fri, 28 Jun 2013 14:47:02 +0000 +Checked in by : Robert OSFIELD +From Alberto Luaces, "Documentation for -p and --speed options in osgviewer" - * Added support for pausing and restart the property_animation. +Fri, 28 Jun 2013 14:38:45 +0000 +Checked in by : Robert OSFIELD +From Marcel Pursche, fixed checking of destination dimensions in osg::copyImage. -2012-11-30 14:21 robert +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()); +} - * 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" - +if (in->getVersion() >= VERSION_0045) +{ + setLoadExternalReferenceFiles( (osg::ProxyNode::LoadingExternalReferenceMode)in->readInt() ); +} +" -2012-11-28 13:28 robert - * From Stephan Huber, New OscSendingDevice and OscReceivingDevice - classes -2012-11-28 10:43 robert +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" - * 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. +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) -2012-11-27 16:00 robert +adding a space before /* fixes the problem + void removeClient(osg::Object * /*client*/) { --_numClients; } +" - * Added support for tag for , - and scope to compliment the scope of -2012-11-27 15:09 robert - * Added preliminary support for +Fri, 28 Jun 2013 14:07:31 +0000 +Checked in by : Robert OSFIELD +Fixed handling of DISPLAY=127.0.0.1:2 usage. -2012-11-22 15:13 robert +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 : - * 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. " +- set RestartIndex = "n" +- draw elements strip + -> when the index is "n", the strip is "stopped" and restarted -2012-11-22 11:55 robert +It's very usefull for drawing tiles with a single strip and a "restart" at the end of each row. - * Simplified CMakeLists and adjusted OscHostEndianness to - automatically detect the endian at compile time +The idea a an OSG StateAttribute is : -2012-11-22 11:47 robert +Usually we use to build geometry from code, because software modelers rarely support it (and 3d file formats doesn't support it) : - * From Stephan Huber, updates to explictly set the HOST Endian - using Cmake +-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 -2012-11-22 09:49 robert - * Added explict handling of osg::Image, osg::HeightField, - osg::Shader and osg::Node when doing writes to the archive. +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. -2012-11-21 15:19 robert +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. - * From Stephan Huber, further work on osc plugin +To solve this, I think there is two ways : -2012-11-21 14:27 robert +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 - * Moved static for local to global scope in Uniform.cpp and removed - the local static usage in Registry.cpp +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. +" -2012-11-21 13:38 robert - * Refactored osgDB::Input::readObjectOfType to use a template, and - updated associated wrappers to avoid using local static's -2012-11-20 18:41 robert - * From Paul Martz, fix for Windows build +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. -2012-11-20 13:01 robert +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. - * From Stephan Huber, added missing windows dependency +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. +" -2012-11-20 10:37 robert - * Added ws2_32 library to Win32 build -2012-11-19 11:25 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); - * From Paul Martz, build fixes +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 -2012-11-19 10:48 robert +Fri, 28 Jun 2013 08:11:46 +0000 +Checked in by : Robert OSFIELD - * Frm Stephan Huber, osc plugin that supports send and recieving - events via UDP packets. -2012-11-16 15: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" - * Added first cut implememtation of PropertyAnimation class +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 +" -2012-11-15 12:11 robert - * Moved PropertyManager related classes out from SlideEventHandler - into their own dedicated header/source file. -2012-11-13 16:15 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. - * Added support for P3D_UPDATE env var for setting the - UpdateVisitor::TRAVERSAL_MODE. Accepted settings are "active", - "Active", "ACTIVE", or "all", "All", "ALL". +Thu, 27 Jun 2013 14:46:16 +0000 +Checked in by : Robert OSFIELD +Replaced deprecatated osg::Geometry::get*Binding() calls. -2012-11-13 15:26 robert +Thu, 27 Jun 2013 13:37:26 +0000 +Checked in by : Robert OSFIELD +Added Geometry::containsDeprecatedData() / fixDeprecatedData() - * Added --update-active and --update-all command line options that - set the UpdateVisitor::TraversalMode to TRAVERSE_ACTIVE_CHILDREN - and TRAVERSE_ALL_CHILDREN respecively. +Thu, 27 Jun 2013 10:58:26 +0000 +Checked in by : Robert OSFIELD +Removed deprecated usage of osg::Geometry::get*Binding() -2012-11-13 14:22 robert +Thu, 27 Jun 2013 09:59:33 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() usage. - * Added support for to - allow user definition of when to enable OpenGL blending for an - image or not. +Thu, 27 Jun 2013 09:54:45 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() usage -2012-11-13 13:52 robert +Thu, 27 Jun 2013 09:54:12 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() usage. - * From Stephan Huber, fixed warning +Thu, 27 Jun 2013 08:44:15 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() usage -2012-11-13 13:32 robert +Thu, 27 Jun 2013 08:30:51 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated Geometry::set*Binding() - * Changed COLOUR to COLOR to be consistent with OpenGL spelling +Wed, 26 Jun 2013 18:06:09 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated Geometry::set*Binding() usage -2012-11-13 13:16 robert +Wed, 26 Jun 2013 17:58:57 +0000 +Checked in by : Robert OSFIELD +Removed deprecated Geometry::set*Binding() usage - * 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 +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. -2012-11-13 11:45 robert +Wed, 26 Jun 2013 17:45:19 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() usage - * Added first step to adding pruning of expired image requests. +Wed, 26 Jun 2013 17:44:30 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() calls. -2012-11-13 11:20 robert +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." - * From Stephan Huber, introduced syncornization of osgGA::Device +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. -2012-11-12 16:46 robert +The default behaviour stay the same. - * Cleaned up reported of events and added assigned of tag - region properities when using the wildcard definition of the - volume. +There is a few new methods on osg::State : -2012-11-12 15:26 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)" - * Added osgframerenderer example -2012-11-12 10:36 robert - * Changed the default settings to fix a jump problems +Wed, 26 Jun 2013 12:59:40 +0000 +Checked in by : Robert OSFIELD +Removed unused methods -2012-11-10 12:12 robert +Wed, 26 Jun 2013 12:33:40 +0000 +Checked in by : Robert OSFIELD +Removed spaces from end of line - * Added missing files in support of key_jump and key_run tags +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 -2012-11-09 21:32 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." - * 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. -2012-11-09 21:23 robert - * Added Node::getName() and getUserDataContainer() to check to see - if an node can be removed or not. -2012-11-08 17:19 robert - * 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." +Wed, 26 Jun 2013 08:53:56 +0000 +Checked in by : Robert OSFIELD +Removed Geometry::fixDeprecatedData() as it won't work on const Geometry -2012-11-08 15:45 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." - * Added support for +Tue, 25 Jun 2013 16:19:00 +0000 +Checked in by : Robert OSFIELD +Removed #include as it's nolonger required in the header -2012-11-08 15:28 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. - * Changed the way the mouse position is update to handle the remote - device control. +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: -2012-11-08 14:15 robert +- an encapsulation of the entire Depth Peeling procedure into a class (not currently a scene graph node) for easier integration in other projects. - * Added check to avoid doing update when the imagesequence is - empty. +- 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. -2012-11-08 11:19 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. - * Refactored ImageSequence to better handle random access usage. -2012-11-06 17:49 robert +Some Drawbacks: - * Tweaked casts/types to fix build under Linux +- 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." -2012-11-06 14:25 robert +From Robert Osfield, ported the code to work under Linux and without the automatic ref_ptr to C* conversion. - * Added f qualifer to 1.0 to fix build problem under MSVS -2012-11-06 11:18 robert - * From Stephan Huber, improved performance by using native apple - functions for flipping image -2012-11-05 17:22 robert - * 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)" +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." -2012-11-05 12:21 robert - * Quitened down debug output -2012-11-05 12:03 robert - * From Stephan Huber, updated to debug output to RestHttpDevice and - tweaks to ImageIO and QTKit plugins +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" -2012-11-05 09: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." - * Added static cast to float to avoid compile error under MSV -2012-11-01 18:06 robert - * 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." +Mon, 24 Jun 2013 12:30:08 +0000 +Checked in by : Robert OSFIELD +Updatd SO_VERSION to reflect changes in ABI from merging submissions. -2012-11-01 16:11 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. " - * Changed the PropertyEventCallback to only respond to mouse - releated events. +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." -2012-11-01 14:29 robert - * -2012-10-31 17:06 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." - * Added reading of the P3D_DEVICE env var for setting up the - --device entry. +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." -2012-10-31 16:07 robert - * 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 +Mon, 24 Jun 2013 11:03:59 +0000 +Checked in by : Robert OSFIELD +Convert usage to use const versions of containers - * From Stephan Huber, RestHttpDevice plugin for support of remote - application control via Rest http. +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) -2012-10-29 15:58 robert +See https://github.com/openscenegraph/osg/pull/8 for patch details +Patch: https://github.com/openscenegraph/osg/pull/8/files" - * Intial work towards support an interaction tag in - Present3D. -2012-10-26 15:31 robert - * From Luc Frauciel, "Compile Fix - KTX plugin with Visual Studio, - not defined under MSVC" +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. " -2012-10-24 16:10 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." - * Fixed bug in click_to_run feature where events would be handled - by hidden labels +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; -2012-10-24 10:43 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"); + } - * 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 - - * 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 - - * Added mutex lock to Uniform::addParent()/removeParent(). - -2012-10-12 14:51 robert - - * Added serializers for osgGA - -2012-10-09 16:14 robert - - * 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 - - * 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 - - * 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 - - * Added a static_cast to avoid build issues under Windows - -2012-10-08 16:03 robert - - * Fixed warning - -2012-10-08 15:10 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Made TouchData and osg::Object to aid with serialization. - -2012-10-05 10:37 robert - - * 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 - - * 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 - - * Added set methods to assist with serialization support - -2012-10-04 13:45 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Changed dispatch to virtual - -2012-09-24 10:10 robert - - * 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 - - * 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 - - * From Luc Frauciel, Added sRGB FrameBuffer string - -2012-09-20 11:27 robert - - * 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 - - * 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 - - * 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 - - * Added ReadQueue::size() method to help with debugging. - -2012-09-12 16:35 robert - - * 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 - - * Added osgDB::getSortedDirectoryContents and - osgDB::FileNameComparator to help with sorting directory contents - into alphabetic and numerical order. - -2012-09-12 11:09 robert - - * Converted sorting of directory contents across to use the new - osgDB::FileNameComparator and osgDB::getSortedDirectoryContents() - -2012-09-10 08:24 robert - - * Updated version after 3.1.3 dev release - -2012-09-07 17:04 robert - - * Updated ChangeLog for 3.1.3 dev release - -2012-09-07 14:55 robert - - * 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 - - * Added setting of the input range of the event state based on the - master cameras viewport. - -2012-09-07 08:33 robert - - * Added check so not intialization is down when you select the - current camera manipulator - -2012-09-06 13:53 robert - - * 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 - - * 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. +[skynet](0) $ -2012-09-06 10:52 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. - * 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 - " +The modified src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp is attached. It +originates in svn trunk revision 13355. Thanks!" -2012-09-06 10:32 robert - * From Fredric Bouvier, fix to CMake build selection of FLTK -2012-09-05 21:03 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 - * From Colin McDonald and Robert Osfield, converted - Traits::sharedContext from GraphicsContext* to - osg:observer_ptr to prevent dangling pointer - issues. +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 { -2012-09-05 13:51 robert +class MyGroup : public osg::Group +{ +public: + META_Node( CustomDomain, MyGroup ); - * Fixed inappropriate comment + void setMyName( const std::string& n ); + const std::string& getMyName() const; -2012-09-05 13:48 robert + void setMyID( int id ); + int getMyID() const; - * 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 +} - * 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 - - * 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."" +// 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 ); + } +} -2012-09-05 10:19 robert +Save the class instance as follows: +osgDB::writeNodeFile( *myGroup, "serializer_test.osgt", new osgDB::Options("CustomDomains=MyDomain:1") ); - * 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. - - " +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. -2012-09-05 09:30 robert +This may help third-party libraries like osgEarth to maintain their own serializers without regarding to the OSG soversion changes. - * Updated SO version number to avoid collision with new additions - to serializers +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. -2012-09-05 09:08 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." - * 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 - * From Ulrich Hertlein, "fixes a typo and adds support for OS X - 10.8" +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." -2012-09-05 08:42 robert - * Added deprecated note to indices entry. -2012-09-04 08:21 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. - * From Brad Christiansen, changed OSG_INFO to OSG_DEBUG to quieten - down volume of messages in INFO +" -2012-09-03 15:19 robert - * 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. " -2012-09-03 09:08 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." - * Adjusted the #define's to help GLES2 build +Fri, 21 Jun 2013 19:35:56 +0000 +Checked in by : Robert OSFIELD +Updated version number after dev release -2012-09-03 08:30 robert +Fri, 21 Jun 2013 19:35:26 +0000 +Checked in by : Robert OSFIELD +Removed spaces from end of lines - * 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 );" +Fri, 21 Jun 2013 14:37:35 +0000 +Checked in by : Robert OSFIELD +Fixed author name error introduced by xxdiff -2012-08-31 16:00 robert +Fri, 21 Jun 2013 14:30:45 +0000 +Checked in by : Robert OSFIELD +Reapplied AUTHORS changes - * 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. +Fri, 21 Jun 2013 14:29:00 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog and AUTHORS.txt for release -2012-08-29 16:48 robert +Fri, 21 Jun 2013 14:17:42 +0000 +Checked in by : Robert OSFIELD +Removed unneccessary handling of BIND_PER_PRIMITIVE on output code - * 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." +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* -2012-08-24 15:05 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." - * From Johannes Scholz, fix for writing out of hexidecimal numbers +Fri, 21 Jun 2013 12:10:44 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, build fix -2012-08-23 15:06 robert +Fri, 21 Jun 2013 10:59:03 +0000 +Checked in by : Robert OSFIELD +Build fixes for new osg::Geometry - * 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 +Fri, 21 Jun 2013 10:14:18 +0000 +Checked in by : Robert OSFIELD +Converted osg::Geometry::ArrayData usage across to osg::Array. -2012-08-22 16:39 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." - * Fixed typo +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. -2012-08-21 09:45 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 - * Added check against the Camera NodeMask to decide whether it's - appropriate to test for events on that camera. +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) -2012-08-15 12:40 robert +Fri, 21 Jun 2013 09:40:43 +0000 +Checked in by : Robert OSFIELD +Removed spaces at ends of lines - * Added ShadowSettings::s/getMaximumShadowMapDistance(double) - property, usage of these property in ViewDependentShadowMap, - and setting of it with --max-shadow-distance in the - osgshadow example. +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. -2012-08-14 20:15 robert +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 - * Added a mutex to protect the removal and addition of Uniform and - Program to StateSet to avoid parents being invalidated when - multi-threading. +With these changes, osg 3.0.1 is able to be built and packaged on DragonFly +whereas it previously failed to compile." -2012-08-03 16:14 robert - * 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. -2012-08-03 15:23 robert - * Removed the erronous creation of a local ShadowSettings object +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." -2012-07-24 09:05 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." - * Added FireGL to prefernce list for use glGenerateMipMap +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." -2012-07-23 08:15 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. - * Fixed build +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 -2012-07-12 16:41 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() - * 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. +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." -2012-07-11 14:36 robert +Thu, 20 Jun 2013 10:59:00 +0000 +Checked in by : Robert OSFIELD +Commented out verbose debug messages for shader composition - * Fixed indentation +Thu, 20 Jun 2013 10:42:24 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file -2012-07-11 08:39 robert +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. - * Fixed parameter default value to avoid warning +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. -2012-07-10 16:20 robert +I attach a modified osgQt/GraphicsWindowQt.cpp with this change." - * Replaced use of now deprecated methods. -2012-07-10 16:11 robert - * Enabled the use the getReceivesShadowTraversalMask(). +Thu, 20 Jun 2013 09:30:31 +0000 +Checked in by : Robert OSFIELD +From Jan Ciger, compilation fix for Qt 5.0.2 -2012-07-10 16:11 robert +Thu, 20 Jun 2013 09:27:50 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, build fix for VS. - * Changed settings of masks to use ShadowSettings. +Wed, 19 Jun 2013 17:28:28 +0000 +Checked in by : Robert OSFIELD +Removed svn:executable property. -2012-07-10 15:50 robert +Wed, 19 Jun 2013 17:26:59 +0000 +Checked in by : Robert OSFIELD +Removed svn:executable property - * Moved mask settings into ShadowSettings +Wed, 19 Jun 2013 17:25:55 +0000 +Checked in by : Robert OSFIELD +Removed svn:executable property. -2012-07-09 17:49 robert +Wed, 19 Jun 2013 16:24:59 +0000 +Checked in by : Robert OSFIELD +Cleaned up usage of BIND_PER_PRIMITIVE where possible. - * Changed updateCamera(Camera*) to updateCamera(Camera&) to make it - clear that a valid Camera object should be passed in. +Wed, 19 Jun 2013 12:32:40 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, typo fixes to doxygen docs and comments -2012-07-09 17:32 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(-) - * From Riccardo Corsi, introduced CameraManipulator::updateCamera() - method that allows more Camera properties to be controlled by the - CameraManipulator. +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 -2012-06-25 16:31 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; - * Refactored the way that the static Scene cache is managed by - moving all the functionality into a SceneSingleton + // Mark the triangle node" -2012-06-22 16:21 robert - * Restructed the way that the global notify variables are - initialized to avoid problems with multi-threaded initialization - of these variables. -2012-06-16 09:08 robert +Wed, 19 Jun 2013 12:27:28 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces - * Fixed spelling of FileNameComparator +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 -2012-06-15 09:04 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 " - * Moved the frame() event into the event traversal after then - events and their state have been accumulated. -2012-06-12 20:15 robert - * 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 +Wed, 19 Jun 2013 10:56:31 +0000 +Checked in by : Robert OSFIELD +Build fixes for new deprecated osg::Geometry functions -2012-06-12 18:29 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. - * Enabled 6 ImageThreads in the ImagePager +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 -2012-06-12 10:31 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. - * Commented out the disabling of use of PBO's in ImageStream, and - disabled the use ClientStoreHint in Present3D. +Tue, 18 Jun 2013 15:54:38 +0000 +Checked in by : Robert OSFIELD +Removed BIND_PER_PRIMITIVE reference -2012-06-11 19:54 robert +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 - * 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. +Tue, 18 Jun 2013 14:52:26 +0000 +Checked in by : Robert OSFIELD +Changed header guard back to original, and removed deprecated enum -2012-06-08 10:26 robert +Tue, 18 Jun 2013 14:22:43 +0000 +Checked in by : Robert OSFIELD +Fixed order of binding. - * Added ImageStream support to and tags in - .p3d +Tue, 18 Jun 2013 11:49:03 +0000 +Checked in by : Robert OSFIELD +Removed experiment GeometryNew as it's no longer required. -2012-06-08 04:18 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. - * Added osg::ImageSequence support into - osgPresentation::SlideShowConstructor and the associated - tag in .p3d. -2012-06-07 10:08 robert - * Added --fps support +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 -2012-05-31 14:45 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. - * Added typdef for Win32 +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. -2012-05-25 16:07 robert +Tue, 11 Jun 2013 10:49:57 +0000 +Checked in by : Robert OSFIELD +Fixed indentation - * 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." +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 -2012-05-25 15:32 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 - * Added Dragger::get/setActivationMouseButtonMask(uint). +Mon, 10 Jun 2013 10:37:08 +0000 +Checked in by : Robert OSFIELD +Fixed remove and add callback so they properly handle nested callbacks -2012-05-25 08:56 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);" - * 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." -2012-05-24 18:15 robert - * From Jaap Gas, added missing break, and missing - removeDraggerCallback. +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." -2012-05-21 09:12 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. - * Removed -ftree-vectorize from OSX 10.7 build to avoid warning - when building with clang. +Wed, 5 Jun 2013 07:55:05 +0000 +Checked in by : Robert OSFIELD +Reorder member variables to ensure better packing in memory. -2012-05-02 14:13 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 - * Removed trailing spaces -2012-05-02 13:58 robert - * Fixed for including cmath before osg/Math. +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. -2012-04-27 09:43 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. - * Added using base_class::set to the Matrix*Template class to - enable the set() method from the base class to be used. +Tue, 4 Jun 2013 14:43:19 +0000 +Checked in by : Robert OSFIELD +Removed now redundent osggeodemo -2012-04-26 10:07 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. - * From Christophe Herreman, Added viewer.setCameraManipulator( - keyswitchManipulator.get() ) to fix problem with master Camera - not being updated +Tue, 4 Jun 2013 10:06:19 +0000 +Checked in by : Robert OSFIELD +Cleaned up BIND_PER_PRIMITIVE and array indice usage -2012-04-20 10:01 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. - * 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." +Tue, 4 Jun 2013 09:29:37 +0000 +Checked in by : Robert OSFIELD +Removed deprecated usage of osg::Geometry indices and BIND_PER_PRIMITIVE -2012-04-20 09:53 robert +Mon, 3 Jun 2013 15:10:53 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, Added support for texture swizzle. - * 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." +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 -2012-04-20 09:40 robert +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." - * Ran dos2unx on file +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." -2012-04-20 09:38 robert +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 " - * 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" +Mon, 3 Jun 2013 13:13:18 +0000 +Checked in by : Robert OSFIELD +Added Vec*b, Vec4ub, Vec*s, Vec*i, Vec*ui serializers -2012-04-19 14:58 robert +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 - * Restructed how the GL_SAMPLER_* #define's are placed to avoid - build problems under GLES. +Mon, 3 Jun 2013 11:38:20 +0000 +Checked in by : Robert OSFIELD +From Art Tevs, int and uint Vec classes -2012-04-19 14:34 robert +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." - * Changed #ifdef __IPHONE_4_0 to #if defined(__IPHONE_4_0) to fix - error that Clang compile warning highlighted +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 -2012-04-19 13:18 robert +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) +" - * Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF. -2012-04-19 10:27 robert - * 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." +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'. " -2012-04-19 10:10 robert +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." - * Added missing getUniformBlocks implmentation +Tue, 28 May 2013 19:16:59 +0000 +Checked in by : Robert OSFIELD +Renamed PanoramicSphericalDisplay.cpp to fix a typo -2012-04-19 09:50 robert +Tue, 28 May 2013 16:39:48 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and Contributors list - * 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." +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 -2012-04-18 10:16 robert +This seems to indicate that the check for alpha should be against the opacity map. I've attached the updated file. - * 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 - * 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 +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)." - * 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. - " +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. -2012-04-18 09:50 robert - * Updated version number -2012-04-06 11:29 robert - * 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 +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. - * From Ulrich Hertlein, Fix for MatrixTemplate compile errors +Tue, 28 May 2013 14:40:36 +0000 +Checked in by : Robert OSFIELD +Fixed date typo -2012-04-05 13:53 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. - * 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." +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." -2012-03-30 17:08 robert - * Update AUTHORS for release -2012-03-30 16:58 robert +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. - * Updated ChangeLog for dev release +Tue, 28 May 2013 11:47:08 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Added ".dds" file deletion on writing failure." -2012-03-30 10:10 robert - - * Added check to avoid accessing pointer past the end of the - string. - -2012-03-29 15:08 robert - - * From Magnus Kessler, typo and documentation fixes - -2012-03-29 14:58 robert - - * 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 - - * From Magnus Kessler, "remove unecessary conversion from float in - double precision method" - -2012-03-29 09:43 robert - - * 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 - - * Added int packing parameter to Image::readPixels(..) - -2012-03-23 16:09 robert - - * Removed trailing spaces - -2012-03-23 11:32 robert - - * Updated ChangeLog and AUTHORS for 3.1.2 dev release - -2012-03-23 11:20 robert - - * Fixed potential memory leak - -2012-03-23 11:16 robert - - * 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 - - * 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 - - * As per Ulrich Hertlrein's suggestion, changed - APPLE_PLATFORM_SDK_CANONICAL_NAME to OSG_OSX_SDK_NAME. - -2012-03-23 10:18 robert - - * 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 - - * Ran script to remove trailing spaces and tabs - -2012-03-21 16:02 robert - - * For all OSG_GL*_FEATURE #defines changed 1's to true and 0's to - false. - -2012-03-21 14:08 robert - - * From David Callu, "just a typo fix that break the compilation - under windows" - -2012-03-21 11:36 robert - - * Added Traits::getContextVersion(uint,uint) - -2012-03-21 11:26 robert - - * Updated version number - -2012-03-20 12:01 robert - - * Removed inappropriate warning - -2012-03-20 11:18 robert - - * Replaced && with & to address error in handling bitmask - -2012-03-19 09:49 robert - - * From Lukasz Izdebski, Added StencilTwoSided support to ive plugin - -2012-03-16 13:22 robert - - * Fixed the order of setting of CenterMode - -2012-03-14 16:42 robert - - * 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 - - * Moved static initializers into global scope to prevent problems - with using exit(). - -2012-03-11 22:05 cedricpinson - - * Changed osgAnimation::StackedTransform::update(t). It can now be - used for custom usage - -2012-03-09 13:16 robert - - * Updated ChangeLog and AUTHORS file for 3.1.1 dev release - -2012-03-09 10:20 robert - - * 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 - - * Updated version number for 3.1.1 dev release - -2012-03-08 16:05 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Added RotateCylinderDragger and RotateSphereDragger to list of - manipulators for testing purposes - -2012-03-05 14:17 robert - - * From Paul Martz, "Just a minor update and typo fix. - " - -2012-03-01 11:33 robert - - * 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 - - * 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 - - * 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 - - * Removed redudent spaces at ends of lines - -2012-02-29 14:01 robert - - * Updated ChangeLog and AUTHORS for dev release - -2012-02-29 10:22 robert - - * Improved the handling of endian swap of osg::Array - -2012-02-29 10:22 robert - - * 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 - - * 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 - - * Added build problem with using float Matrix. - -2012-02-28 10:21 robert - - * From Thomas Hogarth, build fix for IOS build - -2012-02-27 09:50 robert - - * Added fin.imbue(std::locale::classic()); to avoid problems with - parsing of .obj files - -2012-02-24 21:07 robert - - * 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 - - * Added support for using glGenerateMipmap instead of - GL_GENERATE_MIPMAP_SGIS on GLES2 - -2012-02-24 11:43 robert - - * 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 - - * Cleaned up CMake warning - -2012-02-23 17:51 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * From Chris Denham, "ReaderWriter3DS smoothing group handling - corrections" - -2012-02-21 10:42 robert - - * Fixed warnings - -2012-02-21 10:38 robert - - * 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 - - * 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 - - * From Alexander Sinditskiy, "Fix loading small monochrome bmp - images" - -2012-02-20 12:33 robert - - * 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 - - * 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 - - * From Riccardo Corsi, Added passing of EventVisitor pointer to - event handlers. - -2012-02-20 12:12 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Added usage of OSG_CPP_EXCEPTIONS_AVAILABLE for plugins that use - std::exceptions. - -2012-02-10 17:24 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated ChangeLog, AUTHORS and Contriburos.cpp files - -2012-02-09 16:42 robert - - * 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 - - * 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 - - * From Paul Martz, a simple GL3 example - -2012-02-09 15:08 robert - - * 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 - - * From Colin McDonald, fix for Solaris build. - -2012-02-09 14:33 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * From Paul Martz, "This change clarifies the description for - OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE." - -2012-02-08 10:06 robert - - * 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 - - * 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 - - * Fixed build issues when compile with - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. - -2012-02-07 12:37 robert - - * From Alexander Irion, "Added missing format GL_ALPHA to - Image::computeFormatDataType()." - -2012-02-07 12:02 robert - - * 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 - - * From Nico Kruithof, "I found that Collada wasn't found correctly - with visual studio 2010." - -2012-02-07 11:41 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed indendation and line endings - -2012-02-06 12:06 robert - - * 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 - - * Fixed silly compiler warning that was being produced in error. - -2012-02-06 11:17 robert - - * From Alexander Sinditskiy, "looks like GlyphGeometries - _glyphGeometries; should be removed because Glyph3D have the same - named local variable." - -2012-02-03 15:15 robert - - * 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 - - * 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 - - * Improved handling of archives - -2012-02-03 11:09 robert - - * From Terry Welsh, improved support for handling archives - -2012-02-01 17:42 robert - - * 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 - - * 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 - - * Renamed selection to transform to make it clear to understand - what is being done. - -2012-02-01 17:10 robert - - * Added example usage of teh new DraggerTransforCallback's - HandleCommandMask which is tied to the TabPlaneDragger example. - -2012-02-01 13:55 robert - - * 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 - - * 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 - - * Added support for Scale1DDragger, Scale2DDragger and - TranslatePlaneDragger to --dragger command line option - -2012-01-27 09:49 robert - - * From Kristofer Tingdahl, Added missing core OSG libraries. - -2012-01-26 18:03 robert - - * 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 +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." - * Quietend down debug message +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." -2012-01-26 13:08 robert +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. - * 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 - - * 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 - - * From J.P. Delport, "GraphicsWindowX11 typo, I believe X/Y's - should match." - -2012-01-25 17:31 robert - - * 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 - * Changed the KeyEventToggleTexturing to 'e' to avoid conflict with - 't' used for transparency. +Tue, 28 May 2013 10:46:47 +0000 +Checked in by : Robert OSFIELD +Fixed the computation of the spot light direction. -2012-01-24 17:57 robert +Tue, 28 May 2013 09:20:48 +0000 +Checked in by : Robert OSFIELD +Fixed View::setUpViewInWindow() parameter - * Made the cursor state protected. +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 -2012-01-24 17:49 robert +Mon, 27 May 2013 09:10:18 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file - * 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 - - * Fixed indentation and spaces at ends of lines. - -2012-01-24 17:40 robert - - * 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 - - * Chris Denham, fixed type of parameters to ensure they are longs - where appropriate. - -2012-01-24 17:30 robert - - * Moved setEndBarrierOperation(..) implementation into .cpp and - added support for stoppig and starting threading if required. - -2012-01-24 17:21 robert - - * From Paul Martz, Added ViewerBase::s/getEndBarrierOperation(..) - method to allow user control of how viewers are sync'd. - -2012-01-24 15:44 robert - - * Fixed compile error - -2012-01-24 14:34 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed the return value of SlideEventHandler::selectLayer() so - that the 'n' now works correctly. - -2012-01-02 16:54 robert - - * 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 - - * From Chris Denham, Implementation of write functions in CURL - plugin - -2011-12-23 17:40 robert - - * 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 - - * 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. - " +Mon, 27 May 2013 09:07:53 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file -2011-12-23 17:21 robert +Mon, 27 May 2013 09:05:14 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file - * 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." +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 -2011-12-23 17:16 robert +Shoudlnt that be GL_RGBA32F_ARB as defined in texture header? - * From Brad Christiansen, "I have added an implementation for - set/getVolume in the direct show plug-in." +Attached is the easy fix :)." -2011-12-23 17:15 robert - * 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 +Mon, 27 May 2013 08:10:42 +0000 +Checked in by : Robert OSFIELD +Moved quad buffer definitions into include/osg/Camera - * 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]." +Sun, 26 May 2013 10:44:11 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file -2011-12-23 16:29 robert +Sun, 26 May 2013 10:27:07 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * 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." +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." -2011-12-23 16: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. - * 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." +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. " -2011-12-23 16:14 robert +Fri, 24 May 2013 09:43:08 +0000 +Checked in by : Robert OSFIELD +Removed redudent code - * From Ulrich Hertlein, typo fixes +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 -2011-12-23 12:42 robert - * Added handling of an empty filename when writing out an image - file. -2011-12-19 16:18 robert +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. - * Removed inappropriate static usage +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. -2011-12-19 09:37 robert +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." - * Moved the createSpotLightImage function into - include/osg/ImageUtils +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. -2011-12-19 09:09 robert +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. - * Added --num-sm and --parallel-split and --cascaded command line - options to set the appriopriate ViewDependentShadowMap settings. +Wed, 22 May 2013 15:48:42 +0000 +Checked in by : Robert OSFIELD +Quitened down debug messages -2011-12-13 21:14 robert +Wed, 22 May 2013 13:16:44 +0000 +Checked in by : Robert OSFIELD +Removed debug messages - * Moved osgshaders example across to use the new - osgUtil::PerlinNoise example +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. -2011-12-13 21:12 robert +Attached is a fix for src/osgPlugins/vnc/CMakeLists.txt" - * Created new PerlinNoise class from the Noise.h+Noise.cpp code in - the osgshaders example. -2011-11-30 19:14 robert - * Fixed build under Tiny Core. +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." -2011-11-25 12:48 robert +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." - * 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. -2011-11-25 09:24 robert - * From Jean-Sebastien Guay, fix for handling texture unit >= 8 and - negative LigthNum. -2011-11-22 21:55 robert +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. " - * Added prelimanary support for parallel split shadow maps into - ViewDependentShadowMap. +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 -2011-11-18 08:20 robert + /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:823 (IF) - * 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 - " + closes on the line -2011-11-18 08:15 robert + /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:893 (ENDIF) - * Fixed indentation + with mis-matching arguments. -2011-11-17 18:45 robert +I remove ENDIF argument, it is no longer needed by cmake" - * Added .get() to fix build -2011-11-11 10:36 robert - * Updated built in volume shaders to honour the osg::Matierial - setting +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." -2011-11-11 10:25 robert - * Enabled blending for the iso surface rendering to enable fade - in/fade out of volume. -2011-11-10 15:50 robert +Tue, 21 May 2013 10:22:54 +0000 +Checked in by : Robert OSFIELD +From Valeriy Dubov, fix for Android build under OSX - * Added handling of osgGA::GUIEventAdapter::getMouseYOrientation() - in the orientation of mouse y position. - - Added updating of properties on both mouse move/drag and keydown. +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." -2011-11-07 14:36 robert +Tue, 21 May 2013 09:44:26 +0000 +Checked in by : Robert OSFIELD +Added use of SingleWindow for when only one screen is used - * 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. +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. -2011-11-04 12:50 robert +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 - * Implement presentation update feature that reloads the - presentation on pressing 'u'. +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 -2011-11-04 12:47 robert +Thu, 16 May 2013 15:52:29 +0000 +Checked in by : Robert OSFIELD +Added support for setting the left/right cull masks - * 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. +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 -2011-11-04 12:45 robert +Thu, 16 May 2013 14:11:23 +0000 +Checked in by : Robert OSFIELD +Fixed stereo offsets of HORIZONTAL_SPLIT and VERTICAL_SPLIT stereo modes - * Improved handling of resetting of the EventQueue::startTick(). +Thu, 16 May 2013 14:07:35 +0000 +Checked in by : Robert OSFIELD +Reverted back to changes before experiements with ViewConfig -2011-11-04 12:44 robert +Thu, 16 May 2013 10:28:01 +0000 +Checked in by : Robert OSFIELD +Cleaned up the WoWVxDisplay command line parsing - * Added removeFromObjectCache method. +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. -2011-11-02 10:57 robert +Thu, 16 May 2013 09:08:27 +0000 +Checked in by : Robert OSFIELD +Added WoWVxDisplay view config - * 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. +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. -2011-11-01 16:13 robert +Wed, 15 May 2013 12:50:38 +0000 +Checked in by : Robert OSFIELD +Added support for osgViewer::Config in osgViewer::Viewer command line parsing - * Replaced the use of PrtScrn with 'm' for taking screenshots, - replaced the use of 'm' with 'M' for taking movies. +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 -2011-11-01 13:41 robert +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"; - * 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." +the underlying stream is not automatically flushed. It is flushed +if endl is queued instead of \n: -2011-11-01 13:36 robert +OSG_DEBUG << "Hello world!" << std::endl; - * 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. -2011-11-01 11:08 robert +The notify macros do: +stream->setCurrentSeverity(severity); +return *stream; - * Added setting of the sampleDensityWhenMovingProperty at the same - time as when setting the sampleDensityProperty +So, if a function do: -2011-11-01 10:30 robert +OSG_DEBUG << "This is a debug message\n"; +OSG_NOTICE << "This is a notice message" << std::endl; - * Fixed the use DCM_SeriesDescription +the debug message will be classified as a notice message. -2011-11-01 10:27 robert +It is a problem when the application uses a NotifyHandler. The notify +method of the handler is called with: - * 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. +severity = NOTICE +message = "This is a debug message\nThis is a notice message" -2011-10-31 15:29 robert +The attached Notify.cpp contains an automatic flush of the stream when +the current severity changes. - * Adding missing checks against View's Camera and SceneData for any - update callbacks that need calling. +" -2011-10-28 11:00 robert - * Changed the notification level to INFO. -2011-10-28 11:00 robert +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)." - * Changed the setting of Traits::sampleBuffers so that it's set to - 1 when DisplaySettings::getMultiSamples() is set to a non zero - value. +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." -2011-10-28 10:36 robert +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." - * Changed the default for SampleBuffers to be 1 when set. +Tue, 14 May 2013 13:35:10 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2011-10-28 09:45 robert +Tue, 14 May 2013 13:34:54 +0000 +Checked in by : Robert OSFIELD +Updated version after dev release - * Removed OSX codepath for setting the depth value to 32 as this - turned out to be unneccesary. +Mon, 13 May 2013 13:12:13 +0000 +Checked in by : Robert OSFIELD +Added OSGUTIL_EXPORT for Windows build -2011-10-28 09:11 robert +Mon, 13 May 2013 12:08:05 +0000 +Checked in by : Robert OSFIELD +Updated version number for dev release - * Changed the default depth to 24. +Mon, 13 May 2013 11:59:34 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for dev release -2011-10-27 16:33 robert +Mon, 13 May 2013 11:51:44 +0000 +Checked in by : Robert OSFIELD +Updated links to svn repository - * Updated volume shaders to use the GL_LIGHT 0 values to control - the direction of the light source +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<> -2011-10-27 13:11 robert +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. - * 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. +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. -2011-10-27 09:24 robert +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. - * Added support for ignore returns as white space. +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 -2011-10-27 08:34 robert +Fri, 10 May 2013 16:06:10 +0000 +Checked in by : Robert OSFIELD +Added keystone file handling - * Added support for American spelling of swap and add - supportOptions(..) documentation for the new options. +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. -2011-10-26 14:25 robert +Fri, 10 May 2013 10:00:38 +0000 +Checked in by : Robert OSFIELD +Moved Keystone support from osgkeystone example into osgViewer::View - * 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. +Thu, 9 May 2013 15:18:14 +0000 +Checked in by : Robert OSFIELD +Moved Keystone class into osgViewer library. -2011-10-26 12:48 robert +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 - * Added password support into present3D's vnc support via the tag - usage : hostname +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 -2011-10-26 12:29 robert +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 - * Added password support into osgvnc example and vnc plugin +Fri, 3 May 2013 20:12:15 +0000 +Checked in by : Robert OSFIELD +Commented out debug output -2011-10-26 09:34 robert +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. - * Implement a simply attempt at detecting when the pixel format - needs to be swapped. +Fri, 26 Apr 2013 10:00:16 +0000 +Checked in by : Robert OSFIELD +As a test of new repository updated date in README.txt -2011-10-25 15:55 robert +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 - * Added support for 32bit depth buffer +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 -2011-10-25 15:31 robert +Wed, 17 Apr 2013 11:04:12 +0000 +Checked in by : Robert OSFIELD +Implemented initial cut of anaglyphic stereo - * Added hack of using a 32bit depth buffer default setting for - Traits when compiling under Apple. +Tue, 16 Apr 2013 09:26:40 +0000 +Checked in by : Robert OSFIELD +Changed point to osg::ref_ptr<> to prevent memory leaks. -2011-10-24 13:40 robert +Mon, 15 Apr 2013 14:21:32 +0000 +Checked in by : Robert OSFIELD +Preperation for adding stereo support direclty into osgViewer. - * Moved switching off of the cursor till after the slide event - handler has had a chance to switch off the scene. +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. -2011-10-24 11:09 robert +Fri, 12 Apr 2013 09:05:11 +0000 +Checked in by : Robert OSFIELD +Moved keystone event handler onto the keystone distortion Camera. - * Fixed handling of slide with no layers. +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. -2011-10-22 09:02 robert +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. - * Fixed build of StreamOperator +Thu, 11 Apr 2013 16:07:49 +0000 +Checked in by : Robert OSFIELD +Moved the keystone geometry computation into a Keystone::compute3DPositions(..) method -2011-10-21 15:39 robert +Wed, 10 Apr 2013 16:36:49 +0000 +Checked in by : Robert OSFIELD +Removed old experimental keystone code to clean up the example - * Fixed handling of Vec3dArray in - GLBeginEdnAdapter/ArrayDispatchers. +Thu, 28 Mar 2013 10:46:24 +0000 +Checked in by : Robert OSFIELD +Changed the way that the keystone geometry is calculated. -2011-10-21 11:00 robert +Wed, 27 Mar 2013 16:29:01 +0000 +Checked in by : Robert OSFIELD +Added keypad control of corner points - * Added support for using negative scale_x, scale_y and scale_z - values in the tag to allow presentations to flip the - imagery +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. -2011-10-21 10:59 robert +Tue, 26 Mar 2013 16:47:52 +0000 +Checked in by : Robert OSFIELD +Introduced shearing of the image - * Added flipDepth() method +Tue, 26 Mar 2013 11:00:05 +0000 +Checked in by : Robert OSFIELD +Improved the setup of the keystone distortion correction mesh. -2011-10-21 09:31 robert +Thu, 21 Mar 2013 16:42:09 +0000 +Checked in by : Robert OSFIELD +Updated developer release number - * Fixed handling of scale.x, scale.y and scale.z paramters so that - all of them now take an effect. +Thu, 21 Mar 2013 16:22:30 +0000 +Checked in by : Robert OSFIELD +Added check against isVertexBufferObjectSupported() in set*Pointer() methods -2011-10-20 16:49 robert +Thu, 21 Mar 2013 11:35:21 +0000 +Checked in by : Robert OSFIELD +Added keystone grid to aid editing - * Fixed handling of reading/writing of osgVolume::VolumeTile tiles +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. -2011-10-20 16:35 robert +Tue, 19 Mar 2013 16:43:27 +0000 +Checked in by : Robert OSFIELD +Improve corner point tracking/keystone computation - * Added support for calling throwException() from InputIterator and - added a check for negative string sizes. +Tue, 19 Mar 2013 12:44:03 +0000 +Checked in by : Robert OSFIELD +Added event handle for interactive setting of keystone variables -2011-10-20 11:50 robert +Fri, 15 Mar 2013 17:35:43 +0000 +Checked in by : Robert OSFIELD +Experiments with modifying the projection matrix to provide keystoning. - * 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. +Thu, 14 Mar 2013 16:24:22 +0000 +Checked in by : Robert OSFIELD +Initial skeleton of new osgkeystone example -2011-10-20 10:52 robert +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." - * 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 -2011-10-20 09:23 robert - * Improved handling of recent Cmake versions +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) +{ +} -2011-10-20 08:59 robert - * 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. + Lacking this causes _bbox to be uninitialized after LOD changes when paged databases refer to shared subgraphs. -2011-10-17 15:39 robert +" - * Fixed typo -2011-10-17 14:41 robert - * Improvements to the compute near/far +Wed, 13 Feb 2013 16:29:03 +0000 +Checked in by : Robert OSFIELD +From Lukasz Izdebski,"added support for gl_SampleMaski." -2011-10-17 14:40 robert +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. - * Improvements to osgShadow::ViewDependentShadowMap and - ShadowSettings +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]. -2011-10-17 11:12 robert +The fix does not affect to older sdk's. - * Quitened down debug message +Thanks to Jan Ciger for spotting the bug and find a possible solution. " -2011-10-17 10:25 robert - * From Jean-Sebastien Guay, add --mapres size option to - ViewDependentShadowMap settings. -2011-10-03 15:57 robert +Tue, 12 Feb 2013 15:44:52 +0000 +Checked in by : Robert OSFIELD +From Jordi Torres, Android build fix - * Add catch for when shadows are enabled between the update and - draw traversals. +Tue, 12 Feb 2013 15:40:21 +0000 +Checked in by : Robert OSFIELD +From Jordi Torres, fix for Android build -2011-10-03 15:25 robert +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 - * 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. +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 -2011-10-03 14:57 robert +2. traverse_nodes variable did the exact opposite of it's description. - * Changed getVertical(..) so it uses the same coord scale as the - getGlyph +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) +" -2011-10-03 14:56 robert - * Fixed handling of ShadowSetting LightNum -2011-10-03 10:36 robert +Thu, 7 Feb 2013 11:10:24 +0000 +Checked in by : Robert OSFIELD +From Lukasz Izdebski , "I added write and read numInstances in PrimitiveSet." - * Added Font::getVertical(float& ascender, float& descender) - methods. +Thu, 7 Feb 2013 11:08:34 +0000 +Checked in by : Robert OSFIELD +Updated SO version in prep for serialization foramt change -2011-09-28 11:52 robert +Thu, 7 Feb 2013 08:46:44 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS list - * Added catch for NaN vertices that were being generated by - osgText, these NaN vertices were causing glu tesselation - functions to crash. +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: -2011-09-28 10:54 robert +- 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) - * 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. +Reading out this values is very simple. Here is an example (uservalue-name without spaces!): -2011-09-20 11:46 robert +signed short smc; +if (myGeode.getUserValue("< UA:SMC >", smc)) +{ + doSomethingWithTheGeodeAndItsSmc(myGeode, smc); +} +else +{ + // geode has no SMC +} - * 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 - * Added better error reporting and handling when tag contents - are not valid. -2011-09-20 10:01 robert +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 +---- - * Added handling of tag and "" options. +M include/osg/State -2011-09-19 10:42 robert - * From Ulrich Hertlein, "attached is a patch that cleans up - compiler warnings and common functionality." -2011-09-19 10:39 robert +Wed, 6 Feb 2013 14:49:48 +0000 +Checked in by : Robert OSFIELD +Added TODO note about RGB -> RGBA - * 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." +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 -2011-09-19 10:34 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. - * 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 - - * 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 - - * 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 - - * Fixed memory leak - -2011-09-14 10:22 robert - - * Added missing forward declaration - -2011-09-14 10:02 robert - - * Added asCamera() methods into osg::Camera and osg::Node - -2011-09-14 09:49 robert - - * 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 - - * 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 - - * From Jean-Sebastien Guay, removed unneccessary BUILD_QT_EXAMPLES - cmake option - -2011-09-13 11:48 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Reverted Paul Idstein warning fix as this was breaking the build - -2011-09-12 16:24 robert - - * From Ulrich Hertlein, Added some error checks and memory cleanup. - -2011-09-12 16:20 robert - * From Stephan Huber, fixed build for OSX 10.6 and earlier - -2011-09-12 16:17 robert - - * From Johannes Baeuerle, opptimization of ES support of - osg/BufferObject - -2011-09-12 12:38 robert - - * 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 +Added __STDC_CONSTANT_MACROS define to CMakeLists.txt - * From Luc Frauciel, "When osgUtil::DelaunayTriangulator - triangulate() function ends with no triangle generated, it - crashes. - This patch fixes that" +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. -2011-09-12 12:14 robert - * From Magnus Kessler, documentation fixes -2011-09-12 12:04 robert +Replaced AVFormatParameters with AVDictionary - * Improved the clarity of doxygen comments +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. -2011-09-12 11:51 robert - * Fixed typos in the documentation -2011-09-12 11:28 robert +Replaced av_open_input_file with avformat_open_input - * 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" +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. -2011-09-12 11:24 robert - * From Bob Kuehne, build fix for OSX 10.7 SDK. -2011-09-12 11:24 robert +Added custom AVIOContext field to options - * From Paul Idstein, warning fixes for OSX 10.7 +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. -2011-09-12 10:52 robert - * From Magnus Kessler, typo fixes -2011-09-12 10:47 robert +Checking for start_time validity - * 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." +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. -2011-09-12 10:46 robert - * 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. -2011-09-12 10:43 robert +Removed findVideoStream and findAudioStream - * 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);" +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. -2011-09-07 20:05 robert - * Added handling the ShadowSettings::LightNum for selecting which - light to use. -2011-09-07 16:26 robert +Updated error reporting - * Added handling of the case when RenderLeaf::_modelview matrix is - NULL, such as when LightPointNode is used in the scene graph. +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. -2011-09-07 15:55 robert - * 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. -2011-09-06 17:26 robert +decode_video has been replaced - * Added setting of the shadow map Camera's name to "ShadowCamera" - to improve integration with osgOcean. +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. -2011-09-06 14:13 robert - * Added optimization of the mutliple cessna shadow model to address - peformance issues when rendering 100 cessna's. -2011-09-06 11:42 robert +Picture format changed from RGBA32 to RGB24 - * Added -5 model option using Wang Rui's test demo as a base +Since most video will not contain an alpha channel, using a 24 bit texture will use less memory." -2011-09-06 11:11 robert - * Fixed the heights of the trees and houses -2011-09-06 10:12 robert +Wed, 6 Feb 2013 12:02:05 +0000 +Checked in by : Robert OSFIELD +Simplified include/osg/Math to use Standard C++ maths headers - and - * Added s/getPerspectiveShadowMapCutOffAngle() and use of this when - setting up light space to avoid sigularaties when - the light and view directions are co-incident. +Wed, 6 Feb 2013 11:16:29 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2011-09-05 12:36 robert +Wed, 6 Feb 2013 09:20:10 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fixed for Windows 64bit build - * Added support for setting whether ViewDependentShadowMap should - provide it's own vertex and fragment shaders. +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 -2011-09-05 12:27 robert +Mon, 4 Feb 2013 16:25:52 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Replaced use of ShapeDrawable with osgTerrain for the terrain - tile +Mon, 4 Feb 2013 14:42:44 +0000 +Checked in by : Robert OSFIELD +Updated version number after 3.1.4 developer release -2011-09-02 10:16 robert +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. " - * Added s/getTextureSize() method for setting the shadow map - texture size. +Mon, 4 Feb 2013 13:28:05 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2011-09-02 07:46 robert +Mon, 4 Feb 2013 13:27:46 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Disabled the use of the ReceivesShadowTraversalMask() mask +Mon, 4 Feb 2013 13:11:13 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2011-09-01 18:49 robert +Mon, 4 Feb 2013 12:50:51 +0000 +Checked in by : Robert OSFIELD +Fixed warning and converted tabs to four spaces - * Added test line for COMPUTE_NEAR_USING_PRIMITIVES +Mon, 4 Feb 2013 12:38:08 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2011-09-01 18:48 robert +Mon, 4 Feb 2013 12:01:26 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * 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. +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 -2011-08-29 16:01 robert +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. - * From Tony Horrobin, build fix +Wed, 30 Jan 2013 11:31:27 +0000 +Checked in by : Robert OSFIELD +Added handling of movies into Timeout -2011-08-29 10:26 robert +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. - * Added fallback base texture +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. -2011-08-29 09:59 robert +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." - * Added support for setting the MinimumShadowMapNearFarRatio. +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." -2011-08-26 15:40 robert - * Fixed bug in computaton of the min/max x/z ratios. -2011-08-26 15:36 robert +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). " - * Added names to models to help with debugging. +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) -2011-08-26 10:52 robert +It also added a search for libtiff to Apple builds mainly for use with osg earth." - * Added releaseGLObjects/resizeGLObjectBuffers support -2011-08-25 17:21 robert - * Improved the handling of depth partitioning and orthographic - datasets +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. -2011-08-25 15:39 robert +Compute shader information can be found at "http://www.opengl.org/registry/specs/ARB/compute_shader.txt" +" - * Added event handling for toggling on/off the light source - animation. -2011-08-24 19:38 robert - * Added support for user defined setting of the shadow texture unit -2011-08-24 13:57 robert +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." - * 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. +Fri, 25 Jan 2013 10:36:42 +0000 +Checked in by : Robert OSFIELD +Fixed compile warning -2011-08-24 12:32 robert +Fri, 25 Jan 2013 10:24:11 +0000 +Checked in by : Robert OSFIELD +Added debug message for Timout - * Imorovements to the new perspective/lispsm style shadow - implementation. +Thu, 24 Jan 2013 18:48:34 +0000 +Checked in by : Robert OSFIELD +Fixed usage of META_NodeVisitor so it doesn't include "" -2011-08-24 12:31 robert +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" - * Quitened down and fixed warning +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." -2011-08-19 12:42 robert +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." - * Quitended down debug messages and added passing of RenderStage to - LispSM code +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 -2011-08-19 10:43 robert +Wed, 23 Jan 2013 15:54:20 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, fixed typo bug - * Improved the LispSM computation +Wed, 23 Jan 2013 11:50:45 +0000 +Checked in by : Robert OSFIELD +Removed redundent code block -2011-08-19 10:43 robert +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." - * Changed the local variable near/far type +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." -2011-08-17 17:06 robert - * Added back in control of the backface culling. -2011-08-17 16:09 robert +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')." - * intermin check-in of work on new LispSM implementation +Tue, 22 Jan 2013 16:13:59 +0000 +Checked in by : Robert OSFIELD +Added and functionality to .p3d functionality. -2011-08-15 14:37 robert +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. - * Added missing assignement of _simulationTime. +Fri, 18 Jan 2013 17:11:49 +0000 +Checked in by : Robert OSFIELD +Added Options support to ImageSequence LOAD_* functionality -2011-08-13 19:09 robert +Fri, 18 Jan 2013 16:30:55 +0000 +Checked in by : Robert OSFIELD +Update SO_VERSION to reflect new API changes - * From Paul Martz, "Recent changes to osgShadow on trunk were - apparently not yet tested with ref_ptr implicit casting disabled. - Attached is a fix. " +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. -2011-08-12 20:29 robert +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. - * Added public interface for selecting use of perspective and light - space perspective shadow maps. Implementation - of backends not implemented yet so will follow. +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. -2011-08-12 14:53 robert +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 + + - * Implemented first pass at shaders for new ViewDepedentShadow map - class -2011-08-09 15:57 robert - * Implemented ViewDependentShadowMap::setDebugDraw(bool) to allow - osgshadow to enable/disable the debug display via the - standard --debugHUD option. -2011-08-09 15:20 robert +Thu, 17 Jan 2013 09:51:15 +0000 +Checked in by : Robert OSFIELD +Added support for to Timeout support. - * Changed RTT Camera to use depth. +Wed, 16 Jan 2013 16:13:30 +0000 +Checked in by : Robert OSFIELD +Implemented basic Timeout display and timing codes -2011-08-09 13:39 robert +Tue, 15 Jan 2013 11:31:44 +0000 +Checked in by : Robert OSFIELD +Added shell of Timeout class - * Implemented caching of Camera, Texture and TexGen +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 + -2011-08-09 06:54 robert + + + 0.0 + + + 1.0 + + + 1.0 + + + 0.0 + + - * Added replacement of the placeholder StateSet in the StateGraph - with custom StateSet implemented just for the - needs of that particular frame. + + big_buck_bunny_1080p_stereo.ogg + + -2011-08-08 17:00 robert - * Further work on basic ViewDependentShadowMaps, adding - implementation of RTT camera and texgen setup. -2011-08-07 15:54 robert - * 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 +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. -2011-08-07 15:51 robert +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. - * Preliminary work on new ViewDependentShadowMap base class +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. -2011-07-29 11:22 robert +" - * 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 - * Fixed comment on end barrier position. +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. -2011-07-28 16:40 robert +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. - * Improved handling of the scaling of dicom imagery. +Tue, 8 Jan 2013 10:21:13 +0000 +Checked in by : Robert OSFIELD +Added case for FORWARD_EVENT to address warning -2011-07-28 12:07 robert +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()); - * Refectored the EGL setup so that it's honours the Traits values. +"data" method is unknow for std::vector with VS2008 -2011-07-28 11:05 robert +I've replaced it with : - * 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. + _document = _dae->openFromMemory(fileURI, &buffer[0]); +" -2011-07-28 08:19 robert - * 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 +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. - * From Jason Beverage, "Here is a small fix for - getCameraContainingPosition. getXMin was - being used in a case where getYMin should be used instead." - +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." -2011-07-25 17:07 robert - * 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 +Thu, 20 Dec 2012 16:16:07 +0000 +Checked in by : Robert OSFIELD +Made UpdateVisitor::TravesalMode default to TRAVERSE_ACTIVE_CHILDREN - * 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. - " +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. -2011-07-22 08:25 robert +Wed, 19 Dec 2012 17:14:29 +0000 +Checked in by : Robert OSFIELD +Removed lighting of trk lines - * 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. +Wed, 19 Dec 2012 12:38:17 +0000 +Checked in by : Robert OSFIELD +Changed the colour calculation and added gl_ClipVertex to enable clipping. -2011-07-21 09:55 robert +Tue, 18 Dec 2012 11:20:20 +0000 +Checked in by : Robert OSFIELD +Removed erroneous region setting - * Fixed typo +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. " -2011-07-21 09:07 robert - * 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 +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). - * 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. - " +Sun, 16 Dec 2012 17:10:37 +0000 +Checked in by : Robert OSFIELD +Added handling of aspect ratio for vertical/horizontal split stereo. -2011-07-20 10:17 robert +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" - * From Claus Scheiblauer, fixed handling of horizontal mouse wheel - events. -2011-07-20 09:10 robert - * 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. +Fri, 14 Dec 2012 16:30:28 +0000 +Checked in by : Robert OSFIELD +Updated SO version -2011-07-18 12:41 robert +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. - * Added doxygen comments explaining read file callback - functionality. +I've also removed the _bufferObject member of Image (not used anymore)." +--This line, Lionel Lagardeand those below, will be ignored-- -2011-07-18 09:40 robert +M include/osg/Image - * 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 - * From Alberto Luacas, typo fixes +Thu, 13 Dec 2012 16:23:38 +0000 +Checked in by : Robert OSFIELD +Added colouring and lighting of track using shader -2011-07-17 10:30 robert +Tue, 11 Dec 2012 17:45:20 +0000 +Checked in by : Robert OSFIELD +Fixed handling of image colour space conversion when pixel format changes - * 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. +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. -2011-07-15 10:24 robert +Tue, 11 Dec 2012 10:44:00 +0000 +Checked in by : Robert OSFIELD +Disabled lighting and set the colour to white - * 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. - " +Tue, 11 Dec 2012 09:55:48 +0000 +Checked in by : Robert OSFIELD +First cut of generating lines from .trk data -2011-07-15 10:22 cedricpinson +Mon, 10 Dec 2012 11:11:19 +0000 +Checked in by : Robert OSFIELD +Added setting of the fusion distance. - * Fix crash in osgAnimation when keyframe container are empty +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. -2011-07-15 09:47 robert +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 - * From Sukender, Fix for compile errors "public: static char const - * const osg::ValueObjectClassNameTrait< xxx >::s_className" - already defined in xxx.obj" +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. -2011-07-15 09:14 robert +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. - * 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." +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. -2011-07-15 08:43 robert +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) - * 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), - ^" +" -2011-07-15 08:32 robert - * 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." -2011-07-15 08:16 robert +Fri, 7 Dec 2012 19:04:49 +0000 +Checked in by : Robert OSFIELD +Added template swapBytes method - * Converted tabs to four spaces +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. -2011-06-28 07:54 robert +Fri, 7 Dec 2012 12:47:42 +0000 +Checked in by : Robert OSFIELD +Fixed handling of window size/projection matrix - * Merged the OSG-3.0 branch versions of into svn/trunk. +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. -2011-06-28 07:23 robert +Thu, 6 Dec 2012 19:09:17 +0000 +Checked in by : Robert OSFIELD +Intial shell of .trk plugin - * Added #if lib curl version check around #include - as this header was deprecated and now - removed entirely from libcurl-7.21.7. +Thu, 6 Dec 2012 18:12:00 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, build fix -2011-06-28 07:22 robert +Thu, 6 Dec 2012 14:42:36 +0000 +Checked in by : Robert OSFIELD +Added default value for initialization of port number - * 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." +Thu, 6 Dec 2012 11:36:35 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2011-06-27 21:33 robert +Thu, 6 Dec 2012 11:36:13 +0000 +Checked in by : Robert OSFIELD +Added creation of directory path for ouput if one is required - * Tweaked the comments +Thu, 6 Dec 2012 08:02:08 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, ZerConfDevice plugin for Windows and Apple -2011-06-27 21:32 robert +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" - * From Jean-Sebestien Guay, workaround for bug under windows with - the seek implementation when handling ascii files with unix file - endings. +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. -2011-06-27 15:43 robert +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. - * Updated NEWS and fixed typo in Contributors. +Tue, 4 Dec 2012 19:02:45 +0000 +Checked in by : Robert OSFIELD +Fixed default camera position -2011-06-27 10:20 robert +Tue, 4 Dec 2012 18:51:21 +0000 +Checked in by : Robert OSFIELD +Changed the -w and -h options to --width and --height respectively. - * Fixed typo +Tue, 4 Dec 2012 18:30:33 +0000 +Checked in by : Robert OSFIELD +Cleaned up command line usage -2011-06-27 10:19 robert +Tue, 4 Dec 2012 18:28:28 +0000 +Checked in by : Robert OSFIELD +Tidied up command line docs. - * Improved the setContextID doxygen comment. +Tue, 4 Dec 2012 18:21:53 +0000 +Checked in by : Robert OSFIELD +Tidied up CaptureSettings and added command line docs -2011-06-25 20:51 robert +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 + - * 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 - * Fixed memory growth issue when using Texture2D::SubloadCallbacks - that don't set the TextureObjects sizes. +Tue, 4 Dec 2012 09:11:17 +0000 +Checked in by : Robert OSFIELD +Added missing break; -2011-06-25 07:07 robert +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." - * Tightened up float usage. -2011-06-24 19:17 robert - * Tightened up the float/double usage +Mon, 3 Dec 2012 11:31:13 +0000 +Checked in by : Robert OSFIELD +Renamed souce file -2011-06-24 16:15 robert +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." - * Removed redundent assert and associated variables to fix - warnings. +Mon, 3 Dec 2012 09:50:41 +0000 +Checked in by : Robert OSFIELD +Fixed error in Unfiform set method -2011-06-24 15:04 robert +Mon, 3 Dec 2012 09:35:12 +0000 +Checked in by : Robert OSFIELD +Added include of osc plugin directory to help with Windows build - * Implemented missing writeShader +Sun, 2 Dec 2012 11:45:57 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, build fix -2011-06-24 13:35 robert +Fri, 30 Nov 2012 20:03:31 +0000 +Checked in by : Robert OSFIELD +Fixed crash when no CameraManipulator is assigned to the viewer - * From Martin Innus, fixed erroneous change of INTEGER to UNKNOWN, - reverting back to INTEGER. +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. -2011-06-24 12:40 robert +Fri, 30 Nov 2012 15:43:31 +0000 +Checked in by : Robert OSFIELD +Added support for pausing and restart the property_animation. - * 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. +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" + -2011-06-24 08:32 robert - * 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 +Wed, 28 Nov 2012 13:28:20 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, New OscSendingDevice and OscReceivingDevice classes - * From Wang Rui, "I've modified the code to handle -1.#IND and - other kinds of infinite - values. Please see the attachments for details" +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. -2011-06-24 08:05 robert +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 - * Added operator ==, != and < to fix VS build +Tue, 27 Nov 2012 15:09:44 +0000 +Checked in by : Robert OSFIELD +Added preliminary support for -2011-06-23 19:58 robert +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. " - * 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 - - * 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 - - * Fixed virtual method mismtaches between subclasses and parent - classes. - -2011-06-23 15:42 robert - - * From Ulrich Hertlein, build fix for OSX. - -2011-06-23 15:37 robert - - * 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 - - * Fixed typo in name - -2011-06-23 11:27 robert - - * Updated ChangeLog and AUTHORS file - -2011-06-23 11:26 robert - - * Fixed name typo - -2011-06-23 11:09 robert - - * 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 - - * 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 - - * 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 - - * Converted tabs to four spaces - -2011-06-22 16:18 robert - - * 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 - - * 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 - - * Fixed regression in --run-on-demand feature - -2011-06-21 17:26 robert - - * Removed assert() that always evaluated to true. - -2011-06-21 13:01 robert - - * 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 - - * Updated ChangeLog - -2011-06-21 09:54 robert - - * Added returns to end of files - -2011-06-21 09:54 robert - - * Added return to end of file - -2011-06-21 09:53 robert - - * Conveted tabs to four spaces and added a return to end of file - -2011-06-21 09:29 mplatings - - * 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 - - * Disabled VisualStudio warning warning C4611: interaction between - '_setjmp' and C++ object destruction is non-portable - -2011-06-20 19:15 robert - - * 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 - - * Removed unneccesary namespace qualifiers, and issue picked out by - cppcheck. - -2011-06-20 12:36 robert - - * From Farshid Lashkari, BGR write support for BMP, PNG and TGA - -2011-06-20 11:25 robert - - * Added catch for window manager doesn't set the window size to - full screen. - -2011-06-20 09:28 robert - - * 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 - - * Introduced a workaround for fullscreen toggle issues under modern - X11 window managers. +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 -2011-06-20 09:20 robert +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 - * 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. +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. -2011-06-19 19:16 robert +Wed, 21 Nov 2012 15:19:58 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, further work on osc plugin - * 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." +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 -2011-06-17 16:55 robert +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 - * Updated version to 3.1.0 in prep for the first developer release - for 3.x series +Tue, 20 Nov 2012 18:41:30 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, fix for Windows build -2011-06-17 12:57 robert +Tue, 20 Nov 2012 13:01:57 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, added missing windows dependency - * Added extern "C" to fix build issues under OSX +Tue, 20 Nov 2012 10:37:42 +0000 +Checked in by : Robert OSFIELD +Added ws2_32 library to Win32 build -2011-06-17 12:31 robert +Mon, 19 Nov 2012 11:25:52 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, build fixes - * Updated ChangeLog, NEWS and READE for 3.0.0-rc1 +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. -2011-06-17 11:47 robert +Fri, 16 Nov 2012 15:40:41 +0000 +Checked in by : Robert OSFIELD +Added first cut implememtation of PropertyAnimation class - * Updated version number +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. -2011-06-17 11:47 robert +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". - * Fixed Jorge Izquierdo name. +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. -2011-06-17 11:02 robert +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. - * Updated OpenThreads version number for stable release +Tue, 13 Nov 2012 13:52:33 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fixed warning -2011-06-17 10:35 robert +Tue, 13 Nov 2012 13:32:01 +0000 +Checked in by : Robert OSFIELD +Changed COLOUR to COLOR to be consistent with OpenGL spelling - * 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. +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 -2011-06-17 09:20 robert +Tue, 13 Nov 2012 11:45:20 +0000 +Checked in by : Robert OSFIELD +Added first step to adding pruning of expired image requests. - * Updated AUTHORS file for 3.0.0-rc1 +Tue, 13 Nov 2012 11:20:36 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, introduced syncornization of osgGA::Device -2011-06-17 09:19 robert +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. - * Updated ChangeLog +Mon, 12 Nov 2012 15:26:30 +0000 +Checked in by : Robert OSFIELD +Added osgframerenderer example -2011-06-17 09:05 robert +Mon, 12 Nov 2012 10:36:21 +0000 +Checked in by : Robert OSFIELD +Changed the default settings to fix a jump problems - * 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." +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 -2011-06-17 09:02 robert +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. - * Updated version number of 3.0.0-rc1 +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. -2011-06-17 08:47 robert +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. - * Added GLES version checks to prevent build problems under GLES1 - and GLES2 +I attached fix for this issue." -2011-06-17 08:42 robert - * Refined the version checking -2011-06-17 08:41 robert +Thu, 8 Nov 2012 15:45:23 +0000 +Checked in by : Robert OSFIELD +Added support for - * Build fix +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. -2011-06-17 08:26 robert +Thu, 8 Nov 2012 14:15:59 +0000 +Checked in by : Robert OSFIELD +Added check to avoid doing update when the imagesequence is empty. - * From Ulrich Hertlein, "the OS X/Cocoa implementation logs some - debug junk on every key stroke. The attached - patch removes this." +Thu, 8 Nov 2012 11:19:31 +0000 +Checked in by : Robert OSFIELD +Refactored ImageSequence to better handle random access usage. -2011-06-17 08:15 robert +Tue, 6 Nov 2012 17:49:32 +0000 +Checked in by : Robert OSFIELD +Tweaked casts/types to fix build under Linux - * 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." +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 -2011-06-17 06:22 robert +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 - * Fixed warning +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)" -2011-06-17 06:09 robert +Mon, 5 Nov 2012 12:21:34 +0000 +Checked in by : Robert OSFIELD +Quitened down debug output - * Fixed warnings +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 -2011-06-17 05:57 robert +Mon, 5 Nov 2012 09:36:00 +0000 +Checked in by : Robert OSFIELD +Added static cast to float to avoid compile error under MSV - * Added disabling of VisualStudio warning C4324 : structure was - padded due to __declspec(align()) +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. -2011-06-16 18:43 robert +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." - * Fixed warnings. -2011-06-16 18:25 robert - * Added support for new InternalTextureFormatModes -2011-06-16 18:12 robert +Thu, 1 Nov 2012 16:11:13 +0000 +Checked in by : Robert OSFIELD +Changed the PropertyEventCallback to only respond to mouse releated events. - * Added wider file extension support to - ExternalFileWriter::generateObjectName +Thu, 1 Nov 2012 14:29:26 +0000 +Checked in by : Robert OSFIELD -2011-06-16 16:02 robert - * From Farshid Lashkari, "Attached is a small patch that adds - support for writing BGR images to the DDS plugin." +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. -2011-06-16 16:00 robert +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 - * 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." +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. -2011-06-16 15:57 robert +Mon, 29 Oct 2012 15:58:02 +0000 +Checked in by : Robert OSFIELD +Intial work towards support an interaction tag in Present3D. - * Windows warning fixes +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" -2011-06-16 13:00 robert +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 - * Fixed indentation issues +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. -2011-06-16 10:05 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. - * Improved indentation. +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. -2011-06-16 08:59 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. +" - * Replaced tabs with four spaces -2011-06-16 08:46 robert - * 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" +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. -2011-06-15 18:31 robert +Added support for osgGA::Device to osgViewer. - * Improved the handling of compiling vs flushing deleted objects +Added sdl plugin to provides very basic joystick osgGA::Device integration. -2011-06-15 17:00 robert - * Changed the key handling code to use EventQueue::getTime() rather - then the theEvent timestamp. -2011-06-15 09:36 robert - * Fixed blitting of FBO's with multiple render targets. -2011-06-15 09:35 robert +Mon, 22 Oct 2012 16:21:04 +0000 +Checked in by : Robert OSFIELD +Added mutex lock to Uniform::addParent()/removeParent(). - * From Anthousis Andreadis, added multiple sampling test for - multiple rendering targets which is activated by the --ms command - line option. +Fri, 12 Oct 2012 14:51:08 +0000 +Checked in by : Robert OSFIELD +Added serializers for osgGA -2011-06-14 18:10 robert +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 - * 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." +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. -2011-06-14 16:54 robert - * Replaced .osg with .osgt file usage -2011-06-14 16:50 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. :-)" - * Improved the handling of command line parameters +Mon, 8 Oct 2012 16:12:59 +0000 +Checked in by : Robert OSFIELD +Added a static_cast to avoid build issues under Windows -2011-06-14 15:55 robert +Mon, 8 Oct 2012 16:03:16 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Updated version +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); -2011-06-14 15:48 robert +I replaced it with : - * Added support osg::State::drawQuad(..) for number of vertices in - quads to uint range rather than just ushort range. + b[1] = (uint8_t)((w & 0xFF00) >> 8); -2011-06-14 12:44 robert +And it compiles fine +" - * Fixed issue with events having a negative delta of time between - them. -2011-06-14 10:15 robert - * Added GLBufferObject::computeBufferAlignment(..) method to enable - buffer entries to be aligned along specified buffer alignment - boundaries, currently defaulting to 4. +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." -2011-06-14 09:16 robert - * 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 +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 - * Removed executable permission. +ReaderWriterDAE::readNode (std::istream&, const osgDB::ReaderWriter::Options*) -2011-06-14 09:01 robert +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. - * From Stephan Huber, "attached you'll find some tweaks for the - FindQuicktime and - > FindQTKit-cmake-plugins, so they get disabled for ios-builds." +I have updated function declarations in the header to have identical signatures with the base class declarations that include the default parameter. -2011-06-13 15:20 robert - * Fixed wild card search when wild card filename includes a path. +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: -2011-06-13 08:52 robert +bool daeReader::convert( std::istream& fin ) - * From Jeremy Moles, fixed style == operator. +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 -2011-06-13 08:45 robert +_dae->open(fileURI) - * From Stephan Huber, build fix for IOS +we call -2011-06-10 11:42 robert +_dae->openFromMemory(fileURI, buffer.data()) - * Added handling of s/gUserValue() directly on a UserDataContainer. +Where buffer.data() is a pointer to the dae file text in memory. -2011-06-09 14:20 robert - * Updated ChangeLog and AUTHORS file for 2.9.16 dev release +Other changes include private functions to clear caches and to consolidate redundant code that appears between the two convert functions. -2011-06-09 14:11 robert - * 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. +e below, will be ignored-- -2011-06-09 12:57 robert +M src/osgPlugins/dae/ReaderWriterDAE.cpp +M src/osgPlugins/dae/daeReader.cpp +M src/osgPlugins/dae/ReaderWriterDAE.h +M src/osgPlugins/dae/daeReader.h - * 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 - * From Mathias Froehlich, "the attached patch adds an additional - null pointer check" +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/ -2011-06-09 11:05 robert +The attached plugin can read: - * 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. - " +* 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 -2011-06-09 10:48 robert +It does not handle: - * Changed the defaults volume setting to not enable the - SampleDensityWhenMoving property. +* 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) +" -2011-06-08 17:45 robert - * 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 +Fri, 5 Oct 2012 16:31:23 +0000 +Checked in by : Robert OSFIELD +Made TouchData and osg::Object to aid with serialization. - * Added support for creating a 3D Image from an image list. - - Added support for reading a list of images in the Present3D - tag. +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. -2011-06-08 09:28 robert +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. - * Removed OSG_EXPORT +Fri, 5 Oct 2012 10:07:09 +0000 +Checked in by : Robert OSFIELD +Added set methods to assist with serialization support -2011-06-08 09:24 robert +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." - * Introduced a less conservative near ratio. +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. -2011-06-08 09:24 robert +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. - * Simplified the osgdepthpartion example to use the - osgView::View::setUpDepthPartition(..) feature +At this point, inside the ViewerBase::RenderingTraversals code, there are places where it reads "if(_done) return;" -2011-06-07 20:24 robert +The problem, is that it won't reach the code that will releaseContext(). - * Added support for reading .osg, .osgb, .osgx, .osgt and .ive - models that contain volumes from within the volume tag. +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. -2011-06-07 16:17 robert +The change attached (against rev 13153) corrects this." - * Added support for .osgt, .osgb and .osgx plugins to osgvolume - example -2011-06-07 15:33 robert - * Updated ChangeLog and AUTHORS file for release +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. -2011-06-07 14:28 robert +For anyone reading this you can attach a packed depth stencil to your FBO like so - * 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. - " +_rttCamera->attach( osg::Camera::PACKED_DEPTH_STENCIL_BUFFER, GL_DEPTH24_STENCIL8_EXT ); -2011-06-07 14:26 robert +Luckily GL_DEPTH24_STENCIL8_EXT happens to have the same value as iOSs GL_DEPTH24_STENCIL8_OES" - * From Mathias Froehlich, build fixes for legacy unix systems -2011-06-07 13:02 robert - * 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. +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." -2011-06-07 09:28 robert +Tue, 25 Sep 2012 11:04:11 +0000 +Checked in by : Robert OSFIELD +Changed dispatch to virtual - * Added the return of the index position of the added UserObject +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." -2011-06-07 08:53 robert +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." - * Added support for searching for user objects from a given - startPosition in the UserDataContainer object. -2011-06-06 11:48 robert - * 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. " +Thu, 20 Sep 2012 14:03:47 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, Added sRGB FrameBuffer string -2011-06-06 11:45 robert +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&). - * From Jorge Ciges, Minor tweaks in Android makefiles that make - possible to compile for armeabi v7 with neon +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. +" -2011-06-06 11:44 robert - * 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, 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. - * Added support for --tf-255 transfer function files +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." -2011-06-03 13:47 robert - * Added support for using the sampleDensityWhenMoving tag with all - techniques -2011-06-02 22:49 robert +Thu, 20 Sep 2012 11:14:10 +0000 +Checked in by : Robert OSFIELD +Added ReadQueue::size() method to help with debugging. - * Added extra check to make sure that _userDataContainer was - available before copying it +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. -2011-06-02 22:07 robert - * Add new macro's to help with serialization of new user objects -2011-06-02 22:06 robert +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. - * Added new osguserdata example as a guide to the new user object - API and as a testbed +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() -2011-06-02 22:05 robert +Mon, 10 Sep 2012 08:24:49 +0000 +Checked in by : Robert OSFIELD +Updated version after 3.1.3 dev release - * Added support for new osg::Object user objects. +Fri, 7 Sep 2012 17:04:31 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 3.1.3 dev release -2011-06-02 22:04 robert +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. " - * 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. +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. -2011-06-02 21:32 robert +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 - * Updated version +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." -2011-06-02 20:38 robert +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. - * Added ref_ptr<> usage to avoid possible memory leak. +- Some comments and code formatting were improved (to be consistent with the formatting already used in the plugin). -2011-06-02 14:42 robert +- With 'separateFiles' option files are now named fooX.stl instead of foo.stlX - * Updated version and so number for next dev release +The changes have been tested on various STL, both ASCII and binary found on the net. The change was based on the trunk branch." -2011-05-30 15:43 robert +From Robert Osfield, changed assert in Piotr's code to a runtime check warning report. - * Updated AUTHORS and ChangeLog for 2.9.15 dev release -2011-05-30 13:02 robert - * From Dimi Christop, build fix for RHEL 4. -2011-05-30 09:26 robert +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] - * Added closing of the _eventDisplay on failure of initializing the - context properly. +bool __sync_bool_compare_and_swap (type *ptr, type oldval type newval, ...) -2011-05-30 09:25 robert +it seems to be doing the right thing: here the same type is used for *ptr, oldval and newval. - * 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. +[1] http://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html#g_t_005f_005fsync-Builtins +" -2011-05-30 08:26 robert - * 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 +Thu, 6 Sep 2012 10:32:07 +0000 +Checked in by : Robert OSFIELD +From Fredric Bouvier, fix to CMake build selection of FLTK - * From Terry Welsh, "I was having a small culling problem with - osgText... new TextBase.cpp that fixes it." +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. -2011-05-27 16:04 robert +Wed, 5 Sep 2012 13:51:34 +0000 +Checked in by : Robert OSFIELD +Fixed inappropriate comment - * 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. +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. -2011-05-27 11:22 robert +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. - * 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 - * Fixed indentation -2011-05-27 11:07 robert +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."" - * Fixed the searchAndReplace function so that it correctly skips - over the newly inserted replacement strings. -2011-05-27 09:08 robert - * 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. - " +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." -2011-05-27 09:05 robert - * 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 - - * 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 - - * 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 - - * Reverted Bryce Eldrige submission. - -2011-05-26 16:52 robert - - * Form Jorge Ciges, improved GL version detection code. - -2011-05-26 16:34 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed indentation - -2011-05-26 15:47 robert - - * 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 - - * 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 - - * Updated ChangeLog - -2011-05-25 09:34 robert - - * From Olaf Flebbe, fixes for OSX AGL build - -2011-05-25 09:13 robert - - * Removed now redundent local implementation of - getDirectoryContexts() - -2011-05-25 09:04 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed build error - -2011-05-23 16:58 robert - - * Removed unused numX, numY member variables, and added initializer - for firstHeaderWrite. - -2011-05-23 08:17 robert - - * 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 - - * Uppded the default acceleration as it was too slow for reasonable - sized models - -2011-05-17 12:57 robert - - * From Sukender, "There was a stupid parameter inversion in - ExternalFileWriter.cpp. - Sorry for this. Here is the fix." - -2011-05-17 09:21 robert - - * From Wang Rui, added close button hint - -2011-05-16 12:44 robert - - * 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 - - * 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 - - * Renamed example from osgviewerQtContext to osgviewerQt. - -2011-05-16 09:16 robert - - * Updated example to use new GraphicsWindowQt::getGLWidget() method - instead of deprecated getGraphWidget() method - -2011-05-16 09:15 robert - - * 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 - - * 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 - - * Fixed traling spaces - -2011-05-16 08:50 robert - - * 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 - - * From Wang Rui, build fix - -2011-05-13 19:19 robert - - * Updated SO version as the osgText and osgQt libraries API have - changed, albeit only by a small amount. - -2011-05-13 19:08 robert - - * Fixed handling of Font implementations that don't handle multiple - font resolutions. - -2011-05-13 11:20 robert - - * Improved the size, advance and bearing settings - -2011-05-12 18:52 robert - - * Warning and build fixes - -2011-05-12 18:40 robert - - * Added newline to end of file - -2011-05-12 14:07 robert - - * From Sukender, ported across to use the new - osgDB::ExternalFileWriter - -2011-05-12 13:27 robert - - * 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 - - * From Sukender, "Here is a tiny fix which adds missing virtual - methods in osgUtil::TransformAttributeFunctor, to handle Vec3d." - -2011-05-12 13:08 robert - - * Removed unused parameter - -2011-05-12 12:28 robert - - * 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 - - * 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 - - * Removed redundent method - -2011-05-12 10:10 robert - - * Added setting of size. - -2011-05-09 10:54 robert - - * 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 +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 - * 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. +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. -2011-05-09 10:53 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated version number to 2.9.15 after dev release - -2011-05-08 11:57 robert - - * Updated AUTHORS for 2.9.14 dev release - -2011-05-08 11:56 robert - - * Update ChangeLog - -2011-05-06 16:46 robert - - * Added osg::ref_ptr - osgDB::Registry::getRefFromArchiveCache() and - osg::ref_ptr - osgDB::Registry::getRefFromObjectCache(). - -2011-05-06 12:32 robert - - * Removed trailing spaces - -2011-05-06 12:30 robert - - * 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 - - * Moved constructor implementation into .cpp - -2011-05-06 12:27 robert - - * 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 - - * 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 - - * Fixed Coverity reported issue. - - CID 11826: Uninitialized scalar field (UNINIT_CTOR) - Class member declaration for _recordHeightsAsAttributes. - -2011-05-06 12:25 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated SO version number for dev release - -2011-05-06 09:22 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed build problem - -2011-05-05 12:40 robert - - * Fixed Coverity reported issue. - - CID 11845: Structurally dead code (UNREACHABLE) - This code cannot be reached: ".basic_string("");". - -2011-05-05 12:39 robert - - * Fixed Coverity reported issue. - - CID 11855: Use after free (USE_AFTER_FREE) - "operator delete[](void *)" frees "buffer". - -2011-05-05 12:38 robert - - * 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 - - * 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 - - * Fixed warning - -2011-05-05 11:27 robert - - * 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 - - * 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 - - * Fixed typo - -2011-05-04 16:36 robert - - * From Mathias Froehlich, build fix for gcc 4.6 - -2011-05-04 16:01 robert - - * 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 - - * Removed unncessary references to FREETYPE - -2011-05-04 09:48 robert - - * From Michael Platings, fix for build with cmake 2.6.x - -2011-05-03 12:43 robert - - * Added OSGVIEWER_EXPORT - -2011-05-03 10:14 robert - - * Added missing break; - -2011-05-03 09:58 robert - - * 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 - - * Updated to use FBX SDK 2012.1 - -2011-04-29 16:50 robert - - * Improved the handling of different combinations of slashes and - dirNames. - -2011-04-29 16:34 robert - - * 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 - - * 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 - - * Update ChangeLog - -2011-04-28 16:33 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed 3 Coverity Low Impact performance issues relating to "Big - parameter passed by value". - -2011-04-26 15:24 robert - - * Updated version after 2.9.13 dev release - -2011-04-26 14:55 robert - - * Updated ChangeLog and AUTHORS for 2.9.13 dev release - -2011-04-26 12:07 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * From Magnus Kessler, "A few minor fixes in the documentation - strings of ReaderWriterFLT.cpp" - -2011-04-19 14:11 robert - - * 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 - - * 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 - - * 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 - - * Removed spaces from end of lines +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" -2011-04-19 11:40 robert +Wed, 5 Sep 2012 08:42:14 +0000 +Checked in by : Robert OSFIELD +Added deprecated note to indices entry. - * Ran svn propset -R svn:eol-style native . on the OpenSceneGraph +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 -2011-04-19 09:54 robert +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. " - * Improved the handling of unitialized bounding box +Mon, 3 Sep 2012 09:08:16 +0000 +Checked in by : Robert OSFIELD +Adjusted the #define's to help GLES2 build -2011-04-19 09:53 robert +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 );" - * Cleaned up example +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. -2011-04-18 12:58 robert +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." - * Updated SO version number +Fri, 24 Aug 2012 15:05:03 +0000 +Checked in by : Robert OSFIELD +From Johannes Scholz, fix for writing out of hexidecimal numbers -2011-04-18 12:35 robert +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 - * 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 - * From Stephan Huber, "attached you'll find some enhancements for - the iphone-part of the readme." +Wed, 22 Aug 2012 16:39:47 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2011-04-14 15:45 robert +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. - * 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." +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. -2011-04-14 15:22 robert +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. - * Cleaned up DXT1 support +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. -2011-04-14 15:21 robert +Fri, 3 Aug 2012 15:23:44 +0000 +Checked in by : Robert OSFIELD +Removed the erronous creation of a local ShadowSettings object - * Added IF (WIN32) around OSG_USE_UTF8_FILENAME +Tue, 24 Jul 2012 09:05:04 +0000 +Checked in by : Robert OSFIELD +Added FireGL to prefernce list for use glGenerateMipMap -2011-04-14 10:44 robert +Mon, 23 Jul 2012 08:15:57 +0000 +Checked in by : Robert OSFIELD +Fixed build - * 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. +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. -2011-04-14 09:16 robert +Wed, 11 Jul 2012 14:36:14 +0000 +Checked in by : Robert OSFIELD +Fixed indentation - * Added setting of the internal texture format +Wed, 11 Jul 2012 08:39:11 +0000 +Checked in by : Robert OSFIELD +Fixed parameter default value to avoid warning -2011-04-13 19:28 robert +Tue, 10 Jul 2012 16:20:32 +0000 +Checked in by : Robert OSFIELD +Replaced use of now deprecated methods. - * quitened down debug output +Tue, 10 Jul 2012 16:11:40 +0000 +Checked in by : Robert OSFIELD +Enabled the use the getReceivesShadowTraversalMask(). -2011-04-13 19:26 robert +Tue, 10 Jul 2012 16:11:15 +0000 +Checked in by : Robert OSFIELD +Changed settings of masks to use ShadowSettings. - * Introduced new code for detecting DXT1 images catogoriesed as RGB - that actually have a 1 bit alpha, - therefore re-interpreting these as RGBA. +Tue, 10 Jul 2012 15:50:46 +0000 +Checked in by : Robert OSFIELD +Moved mask settings into ShadowSettings -2011-04-13 10:44 robert +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. - * Added handling of DXT1 in osg::Image::isImageTranslucent() +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. -2011-04-11 19:11 robert +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 - * Added support for explitly requesting DXT1a and DXT1c compression +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. -2011-04-04 10:16 robert +Sat, 16 Jun 2012 09:08:05 +0000 +Checked in by : Robert OSFIELD +Fixed spelling of FileNameComparator - * 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." +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. -2011-03-31 14:57 robert +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 - * 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. +Tue, 12 Jun 2012 18:29:03 +0000 +Checked in by : Robert OSFIELD +Enabled 6 ImageThreads in the ImagePager -2011-03-30 15:15 robert +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. - * 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. +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. -2011-03-23 14:01 robert +Fri, 8 Jun 2012 10:26:23 +0000 +Checked in by : Robert OSFIELD +Added ImageStream support to and tags in .p3d - * Added m4v as a handled movie file extension +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. -2011-03-21 21:28 robert +Thu, 7 Jun 2012 10:08:42 +0000 +Checked in by : Robert OSFIELD +Added --fps support - * Added dciimage library to DCMTK libs +Thu, 31 May 2012 14:45:24 +0000 +Checked in by : Robert OSFIELD +Added typdef for Win32 -2011-03-21 21:28 robert +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." - * Improved handling of RGB data. +Fri, 25 May 2012 15:32:51 +0000 +Checked in by : Robert OSFIELD +Added Dragger::get/setActivationMouseButtonMask(uint). -2011-03-19 16:25 robert +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); - * Added .get() to fix build +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." -2011-03-18 12:21 robert - * 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 +Thu, 24 May 2012 18:15:44 +0000 +Checked in by : Robert OSFIELD +From Jaap Gas, added missing break, and missing removeDraggerCallback. - * Added extra DCMTK libraries to search and link line to enable - build against new DCMTK-3.6.0 release +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. -2011-03-17 17:33 robert +Wed, 2 May 2012 14:13:29 +0000 +Checked in by : Robert OSFIELD +Removed trailing spaces - * 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 +Wed, 2 May 2012 13:58:34 +0000 +Checked in by : Robert OSFIELD +Fixed for including cmath before osg/Math. -2011-03-17 15:37 robert +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. - * Added SampleDensityWhenMovingProperty to control LOD property of - osgVolume. +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 -2011-03-17 13:56 robert +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." - * 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. +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." -2011-03-17 13:54 robert +Fri, 20 Apr 2012 09:40:29 +0000 +Checked in by : Robert OSFIELD +Ran dos2unx on file - * Added set up of CulLVisitor::Identifier so that the double - buffered SceneView/CullVisitor - share the same Identifier. +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" -2011-03-17 13:54 robert +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. - * Added CullVisitor::Identifier to help with cull operations that - require a consistent identifier for - cull traveresals when osgViewer::Renderer uses double buffering. +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 -2011-03-17 11:49 robert +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. - * First cut at LOD support in RayTracedTechnique, which lowers the - number of samples taken when the view of the volume is changing. +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." -2011-03-16 13:48 robert - * From Torben Dannhauer, "adds an additional library name of libpng - ( libpng15 ) to search fo" -2011-03-16 13:41 robert +Thu, 19 Apr 2012 10:10:26 +0000 +Checked in by : Robert OSFIELD +Added missing getUniformBlocks implmentation - * 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." +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." -2011-03-16 10:51 robert +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. - * Added hud and billboard support to image, stereo_image, pdf, - browser and vnc image placement +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." -2011-03-15 19:54 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. - * Added support hud property for title, bullets and paragraph tags +So I assume this is a threading issue because of the data variance missing +in some of the text node setups in the example. +" -2011-03-15 14:04 robert - * From Sukender, "Fixed a case where getUniqueName() does not work - properly" -2011-03-15 14:02 robert +Wed, 18 Apr 2012 09:50:23 +0000 +Checked in by : Robert OSFIELD +Updated version number - * From Torben Dannhauer, update to reflect addition of NVTT to - Windows 3rdPartyPackage +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." -2011-03-15 13:53 robert +Fri, 6 Apr 2012 10:42:17 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, Fix for MatrixTemplate compile errors - * Added checked against GL version number for enabled - _isTexture3DSupported. +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." -2011-03-15 13:40 robert +Fri, 30 Mar 2012 17:08:21 +0000 +Checked in by : Robert OSFIELD +Update AUTHORS for release - * Fixed warning +Fri, 30 Mar 2012 16:58:24 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for dev release -2011-03-15 13:30 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. - * Added OSG_EXPORT to declaration of View::Slave. +Thu, 29 Mar 2012 15:08:15 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, typo and documentation fixes -2011-03-15 12:48 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." - * Re-enabled the fallback compute of bounding volume. +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" -2011-03-15 12:26 robert +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 - * Fixed updating of text position when PositionData.position is not - modified by tag but other elements of PositionData are - such as - when billboarding +add example that use AtomicCounterBuffer and show rendering order of fragments, +original idea from geeks3d.com." -2011-03-14 21:36 robert - * Implemented billboard="on" option for image, bullet and paragraph - tags -2011-03-14 11:29 robert +Thu, 29 Mar 2012 08:27:21 +0000 +Checked in by : Robert OSFIELD +Added int packing parameter to Image::readPixels(..) - * Added support for placing comments at end of each line. +Fri, 23 Mar 2012 16:09:30 +0000 +Checked in by : Robert OSFIELD +Removed trailing spaces -2011-03-14 10:07 robert +Fri, 23 Mar 2012 11:32:10 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS for 3.1.2 dev release - * 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. - " +Fri, 23 Mar 2012 11:20:17 +0000 +Checked in by : Robert OSFIELD +Fixed potential memory leak -2011-03-14 09:59 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 - * From Torben Dannhauer, warning fix for a false positive warning - generated by VS about "not all control pathes return a value". +-> this is already handle by current plugin : OK -2011-03-11 17:20 robert +2) they defined colors with only 3 color components - * From Farshid Lashkari, removal of redundent spaces at the end of - lines. +-> it leads to a crash when trying to acces to the fourth component + I fixed that -2011-03-11 16:31 robert +3) they contain empty primitive lists - * 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)." +-> 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. -2011-03-11 11:25 robert +4) they use a material binding scheme not supported by the plugin - * From Sukender, "Added support for texcoords scale and offset (UV - scaling and offset in Lib3DS Materials), for texture unit 0." +->I've implemented a mechanism to handle this binding scheme -2011-03-11 11:20 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 +" - * Fixed the case insenstive search under unices -2011-03-11 10:24 robert - * 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)" +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); -2011-03-11 10:18 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. - * 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 '/'. - " +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)). +" -2011-03-10 14:53 robert - * 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 - - * 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 - - * From Rafa Gaitan, "Attached the fix to remove the symlinks - created with make install." - -2011-03-10 10:52 robert - - * 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 - - * Quitened down timing stats - -2011-03-09 16:30 robert - - * From Johannes Baeuerle, fix for memory leak - -2011-03-09 15:55 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * From Cedric Pinson, "I have just adjusted the FindCOLLADA - function to let it find library on - gnu/linux." - -2011-03-09 11:13 robert - - * 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 - - * Updated versions for next OSG dev release - -2011-03-09 10:35 robert - - * 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 - - * Fixed error in X11 string name - -2011-03-08 16:35 robert - - * 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 +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. - * Fixed indentation +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") -2011-03-08 13:51 robert +... - * 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. - " +ELSEIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) +... -2011-03-07 14:42 robert + ELSE() - * Added comments +... -2011-03-07 13:45 robert + ENDIF() - * Changed all .c++ to .cpp's -2011-03-07 12:35 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) - * 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. +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" -2011-03-07 12:33 robert +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: - * 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. +1) Parse the path string to extract the version number -2011-03-03 15:52 robert +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") - * 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); +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." -2011-03-03 12:33 robert - * Introduced a new more generic function for settings up the depth - partitioning of viewer cameras. -2011-03-02 16:40 robert +Wed, 21 Mar 2012 17:36:20 +0000 +Checked in by : Robert OSFIELD +Ran script to remove trailing spaces and tabs - * Build fix +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. -2011-03-02 16:24 robert +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" - * Made parameter a little easier to adjust and commented out - verbose debug info +Wed, 21 Mar 2012 11:36:54 +0000 +Checked in by : Robert OSFIELD +Added Traits::getContextVersion(uint,uint) -2011-03-02 16:09 robert +Wed, 21 Mar 2012 11:26:09 +0000 +Checked in by : Robert OSFIELD +Updated version number - * Implemented first cut of more flexible depth partitioning code. +Tue, 20 Mar 2012 12:01:02 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate warning -2011-03-01 16:21 robert +Tue, 20 Mar 2012 11:18:45 +0000 +Checked in by : Robert OSFIELD +Replaced && with & to address error in handling bitmask - * Fixed typo +Mon, 19 Mar 2012 09:49:41 +0000 +Checked in by : Robert OSFIELD +From Lukasz Izdebski, Added StencilTwoSided support to ive plugin -2011-03-01 15:04 robert +Fri, 16 Mar 2012 13:22:20 +0000 +Checked in by : Robert OSFIELD +Fixed the order of setting of CenterMode - * Added support for passing the --depth-partition distance, throw - to the depth partition slave camera setup. +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. -2011-03-01 14:50 robert +" - * Added experiment depth partioning support in the form of an slave - camera configuration. -2011-03-01 14:48 robert - * Added support for an View::Slave::UpdateSlaveCallback +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(). -2011-02-26 16:04 robert +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 - * Fixed handling of write and reading of straight Node objects in - the scene graph. +Fri, 9 Mar 2012 13:16:39 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for 3.1.1 dev release -2011-02-26 15:52 robert +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. +" - * 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 - * Removed TrapezoidalShadowMap due to discovery of patent on - algorithm. +Thu, 8 Mar 2012 16:33:44 +0000 +Checked in by : Robert OSFIELD +Updated version number for 3.1.1 dev release -2011-02-23 22:52 cedricpinson +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." - * Cedric Pinson: Fix divide by zero when Action has 0 frames, and - add a warning message because it means something wrong on input - data +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 ;-) -2011-02-23 16:49 robert +Based on yesterdays trunk. - * Fixed typo +* 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 ." -2011-02-23 16:46 robert - * From Wojciech Lewandowski, intial cut at new TrapezoidalShadowMap - ShadowTechnique -2011-02-23 16:45 robert +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. +" - * 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 - * 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. +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." -2011-02-23 13:56 robert +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" - * Added support for negative --xMultipler, --yMultiple and - --zMultiplier values +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. +" -2011-02-23 12:48 robert - * Added support for positive values of --xMultiple - --yMultiplier and --zMultiplier -2011-02-23 12:13 robert +Tue, 6 Mar 2012 10:06:00 +0000 +Checked in by : Robert OSFIELD +Added RotateCylinderDragger and RotateSphereDragger to list of manipulators for testing purposes - * Changed the default number of components for a RGB to 4 so it - appears as an RGBA +Mon, 5 Mar 2012 14:17:01 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Just a minor update and typo fix. " -2011-02-23 11:43 robert +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 - * Added error reporting for old options +Tested with osg plugin, FME (Safe software), Autodesk DWG TrueView +" -2011-02-23 11:28 robert - * Added -n option -2011-02-23 10:37 robert +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" - * Added extra check for GL_BGR and GL_BGRA formats and messages - describing image format loaded +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 : -2011-02-22 14:21 robert +typedef std::vector LastAppliedUniformList; +should be +typedef std::map LastAppliedUniformList; - * Added test code to explore problems with - LightSpacePerspectiveShadowMap implementation handling of - different datasets and camera settings. +Intel driver can use index uniform value > 200000. +With a std::vector, this index uniform value generate an out of memory error -2011-02-22 11:59 robert +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." - * Added support for GL_BGR and GL_BGRA pixel formats -2011-02-22 10:53 robert - * 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. +Thu, 1 Mar 2012 10:14:55 +0000 +Checked in by : Robert OSFIELD +Removed redudent spaces at ends of lines -2011-02-21 12:29 robert +Wed, 29 Feb 2012 14:01:44 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS for dev release - * Added computePositions() call to - Text3D::resizeGLObjectsBuffers(uint) +Wed, 29 Feb 2012 10:22:56 +0000 +Checked in by : Robert OSFIELD +Improved the handling of endian swap of osg::Array -2011-02-21 10:02 robert +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 - * Added missing Terrain.h reference +I also updated the member variables to use OSG's leading-underscore convention." -2011-02-20 09:57 robert - * Fixed build of various LiSPSM algorithms -2011-02-20 09:55 robert +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. - * Added --fov and --light-pos and --light-dir command line - parameters +Please find as attachment the proposed patch against latest svn version. +" -2011-02-18 11:04 mplatings - * Disabled the RGB components of the opacity texture -2011-02-14 16:24 robert +Tue, 28 Feb 2012 11:37:09 +0000 +Checked in by : Robert OSFIELD +Added build problem with using float Matrix. - * 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 - - * 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 - - * Added copyop parameter to cloneOptions() method - -2011-02-14 15:59 robert - - * 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 - - * 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 - - * 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 - - * Moved ProgramBinary into osg::Program scope - -2011-02-14 14:16 robert - - * 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 - - * 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 - - * 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." +Tue, 28 Feb 2012 10:21:21 +0000 +Checked in by : Robert OSFIELD +From Thomas Hogarth, build fix for IOS build -2011-02-14 12:55 robert +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 - * Set debug message to INFO +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. -2011-02-14 12:54 robert +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 - * 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. +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. -2011-02-14 12:14 robert +Fri, 24 Feb 2012 10:56:48 +0000 +Checked in by : Robert OSFIELD +Cleaned up CMake warning - * Fixed typo +Thu, 23 Feb 2012 17:51:40 +0000 +Checked in by : Robert OSFIELD +Moved the state.applyTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::ON); -2011-02-11 12:11 robert +into the #if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) block to solve problems under GLES and GL3.x/GL4.x - * 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 - * Update ChangeLog -2011-02-11 09:18 robert +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 :-) " - * Added check against the NodePath being empty. +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" -2011-02-10 14:24 robert +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; - * Tweak to output details +protected: + AList _alist; + //... +} +} -2011-02-10 14:09 robert +REGISTER_OBJECT_WRAPPER( A, + new Bug::A, + Bug::A, + "osg::Object Bug::A" ) +{ + ADD_LIST_SERIALIZER(A,Bug::A::AList); +} - * Updated AUTHORS and Contributors.cpp files -2011-02-10 12:23 robert +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 - * From Martin von Gagern, build fix for latest ffmpeg changes +we call osgDB::writeObjectFile(A1,"/data/a.osgt") -> saved correctly( third element in list is saved as unique id that references parentClass -2011-02-08 14:36 robert +now we call +A1 = osgDB::readObjectFile("/data/a.osgt"); - * Added const +Everything is deserialized correctely except last element in list which should be same instance as parent A1. -2011-02-07 14:19 robert +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. +" - * Implementated experimental reuse of PBO's after download -2011-02-04 12:43 robert - * 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 +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." -2011-02-04 10:27 robert +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. - * Added support for getting the current screen refresh rate using - the XrandR extension. +* 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 -2011-02-03 17:07 robert +Now OSG compiles out of the box for MacOSX 10.7. , tested with gcc and clang with FlightGear." - * Refactored NodeTrackerManipulator to use osg::ObserverNodePath - rather than it's only local equivilant. -2011-02-03 14:27 robert - * Added call to GraphicsCostEstimator::calibrate. +Tue, 21 Feb 2012 11:13:25 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, "ReaderWriter3DS smoothing group handling corrections" -2011-02-03 12:42 robert +Tue, 21 Feb 2012 10:42:59 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Moved GraphicsCostEstimator ref pointer into osg::State +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) -2011-02-03 12:22 robert +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." - * Moved GraphicsCostEstimator from osgUtil into core OSG library +Mon, 20 Feb 2012 12:36:53 +0000 +Checked in by : Robert OSFIELD +From Alexander Sinditskiy, "Fix loading small monochrome bmp images" -2011-02-02 17:23 robert +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'." - * From Jean-Sebastien Guay, build fix +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." -2011-02-02 16:44 mplatings +Mon, 20 Feb 2012 12:18:50 +0000 +Checked in by : Robert OSFIELD +From Riccardo Corsi, Added passing of EventVisitor pointer to event handlers. - * Updated information about the FBX SDK version +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... -2011-02-01 18:12 robert +In case you accept the submission, I've removed the comment as it would be misleading to leave it there." - * From Sukender, "Vertices in DOUBLE PRECISION were not handled by - Remapper classes. I added missing virtual methods." -2011-02-01 12:18 robert - * Fixed the setting of the Drawable modes +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." -2011-02-01 12:18 robert +Note from Robert Osfield, changed the Image::supportsTextureSubloading() to be const and to be implemented in the .cpp rather than inline. - * Added experimental timing and PBO usage into ICO+GCE classes -2011-02-01 12:17 robert - * Fixed bug in PixelBufferObject constructor for the case when a - null Image is passed in to it. Added extra checks for NULL buffer - data. +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." -2011-01-31 11:40 robert - * Ran: - svn propset svn:eol-style native include/*/* - svn propset svn:keywords "Author Date Id Revision" include/*/* -2011-01-31 11:35 robert +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. " - * svn propset svn:keywords "Author Date Id Revision" - include/OpenThreads/* +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. -2011-01-31 10:41 robert +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)" - * Set eol-style to native. -2011-01-28 14:24 robert - * Temporarily disabled the cost estimate code for the 2.9.11 - release +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." -2011-01-28 13:54 robert - * 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 +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." - * Fixed size of default font -2011-01-28 11:07 robert - * From Per Fahlberg, warning fixes +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 -2011-01-28 10:59 robert +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). +" - * 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 - * 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 - - * From Mourad Boufarguine, "This is a tiny fix for some typos in - osg code." - -2011-01-27 18:49 robert - - * From Andreas Roth, "simple fix to support quad buffer stereo in - osgQt" - -2011-01-27 17:14 robert - - * 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 - - * 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 - - * 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 - - * Removed the executable property from source files - -2011-01-26 18:47 robert - - * Implement first pass at texture compile estimation - -2011-01-26 16:47 robert - - * Replaced CompileStats with GraphicsCostEstimator - -2011-01-26 16:46 robert - - * 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 - - * From Mathias Froehlich, build fix for Solaris - -2011-01-26 16:10 robert - - * 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. - :-) - " +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. -2011-01-26 12:51 robert - - * Moved GraphicsCostEstimator into osgUtil. - -2011-01-26 12:07 robert - - * Implemented first pass at geometry cost estimation. - -2011-01-25 16:48 robert - - * Fixed warnings - -2011-01-25 11:11 robert - - * Further work on GraphicsCostEstimator classes - -2011-01-24 21:12 robert - - * From Mathias Froehlich, build fixes - -2011-01-24 20:45 robert - - * Added osggraphicscost example as a base of for developing and - testing the new osgUtil::GraphicsCostEsimator class. - -2011-01-24 11:45 cedricpinson - - * From Michael Platings, Fix animation duration when adding channel - to animation - -2011-01-21 14:11 robert - - * Added #include to fix build - -2011-01-21 13:40 robert - - * 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 - - * 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 - - * From Sukender, getPathRelative() method. - -2011-01-20 12:34 robert - - * Added export to see if it address Mingw link problems - -2011-01-20 12:32 robert - - * 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 - - * From Per Fahlberg, warning fixes - -2011-01-20 12:23 robert - - * 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 - - * 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 - - * From Sukender, normalized option names - -2011-01-19 10:31 robert - - * 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 - - * 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 - - * From Sukender, "Fixed - ReaderWriterDAE::ConvertFilePathToColladaCompatibleURI(): It now - handles paths containing '#' character as expected." - -2011-01-19 09:34 robert - - * From Sukender and Robert Osfield, clean up of options - -2011-01-18 16:14 robert - - * 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 - - * 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 - - * Fixed CompileSet so it returns true when there is nothing to - compile at all. - -2011-01-18 09:54 robert - - * Build fix - -2011-01-17 17:17 robert - - * 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 - - * Added getNum methods - -2011-01-15 18:12 robert - - * First steps on the path to integrating ImageProcessor - -2011-01-14 14:30 robert +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." - * 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 - * From Sukender, "- Lowered one notify level (it's now coherent - with the "if" just above)" +Thu, 9 Feb 2012 17:45:23 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, AUTHORS and Contriburos.cpp files -2011-01-14 12:08 robert +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? - * 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 - " +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 -2011-01-14 12:03 robert +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. - * From Sukender, "TIFF plugin now outputs messages coming from - libtiff. - " +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. -2011-01-14 11:49 robert +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. - * From Sukender, "Small submission: - 3DS reader now takes care to - not create Texture2D duplicates" +I'm assigning my copyright in this change to the osg project leads. +" -2011-01-14 11:46 robert - * Fixed for build with non autoatic ref_ptr<> to C pointer - conversion -2011-01-14 11:00 robert +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(): + } + } - * From Brad Christiansen, "Attached is a fix which implements the - lazy loading of optional layers (if requested) in the new - osgb/osgt formats." +- _abortRenderingPtr = false; ++ _abortRenderingPtr = NULL; -2011-01-13 18:49 robert + _checkGLErrors = ONCE_PER_FRAME; - * Updated so version number +@@ -689,7 +689,7 @@ bool State::getLastAppliedTextureMode(unsigned int unit,Stat -2011-01-13 18:05 robert + 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); + } - * From Tim Moore, added missing ImageProcessor header reference +" -2011-01-13 14:59 robert - * 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 +Thu, 9 Feb 2012 15:51:20 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, a simple GL3 example - * 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. +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." -2011-01-12 17:39 robert - * Fixed comment -2011-01-11 17:29 robert +Thu, 9 Feb 2012 14:40:07 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, fix for Solaris build. - * From Sukender, "FBX plugin did not relay the - osgDB::ReaderWriter::Options* when writing images (the - writeImage() call). Now it does." +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)" -2011-01-11 17:29 robert - * Changed dos endings to unix line endings -2011-01-11 17:23 robert +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. - * From Mikhail Izmestev, "Current - osgManipulator::AntiSquishCallback stops update traversal of - childrens." +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. -2011-01-11 17:20 robert +This is the changed section: - * 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." +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); + }" -2011-01-11 17:18 robert - * 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 +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. +" - * Changed debug messages to INFO +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. -2011-01-11 17:04 robert - * 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 - * 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." +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." -2011-01-11 16:18 robert +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." - * From Guy Volckaert, warning fixes +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). -2011-01-11 11:39 robert +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. - * Added more flexible testing of Text3D +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. -2011-01-11 11:39 robert +The modified files are attached. A diff also follows, for those who like it." - * 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. +With the following changes from Robert Osfield: -2011-01-10 13:28 robert +"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: - * Improved the handling of application argument output when the - options are very long. + typedef osg::Plane::Vec3_type Vec3_type; -2011-01-05 11:43 robert +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: - * Added check for invalid face size to prevent a crash + typedef osg::Plane::Vec3_type Vec3_type; + typedef Vec3_type::value_type value_type; -2011-01-04 10:21 robert +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." - * Added extra checks to osg::Geometry::verifyArrays(std::ostream&) -2011-01-03 19:41 robert - * 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 - * Added iterator include +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." -2010-12-24 19:19 robert +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. - * Refactored IncrementalCompileOperation to make it more flexible. +Tue, 7 Feb 2012 12:37:48 +0000 +Checked in by : Robert OSFIELD +From Alexander Irion, "Added missing format GL_ALPHA to Image::computeFormatDataType()." -2010-12-23 13:11 robert +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." - * Fixed warnings +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." -2010-12-23 10:45 robert +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." - * Deleted old makefile files that are no longer required now we - have CMake +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. -2010-12-23 10:07 robert +--- +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." - * 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 - * 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." +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." -2010-12-23 09:59 robert +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. " - * 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." +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. -2010-12-22 20:11 robert +The fix consists of changing the line + us.requestContinuousUpdate( false ); +to: + us.requestContinuousUpdate( isAnimating() || _thrown ); - * Converted FrameStamp::g/setFrameNumber from int to uint +in OrbitManipulator::handleMouseWheel() as has been done for the +GUIEventAdapter::SCROLL_UP case a couple of lines earlier or in +src/osgGA/FirstPersonManipulator.cpp." -2010-12-21 12:54 robert - * 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 - * Introduced a local reference to the appropriate EasyCurl object - to avoid seperate getEasyCurl() incurring a mutex lock overhead. -2010-12-21 10:23 robert +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)); - * Improved indentation to make it more readable and consistent with - OSG. -2010-12-21 09:36 robert - * Cleaned up the frame number increment. +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). " -2010-12-21 09:12 robert +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." - * 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..." +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." -2010-12-20 17:04 robert +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. " - * 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)" +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." -2010-12-20 16:23 robert - * 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 +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." - * Moved the GL3 include to within the code block that handles - GL1/GL2 -2010-12-20 12:03 robert - * Fixed memory leak by introducing use of ref_ptr<> +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"." -2010-12-20 12:02 robert +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. " - * 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." +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 " -2010-12-20 10:49 robert +Mon, 6 Feb 2012 12:29:29 +0000 +Checked in by : Robert OSFIELD +Fixed indendation and line endings - * From Trajce Nikolov, Fixes to avoid cracks in older archives, - tested with archives 2.0, 2.1, 2.2 . +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." -2010-12-19 13:25 robert - * 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 +Mon, 6 Feb 2012 12:05:36 +0000 +Checked in by : Robert OSFIELD +Fixed silly compiler warning that was being produced in error. - * From Tim Moore, fix for race conditions in takeOrGenerate() - methods +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." -2010-12-17 11:46 robert +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. - * Fixed warnings +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). -2010-12-17 11:19 robert +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. - * Added --speed command line parameter to osgviewer to - enable control of the speed that animation paths are played back - at. +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. -2010-12-17 10:59 robert +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. - * 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. +There's even a small example video here: http://vimeo.com/31611842" -2010-12-15 19:44 robert - * Fixed the size computation -2010-12-15 16:30 robert +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. - * Removed no longer used static member variables +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). -2010-12-15 12:34 robert +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. - * Improvements to GLBufferObject and TextureObject pools +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. -2010-12-14 20:22 robert +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. - * Added report of ration of current size to max target size for - buffer. +There's even a small example video here: http://vimeo.com/31611842" -2010-12-14 20:07 robert - * Added --speed option and output of buffer object and texture - object pool stats at the end of the animation path. -2010-12-14 20:07 robert +Fri, 3 Feb 2012 11:10:17 +0000 +Checked in by : Robert OSFIELD +Improved handling of archives - * Added AnimationCompletedCallback, s/getTimeScale and - s/getTimeOffset() method to enable finer control of - AnimationPathManipulator. +Fri, 3 Feb 2012 11:09:45 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, improved support for handling archives -2010-12-14 19:29 robert +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. - * Added methods for checking sizes of various buffer object/texture - object pool sizes. +The attached tweak makes GraphicsContext::close a bit less brutal for +shared contexts. I have also changed a misleading diagnostic message. +" -2010-12-14 15:28 robert - * Removed redundent MinimumNumberOfTextureObjectsToRetainInCache - static variable -2010-12-14 14:32 robert +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 " - * Improved the parsing of output filename +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. -2010-12-14 13:43 robert +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. - * Added GLBufferObjectManager::reportStats() +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. -2010-12-14 10:42 robert +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. - * 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." +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 -2010-12-14 08:58 robert +Fri, 27 Jan 2012 09:49:06 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, Added missing core OSG libraries. - * Moved Performer and Inventor plugins into block protected to only - compile when not using GLES. +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" -2010-12-14 08:53 robert +Thu, 26 Jan 2012 14:26:59 +0000 +Checked in by : Robert OSFIELD +Quietend down debug message - * 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 - " +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. -2010-12-13 17:54 robert +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. - * Renamed osgviewerQtContext to osgviewerQt, and removed deprecated - examples from CMakeLists.txt +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." -2010-12-13 17:50 robert - * Moved osgviewerQT and osgviewQtWidget to deprecated as - osgviewerQtContext will no be the main Qt example -2010-12-13 17:50 robert - - * Moved osgbrowser into svn/trunk. - -2010-12-13 17:49 robert - - * Move osgcegui into deprecated - -2010-12-13 17:37 robert - - * Have moved FindXUL.cmake to deprecated - -2010-12-13 17:36 robert - - * Have moved gecko plugin to deprecated - -2010-12-13 17:09 robert - - * Added resizeGLObjectBuffers(uint) and relaseGLObjects(State*) to - BufferData. - -2010-12-13 16:25 robert - - * Moved GraphicsWindowQt from osgviewerQtContext into osgQt. - -2010-12-13 13:41 robert - - * Fixed warnings - -2010-12-13 13:37 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Added TODO notes - -2010-12-12 09:58 robert - - * From Wojciech Lewandowski, added docs on Swap Method env vars and - command line options - -2010-12-12 09:52 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Introuced a local typedef of the index array type to keep the - functor parameters consistent - -2010-12-11 15:12 robert - - * 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 - - * Refactor of DatabasePage/IncrementalCompileOperation to use the - IncrementalCompileOperator for compiling objects - -2010-12-10 13:22 robert +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." - * Build fixes to keep up with changes in head inclusions/API in - osgDB - -2010-12-09 12:16 robert - - * 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 - - * Updated version number for 2.9.11 dev release - -2010-12-08 10:34 robert - - * From Ulrich Hertlein, "attached are patches to osgTerrain that - fix some typos and add a bit of documentation. - " - -2010-12-08 09:54 robert - - * Added protection against the Registry from being deleted prior to - the proxy objects unregistering themselves - -2010-12-08 09:52 robert - - * Fixes for benign threading memory contentions. - -2010-12-06 10:35 robert - * Renamed YES and NO enums with more description names that don't - overlap with iOS #define's - -2010-12-03 19:04 robert - - * Updated ChangeLog and AUTHORS for release - -2010-12-03 17:50 robert - * 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. - " +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." -2010-12-03 17:20 robert +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" - * Removed redundent call. -2010-12-03 14:24 robert - * Commented out debug message +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. -2010-12-03 14:18 robert +Tue, 24 Jan 2012 17:57:01 +0000 +Checked in by : Robert OSFIELD +Made the cursor state protected. - * 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 +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. -2010-12-02 14:20 robert +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. - * 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++ - - " +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." -2010-12-02 14:13 robert - * 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 +Tue, 24 Jan 2012 17:47:04 +0000 +Checked in by : Robert OSFIELD +Fixed indentation and spaces at ends of lines. - * Ran dos2unix to fix line endings +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." -2010-12-02 13:53 robert +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. - * From Brad Christiansen, commented out debug messages +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. -2010-12-02 09:39 robert +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. - * Removed redudent makeCurrentImplementation() that was causing a - crash in osgscreencapture. +Tue, 24 Jan 2012 15:44:58 +0000 +Checked in by : Robert OSFIELD +Fixed compile error -2010-12-01 20:14 robert +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. - * Updated AUTHORS and Contributors.cpp to reflect new ChangeLog - correctly - -2010-12-01 19:49 robert - - * 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 - - * Updated ChangeLog - -2010-12-01 13:33 robert - - * 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 - - * 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 - - * 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 - - * Added passing of existingObj parameter - -2010-11-30 11:34 robert - - * From Stephan Huber, compile fix for iOS - -2010-11-30 09:26 robert - - * From Ulrich Hertlein and Stephan Huber, improves to iOS build - -2010-11-30 08:12 robert - - * From Wang Rui, Compile fixes - -2010-11-29 17:43 robert - - * 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." +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. -2010-11-29 09:32 robert - * Removed deperecated variables that are no longer used. - -2010-11-26 18:19 robert - - * 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 - - * From Katharina Plugge, fix for regression in handling of - multitexturing. - -2010-11-26 17:35 robert - - * From Eduardo Poyart, OSG patch: made it read ancillary - IndexedStrings into MultiSwitch - -2010-11-26 17:32 robert - * Updated ChangeLog -2010-11-26 13:54 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. - * From Marin Platings and Robert Osfield, fix of Uniform unique ID - by making osg::Object::setName() virtual. +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(). -2010-11-26 12:44 robert - * 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 - - * 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 - - * Removed debug messages - -2010-11-26 10:31 robert - - * From Magnus Kessler, "Typo in usage string of - examples/osganalysis - - please specifies -> please specify" - -2010-11-25 16:06 robert - - * 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 - - * From Tim Moore, fix to stats timing - -2010-11-25 12:30 robert - - * 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 - - * 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 - - * From Magnus Kessler, "applications/osgconv: fix typo in tool - options - - transprent -> transparent" -2010-11-25 11:40 robert - * Removed default assignement of GeometryTechnique as the - TerrainTechniquePrototype. +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." -2010-11-24 20:26 robert - * 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 +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. - * From Jean-Sebastien Guay, build fixes for windows. +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." -2010-11-24 17:01 robert - - * Added workaround for AMD/ATI driver bug - -2010-11-24 10:38 robert - - * From Tim Moore, Fix for drivers that don't properly support timer - extensions. - - "" - -2010-11-24 10:09 robert - - * 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." +Mon, 2 Jan 2012 16:38:01 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, Implementation of write functions in CURL plugin -2010-11-23 17:33 robert +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." - * Moved TextNode from osgText into example/osgtext3D in prep for - 3.0 +and -2010-11-23 14:50 robert +"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. " - * From Holger Helmich, Tessellation shader support -2010-11-23 11:11 robert - * 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 - * Build fixes for building OSG with - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF +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(); -2010-11-22 19:18 robert - * Fixed typo +void Terrain::dirtyRegisteredTiles(int dirtyMask) + SETS LOCK OpenThreads::ScopedLock lock(_mutex); + and CALLS (on every tile) setDirtyMask(dirtyMask); -2010-11-22 17:39 robert - * From Michael Platings, "the attached cmake file recognises the - latest version of the FBX SDK, and now works correctly on 64 bit - Windows." +void TerrainTile::setDirtyMask(int dirtyMask) + CALLS _terrain->updateTerrainTileOnNextFrame(this); -2010-11-22 17:37 robert - * From Michael Platings, "the build is broken if you have the - OSG_REF_PTR_IMPLICIT_OUTPUT_CONVERSION turned off - the attached - files fix this." +void Terrain::updateTerrainTileOnNextFrame(TerrainTile* terrainTile) + SETS LOCK OpenThreads::ScopedLock lock(_mutex); +******* PROBLEM - since lock has already been set! ******** -2010-11-22 17:30 robert - * 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 )" +The suggested fix submitted changes from using Mutex to ReentrantMutex. +" -2010-11-22 15:52 robert - * Fixed indentation -2010-11-22 11:31 robert +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. - * From Johan Nouvel, "I've attached ReaderWriterVRML2.h. It is the - same as the previous one, I've just add supportsOption() calls." +So you can now easily "hide" some objects from manipulators." -2010-11-22 11:22 robert - * Fixed typo of commercial -2010-11-22 10:41 robert +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." - * From Hartwig Wiesmann, fix to font search path under OSX. +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." -2010-11-22 10:37 robert +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]." - * From Brad Christiansen, "Attached is a very small change to allow - the Collada libs for VS 2010 to be found automatically." +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." -2010-11-19 18:26 robert +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." - * 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. - " +Fri, 23 Dec 2011 16:14:51 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, typo fixes -2010-11-19 18:07 robert +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. - * From Sukender, fix for precision of Plane::asVec4() +Mon, 19 Dec 2011 16:18:18 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate static usage -2010-11-19 17:47 robert +Mon, 19 Dec 2011 09:37:57 +0000 +Checked in by : Robert OSFIELD +Moved the createSpotLightImage function into include/osg/ImageUtils - * Commented out debug output +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. -2010-11-19 17:47 robert +Tue, 13 Dec 2011 21:14:33 +0000 +Checked in by : Robert OSFIELD +Moved osgshaders example across to use the new osgUtil::PerlinNoise example - * Update SOVERSION +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. -2010-11-19 09:57 robert +Wed, 30 Nov 2011 19:14:14 +0000 +Checked in by : Robert OSFIELD +Fixed build under Tiny Core. - * Update Text wrappers to handle new Color member +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. -2010-11-19 09:57 robert +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. - * Updated SO version to reflect changes in API of osgText +Tue, 22 Nov 2011 21:55:30 +0000 +Checked in by : Robert OSFIELD +Added prelimanary support for parallel split shadow maps into ViewDependentShadowMap. -2010-11-18 17:59 robert +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 " - * Moved text color into TextBase, added support for colour into - Text3D +Fri, 18 Nov 2011 08:15:36 +0000 +Checked in by : Robert OSFIELD +Fixed indentation -2010-11-18 17:18 robert +Thu, 17 Nov 2011 18:45:18 +0000 +Checked in by : Robert OSFIELD +Added .get() to fix build - * Added resetting of the freetype size when getting Glyph3D glyph's - as otherwise use of 2D and 3D Text would cause incorrect text - sizing. +Fri, 11 Nov 2011 10:36:17 +0000 +Checked in by : Robert OSFIELD +Updated built in volume shaders to honour the osg::Matierial setting -2010-11-18 12:03 robert +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. - * Improved handling of pending orphaned texture objects and max - texture pool size. +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. -2010-11-17 14:06 robert - * From Jean-Sebastien Guay, Changed debug info in - State::frameCompleted() to OSG_INFO -2010-11-17 10:19 robert +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. - * Added texture pool handler to print out results from texture pool +Fri, 4 Nov 2011 12:50:05 +0000 +Checked in by : Robert OSFIELD +Implement presentation update feature that reloads the presentation on pressing 'u'. -2010-11-17 10:16 robert +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. - * Added quite size test. +Fri, 4 Nov 2011 12:45:32 +0000 +Checked in by : Robert OSFIELD +Improved handling of resetting of the EventQueue::startTick(). -2010-11-15 17:21 robert +Fri, 4 Nov 2011 12:44:01 +0000 +Checked in by : Robert OSFIELD +Added removeFromObjectCache method. - * From Sherman Wilcox, "added the following to the ADD_LIBRARY - list -- ${OPENSCENEGRAPH_VERSIONINFO_RC}" +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. -2010-11-12 11:04 robert +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. - * Fixed warnings +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." -2010-11-12 09:48 robert +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. - * Fixed crash on intialization of static applications by moving the - static mutexes inside singleton methods. +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 -2010-11-11 16:51 robert +Tue, 1 Nov 2011 10:30:18 +0000 +Checked in by : Robert OSFIELD +Fixed the use DCM_SeriesDescription - * Moved finding of RSVG, Poppler-glib and GtkGl out into their own - Find*.cmake modules to enable easier specialization. +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. -2010-11-11 11:47 robert +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. - * 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 - - * 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 - - * 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 - - * 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 - - * From Mourad Boufarguine, "This is a small fix to - osg::createGeodeForImage to adapt Tex coords to image origin. - - " - -2010-11-09 17:17 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * From Fabien Lavingotte and Robert Osfield, Fixed handling of - texture pool size when TextureObject::setAllocate(..) is called. - -2010-11-04 15:24 robert - - * 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 - - * 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 - - * 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 - - * From David Callu, fix in FrameBufferObject when using - Texture2Darray and GeometryShader. - -2010-11-04 11:02 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed function name - -2010-11-02 11:19 robert - - * 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 - - * 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 - - * 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 - - * From Sukender, fix for incorrect for loop test. - -2010-11-01 13:57 robert - - * 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. +Fri, 28 Oct 2011 11:00:55 +0000 +Checked in by : Robert OSFIELD +Changed the notification level to INFO. -2010-11-01 11:06 robert +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. - * From Jean-Sebastien Guay, osgDB functions to expand wildcards - - required to aid windows consule usage as this doesn't not - automatically expand * usage. +Fri, 28 Oct 2011 10:36:29 +0000 +Checked in by : Robert OSFIELD +Changed the default for SampleBuffers to be 1 when set. -2010-11-01 10:52 robert +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. - * From Jean-Sebastien Guay and Robert Osfield, cleaned up the way - that unix/windows file separators are managed. +Fri, 28 Oct 2011 09:11:21 +0000 +Checked in by : Robert OSFIELD +Changed the default depth to 24. -2010-11-01 10:31 robert +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 - * 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. - " +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. -2010-10-29 15:18 robert - * 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 - * 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." +Thu, 27 Oct 2011 09:24:34 +0000 +Checked in by : Robert OSFIELD +Added support for ignore returns as white space. -2010-10-29 09:35 robert +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. - * +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. -2010-10-29 08:33 robert - * Added X11_X11_LIB to LIB_EXTRA_LIBS when build X11 version of - osgViewer to enable use of Mesa's GLES/EGL implementation -2010-10-29 08:31 robert - * Fixed warning -2010-10-28 15:52 robert +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 - * Commented out unused ElapsedTimer +Wed, 26 Oct 2011 12:29:38 +0000 +Checked in by : Robert OSFIELD +Added password support into osgvnc example and vnc plugin -2010-10-28 14:04 robert +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. - * Added use ObjectWrapper's FinishObjectReadCallback to fix - VertexBufferObject handling in osg::Geometry - and a call to the TileLoaded callback in osgTerrain. +Tue, 25 Oct 2011 15:55:33 +0000 +Checked in by : Robert OSFIELD +Added support for 32bit depth buffer -2010-10-28 14:04 robert +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. - * Added FinishedObjectReadCallback to ObjectWrapper which allows - wrappers to register their own handling of post processing of - objects once they have been read. +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. -2010-10-28 14:01 robert +Mon, 24 Oct 2011 11:09:35 +0000 +Checked in by : Robert OSFIELD +Fixed handling of slide with no layers. - * Added handling of vertex buffer objects into osg::Geometry copy - constructor. +Sat, 22 Oct 2011 09:02:18 +0000 +Checked in by : Robert OSFIELD +Fixed build of StreamOperator -2010-10-28 14:01 robert +Fri, 21 Oct 2011 15:39:51 +0000 +Checked in by : Robert OSFIELD +Fixed handling of Vec3dArray in GLBeginEdnAdapter/ArrayDispatchers. - * Improved code style consistency +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 -2010-10-28 14:00 robert +Fri, 21 Oct 2011 10:59:42 +0000 +Checked in by : Robert OSFIELD +Added flipDepth() method - * Quitened down debug messages +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. -2010-10-27 13:49 robert +Thu, 20 Oct 2011 16:49:08 +0000 +Checked in by : Robert OSFIELD +Fixed handling of reading/writing of osgVolume::VolumeTile tiles - * Fixed getEnableDepthWrites() naming. +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. -2010-10-26 14:59 robert +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. - * Added command line options: - - --tristripper - --no-tristripper - --smoother - --no-smoother - - --remove-duplicate-vertices / --rdv - --optimize-vertex-cache / --ovc - --optimize-vertex-order / --ovo +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 -2010-10-25 13:42 robert +Thu, 20 Oct 2011 09:23:26 +0000 +Checked in by : Robert OSFIELD +Improved handling of recent Cmake versions - * Added number of primitive sets to on screen stats +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. -2010-10-23 09:51 robert +Mon, 17 Oct 2011 15:39:46 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Added -o postfile option to allow the output of processed files - - Disabled tri-stripping when simplifing to fix performance issue - that introduces. +Mon, 17 Oct 2011 14:41:49 +0000 +Checked in by : Robert OSFIELD +Improvements to the compute near/far -2010-10-22 16:44 robert +Mon, 17 Oct 2011 14:40:29 +0000 +Checked in by : Robert OSFIELD +Improvements to osgShadow::ViewDependentShadowMap and ShadowSettings - * Added StateSetManipulator usage +Mon, 17 Oct 2011 11:12:05 +0000 +Checked in by : Robert OSFIELD +Quitened down debug message -2010-10-22 16:35 robert +Mon, 17 Oct 2011 10:25:28 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, add --mapres size option to ViewDependentShadowMap settings. - * Added support for enable VBO's and doing simplification. +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. -2010-10-22 12:28 robert +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. - * Cleaned up main loop, so it's more readable, seperating out the - paging and non paging implementations +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 -2010-10-22 12:19 robert +Mon, 3 Oct 2011 14:56:38 +0000 +Checked in by : Robert OSFIELD +Fixed handling of ShadowSetting LightNum - * Added paging support to osganalysis example +Mon, 3 Oct 2011 10:36:18 +0000 +Checked in by : Robert OSFIELD +Added Font::getVertical(float& ascender, float& descender) methods. -2010-10-21 16:29 robert +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. - * Integrated IncementalCompileOperation into DatabasePager. - - Improved various facilities in IncrementalCompileOperation. +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. -2010-10-21 16:28 robert +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. - * Added new osganalysis example as a testbed for profiling - peformance of various aspects of OSG/OpenGL and scene graphs. +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. -2010-10-14 18:16 robert +Tue, 20 Sep 2011 10:01:07 +0000 +Checked in by : Robert OSFIELD +Added handling of tag and "" options. - * Introduction of IncrementalCompileOperation support to - DatabasePager. +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." -2010-10-14 13:35 robert +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." - * Introduced SubloadCallback::generatdTextureObject() method. -2010-10-14 12:20 robert - * From Wang Rui, warning fix. +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: -2010-10-14 11:10 robert +"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" - * From Brad Christiansen, fix function entry points under Windows - to address crash -2010-10-14 09:31 robert - * From Wang Rui, QT based OpenThreads implementation +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. -2010-10-13 15:03 robert +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. - * 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, 14 Sep 2011 10:45:11 +0000 +Checked in by : Robert OSFIELD +Fixed memory leak -2010-10-09 11:51 robert +Wed, 14 Sep 2011 10:22:04 +0000 +Checked in by : Robert OSFIELD +Added missing forward declaration - * Changed the _ARB cube map defines to non ARB versions. +Wed, 14 Sep 2011 10:02:11 +0000 +Checked in by : Robert OSFIELD +Added asCamera() methods into osg::Camera and osg::Node -2010-10-09 11:27 robert +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 +" - * Removed redudent set up of GL_ cubemap defines as these are now - also in include/osg/Texture +and follow up that address versioning issue -2010-10-08 18:53 robert +"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_ - * Tempory fix for regression due to remove of - glPushAttrib/glPopAttrib +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: -2010-10-08 18:13 robert +#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 +" - * Disabled the build of Qt examples when building against GLES1 & 2 - as Qt GL includes OpenGL headers itself that cause conflict. -2010-10-08 17:13 robert - * Build fixes for GLES1, GLES2 and GL3 -2010-10-08 11:20 robert - * Refactored the Texture3D extension setup in osg::Texture3D and - gluBuild3DMipmaps and gluBuild3DMipmapLevels. -2010-10-07 11:53 robert +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." - * Introduced osg namespace to new local GLU functions -2010-10-07 10:51 robert - * 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, 13 Sep 2011 13:33:41 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, removed unneccessary BUILD_QT_EXAMPLES cmake option -2010-10-06 19:09 robert +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. " - * Added #define GL_PROXY_TEXTURE_3D +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." -2010-10-06 18:51 robert +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." - * Fixed warning -2010-10-06 18:37 robert - * Changed tabs to 8 spaces +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." -2010-10-06 18:34 robert +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." - * From Jean-Sebastien Guay and Robert Osfield, build fix for - Windows +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)." -2010-10-06 18:29 robert +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." - * Added #define for Windows build +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." -2010-10-06 17:19 robert +Tue, 13 Sep 2011 09:17:21 +0000 +Checked in by : Robert OSFIELD +Reverted Paul Idstein warning fix as this was breaking the build - * Added #define GLAPIENTRY to attempt to resolve some Windows build - issues +Mon, 12 Sep 2011 16:24:08 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, Added some error checks and memory cleanup. -2010-10-06 16:36 robert +Mon, 12 Sep 2011 16:20:45 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fixed build for OSX 10.6 and earlier - * Added #define's and local include to fix Windows GL - 1.1 build against +Mon, 12 Sep 2011 16:17:33 +0000 +Checked in by : Robert OSFIELD +From Johannes Baeuerle, opptimization of ES support of osg/BufferObject -2010-10-06 16:29 robert +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; }" - * From Jean-Sebasien Guay, fix windows compile error -2010-10-06 15:33 robert - * Removed gluois.h reference +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" -2010-10-06 15:14 robert +Mon, 12 Sep 2011 12:14:17 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, documentation fixes - * Removed usage gluos.h and redundent gluint.h +Mon, 12 Sep 2011 12:04:46 +0000 +Checked in by : Robert OSFIELD +Improved the clarity of doxygen comments -2010-10-06 14:44 robert +Mon, 12 Sep 2011 11:51:14 +0000 +Checked in by : Robert OSFIELD +Fixed typos in the documentation - * 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. +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." -2010-10-04 15:23 robert +and - * 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. +"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. -2010-10-04 11:29 robert +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." - * 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." +and -2010-10-04 11:24 robert +"Here the update of the file that fix the light id stuff" - * Added glMultMatrixf path for GLES1 -2010-10-04 11:19 robert - * Added checks for NULL images to prevent crashes when no valid - images are created -2010-10-01 18:02 robert +Mon, 12 Sep 2011 11:24:52 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, build fix for OSX 10.7 SDK. - * 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. - " +Mon, 12 Sep 2011 11:24:24 +0000 +Checked in by : Robert OSFIELD +From Paul Idstein, warning fixes for OSX 10.7 -2010-10-01 17:07 robert +Mon, 12 Sep 2011 10:52:16 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, typo fixes - * +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." -2010-10-01 15:58 robert - * 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 - - * 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 - - * 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". - " +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. -2010-09-30 16:31 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);" - * 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." +Wed, 7 Sep 2011 20:05:25 +0000 +Checked in by : Robert OSFIELD +Added handling the ShadowSettings::LightNum for selecting which light to use. -2010-09-30 16:03 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. - * 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." +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. -2010-09-30 14:25 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. - * From WojciechLewandowski, Added DispaySettings::SwapMethod and - support for it in GraphicsContext::Traits +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. -2010-09-30 09:40 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 - * From Stephan Huber, fixed build under OSX 10.5. +Tue, 6 Sep 2011 11:11:38 +0000 +Checked in by : Robert OSFIELD +Fixed the heights of the trees and houses -2010-09-30 09:34 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. - * 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." +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. -2010-09-29 13:21 robert +Mon, 5 Sep 2011 12:27:20 +0000 +Checked in by : Robert OSFIELD +Replaced use of ShapeDrawable with osgTerrain for the terrain tile - * Fixed Text3D's handling of character aspect ratio. +Fri, 2 Sep 2011 10:16:16 +0000 +Checked in by : Robert OSFIELD +Added s/getTextureSize() method for setting the shadow map texture size. -2010-09-29 12:45 robert +Fri, 2 Sep 2011 07:46:08 +0000 +Checked in by : Robert OSFIELD +Disabled the use of the ReceivesShadowTraversalMask() mask - * Moved handling of character aspect ratio into osgText::Style. +Thu, 1 Sep 2011 18:49:33 +0000 +Checked in by : Robert OSFIELD +Added test line for COMPUTE_NEAR_USING_PRIMITIVES -2010-09-29 12:38 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. - * Added command line option for writing out the scene graph to - file. +Mon, 29 Aug 2011 16:01:02 +0000 +Checked in by : Robert OSFIELD +From Tony Horrobin, build fix -2010-09-29 11:34 robert +Mon, 29 Aug 2011 10:26:05 +0000 +Checked in by : Robert OSFIELD +Added fallback base texture - * Moved set/getFont from Text/Text3D into TextBase +Mon, 29 Aug 2011 09:59:47 +0000 +Checked in by : Robert OSFIELD +Added support for setting the MinimumShadowMapNearFarRatio. -2010-09-29 11:09 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. - * Removed getScale() parameter from osgText::Font +Fri, 26 Aug 2011 15:36:33 +0000 +Checked in by : Robert OSFIELD +Added names to models to help with debugging. -2010-09-29 10:54 robert +Fri, 26 Aug 2011 10:52:25 +0000 +Checked in by : Robert OSFIELD +Added releaseGLObjects/resizeGLObjectBuffers support - * Fixed type of numberical constant +Thu, 25 Aug 2011 17:21:38 +0000 +Checked in by : Robert OSFIELD +Improved the handling of depth partitioning and orthographic datasets -2010-09-27 17:11 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. - * 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. +Wed, 24 Aug 2011 19:38:58 +0000 +Checked in by : Robert OSFIELD +Added support for user defined setting of the shadow texture unit -2010-09-27 16:18 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. - * Added support for osgText::Style into osgText::Text3D. - Refactored Text3D implementation to use new GlyphGeometry class. - Implemented GlyphGeometry backend and cleaned up Glyph3D - interface. +Wed, 24 Aug 2011 12:32:03 +0000 +Checked in by : Robert OSFIELD +Imorovements to the new perspective/lispsm style shadow implementation. -2010-09-27 09:58 robert +Wed, 24 Aug 2011 12:31:35 +0000 +Checked in by : Robert OSFIELD +Quitened down and fixed warning - * 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. +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 -2010-09-26 11:02 robert +Fri, 19 Aug 2011 10:43:38 +0000 +Checked in by : Robert OSFIELD +Improved the LispSM computation - * Added include to fix compile error +Fri, 19 Aug 2011 10:43:15 +0000 +Checked in by : Robert OSFIELD +Changed the local variable near/far type -2010-09-24 14:53 robert +Wed, 17 Aug 2011 17:06:55 +0000 +Checked in by : Robert OSFIELD +Added back in control of the backface culling. - * From Alexander Wiebel, "I did some spell checking in my spare - time. Here come 20 files." +Wed, 17 Aug 2011 16:09:17 +0000 +Checked in by : Robert OSFIELD +intermin check-in of work on new LispSM implementation -2010-09-24 14:40 robert +Mon, 15 Aug 2011 14:37:16 +0000 +Checked in by : Robert OSFIELD +Added missing assignement of _simulationTime. - * 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." +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. " -2010-09-24 14:38 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. - * 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 >>. - " +Fri, 12 Aug 2011 14:53:40 +0000 +Checked in by : Robert OSFIELD +Implemented first pass at shaders for new ViewDepedentShadow map class -2010-09-24 12: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. - * From Eric Wing, QTKit plugin for reading movies under OSX using - QTKit + CoreVideo +Tue, 9 Aug 2011 15:20:25 +0000 +Checked in by : Robert OSFIELD +Changed RTT Camera to use depth. -2010-09-24 12:57 robert +Tue, 9 Aug 2011 13:39:57 +0000 +Checked in by : Robert OSFIELD +Implemented caching of Camera, Texture and TexGen - * 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 +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. -2010-09-23 16:12 robert +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. - * 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 +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 -2010-09-22 09:50 robert +Sun, 7 Aug 2011 15:51:54 +0000 +Checked in by : Robert OSFIELD +Preliminary work on new ViewDependentShadowMap base class - * Added deprecated notices. +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. -2010-09-21 11:40 robert +Fri, 29 Jul 2011 07:42:55 +0000 +Checked in by : Robert OSFIELD +Fixed comment on end barrier position. - * Updated ChangeLog and AUTHORS file for release +Thu, 28 Jul 2011 16:40:28 +0000 +Checked in by : Robert OSFIELD +Improved handling of the scaling of dicom imagery. -2010-09-21 10:28 robert +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. - * 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. - " +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. -2010-09-20 16:04 robert - * 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 +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." - * From Wang Rui, reverted changes to osgPartcile that caused - problems with osgparticleeffects. +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." -2010-09-20 11:02 robert +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. - * 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 - - * 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 - - * 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 - - * Updated ChangeLog, AUTHORS for 2.9.9 dev release - -2010-09-17 13:33 robert - - * Build fixes for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION - is disabled - -2010-09-17 13:09 robert - - * 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 - - * 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 - - * From Magnus Kessler, "Changes to the quicktime plugin to remove - unused variables and an unused - static function." - -2010-09-16 10:33 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * From Paul de Repentigny, Commented out section of code that - didn't work properly - -2010-09-15 13:04 robert - - * Fixed warning - -2010-09-15 12:50 robert - - * From Magnus Kessler, "Fix a small typo in present3D usage string" - -2010-09-15 12:00 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Added version check for av_lockmgr_register support. - -2010-09-09 08:47 robert - - * 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. +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). -2010-09-08 11:02 robert +This leads to an invalid enum error, when GL_TEXTURE_BORDER_COLOR is tried to set. +" - * Cleaned up debug info, and changed Text3D across to using - GL_NORMALIZE instead of GL_RESCALE_NORMAL. -2010-09-08 10:46 robert - * Added support for honouring PrimitiveSet names in new smoothing - algorithm +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. -2010-09-08 08:09 robert +Thu, 21 Jul 2011 09:55:03 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * From Jean-Sebastien Guay, build fixes for Windows +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. +" -2010-09-07 19:55 robert - * Removed files that have been moved into osgText. -2010-09-07 18:20 robert +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. " - * Moved Glyph and Glyph3D out of Font header/source file into their - own header/source file. +Wed, 20 Jul 2011 10:17:19 +0000 +Checked in by : Robert OSFIELD +From Claus Scheiblauer, fixed handling of horizontal mouse wheel events. -2010-09-07 18:18 robert +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. - * Moved TextNode into osgText. - - Cleaned up freetype plugin so it no longer does tesselation - - instead Glyph and TextNode do this. +Mon, 18 Jul 2011 12:41:22 +0000 +Checked in by : Robert OSFIELD +Added doxygen comments explaining read file callback functionality. -2010-09-06 15:43 robert +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. - * Further work on new 3D text support +Sun, 17 Jul 2011 16:24:47 +0000 +Checked in by : Robert OSFIELD +From Alberto Luacas, typo fixes -2010-09-03 15:03 robert +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. - * Added basic wiring up of TextTechnique to 3D glyph code +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. " -2010-09-03 09:10 robert +Fri, 15 Jul 2011 10:22:44 +0000 +Checked in by : Cedric Pinson +Fix crash in osgAnimation when keyframe container are empty - * Removed now redundent Font3D files +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" -2010-09-03 09:08 robert +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." - * Refactored to use a typedef of Font to Font3D rather than have a - separate Font3D class +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), + ^" -2010-09-03 08:26 robert - * 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 +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." - * Added to Text::resizeGLObjectBuffers(uint) the follow: - - _textureObjectBuffer.resize(maxSize); - _texParametersDirtyList.resize(maxSize); +Fri, 15 Jul 2011 08:16:58 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces -2010-08-25 16:59 robert +Tue, 28 Jun 2011 07:54:00 +0000 +Checked in by : Robert OSFIELD +Merged the OSG-3.0 branch versions of into svn/trunk. - * Implemented a greedy triangle associate technique to minimize the - number of duplicate vertices required to produce crease angles. +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. -2010-08-25 14:34 robert +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." - * Changed --flat to --flat-shaded to avoid conflict with oiginal - --flat ratio control. +Mon, 27 Jun 2011 21:33:38 +0000 +Checked in by : Robert OSFIELD +Tweaked the comments -2010-08-25 11:07 robert +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. - * 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. +Mon, 27 Jun 2011 15:43:33 +0000 +Checked in by : Robert OSFIELD +Updated NEWS and fixed typo in Contributors. -2010-08-25 11:06 robert +Mon, 27 Jun 2011 10:20:37 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Added support for controlling the number of curves samples to - generate on Glyph3D's. Set via - Font3D::setNumberCurveSamples(num). +Mon, 27 Jun 2011 10:19:44 +0000 +Checked in by : Robert OSFIELD +Improved the setContextID doxygen comment. -2010-08-24 16:08 robert +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." - * Implemented the shell geometry code +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. -2010-08-24 16:06 robert +Sat, 25 Jun 2011 07:07:16 +0000 +Checked in by : Robert OSFIELD +Tightened up float usage. - * Added "SORT_BACK_TO_FRONT" and "SORT_FRONT_TO_BACK" RenderBin's - to default prototype list +Fri, 24 Jun 2011 19:17:25 +0000 +Checked in by : Robert OSFIELD +Tightened up the float/double usage -2010-08-24 14:22 robert +Fri, 24 Jun 2011 16:15:47 +0000 +Checked in by : Robert OSFIELD +Removed redundent assert and associated variables to fix warnings. - * Refactored 3d text geometry creation code so that the text is all - placed in one osg::Geometry. +Fri, 24 Jun 2011 15:04:16 +0000 +Checked in by : Robert OSFIELD +Implemented missing writeShader -2010-08-20 10:24 robert +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. - * Fixed bug in handling large osg::Geometry. +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. -2010-08-19 16:24 robert +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" - * Implemented generation of front, back and bevel geometries to - complete the 3d glyphs. +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" -2010-08-18 11:14 robert +Fri, 24 Jun 2011 08:05:54 +0000 +Checked in by : Robert OSFIELD +Added operator ==, != and < to fix VS build - * Improved the detection of problem vetices and associated - triangles +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) -2010-08-17 19:48 robert +/src/OpenThreads/pthreads/PThread.cpp:1024:15: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] + if (cpunum<0) return -1; - * Fixed indentation +src/osgDB/ExternalFileWriter.cpp:221:122: warning: expression result unused [-Wunused-value] + _objects.insert(ObjectsSet::value_type(&obj, ObjectData(absoluteDestinationPath, relativeDestinationPath, written))).first; -2010-08-17 19:48 robert +src/osgManipulator/Dragger.cpp:175:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] + if (*itr = constraint) return; - * Implemented basic duplication of points that sit on sharp edges. +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." -2010-08-17 13:25 mplatings +Fri, 17 Jun 2011 09:02:22 +0000 +Checked in by : Robert OSFIELD +Updated version number of 3.0.0-rc1 - * 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 +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 -2010-08-17 13:10 robert +Fri, 17 Jun 2011 08:42:54 +0000 +Checked in by : Robert OSFIELD +Refined the version checking - * Added support for RGTC1 and RGTC2 enums +Fri, 17 Jun 2011 08:41:56 +0000 +Checked in by : Robert OSFIELD +Build fix -2010-08-16 15:02 robert +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." - * 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 - - " +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." -2010-08-16 14:54 robert +Fri, 17 Jun 2011 06:22:01 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * 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. - " +Fri, 17 Jun 2011 06:09:25 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2010-08-16 14:39 robert +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()) - * 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." +Thu, 16 Jun 2011 18:43:58 +0000 +Checked in by : Robert OSFIELD +Fixed warnings. -2010-08-16 14:24 robert +Thu, 16 Jun 2011 18:25:46 +0000 +Checked in by : Robert OSFIELD +Added support for new InternalTextureFormatModes - * Added material setName. +Thu, 16 Jun 2011 18:12:55 +0000 +Checked in by : Robert OSFIELD +Added wider file extension support to ExternalFileWriter::generateObjectName -2010-08-16 14:14 robert +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." - * Added support for USE_RGBT1_COMPRESSION and USE_RGBT2_COMPRESSION +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: -2010-08-16 14:11 robert +src/OpenThreads/qt/CMakeLists.txt - * 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." +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." -2010-08-16 11:03 robert - * Changed setTransformation(eye, center, up) paramter ordering to - match gluLookAt conventions. - -2010-08-16 10:11 robert - * 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." +Thu, 16 Jun 2011 15:57:40 +0000 +Checked in by : Robert OSFIELD +Windows warning fixes -2010-08-16 09:35 robert - - * From Alexander Wiebel, "Documentation of PrimitiveSet" - -2010-08-09 17:02 robert - - * 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 - - * 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 - - * Cleaned up the inline methods - -2010-08-08 15:45 robert - - * 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 - - * Removed the erroneous subclassing from osg::Observer - -2010-08-08 15:34 robert - - * 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 - - * 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 - - * From Rob Smith, makes hardware skinning use of the existing - stateset - -2010-07-31 10:33 robert - - * 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 - - * 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 - - * 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 - - * 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); - " +Thu, 16 Jun 2011 13:00:28 +0000 +Checked in by : Robert OSFIELD +Fixed indentation issues -2010-07-31 10:17 robert - - * 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 - - * Fixed build +Thu, 16 Jun 2011 10:05:49 +0000 +Checked in by : Robert OSFIELD +Improved indentation. -2010-07-31 09:04 robert +Thu, 16 Jun 2011 08:59:48 +0000 +Checked in by : Robert OSFIELD +Replaced tabs with four spaces - * 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 - - * From Ryan Kawicki, fixed indentation - -2010-07-31 08:57 robert - - * 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 - - * Added output of triangles at problem vertices - -2010-07-30 19:39 robert - - * 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 - - * Changed emit() to emitParticles() to avoid collision with Qt. - -2010-07-29 16:09 robert - - * From Wang Rui, fixes to handling of indentation. - -2010-07-26 11:12 robert - - * Added bevel geometry - -2010-07-26 11:06 robert - - * Clean up boudnary code - -2010-07-26 08:41 robert - - * Added a os< FindQTKit-cmake-plugins, so they get disabled for ios-builds." -2010-06-28 08:24 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. - * From Brad Christiansen, "The small change I have made (against - this morning's trunk) enables subclasses to register and - unregister windows via protected methods. I need this access as I - have a subclass that handles some of the oddities of mixing a - native OpenGL window with Java's windowing system. I doubt there - will be much general benefit of the modification but it should - also not be harmful in any way to others." +Mon, 13 Jun 2011 08:52:11 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, fixed style == operator. -2010-06-28 08:20 robert +Mon, 13 Jun 2011 08:45:25 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, build fix for IOS - * From Torben Dannhauer, "I have extended the attached zipped file - to recognize some more filenames and versions. - I added support to find libxml2 in the 3rdparty package if - available. - - Now this file can find all libraries from the 32/64bit VS2008sp1 - dependency package except collada. I will add that later. - " +Fri, 10 Jun 2011 11:42:02 +0000 +Checked in by : Robert OSFIELD +Added handling of s/gUserValue() directly on a UserDataContainer. -2010-06-26 09:55 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 - * Checked in missing source file. +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. -2010-06-24 17:15 robert +Main characteristics are: - * Added beginnings of shader composition with the shells of the - ShaderComposer and ShaderAttribute classes. This aren't - functional yet, but a useful placeholders for future - fucntionality. +-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) -2010-06-24 15: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. - * Fixed typo -2010-06-24 14:03 robert - * Renamed osgshadercompositor to osgvirtualprogram. -2010-06-23 14:38 robert +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 - * From Magnus Kessler, "FFmpeg headers need __STDC_CONSTANT_MACROS - defined before stdint.h is loaded. - The file FFmpegHeaders.hpp sets this definition. However, if - stdint.h is - already included through other files, it won't take any effect. - - Include FFmpeg headers as early as possible in order to avoid - stdint.h being - included on other paths. - " -2010-06-23 14:18 robert - * Removed osgIntrospection and added osgQt to doxygen files +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" -2010-06-23 13:28 robert +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. " - * Removed osgIntrospection as it's now available as a seperate - osgIntrospection project that can be checked out thus: - - svn co http://www.openscenegraph.org/svn/osg/osgIntrospection - osgIntrospection +Thu, 9 Jun 2011 10:48:19 +0000 +Checked in by : Robert OSFIELD +Changed the defaults volume setting to not enable the SampleDensityWhenMoving property. -2010-06-21 16:48 robert +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. - * From Mathias Fiedler, "i'm using OSG on ES 2.0 and observed that - only one texture unit will be supported by OSG. - In State::initializeExtensionProcs() the _glMaxTextureUnits is - calculated based on osg::getGLVersionNumber(). - At least for ES 2.0 this function will return 0.f since the - version string will look like "OpenGL ES 2.0 ...". - - My proposal doesn't touch getGLVersionNumber(), since desktop - OpenGL 2.0 isn't OpenGL ES 2.0. - So i changed the conditions in State::initializeExtensionProcs() - for getting the number via glGetIntegerv()." +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. -2010-06-21 15:55 robert - * From Alberto Luaces, "I have updated a bit the pkg-config system: - - 1. Install the .pc file for osgIntrospection only if it is - compiled, - instead of unconditionally. - - 2. New .pc file for osgQt, also created only if that library is - actually - compiled. - " -2010-06-21 15:09 robert +Wed, 8 Jun 2011 09:28:59 +0000 +Checked in by : Robert OSFIELD +Removed OSG_EXPORT - * Moved Xcode project out into OpenSceneGraph/deprecated +Wed, 8 Jun 2011 09:24:50 +0000 +Checked in by : Robert OSFIELD +Introduced a less conservative near ratio. -2010-06-21 14:42 robert +Wed, 8 Jun 2011 09:24:29 +0000 +Checked in by : Robert OSFIELD +Simplified the osgdepthpartion example to use the osgView::View::setUpDepthPartition(..) feature - * Implement support for compound name only entries in - CompositeLayer +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. -2010-06-21 10:33 robert +Tue, 7 Jun 2011 16:17:35 +0000 +Checked in by : Robert OSFIELD +Added support for .osgt, .osgb and .osgx plugins to osgvolume example - * Updated version number for next dev release +Tue, 7 Jun 2011 15:33:35 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for release -2010-06-21 10:19 robert +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. " - * From Magnus Kessler, "The attached file fixes the build error - reported by Maxim Gammer. In out-of- - source build moc has difficulties with header files that do not - end in ".h". - Force moc to include any files passed to it." +Tue, 7 Jun 2011 14:26:13 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, build fixes for legacy unix systems -2010-06-18 16:07 robert +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. - * Updated ChangeLog and AUTHORS file for 2.9.8 release +Tue, 7 Jun 2011 09:28:38 +0000 +Checked in by : Robert OSFIELD +Added the return of the index position of the added UserObject -2010-06-18 15:48 robert +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. - * 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." +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. " -2010-06-18 15:46 robert +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 - * Updated AUTHORS +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 -2010-06-18 15:16 robert +Fri, 3 Jun 2011 15:58:36 +0000 +Checked in by : Robert OSFIELD +Added support for --tf-255 transfer function files - * Updated ChangeLog +Fri, 3 Jun 2011 13:47:59 +0000 +Checked in by : Robert OSFIELD +Added support for using the sampleDensityWhenMoving tag with all techniques -2010-06-18 14:53 robert +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 - * Added checks against windows being realized before doing warp - pointer +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 -2010-06-18 09:48 robert +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 - * #if 0'd out debugging timing code for detecting deadlocks +Thu, 2 Jun 2011 22:05:10 +0000 +Checked in by : Robert OSFIELD +Added support for new osg::Object user objects. -2010-06-18 09:07 robert +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. - * Build fixes for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT is set to - OFF -2010-06-17 15:23 robert - * Fixed warnings +Thu, 2 Jun 2011 21:32:03 +0000 +Checked in by : Robert OSFIELD +Updated version -2010-06-17 14:36 robert +Thu, 2 Jun 2011 20:38:13 +0000 +Checked in by : Robert OSFIELD +Added ref_ptr<> usage to avoid possible memory leak. - * From Nguyen Van Truong, introduced the use of the ScratchPad when - distributing the master killed message +Thu, 2 Jun 2011 14:42:21 +0000 +Checked in by : Robert OSFIELD +Updated version and so number for next dev release -2010-06-17 14:28 robert +Mon, 30 May 2011 15:43:18 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and ChangeLog for 2.9.15 dev release - * From Nguyen Van Truong, fix for passing of events to slaves +Mon, 30 May 2011 13:02:13 +0000 +Checked in by : Robert OSFIELD +From Dimi Christop, build fix for RHEL 4. -2010-06-17 14:18 robert +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. - * Added event handling +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. -2010-06-17 11:07 robert +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. " - * 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." +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." -2010-06-17 11:03 robert +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. - * From Farshid Lashkari, "I've made a small modification to - osgDB::DynamicLibrary so it can load UTF-8 filenames on Windows." +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. -2010-06-17 11:01 robert - * 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." -2010-06-16 16:49 robert +Fri, 27 May 2011 11:18:44 +0000 +Checked in by : Robert OSFIELD +Fixed indentation - * Fixed bug where PropertyAdjustmentCallback was being added - multiple times. +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. -2010-06-16 15:56 robert +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. +" - * 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 - * Added better handling of when the bounding box computation fails - to return a valid bounding box. - -2010-06-16 15:54 robert - - * Updated wrappers - -2010-06-16 15:53 robert - - * Added reporting of possible deadlock of paging thread - -2010-06-16 12:46 robert - - * 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 - - * Added timing code for helping detect deadlocks in the paging - threads - -2010-06-16 08:09 robert - - * Re-enabled call to ShareStateManager. - -2010-06-15 13:57 robert - - * 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 - - * 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 - - * 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 - - * Changed _strnicmp to strncasecmp for non-Windows builds - -2010-06-14 16:41 robert - - * 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 - - * From Luc Frauciel, added extra test case accessible via -t 7. - -2010-06-14 16:27 robert - - * Introduced the use of atan2 in place of asin/acos for reliability - and simplicity - -2010-06-14 15:58 robert - - * From Laurens Voerman, "while debugging a file loader I noticed a - missed check here." - -2010-06-14 15:28 robert - - * 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 - - * 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." +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. -2010-06-14 15:22 robert - * 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 +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." - * From Jan Peciva, change information about failed shader - compilation/linking/validation to OSG_WARN. +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." -2010-06-14 15:20 robert +Fri, 27 May 2011 08:22:16 +0000 +Checked in by : Robert OSFIELD +Reverted Bryce Eldrige submission. - * From Jan Peciva, additional comments, and standarisation of throw - and handling of mouse wheel. +Thu, 26 May 2011 16:52:08 +0000 +Checked in by : Robert OSFIELD +Form Jorge Ciges, improved GL version detection code. -2010-06-11 09:39 robert +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." - * Updated wrappers +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. -2010-06-09 15:05 robert +Existing behavior (PACKBITS compression, DPI tags left at default) is preserved if the options string is not set. +" - * Removed debug messages -2010-06-09 13:54 robert - * Fixed reading of wrapped strings that contain multiple " within - the string +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(..). -2010-06-09 13:09 cedricpinson +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." - * 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 +"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)" -2010-06-09 13:08 cedricpinson - * 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 - * Added missing loadWrappers -2010-06-09 10:01 robert +Thu, 26 May 2011 16:13:04 +0000 +Checked in by : Robert OSFIELD +Fixed indentation - * 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(). - " +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. -2010-06-09 09:12 mplatings +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: - * 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. +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" -2010-06-08 17:32 mplatings - * Added support for Euler angles and step/linear/cubic-bezier - interpolation. -2010-06-08 11:53 robert +Wed, 25 May 2011 09:34:53 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Added ref_ptr<> to avoid memory leak +Wed, 25 May 2011 09:34:02 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, fixes for OSX AGL build -2010-06-07 17:08 robert +Wed, 25 May 2011 09:13:26 +0000 +Checked in by : Robert OSFIELD +Removed now redundent local implementation of getDirectoryContexts() - * 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, 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: -2010-06-07 15:25 mplatings +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" - * Added more NURBS types to triangulate. -2010-06-07 11:28 robert - * Added size() and swap() methods to provide a thread safe way to - keep track of size of a RequestQueue/ReadQueue. -2010-06-07 09:05 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" - * Added removeNodes method to prune any nodes that are going to be - deleted from the PagedLODLists. -2010-06-07 08:36 shuber - * From Stephan Huber: updated XCode project -2010-06-04 19:50 mplatings +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. +... - * 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 +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. - * From Stephan Huber: updated XCode project -2010-06-03 16:24 robert - * Fixed double registeration bug. -2010-06-03 16:02 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. - * Fixed permissions -2010-06-03 16:01 robert - * Fixed permissions -2010-06-03 16:00 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. - * Removed redundent makefiles -2010-06-03 15:09 robert - * Fixed permissions -2010-06-03 15: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. - * Fixed permissions -2010-06-03 15:04 robert - * Fixed permissions -2010-06-03 14:14 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. - * 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. +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. -2010-06-02 18:09 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. - * Added #include -2010-06-02 15:07 robert - * Added check for presence of extension. -2010-06-02 13:29 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. - * Removed glFramebufferTexture from list of required extension - function -2010-06-02 12:14 robert - * Updated wrappers to handle the new - ref_ptr::ref_ptr(observer_ptr&> constructor. -2010-06-01 18:20 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. - * 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 - * From Michael Platings, "MorphGeometry fix: this fixes a crash - found by Alessandro Terenzi" -2010-06-01 14:12 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. - * 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 - * 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 +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. - * Added newline to fix warnings -2010-06-01 11:51 robert - * 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 +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. - * 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(). - - " -2010-06-01 11:23 robert - * Removed unneccessary QWebKit includes -2010-06-01 09:23 robert +Tue, 24 May 2011 10:08:40 +0000 +Checked in by : Robert OSFIELD +Fixed build error - * 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, 23 May 2011 16:58:49 +0000 +Checked in by : Robert OSFIELD +Removed unused numX, numY member variables, and added initializer for firstHeaderWrite. -2010-06-01 09:21 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. - * From Tim Moore, fixed typo and removed redundent include +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 -2010-05-31 17:16 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." - * Updated wrappers +Tue, 17 May 2011 09:21:32 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, added close button hint -2010-05-31 16:53 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. " - * From Torben Dannhauer, "I added radial fog functionality be using - the OpenGL extension 'GL_NV_fog_distance'." +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 -2010-05-31 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. - * 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" +Code also make use of osgDB::ExternalFileWriter I submitted, so please merge this submission after the PluginImageWriter one. -2010-05-31 15:51 robert - * Added support for a wider range of gpx files -2010-05-28 17:17 robert - * Added OSG_DEBUG_DP macro -2010-05-28 17:17 robert +Mon, 16 May 2011 09:17:30 +0000 +Checked in by : Robert OSFIELD +Renamed example from osgviewerQtContext to osgviewerQt. - * Converted osg::notify to OSG_INFO etc. +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 -2010-05-28 17:16 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 - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:15 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:14 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 - * Converted osg::notify to OSG_INFO etc. +-- -2010-05-28 17:14 robert +From Robert Osfield, added back in getGraphWidget() method for backwards compatibility. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:14 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:13 robert +Mon, 16 May 2011 08:59:10 +0000 +Checked in by : Robert OSFIELD +Fixed traling spaces - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 17:13 robert +Writing matrix: +osgDB::OutputStream os(0); +std::stringstream sstream; +os.setOutputIterator(new AsciiOutputIterator(&sstream)); +os << matrix; +std::string value = sstream.str(); - * Converted osg::notify to OSG_INFO etc. +Reading matrix: +osgDB::InputStream is(0); +std::stringstream sstream(value); +is.setInputIterator(new AsciiInputIterator(&sstream)); +osg::Matrixf mat2; +is >> mat2; -2010-05-28 17:12 robert +From Robert Osfield, added doxygen comments to clarify the role of the methods. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:12 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:11 robert - * Converted osg::notify to OSG_INFO etc. +Sun, 15 May 2011 08:27:04 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, build fix -2010-05-28 17:11 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. - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 17:10 robert +Fri, 13 May 2011 11:20:48 +0000 +Checked in by : Robert OSFIELD +Improved the size, advance and bearing settings - * Converted osg::notify to OSG_INFO etc. +Thu, 12 May 2011 18:52:18 +0000 +Checked in by : Robert OSFIELD +Warning and build fixes -2010-05-28 17:10 robert +Thu, 12 May 2011 18:40:18 +0000 +Checked in by : Robert OSFIELD +Added newline to end of file - * Converted osg::notify to OSG_INFO etc. +Thu, 12 May 2011 14:07:15 +0000 +Checked in by : Robert OSFIELD +From Sukender, ported across to use the new osgDB::ExternalFileWriter -2010-05-28 17:10 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. - * Converted osg::notify to OSG_INFO etc. +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." -2010-05-28 17:09 robert +Thu, 12 May 2011 13:08:02 +0000 +Checked in by : Robert OSFIELD +Removed unused parameter - * Converted osg::notify to OSG_INFO etc. +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." -2010-05-28 17:09 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:08 robert +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. - * Converted osg::notify to OSG_INFO etc. +attached you will find the correct CMakeLists.txt +" -2010-05-28 17:08 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:07 robert +Thu, 12 May 2011 10:28:47 +0000 +Checked in by : Robert OSFIELD +Removed redundent method - * Converted osg::notify to OSG_INFO etc. +Thu, 12 May 2011 10:10:49 +0000 +Checked in by : Robert OSFIELD +Added setting of size. -2010-05-28 17:07 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. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:07 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:06 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. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:06 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 17:05 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. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:54 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:54 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. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:53 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:52 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. - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:51 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. - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:50 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. - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:50 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:49 robert - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:49 robert +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. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:48 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:48 robert +Sun, 8 May 2011 12:06:25 +0000 +Checked in by : Robert OSFIELD +Updated version number to 2.9.15 after dev release - * Converted osg::notify to OSG_INFO etc. +Sun, 8 May 2011 11:57:53 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS for 2.9.14 dev release -2010-05-28 16:47 robert +Sun, 8 May 2011 11:56:23 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog - * Converted osg::notify to OSG_INFO etc. +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(). -2010-05-28 16:45 robert +Fri, 6 May 2011 12:32:23 +0000 +Checked in by : Robert OSFIELD +Removed trailing spaces - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:44 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:44 robert - * Converted osg::notify to OSG_INFO etc. +Fri, 6 May 2011 12:30:21 +0000 +Checked in by : Robert OSFIELD +Moved constructor implementation into .cpp -2010-05-28 16:42 robert +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. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:42 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:41 robert +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. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:41 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:39 robert +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. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:39 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:38 robert +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. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:38 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:37 robert +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. - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:37 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:32 robert - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:32 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:31 robert - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:31 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:30 robert - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:30 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:29 robert - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:28 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:28 robert - * Converted osg::notify to use info +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. -2010-05-28 16:27 robert +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. - * Converted osg::notify to OSG_INFO -2010-05-28 16:27 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:26 robert +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. - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:25 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:24 robert - * Converted osg::notify to OSG_INFO +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. -2010-05-28 16:22 robert +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. - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:10 robert - * Conversion of osg::notify to OSG_INFO etc. -2010-05-28 16:09 robert - * Converted osg::notify to OSG_INFO etc. +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] -2010-05-28 16:08 robert +"_dwobj::~_dwobj()" uses delete on "obj.fc1" which is an array. It should be deleted with operator delete[]. [show details] - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:07 robert - * Converted osg::notify to OSG_INFO -2010-05-28 16:07 robert +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. - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:06 robert +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. - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:05 robert +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. - * Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 16:04 robert +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. - * Convertex osg::notify to OSG_INFO etc. +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. -2010-05-28 16:04 robert - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:03 robert - * Conversion of osg::notify to OSG_INFO etc. +Fri, 6 May 2011 09:26:14 +0000 +Checked in by : Robert OSFIELD +Updated SO version number for dev release -2010-05-28 16:03 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. - * Converted osg::notify to OSG_INFO etc. -2010-05-28 16:00 robert - * converted osg::notify to OSG_INFO etc. -2010-05-28 15:56 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. - * conversion of osg::notify to OSG_INFO etc. +CID 12262: Missing break in switch (MISSING_BREAK) +This case (value 7) is not terminated by a 'break' statement. -2010-05-28 15:53 robert +CID 12261: Missing break in switch (MISSING_BREAK) +This case (value 6) is not terminated by a 'break' statement. - * Conversion of osg::notify to OSG_INFO. -2010-05-28 15:52 robert - * Conversion of osg::notify to OSG_INFO etc. -2010-05-28 15:51 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. - * Conversion of osg::notify to OSG_INFO etc. +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. -2010-05-28 15:47 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. - * Convesion of osg::notify to OSG_INFO etc. +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. -2010-05-28 09:12 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. - * Changed debug info to use DEBUG_INFO -2010-05-28 08:57 robert - * 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 +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. - * Refactored the expiry and PagedLOD counting so that it's now done - in single - CountPagedLODsVisitor::removeExpiredChildrenAndCountPagedLODs - method -2010-05-27 15:54 robert - * Renamed osgGA::MatrixManipualtor to osgGA::CameraManipulator so - its name better reflects it's function -2010-05-27 14:35 robert +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. - * From Michael Platings, "Minor ffmpeg build fix, Replaced - IF (${FFMPEG_STDINT_INCLUDE_DIR}) - with - IF (FFMPEG_STDINT_INCLUDE_DIR)" +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. -2010-05-27 13:59 robert +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. - * From Jan Pecvia, improvements to manipulators and added new - manipulator to osgviewer +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. -2010-05-27 13:58 robert +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. - * Moved across to using more flexible dirtyMark when dirtying tiles -2010-05-26 16:10 robert - * Re-enabled boundary equalization support. -2010-05-26 08:34 robert +Fri, 6 May 2011 09:00:46 +0000 +Checked in by : Robert OSFIELD +Fixed build problem - * Fixed warnings +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("");". -2010-05-25 17:02 robert - * Fixed 3 space indenting -2010-05-25 17:02 robert - * Fixed 3 space indenting in headers. +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". -2010-05-25 16:27 robert - * Updated wrappers -2010-05-25 15:52 robert - * Removed export +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. -2010-05-25 12:05 robert - * 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 - * Quitened down debug output +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 -2010-05-24 09:44 robert - * Updated wrappers -2010-05-22 15:45 robert - * 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. +Thu, 5 May 2011 11:31:12 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2010-05-21 09:56 robert +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". - * From Wojciech Lewandowski, "Reading and Writing of - Texture2DArrays for IVE format." -2010-05-21 09:34 robert - * 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 +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. - * From Hartwig Wiesmann, fixed setup of texture coordinates for - applying a contour layer. +CID 11850: Unused pointer value (UNUSED_VALUE) +Pointer "gfd" returned by "gr->getField(80)" is never used. -2010-05-21 09:00 robert +CID 11849: Unused pointer value (UNUSED_VALUE) +Pointer "gfd" returned by "gr->getField(3)" is never used. - * Fixed warning +CID 11848: Unused pointer value (UNUSED_VALUE) +Pointer "gfd" returned by "grec->getField(3)" is never used. -2010-05-20 17:02 robert - * From Hartwig Wiesmann, "I have added some doxygen documentation - to the plane class. - " -2010-05-20 17:00 robert - * From Terry Welsh, added missing static_cast in Referenced.cpp +Thu, 5 May 2011 10:28:34 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2010-05-20 15:25 robert +Wed, 4 May 2011 16:36:35 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, build fix for gcc 4.6 - * Updated wrappers +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." -2010-05-20 13:38 robert - * Introduced a alternative implementation of observer_ptr<> that - uses ObserverSet rather than an local WeakReference object. -2010-05-19 16:43 robert +Wed, 4 May 2011 09:53:11 +0000 +Checked in by : Robert OSFIELD +Removed unncessary references to FREETYPE - * From Alok Priyadarshi, build fix for gcc. +Wed, 4 May 2011 09:48:10 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, fix for build with cmake 2.6.x -2010-05-19 13:40 robert +Tue, 3 May 2011 12:43:00 +0000 +Checked in by : Robert OSFIELD +Added OSGVIEWER_EXPORT - * Introduction an ADD_FUNCTION macro to simply the set up of the - static function mappings +Tue, 3 May 2011 10:14:34 +0000 +Checked in by : Robert OSFIELD +Added missing break; -2010-05-19 13:14 robert +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." - * From Tim Moore, fix for deadlock +Tue, 3 May 2011 09:11:04 +0000 +Checked in by : Michael PLATINGS +Updated to use FBX SDK 2012.1 -2010-05-19 08:22 robert +Fri, 29 Apr 2011 16:50:45 +0000 +Checked in by : Robert OSFIELD +Improved the handling of different combinations of slashes and dirNames. - * Fixed warning +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; -2010-05-19 08:08 robert + /** return type of file. */ + virtual FileType getFileType(const std::string& filename) const = 0; - * From Martin Naylor, "Please find attached the modified - observer_ptr include for fixing a compiler - issue for Windows and VS2008." + /** return the contents of a directory. + * returns an empty array on any error.*/ + virtual DirectoryContents getDirectoryContents(const std::string& dirName) const = 0; -2010-05-18 18:01 robert +Added implementations of these new methods into src/osgPlugins/osga/OSGA_Archive.h src/osgPlugins/osga/OSGA_Archive.cpp - * From Tim Moore, typo fix. -2010-05-18 17:58 robert - * Fixed typo -2010-05-18 15:33 robert +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. - * Added better invalidation of the inactive and active PageLOD - lists when children are invalidated when parents are removed. +Fri, 29 Apr 2011 09:16:47 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog -2010-05-18 11:00 robert +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))". - * From Wang Rui, serializers for osgSim and osgVolume +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. -2010-05-18 10:12 robert +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. - * Fixed typos in method names -2010-05-17 18:37 robert - * Updated wrappers -2010-05-17 14:43 robert +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". - * From Tim Moore, improved doxygen comments +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. -2010-05-17 14:21 robert - * Removed signalUnreffed interface -2010-05-17 09:03 robert - * From Tim Moore, refactore WeakReference/Referenced to avoid - signalling the observers when do a unref_nodelete. +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. -2010-05-17 08:29 robert +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. - * Re-ordered the inclusion of platform specific headers to fix - compile error under Windows -2010-05-14 19:47 robert - * From Alok Priyadarshi, support for statically linking to - GLES2.lib -2010-05-14 12:24 robert +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". - * Refactored Observer/ObserverNodePath and DatabasePager to improve - their robustness. +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. -2010-05-14 12:14 robert - * From Tim Moore, new more robust observer_ptr<> implementation -2010-05-13 11:01 robert - * From Farshid Lashkari, "I modified some plugins to use the osgDB - file stream functions in order to support UTF-8 encoded - filenames." +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. -2010-05-13 10:01 robert - * From Gunter Huber, fixes for better GLES2 support -2010-05-12 20:02 robert - * 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. - " +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. -2010-05-12 15:11 robert +CID 11564: Unsigned compared against 0 (NO_EFFECT) +This less-than-zero comparison of an unsigned value is never true. "cpunum < 0U". - * From Mathias Froehlich, fixed memory leak when using - OpenThread::Mutex based reference counting. -2010-05-12 14:34 robert - * 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 - * Improved the indentation/replaced tabs +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. -2010-05-12 11:44 robert - * From Sukender, "Here is a tiny fix about texture wrap mode not - being written correctly in 3DS files." -2010-05-12 11:41 robert +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. - * 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 - * Fixes for building OSG with - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. - - Fixed copy and paste error in - Camera::getImplicitBufferAttachmentResolveMask(). +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. -2010-05-12 08:54 mplatings - * 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 - * From Martins Innus: allow the fbx exporter to reference textures - correctly if the stateset is applied to the Geode instead of - Geometry +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. -2010-05-11 09:08 mplatings +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. - * Fix from Martins Innus for error: extra qualification - 'FbxMaterialToOsgStateSet::' on member 'FbxMaterialToOsgStateSet' -2010-04-30 20:04 robert - * updated wrappers -2010-04-30 19:42 robert +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. - * 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 - * Added proper support for writing out Xml graph -2010-04-30 19:41 robert +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. - * Fixed warnings +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. -2010-04-30 15:51 robert +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] - * Added beginnings of spell checking support -2010-04-30 12:22 robert - * 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 +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]". - * 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 - * Added free of _visualInfo if it's already been allocated -2010-04-30 10:51 robert +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. - * Changed debug messages to use printf to avoid issues with using - notify at startup and exit. +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". -2010-04-30 10:50 robert - * Added support for using dot graphs directly in the - token +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". -2010-04-29 15:23 robert - * 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 - * 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." +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. -2010-04-29 09:46 robert - * 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 - * Updated wrappers +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. -2010-04-28 21:22 robert - * 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 - * Fixed typo +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". -2010-04-28 20:33 robert +Tue, 26 Apr 2011 15:24:21 +0000 +Checked in by : Robert OSFIELD +Updated version after 2.9.13 dev release - * 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." +Tue, 26 Apr 2011 14:55:19 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS for 2.9.13 dev release -2010-04-28 20:21 robert +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" - * 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." +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". +" -2010-04-28 20:16 robert - * 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 +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." - * 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)" +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/ -2010-04-28 18:53 robert +Works in recent ubuntu with cmake-2.8.4 and msvc2010 with cmake-2.8.2" - * Added support for passing options to the .dot plugin -2010-04-28 18:52 robert - * Added support for passing in an options string to control the - orientation of the generated graph +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. -2010-04-28 17:29 robert +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. - * Introduced the use of ref_ptr<> in read show methods +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." -2010-04-28 17:18 robert - * Removed redundent files -2010-04-28 14:56 robert +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..." - * Added support for using graphviz dot for graphics visualization - via filename token. -2010-04-28 14:55 robert - * Fixed typo +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. -2010-04-28 14:55 robert +In my situation, this prevents a GL 3.x context from being created. +" - * Added colours and different style to drawable and statesets -2010-04-28 14:05 mplatings - * No longer removes redundant nodes because node structure may be - important. +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. -2010-04-28 10:15 robert +3rd - Change in the GLES library loading for Android. That should make GLES2 work properly. - * Replaced afprintf usage with std::string to fix memory leak and - improve portability of code. +4rth- Included two defines RGB8_OES and RGBA8_OES as a substitute in GLES for RGB8 and RGBA8 -2010-04-26 10:07 shuber +5th - OpenGL and GLSL version identification changed to recognize GLES versions properly +" - * From Stephan Huber: updated xcode-project -2010-04-23 16:35 robert - * From Roland Smeenk and Robert Osfield, improvements to the - indentation of comments. +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)) {...} -2010-04-23 09:29 robert +in the model I have tested cot->getParam()->getRef() return 0x0 and make +it crahes inside GetFloat4Param. - * 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. - " +I have added a test before calling GetFloat4Param +if (cot->getParam()->getRef() != 0 && +GetFloat4Param(cot->getParam()->getRef(), f4)) {...} +" -2010-04-23 08:58 robert - * Fixed warnings -2010-04-23 08:55 robert +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{ - * 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." + PORTRAIT_ORIENTATION = 1<<0, -2010-04-22 17:02 robert + PORTRAIT_UPSIDEDOWN_ORIENTATION = 1<<1, - * 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." + LANDSCAPE_LEFT_ORIENTATION = 1<<2, -2010-04-22 16:08 robert - - * 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 - - * 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 - - * 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 - - * Updated ChangeLog, and AUTHORS files - -2010-04-22 10:13 robert - - * From Tim Moore, added check to whether validConfigs is empty. - -2010-04-22 08:59 robert - - * 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 - - * From Torben Dannhauer, fixed typo - -2010-04-21 17:16 robert - - * 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 - - * Changed "Sorted" label to "Sorted Drawables" - -2010-04-21 16:37 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Replaced tabs with four spaces - -2010-04-20 11:34 robert - - * UPdated wrappers - -2010-04-20 11:23 robert - - * 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 - - * 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 - - * Fixed the background quad size to fit all the camera stats labels - -2010-04-20 10:59 robert - - * 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 - - * Changed the AbmientBias type from Vec2d to Vec2 as use of double - is inappropriate. - -2010-04-20 10:29 robert - - * 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 - - * From Mourad Boufarguine, "This submission fixes - osgDAE::toString(*) unresolved external symbols compile errors - (on VS)." - -2010-04-19 14:49 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * From Paul Martz, fixes for static build - -2010-04-19 08:41 shuber - - * From Stephan Huber: updated XCode project - -2010-04-15 18:40 robert - - * 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 + LANDSCAPE_RIGHT_ORIENTATION = 1<<3, - * Ran dos2unix on header files + ALL_ORIENTATIONS = PORTRAIT_ORIENTATION | PORTRAIT_UPSIDEDOWN_ORIENTATION | LANDSCAPE_LEFT_ORIENTATION | LANDSCAPE_RIGHT_ORIENTATION -2010-04-15 18:38 robert + }; - * Ran dos2unix on lib3ds files + typedef unsigned int DeviceOrientationFlags; -2010-04-15 12:51 robert +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. +" - * From J.P. Delport, Fix for invalid iterator dereference in - DatabasePager. -2010-04-15 11:49 robert - * 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." +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. -2010-04-15 11:45 robert +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. - * 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 - * From Chris Hanson, build fixes for Solaris-64 +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. -2010-04-15 11:40 robert +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" - * Changed std::pair declaration to ListTriangle::value_type to - avoid Solaris compile errors +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." -2010-04-15 11:02 robert - * 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 +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." - * Updated the plugin to be compatible with version 2011.2 of the - FBX SDK +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. +" -2010-04-14 13:39 robert - * 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 +Tue, 19 Apr 2011 11:46:05 +0000 +Checked in by : Robert OSFIELD +Removed spaces from end of lines - * Updated wrappers +Tue, 19 Apr 2011 11:40:22 +0000 +Checked in by : Robert OSFIELD +Ran svn propset -R svn:eol-style native . on the OpenSceneGraph -2010-04-13 18:42 robert +Tue, 19 Apr 2011 09:54:14 +0000 +Checked in by : Robert OSFIELD +Improved the handling of unitialized bounding box - * 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. +Tue, 19 Apr 2011 09:53:34 +0000 +Checked in by : Robert OSFIELD +Cleaned up example -2010-04-13 14:50 mplatings +Mon, 18 Apr 2011 12:58:28 +0000 +Checked in by : Robert OSFIELD +Updated SO version number - * Added support for double precision geometry +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. -2010-04-13 13:06 robert +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." - * 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. +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 -2010-04-13 09:42 robert +fit to 80 columns. This avoids difficult to read line breaks added by the +terminal program itself." - * Fixed warnings -2010-04-13 09:42 robert - * updated wrappers +Thu, 14 Apr 2011 15:22:43 +0000 +Checked in by : Robert OSFIELD +Cleaned up DXT1 support -2010-04-12 16:35 mplatings +Thu, 14 Apr 2011 15:21:53 +0000 +Checked in by : Robert OSFIELD +Added IF (WIN32) around OSG_USE_UTF8_FILENAME - * osgAnimation now stores times as doubles +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."); -2010-04-12 15:04 mplatings +And set the default not to modify and detect the RGB or RGBA pixel format for DXT images. - * From Sukender: Fixed FBX writer: now handles double precision - arrays (vertices, normals, texcoords) -2010-04-09 08:52 robert - * 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. -2010-04-03 16:26 robert - * Updated wrappers +Thu, 14 Apr 2011 09:16:09 +0000 +Checked in by : Robert OSFIELD +Added setting of the internal texture format -2010-04-03 16:21 robert +Wed, 13 Apr 2011 19:28:30 +0000 +Checked in by : Robert OSFIELD +quitened down debug output - * Change Terrain so that it subclassed from CoordinateSystemNode. - - Implemented new update scheme of GeometryTechnique to avoid - potential threading issues. - - Added Terrain support to .ive. +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. -2010-04-01 21:18 robert +Wed, 13 Apr 2011 10:44:36 +0000 +Checked in by : Robert OSFIELD +Added handling of DXT1 in osg::Image::isImageTranslucent() - * Removed getNeighbours() method to avoid problems with - introspection wrappers +Mon, 11 Apr 2011 19:11:25 +0000 +Checked in by : Robert OSFIELD +Added support for explitly requesting DXT1a and DXT1c compression -2010-04-01 21:15 robert +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." - * Removed TerrainNeightbours class from wrapping to avoid - associated build errors -2010-04-01 21:06 robert - * Added support for boundary equalization to GeometryTechnique +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. -2010-04-01 21:04 robert +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. - * Added window size event handler -2010-03-29 08:49 robert - * 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 - * 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." +Wed, 23 Mar 2011 14:01:58 +0000 +Checked in by : Robert OSFIELD +Added m4v as a handled movie file extension -2010-03-26 11:07 robert +Mon, 21 Mar 2011 21:28:35 +0000 +Checked in by : Robert OSFIELD +Added dciimage library to DCMTK libs - * Updated wrappers +Mon, 21 Mar 2011 21:28:02 +0000 +Checked in by : Robert OSFIELD +Improved handling of RGB data. -2010-03-26 09:01 robert +Sat, 19 Mar 2011 16:25:01 +0000 +Checked in by : Robert OSFIELD +Added .get() to fix build - * From Jim Brooks, fix for FreeBSD build where - FIND_LIBRARY(DL_LIBRARY..) return NOT_FOUND. +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 -2010-03-25 20:20 cedricpinson +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 - * Fix compile issue t = fmod(t, (float)_duration); +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. -2010-03-25 17:50 cedricpinson + CardiacCT - * Change time type from float to double in osgAnimation +To switch the feature off set the value to 0, i.e. -2010-03-25 14:19 robert + CardiacCT - * 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 - * 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. - " -2010-03-25 14:12 robert +Thu, 17 Mar 2011 15:37:39 +0000 +Checked in by : Robert OSFIELD +Added SampleDensityWhenMovingProperty to control LOD property of osgVolume. - * Fixed warning +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. -2010-03-25 11:11 robert +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. - * Introduced the use of linear interpolation of evelvations when - sampling +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. -2010-03-24 17:12 robert +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. - * 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. +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" -2010-03-24 14:27 robert +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." - * 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 - * Updated wrappers -2010-03-22 17:55 robert +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 - * 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, 15 Mar 2011 19:54:57 +0000 +Checked in by : Robert OSFIELD +Added support hud property for title, bullets and paragraph tags -2010-03-22 14:32 robert +Tue, 15 Mar 2011 14:04:50 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Fixed a case where getUniqueName() does not work properly" - * Changed private: to protected: to fix build issue under OSX +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 -2010-03-22 13:13 robert +Tue, 15 Mar 2011 13:53:59 +0000 +Checked in by : Robert OSFIELD +Added checked against GL version number for enabled _isTexture3DSupported. - * 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." +Tue, 15 Mar 2011 13:40:13 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2010-03-22 12:50 robert +Tue, 15 Mar 2011 13:30:27 +0000 +Checked in by : Robert OSFIELD +Added OSG_EXPORT to declaration of View::Slave. - * 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." +Tue, 15 Mar 2011 12:48:40 +0000 +Checked in by : Robert OSFIELD +Re-enabled the fallback compute of bounding volume. -2010-03-22 10:43 shuber +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 - * From Stephan Huber: updated xcode-project +Mon, 14 Mar 2011 21:36:32 +0000 +Checked in by : Robert OSFIELD +Implemented billboard="on" option for image, bullet and paragraph tags -2010-03-20 09:45 robert +Mon, 14 Mar 2011 11:29:08 +0000 +Checked in by : Robert OSFIELD +Added support for placing comments at end of each line. - * From Ulrich Hertlein, changed init() call to _init(). +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. " -2010-03-19 20:12 mplatings +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". - * Workaround for files exported from SoftImage that don't tag - skeleton nodes correctly. +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. -2010-03-19 18:28 mplatings +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)." - * From Paul Martz: This is a fix to get the FBX plugin to compile - on OS X +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." -2010-03-19 17:09 robert +Fri, 11 Mar 2011 11:20:30 +0000 +Checked in by : Robert OSFIELD +Fixed the case insenstive search under unices - * Added a minimum tiles size of 16 to prevent down sampling from - being overly aggressive. +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)" -2010-03-19 16:31 robert +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. - * Added new osgterrain example that is simplified to just basic - setup and control osgTerrain nodes, leaving the - osgthreadedterrain as the more complex example. +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 '/'. +" -2010-03-19 16:30 robert - * Renamed source file -2010-03-19 14:55 robert +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). " - * Renamed osgterrain to osgthreadedterrain to better reflect it's - functionality. +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." -2010-03-19 10:19 mplatings +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." - * Fixed an infinite loop when loading a malformed file. +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." -2010-03-18 19:02 mplatings +Wed, 9 Mar 2011 17:35:30 +0000 +Checked in by : Robert OSFIELD +Quitened down timing stats - * Workaround for models with inverted transparency +Wed, 9 Mar 2011 16:30:48 +0000 +Checked in by : Robert OSFIELD +From Johannes Baeuerle, fix for memory leak -2010-03-18 17:10 robert +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" - * Added StateSet event handler to osgfont and osgtext to aid with - debugging -2010-03-18 15:04 robert - * 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. -2010-03-18 14:41 robert +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. " - * Removed the sizeAdjustment code as it was leading to incorrect - tex coord generation and clipping of the left handside - of the text glyphs. +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). -2010-03-17 14:36 robert +Attachment contains all changed Export files in their original locations." - * 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" -2010-03-17 14:32 robert - * 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)." +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" -2010-03-17 11:35 robert +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] - * disabled timing debug info +This needs few changes: -2010-03-17 10:33 shuber +activate on global cmakelist.txt: - * From Stephan Huber: updated XCode project +[code]set_property(GLOBAL PROPERTY USE_FOLDERS On)[/code] -2010-03-16 18:53 robert +set appropriate folder names for project type in osgMacroUtils.cmake: - * Updated wrappers +[code]SET_TARGET_PROPERTIES(${CORELIB_NAME} PROPERTIES FOLDER "OSG Core")[/code] -2010-03-16 18:44 robert +similar for examples, applications" - * Updated various serialization support for .osg, .osgt/b/x and - .ive. -2010-03-16 18:43 robert - * Added BlendingPolicy support into osgTerrain::Terrain. -2010-03-16 12:05 robert - * Added - osgTerrain::TerrainTile::set/getBlendingPolicy(BlendingPolicy) to - enable control over whether the tile should have blending enabled - on it. +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. -2010-03-15 20:09 robert +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." - * Fixed recursive call due to missing _ -2010-03-15 15:10 robert - * 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. - " +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 -2010-03-15 15:01 robert +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. +" - * 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 - * 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 - - * Updated wrappers - -2010-03-15 10:32 robert - - * Refactored Texture::Extensions to simplify it and make it more - efficient. - -2010-03-14 08:56 robert - - * Added return into ReaderWriterOSG2::prepareReading(..) to prevent - bug associated with result being discarded. - -2010-03-13 11:28 robert - - * Refactored the initialization of OSX windowing settings so that - it's done on demand rather than on startup. - -2010-03-12 09:32 robert - - * Added initializer - -2010-03-12 09:10 robert - - * Changed ssize_t to int to fix windows build error - -2010-03-11 18:15 robert - - * 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 - - * 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 - - * Clean up of initialization of statics/use of getenv - -2010-03-11 14:48 robert - - * Added export for PerContextShader. - -2010-03-11 10:24 robert - - * Cleaned up the registration of wrappers so that they are done on - demand. - -2010-03-11 10:17 robert - - * Fixed warning - -2010-03-10 17:23 robert - - * 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 - - * 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 - - * 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 - - * Updated version - -2010-03-10 16:05 robert - - * 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 - - * Updated wrappers - -2010-03-10 14:29 robert - - * Update SO version number to 66 to skip over 65 value planned to - 2.8.3 - -2010-03-10 14:28 robert - - * From Vincent Bourdier, addition of out of memory read result. - -2010-03-10 13:48 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Added tests of various FileNameUtils functions, tests invoked by - osgunittests filenames - -2010-03-10 12:04 robert - - * Refactored the find_last_of to simplify it. - -2010-03-10 11:40 robert - - * 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." +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." -2010-03-10 11:09 robert +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." - * From Nico Krulthof and Jori Torres, additions for detecting OSX - 10.6 SDK and setting variable defaults accordingly. +Wed, 9 Mar 2011 11:06:36 +0000 +Checked in by : Robert OSFIELD +Updated versions for next OSG dev release -2010-03-10 11:01 robert +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 - * 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. +Tue, 8 Mar 2011 17:05:29 +0000 +Checked in by : Robert OSFIELD +Fixed error in X11 string name -2010-03-10 10:32 robert +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. - * 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... +- 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." -2010-03-10 10:10 robert - * 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 - * Added automatic updating of the OpenThreads version number from - the CMake version numbers +Tue, 8 Mar 2011 15:31:49 +0000 +Checked in by : Robert OSFIELD +Fixed indentation -2010-03-09 15:16 shuber +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. " - * From Stephan Huber: fixed xcode project again +Mon, 7 Mar 2011 14:42:47 +0000 +Checked in by : Robert OSFIELD +Added comments -2010-03-08 10:20 robert +Mon, 7 Mar 2011 13:45:58 +0000 +Checked in by : Robert OSFIELD +Changed all .c++ to .cpp's - * Added extra ffmpeg version check +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. -2010-03-05 16:17 robert +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. - * 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." +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); -2010-03-05 16:08 robert + /** Convenience method for setting up multiple slave cameras that depth partition each of the view's active cameras.*/ + bool setUpDepthPartition(DepthPartitionSettings* dsp=0); - * 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 - * Fixed warning -2010-03-05 16:04 robert +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. - * Fixed usage of osg::swapBytes to properly pass in pointer to data - that needs swapping. +Wed, 2 Mar 2011 16:40:36 +0000 +Checked in by : Robert OSFIELD +Build fix -2010-03-05 15:46 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 - * 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." +Wed, 2 Mar 2011 16:09:50 +0000 +Checked in by : Robert OSFIELD +Implemented first cut of more flexible depth partitioning code. -2010-03-05 15:36 robert +Tue, 1 Mar 2011 16:21:38 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Replaced find_first_of with find +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. -2010-03-05 15:17 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. - * Replaced find_first_of with find. +Tue, 1 Mar 2011 14:48:48 +0000 +Checked in by : Robert OSFIELD +Added support for an View::Slave::UpdateSlaveCallback -2010-03-05 15:10 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. - * 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." +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. -2010-03-05 15:08 robert +Thu, 24 Feb 2011 11:54:44 +0000 +Checked in by : Robert OSFIELD +Removed TrapezoidalShadowMap due to discovery of patent on algorithm. - * Fixes for warning from qt headers +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 -2010-03-05 15:07 robert +Wed, 23 Feb 2011 16:49:38 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Removed files that are now part of osgQt +Wed, 23 Feb 2011 16:46:34 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, intial cut at new TrapezoidalShadowMap ShadowTechnique -2010-03-05 15:05 shuber +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 - * From Stephan Huber: updated XCode project +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. -2010-03-05 15:04 robert +Wed, 23 Feb 2011 13:56:41 +0000 +Checked in by : Robert OSFIELD +Added support for negative --xMultipler, --yMultiple and --zMultiplier values - * Fixed warnings +Wed, 23 Feb 2011 12:48:17 +0000 +Checked in by : Robert OSFIELD +Added support for positive values of --xMultiple --yMultiplier and --zMultiplier -2010-03-05 12:55 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 - * 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. +Wed, 23 Feb 2011 11:43:30 +0000 +Checked in by : Robert OSFIELD +Added error reporting for old options -2010-03-05 12:53 robert +Wed, 23 Feb 2011 11:28:43 +0000 +Checked in by : Robert OSFIELD +Added -n option - * Updated version and soversion numbers +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 -2010-03-05 12:43 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. - * 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, 22 Feb 2011 11:59:51 +0000 +Checked in by : Robert OSFIELD +Added support for GL_BGR and GL_BGRA pixel formats -2010-03-05 11:30 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. - * Change Shader::getPCS(..) from protected to public scope to - enable isCompiled() method to be accessible in applications. - - Updated wrappers +Mon, 21 Feb 2011 12:29:13 +0000 +Checked in by : Robert OSFIELD +Added computePositions() call to Text3D::resizeGLObjectsBuffers(uint) -2010-03-05 11:21 robert +Mon, 21 Feb 2011 10:02:53 +0000 +Checked in by : Robert OSFIELD +Added missing Terrain.h reference - * Added an "-a" speed averager option and a "-o filename" output - option. +Sun, 20 Feb 2011 09:57:07 +0000 +Checked in by : Robert OSFIELD +Fixed build of various LiSPSM algorithms -2010-03-05 11:19 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 - * Changed Options::setDatabasePath(..) usage to - getDatabasePathList().push_front() to paths set by Options to be - picked up. +Fri, 18 Feb 2011 11:04:01 +0000 +Checked in by : Michael PLATINGS +Disabled the RGB components of the opacity texture -2010-03-05 10:58 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 - * Fixed warning + - author -2010-03-05 10:50 robert + - authoring_tool - * Fixed warning + - comments -2010-03-05 10:48 robert + - copyright - * Fixed warning + - source_data -2010-03-04 20:45 robert + - created - * From Mourad Boufarguine, "The attached CMakeLists allows building - osgQt in case BUILD_OSG_EXAMPLES is set to off. - - " + - keywords -2010-03-04 17:01 mplatings + - modified - * Added BlendFunc for transparent materials + - revision -2010-03-04 16:27 mplatings + - subject - * Fix for some FBX files with multiple meshes bound to a bone. + - title -2010-03-04 13:03 robert + - unit - * Fixed warnings + - name -2010-03-04 12:59 robert + - meter - * 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). + - up_axis -2010-03-04 12:57 robert - * 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." -2010-03-04 12:43 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." - * From Mathias Froehlich, Integration of osgText::Font with QFont - to enable use of Qt fonts and selectors in osgText. -2010-03-04 12:18 robert - * Added Export for new osgQt lib +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." -2010-03-04 12:15 robert +Mon, 14 Feb 2011 16:05:33 +0000 +Checked in by : Robert OSFIELD +Added copyop parameter to cloneOptions() method - * Moved QWebViewImage and QGraphicsViewAdapter into new osgQt - utility library. +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." -2010-03-04 12:14 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." - * Removed now redundent call to register PagedLODs +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. " -2010-03-04 11:45 robert +Mon, 14 Feb 2011 15:01:56 +0000 +Checked in by : Robert OSFIELD +Moved ProgramBinary into osg::Program scope - * Removed old net plugin that is nolonger used. This plugin can be - found in the deprecated/src/osgPlugins/net respository +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"). +" -2010-03-03 17:24 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). +" - * Ran dos2unix of files to fix issues with file endings -2010-03-03 16:40 robert - * 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. +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. -2010-03-03 16:37 robert +I extended the writer in the text path by the size information. The results before and after the fix are shown below: - * Fixed warning +Erroneous code for binary shader in osgt file before fix: -2010-03-03 16:14 mplatings +Data { + 0a + 0d + 0 + ... +} - * +Corrected code for binary shader in osgt file after fix: -2010-03-03 10:11 robert +Data 524 { + 0a + 0d + 0 + ... +} - * 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?)" +After my fix the the thrown error disappeared." -2010-03-02 18:18 mplatings - * -2010-03-01 13:10 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. - * Updated wrappers +The fix in this submission adds the check for identity of the referenced binary shaders to the shader class. -2010-03-01 13:00 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. - * 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. +With this fix I get expected behavior, the Optimizer handles the different shaders correctly." -2010-03-01 11:52 robert - * 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 - - * 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 - - * Updated wrappers - -2010-02-26 16:02 robert - - * updated wrappers - -2010-02-26 15:54 robert - - * Added spaces between < > template parts of macros to prevent - compile problems when templates as use as macro parameters - -2010-02-26 15:40 robert - - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2010-02-26 10:13 robert - - * 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 - - * 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 - - * 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 - - * From Chris Hanson, comment fix - -2010-02-26 09:33 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * From Chris Hanson, comment fix. - -2010-02-25 18:01 robert - - * 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 - - * 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 - - * 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 - - * 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 +Mon, 14 Feb 2011 12:55:44 +0000 +Checked in by : Robert OSFIELD +Set debug message to INFO - * 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." +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. -2010-02-25 17:07 robert +Mon, 14 Feb 2011 12:14:36 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * 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. - " +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. -2010-02-24 10:52 mplatings +Fri, 11 Feb 2011 11:08:00 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog - * +Fri, 11 Feb 2011 09:18:36 +0000 +Checked in by : Robert OSFIELD +Added check against the NodePath being empty. -2010-02-24 10:25 mplatings +Thu, 10 Feb 2011 14:24:39 +0000 +Checked in by : Robert OSFIELD +Tweak to output details - * +Thu, 10 Feb 2011 14:09:04 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and Contributors.cpp files -2010-02-24 10:12 mplatings +Thu, 10 Feb 2011 12:23:18 +0000 +Checked in by : Robert OSFIELD +From Martin von Gagern, build fix for latest ffmpeg changes - * +Tue, 8 Feb 2011 14:36:15 +0000 +Checked in by : Robert OSFIELD +Added const -2010-02-24 10:02 mplatings +Mon, 7 Feb 2011 14:19:58 +0000 +Checked in by : Robert OSFIELD +Implementated experimental reuse of PBO's after download - * +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 -2010-02-22 17:41 robert - * Added an empty() method -2010-02-22 10:43 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. - * Updated authors file +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. -2010-02-22 10:36 robert +Thu, 3 Feb 2011 14:27:50 +0000 +Checked in by : Robert OSFIELD +Added call to GraphicsCostEstimator::calibrate. - * Updated wrappers +Thu, 3 Feb 2011 12:42:23 +0000 +Checked in by : Robert OSFIELD +Moved GraphicsCostEstimator ref pointer into osg::State -2010-02-22 10:10 robert +Thu, 3 Feb 2011 12:22:09 +0000 +Checked in by : Robert OSFIELD +Moved GraphicsCostEstimator from osgUtil into core OSG library - * Fixed STDINT_INCLUDE path +Wed, 2 Feb 2011 17:23:12 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, build fix -2010-02-22 09:50 robert +Wed, 2 Feb 2011 16:44:21 +0000 +Checked in by : Michael PLATINGS +Updated information about the FBX SDK version - * From Trajce Nicklov, fixes to warnings +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." -2010-02-22 08:48 robert +Tue, 1 Feb 2011 12:18:47 +0000 +Checked in by : Robert OSFIELD +Fixed the setting of the Drawable modes - * Seperated out the #define of GL_PERSPECTIVE_CORRECTION_HINT to - fix GL3 build +Tue, 1 Feb 2011 12:18:22 +0000 +Checked in by : Robert OSFIELD +Added experimental timing and PBO usage into ICO+GCE classes -2010-02-22 08:39 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. - * Added missing _ptr = rp._ptr to constructor. +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/*/* -2010-02-20 17:36 robert +Mon, 31 Jan 2011 11:35:50 +0000 +Checked in by : Robert OSFIELD +svn propset svn:keywords "Author Date Id Revision" include/OpenThreads/* - * Converted View across to use ObserverNodePath. +Mon, 31 Jan 2011 10:41:17 +0000 +Checked in by : Robert OSFIELD +Set eol-style to native. -2010-02-19 21:03 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 - * Build fixes for GLES2 +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." -2010-02-19 20:58 robert - * Fixed GLES1/GLES2 build -2010-02-19 20:43 robert +Fri, 28 Jan 2011 12:34:49 +0000 +Checked in by : Robert OSFIELD +Fixed size of default font - * Added include of osg/FrameBufferObject to fix GLES1/GLES2 build - issue +Fri, 28 Jan 2011 11:07:51 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, warning fixes -2010-02-19 20:40 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" - * Build fix for GLES1 and GLES2 +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' +... -2010-02-19 20:18 robert +The attached file fixes this." - * Moved implementation of Observer destructor and constructor from - header into .cpp to avoid possible issues with imports/exports - under Windows build. -2010-02-19 20:14 robert - * Added check against OSG_GL3_AVAILABLE to avoid issues with GL3 - build under linux +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." -2010-02-19 20:11 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" - * Added #include , convert osg::notify usage to - OSG_NOTICE +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. +" -2010-02-19 19:50 robert - * Clean up observer_ptr<> and removed the eronous casting of ptr in - objectDeleted. -2010-02-19 19: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. - * Updated wrappers +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." -2010-02-19 18:56 robert - * Removed the uncessary subclassing from osg::Object as this base - class is already pullled via ViewerBase -2010-02-19 16:04 robert - * Added mutex lock to destructor. +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 -2010-02-19 15:41 robert +I try to explain my changes - * Replaced local mutex with getObserverMutex(). +we need something that is identify key without modifier keys and layout -> this is UnmodifedKey -2010-02-19 14:30 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. - * From Fabien Lavignotte, "In order to compile on Windows with - Wrappers ON, some exports are still missing on - osgPresentation::AnimationMaterialCallback and - osgUtil::IncrementalCompileOperation::CompileSet." +Mikhail Izmestev helped me. He implemented VirtualKey changes in GraphicsWindowX11" -2010-02-19 14:05 robert - * Removed no longer defined methods and updated wrappers -2010-02-19 09:32 robert +Thu, 27 Jan 2011 09:41:37 +0000 +Checked in by : Robert OSFIELD +Removed the executable property from source files - * Updated contributors list for 2.9.7 release +Wed, 26 Jan 2011 18:47:55 +0000 +Checked in by : Robert OSFIELD +Implement first pass at texture compile estimation -2010-02-19 09:21 robert +Wed, 26 Jan 2011 16:47:40 +0000 +Checked in by : Robert OSFIELD +Replaced CompileStats with GraphicsCostEstimator - * Updated ChangeLog +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." -2010-02-19 09:02 robert +Wed, 26 Jan 2011 16:45:36 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, build fix for Solaris - * Added an InitGlobalMutexes to enforce early construction and - hence late destruction of singleton mutexes. +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. :-) " -2010-02-18 22:53 robert +Wed, 26 Jan 2011 12:51:46 +0000 +Checked in by : Robert OSFIELD +Moved GraphicsCostEstimator into osgUtil. - * Added newline. +Wed, 26 Jan 2011 12:07:56 +0000 +Checked in by : Robert OSFIELD +Implemented first pass at geometry cost estimation. -2010-02-18 22:20 robert +Tue, 25 Jan 2011 16:48:53 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * From Mourad Boufarguine, fixed typo. +Tue, 25 Jan 2011 11:11:47 +0000 +Checked in by : Robert OSFIELD +Further work on GraphicsCostEstimator classes -2010-02-18 22:17 robert +Mon, 24 Jan 2011 21:12:25 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, build fixes - * Updated wrappers +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. -2010-02-18 22:17 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 - * Updated wrappers +Fri, 21 Jan 2011 14:11:22 +0000 +Checked in by : Robert OSFIELD +Added #include to fix build -2010-02-18 21:24 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. - * Updated version number of OpenThreads to reflect recent changes +I did " -2010-02-18 21:21 robert - * Completed usage of ObserverNodePath to fix longstanding crash - that occurred when nodes in parental chain of a newly loaded node - had been deleted. -2010-02-18 21:21 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) - * 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. +Fri, 21 Jan 2011 11:46:15 +0000 +Checked in by : Robert OSFIELD +From Sukender, getPathRelative() method. -2010-02-18 21:18 robert +Thu, 20 Jan 2011 12:34:41 +0000 +Checked in by : Robert OSFIELD +Added export to see if it address Mingw link problems - * 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 +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) +" -2010-02-18 21:17 robert - * Added className() to assist with debugging -2010-02-18 21:15 robert +Thu, 20 Jan 2011 12:27:51 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, warning fixes - * Changed controls for changing animation speed to '(' and ')' to - avoid overlap with window resize handler. +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.) -2010-02-18 20:14 robert +To partially overcome these limitations, please find attached modified versions of - * Refactored the ReentrantMutex support so that it utilises the - underling thread implementation for recusive mutex support. +src/osgPlugins/ply/vertexData.cpp +src/osgPlugins/ply/vertexData.h -2010-02-18 09:00 robert +The changes I've made are: - * Added new setNodePathTo() method +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)." -2010-02-17 10:09 robert - * Fixed double addition of source node when doing - ObserverNodPath::setNodePathTo() - - Fixed comment in Referenced.cpp -2010-02-16 17:38 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: - * Added className() implementation to help wiht debugging. +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." -2010-02-16 14:05 robert - * Fixed crash -2010-02-16 11:10 robert +Wed, 19 Jan 2011 10:38:39 +0000 +Checked in by : Robert OSFIELD +From Sukender, normalized option names - * Threads safety fixes based on suggestions from Tim Moore. +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" -2010-02-16 08:53 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 &)" - * Updated wrappers +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." -2010-02-15 23:47 cedricpinson +Wed, 19 Jan 2011 09:34:26 +0000 +Checked in by : Robert OSFIELD +From Sukender and Robert Osfield, clean up of options - * From Jeremy Moles, add new EaseMotion and add example - osganimationeasemotion to demonstrate them +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: -2010-02-15 20:15 robert +#define MYMACRO(NAME) myOutputStream << #NAME; +MYMACRO(Group) - * Upadted wrappers +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. -2010-02-15 20:15 robert +So the simple solution to this is to add operator<<(const char*), attached. +" - * Refactor various NodeTracker and MatrixManipulator classes to use - the osg::ObserverNodePath and osg::oberserver_ptr<> classes -2010-02-15 20:14 robert - * 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. +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. -2010-02-15 20:12 robert +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. - * 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. +Tue, 18 Jan 2011 09:54:47 +0000 +Checked in by : Robert OSFIELD +Build fix -2010-02-15 11:36 robert +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. - * Added osg:: qualifyer to OSG_NOTIFY macro +Mon, 17 Jan 2011 09:10:14 +0000 +Checked in by : Robert OSFIELD +Added getNum methods -2010-02-12 11:45 robert +Sat, 15 Jan 2011 18:12:19 +0000 +Checked in by : Robert OSFIELD +First steps on the path to integrating ImageProcessor - * 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. +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". -2010-02-11 11:56 robert +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)" - * 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" +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. -2010-02-11 11:17 robert +You may turn on the feature with the new --fixedDraggerSize argument: - * 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." +# osgmanipulator.exe --fixedDraggerSize --dragger TranslateAxisDragger +cessna.osg +" -2010-02-11 11:13 robert - * 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 +Fri, 14 Jan 2011 12:03:37 +0000 +Checked in by : Robert OSFIELD +From Sukender, "TIFF plugin now outputs messages coming from libtiff. " - * Fixed the rotation of normals +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" -2010-02-11 09:13 robert +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 - * Added futher use of readSize/writeSize. +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." -2010-02-10 19:36 robert +Thu, 13 Jan 2011 18:49:12 +0000 +Checked in by : Robert OSFIELD +Updated so version number - * 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. +Thu, 13 Jan 2011 18:05:59 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, added missing ImageProcessor header reference -2010-02-10 17:03 robert +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. - * 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 - * Fixed automatic loading of plugins +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. -2010-02-10 15:18 robert +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. - * Changed NOTIFY to OSG_NOTIFY +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. -2010-02-10 12:48 robert - * Fixed typo -2010-02-10 12:44 robert - - * Convert NOTIFY to OSG_NOTIFY to avoid problems with polution of - users apps with the NOTIFY macro - -2010-02-10 11:21 robert - * Added pruning of requests that haven't been reissued since the - last frame. +Wed, 12 Jan 2011 17:39:35 +0000 +Checked in by : Robert OSFIELD +Fixed comment -2010-02-09 19:30 robert +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." - * Added enabling of threadsafe ref/unref in FileCache. +Tue, 11 Jan 2011 17:29:11 +0000 +Checked in by : Robert OSFIELD +Changed dos endings to unix line endings -2010-02-09 18:24 robert +Tue, 11 Jan 2011 17:23:22 +0000 +Checked in by : Robert OSFIELD +From Mikhail Izmestev, "Current osgManipulator::AntiSquishCallback stops update traversal of childrens." - * Converted osg::notify usage to NOTIFY +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." -2010-02-09 17:39 robert - * 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 +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." - * Added extra elaspedTime_*() methods to help with reporting times - in milliseconds etc. -2010-02-04 10:20 robert - * 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." +Tue, 11 Jan 2011 17:05:24 +0000 +Checked in by : Robert OSFIELD +Changed debug messages to INFO -2010-02-03 09:35 robert +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. - * Added #define for GL3 build +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. -2010-02-03 09:35 robert +" - * Added #defines for GL3 build -2010-02-02 11:16 robert - * 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. +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." -2010-02-02 11:02 robert +Tue, 11 Jan 2011 16:18:49 +0000 +Checked in by : Robert OSFIELD +From Guy Volckaert, warning fixes - * Fixed indentation. +Tue, 11 Jan 2011 11:39:50 +0000 +Checked in by : Robert OSFIELD +Added more flexible testing of Text3D -2010-02-01 10:04 robert +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. - * From Serge Lages, build fix +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. -2010-01-31 18:24 robert +Wed, 5 Jan 2011 11:43:37 +0000 +Checked in by : Robert OSFIELD +Added check for invalid face size to prevent a crash - * Build fixes for build without ref_ptr<> automatic type conversion +Tue, 4 Jan 2011 10:21:50 +0000 +Checked in by : Robert OSFIELD +Added extra checks to osg::Geometry::verifyArrays(std::ostream&) -2010-01-31 18:23 robert +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. - * From Jan Peciva, improvements to Inventor find operation -2010-01-31 12:55 robert - * 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" +Fri, 24 Dec 2010 19:47:31 +0000 +Checked in by : Robert OSFIELD +Added iterator include -2010-01-29 17:20 robert +Fri, 24 Dec 2010 19:19:48 +0000 +Checked in by : Robert OSFIELD +Refactored IncrementalCompileOperation to make it more flexible. - * Changed GeometryTechnique::private to protected, updated wrappers +Thu, 23 Dec 2010 13:11:15 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2010-01-29 14:55 robert +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 - * From Trajce Nikolov, bug fixes +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." -2010-01-29 11:58 robert +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." - * Removed redudent string; +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." -2010-01-29 11:35 robert +Wed, 22 Dec 2010 20:11:05 +0000 +Checked in by : Robert OSFIELD +Converted FrameStamp::g/setFrameNumber from int to uint - * From Wang Rui, osgText serializers and support for - PagedLOD+ProxyNode +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. -2010-01-28 12:10 robert +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. - * Updated wrappers +Tue, 21 Dec 2010 10:23:31 +0000 +Checked in by : Robert OSFIELD +Improved indentation to make it more readable and consistent with OSG. -2010-01-28 11:47 robert +Tue, 21 Dec 2010 09:36:03 +0000 +Checked in by : Robert OSFIELD +Cleaned up the frame number increment. - * Updated wrappers +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... -2010-01-28 11:44 robert +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..." - * Fixed typo -2010-01-28 10:59 robert - * From Martin Lambers, "Fix static linking with EXR plugin on - MinGW" -2010-01-28 10:45 robert +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) - * 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 +· lines (simple line clip—replace the external point) -2010-01-28 08:59 robert +· quadrilaterals (call operator() for triangles twice)" - * Added files back in with the execution bit correctly disabled. -2010-01-28 08:58 robert - * 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 +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." - * From Wang Rui, added osgParticle serializers -2010-01-27 17:12 robert - - * 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 - - * 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 - - * From Trajce Nikolov, improvements to osgWidget::Input including - selection support - -2010-01-27 15:53 shuber - - * From Stephan Huber: updated XCode project - -2010-01-27 15:37 cedricpinson - - * From Cedric Pinson, remove unused file, fix crash for old files - -2010-01-27 15:00 robert - - * Updated wrappers - -2010-01-27 13:12 robert - - * Updated wrappers - -2010-01-27 13:12 robert - - * Updated wrappers - -2010-01-27 12:24 robert - - * 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 - - * Updated wrappers - -2010-01-26 17:04 robert - - * 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 - - * From Trajce Nikolov, various improvements of the workings of - osgWidget::Input. - -2010-01-26 16:50 robert - - * From Juan Hernando, fixed typo in handling of RGBA and BGRA data - -2010-01-26 16:48 robert - - * Added .get() to fix build - -2010-01-26 16:41 robert - - * Updated wrappers - -2010-01-26 16:30 robert - - * 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 - - * 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 - - * 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 - - * Removal of redundant spaces at ends of lines - -2010-01-26 14:54 robert - - * updated wrappers - -2010-01-26 13:05 robert - - * 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 +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 - * 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)" +Mon, 20 Dec 2010 12:03:56 +0000 +Checked in by : Robert OSFIELD +Fixed memory leak by introducing use of ref_ptr<> -2010-01-26 11:16 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) - * 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." +tries to use null pointer when model is not provided. +I added simple comment in attached file." -2010-01-26 10:37 robert - * Changed doxygen comments to signal deprecation of this old IO - classes -2010-01-25 18:08 robert - * Removed inapprorpiate OSGDB_EXPORT -2010-01-25 17:07 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 . - * Refactored the DotOsgWrapper support in osgDB::Registry so it's - now provided by the osgDB::DeprecatedDotOsgWrapperManager. +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." -2010-01-25 15:25 robert +Fri, 17 Dec 2010 13:43:41 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, fix for race conditions in takeOrGenerate() methods - * Updated wrappers +Fri, 17 Dec 2010 11:46:42 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2010-01-25 15: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. - * Moved the declaration of osgDB::Field, FieldReader and - FieldReaderIterator into include/osg/Input to centralise all the - deprecated .osg parsing code into one place. +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. -2010-01-25 12:48 robert +Wed, 15 Dec 2010 19:44:29 +0000 +Checked in by : Robert OSFIELD +Fixed the size computation - * Removed deprecated classes +Wed, 15 Dec 2010 16:30:48 +0000 +Checked in by : Robert OSFIELD +Removed no longer used static member variables -2010-01-25 11:40 robert +Wed, 15 Dec 2010 12:34:16 +0000 +Checked in by : Robert OSFIELD +Improvements to GLBufferObject and TextureObject pools - * Added back in StreamOperation with executation bit disabled +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. -2010-01-25 11:39 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. - * Temporily removed StreamOperation as it had execution bit enable - for it. +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. -2010-01-25 11:03 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. - * From Wang Rui, refactored the InputStream/OutputStream operations - so that the binar/ascii foramts are implemented via subclasses. +Tue, 14 Dec 2010 15:28:31 +0000 +Checked in by : Robert OSFIELD +Removed redundent MinimumNumberOfTextureObjectsToRetainInCache static variable -2010-01-22 20:47 robert +Tue, 14 Dec 2010 14:32:16 +0000 +Checked in by : Robert OSFIELD +Improved the parsing of output filename - * 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. +Tue, 14 Dec 2010 13:43:32 +0000 +Checked in by : Robert OSFIELD +Added GLBufferObjectManager::reportStats() -2010-01-22 20:35 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. - * Seting the notifcation level of debug message to INFO. +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. -2010-01-22 16:13 robert +This should make it even easier to create distribution packages for the various linux, windows and mac distribution methods supported by CPack." - * Reverted fixes for Mingw as they break OSX build -2010-01-22 15:16 robert - * 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 +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. - * Added extra export for windows build +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: -2010-01-21 16:07 robert +./osgposter --output-poster --poster output.bmp --tilesize 800 600 +--finalsize 8000 6000 cow.osg --inactive --camera-eye 0 0 20 +" - * 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 - * From Stephan Huber: updated XCode project +Mon, 13 Dec 2010 17:54:27 +0000 +Checked in by : Robert OSFIELD +Renamed osgviewerQtContext to osgviewerQt, and removed deprecated examples from CMakeLists.txt -2010-01-21 10:24 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 - * Added support for passing on slave Camera's StateSet's to the - rendering backend. +Mon, 13 Dec 2010 17:50:00 +0000 +Checked in by : Robert OSFIELD +Moved osgbrowser into svn/trunk. -2010-01-21 09:25 robert +Mon, 13 Dec 2010 17:49:37 +0000 +Checked in by : Robert OSFIELD +Move osgcegui into deprecated - * From Wang Rui, added exports for windows build +Mon, 13 Dec 2010 17:37:42 +0000 +Checked in by : Robert OSFIELD +Have moved FindXUL.cmake to deprecated -2010-01-20 20:13 robert +Mon, 13 Dec 2010 17:36:02 +0000 +Checked in by : Robert OSFIELD +Have moved gecko plugin to deprecated - * 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 +Mon, 13 Dec 2010 17:09:31 +0000 +Checked in by : Robert OSFIELD +Added resizeGLObjectBuffers(uint) and relaseGLObjects(State*) to BufferData. -2010-01-20 10:35 robert +Mon, 13 Dec 2010 16:25:50 +0000 +Checked in by : Robert OSFIELD +Moved GraphicsWindowQt from osgviewerQtContext into osgQt. - * Introduced file globbing to deprecated-dotosg directories and - added new serializers direcotory in prep for new serializers +Mon, 13 Dec 2010 13:41:42 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2010-01-19 13:31 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. - * Replaced osgDB::RegisterDotOsgWrapperProxy usage with - REGISTER_DOTOSGWRAPPER proxy to aid static linking +Start the program like this: -2010-01-19 12:36 robert +./osgposter --output-poster --poster output.bmp --tilesize 800 600 --finalsize 8000 6000 cow.osg - * Added CmakeList.txt for new wrapper plugins +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. :) -2010-01-19 12:26 robert +The command below may also help: - * Refactored the old style .osg plugin support so that the - DotOsgWrappers are placed in their own dedicated plugins found in - src/osgWrappers/deprecated_osg +./osgposter --help + " -2010-01-19 12:24 robert - * Inserted /introspection/ into path of osgIntrospection wrappers -2010-01-19 10:31 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. - * 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 +* the registry releases gl objects of the shared state manager + " -2010-01-19 09:54 shuber - * From Stephan Huber: updated XCode projects -2010-01-18 20:49 robert +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. - * Added introspection directory +Please add a line: -2010-01-18 19:56 robert +FIND_PACKAGE(DirectInput) - * Regenerated introspection wrappers in their new location +in the CMakeLists of root directory. And in the examples/CMakeLists.txt: -2010-01-18 19:43 robert +IF(DIRECTINPUT_FOUND) + ADD_SUBDIRECTORY(osgdirectinput) +ENDIF(DIRECTINPUT_FOUND) - * Cleaned out all wrappers as will be moving them all into - src/osgWrappers/introspection directory, and use genwrapper to - generate the new ones +DirectX SDK 2009 is used here, but an older version like DX8 should +also work in my opinion. +" -2010-01-18 16:39 robert - * Added #include for Mingw build -2010-01-18 16:38 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." - * Restructure the includes of freetype +Sun, 12 Dec 2010 10:00:57 +0000 +Checked in by : Robert OSFIELD +Added TODO notes -2010-01-18 14:27 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 - * From Jean-Sebastien Guay, build fixes for Mingw +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" -2010-01-18 13:00 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." - * Updated wrappers +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. " -2010-01-18 12: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." - * 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 - * 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. +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. " -2010-01-14 15:15 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 - * Added setting of the charcode during construction of - osgText::Font::Glyph() +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." -2010-01-14 15:15 robert - * Updated so version -2010-01-13 18:50 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 - * Updated rev number for 2.9.7 dev release as ABI compatibility has - been broken +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 -2010-01-13 18:50 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 - * Updated wrappers and supported shadow texture formats +Wed, 8 Dec 2010 11:01:37 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.9.11 dev release -2010-01-13 18:46 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. " - * For backwards compatiblity add a staic void - BufferObject::deleteBufferObject(unsigned int contextID,GLuint - globj) method. +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 -2010-01-13 14:57 robert +Wed, 8 Dec 2010 09:52:58 +0000 +Checked in by : Robert OSFIELD +Fixes for benign threading memory contentions. - * Updated wrappers +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 -2010-01-13 14:16 robert +Fri, 3 Dec 2010 19:04:50 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS for release - * Moved dispatch/recieve methods into public scope to allow easier - custom usage. +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()); -2010-01-13 13:31 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. +" - * Updated wrappers -2010-01-13 13:30 robert - * Changed get methods to new style ones. +Fri, 3 Dec 2010 17:20:32 +0000 +Checked in by : Robert OSFIELD +Removed redundent call. -2010-01-13 13:30 robert +Fri, 3 Dec 2010 14:24:23 +0000 +Checked in by : Robert OSFIELD +Commented out debug message - * 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. +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 -2010-01-13 13:09 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 - * Added missing .get()'s +- src/osgDB/CMakeLists.txt +-- don't link against Carbon on iOS (device or simulator) -2010-01-13 11:45 robert +- src/osgPlugins/freetype/CMakeLists.txt +-- don't link against OpenGL on iOS device or simulator - * Added missing .get() to fix build when compiling with no - automatic type convention in ref_ptr<> +- src/osgViewer/CMakeLists.txt +-- link against OpenGLES on iOS (device or simulator) -2010-01-13 10:46 robert +- src/osgPlugins/imageio/CMakeLists.txt +-- compile ReaderWriterImageIO_IOS.cpp as Objective-C++ - * From Sukender, warning fix. +" -2010-01-12 11:12 robert - * Convert dos line endings -2010-01-12 10:00 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." - * Updated wrappers -2010-01-11 17:36 robert - * 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 +Thu, 2 Dec 2010 14:01:54 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix to fix line endings - * Added missing .get() +Thu, 2 Dec 2010 13:53:10 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, commented out debug messages -2010-01-11 16:09 robert +Thu, 2 Dec 2010 09:39:31 +0000 +Checked in by : Robert OSFIELD +Removed redudent makeCurrentImplementation() that was causing a crash in osgscreencapture. - * From Sukender, introduced usage of ref_ptr<> and local - scoped_array to address more robust memory management. +Wed, 1 Dec 2010 20:14:34 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and Contributors.cpp to reflect new ChangeLog correctly -2010-01-11 16:03 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:" - * Added desctructor with jas_cleanup(). -2010-01-11 14:28 robert - * 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)" +Wed, 1 Dec 2010 14:03:10 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2010-01-11 14:04 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." - * From Sukender, "a small fix about using non 3-charcacters long - file extensions (such as "jpeg", to be converted to "jpg")." +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." -2010-01-08 11:47 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 - * Updated wrappers +Tue, 30 Nov 2010 12:34:06 +0000 +Checked in by : Robert OSFIELD +Added passing of existingObj parameter -2010-01-08 11:40 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Added newline at end of file to fix warning - -2010-01-07 19:13 robert - - * Fixed writing out of ATOM. - -2010-01-07 19:08 robert - - * From Jean-Sebastien Guay, fix to handling of xml node with - contents by not children - -2010-01-07 17:36 robert - - * From Jean-Sebastien Guay, fixed handling of < tag /> xml syntax - -2010-01-07 17:20 robert - - * 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 - - * 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. - " +Tue, 30 Nov 2010 11:34:33 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, compile fix for iOS -2010-01-07 14:35 robert +Tue, 30 Nov 2010 09:26:18 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein and Stephan Huber, improves to iOS build - * 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. +Tue, 30 Nov 2010 08:12:06 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, Compile fixes -2010-01-07 12:14 robert +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; - * 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. +* 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; -2010-01-07 10:01 robert +* 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." - * Fixed warnings -2010-01-07 09:45 robert - * 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)." -2010-01-07 09:43 robert - * Imporoved spacing +Mon, 29 Nov 2010 09:32:43 +0000 +Checked in by : Robert OSFIELD +Removed deperecated variables that are no longer used. -2010-01-07 09:11 robert +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 - * Reordered the readAllDataIntoBuffer() to avoid bug in failing on - all calls to readXmlParser(..) +Please credit Thomas Hogarth and Stephan Huber for these changes. -2010-01-06 15:43 robert +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. - * Updated wrappers +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." -2010-01-06 10:41 robert +Notes, from Robert Osfield, modified CMakeLists.txt files so that the IOS specific paths are within IF(APPLE) blocks. - * Fixed type of index to int. -2010-01-05 20:03 robert - * Replaced nullptr with isNullPointer -2010-01-05 11:15 robert +Fri, 26 Nov 2010 17:37:42 +0000 +Checked in by : Robert OSFIELD +From Katharina Plugge, fix for regression in handling of multitexturing. - * Updated wrappers +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 -2010-01-05 11:15 robert +Fri, 26 Nov 2010 17:32:10 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Added support for call root Camera CullCallbacks +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. -2010-01-05 11:10 robert +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." - * Fixed indentation +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." -2010-01-05 11:09 robert +Fri, 26 Nov 2010 12:22:06 +0000 +Checked in by : Robert OSFIELD +Removed debug messages - * Added set/getDistance() method +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" -2010-01-04 15:54 shuber - * From Stephan Huber: updated XCode-project -2009-12-22 14:09 cedricpinson +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" - * From Cedric Pinson, remove unused file Skinning, cleanup file - Timeline.cpp -2009-12-16 15:48 robert - * 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. -2009-12-16 15:12 robert - * Updated ChangeLog and AUTHORS.txt to mark the point in time that - the OpenSceneGraph gained it's 400th contributor! +Thu, 25 Nov 2010 13:00:24 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, fix to stats timing -2009-12-16 15:05 robert +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. - * 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." +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. " -2009-12-16 12:17 robert +Thu, 25 Nov 2010 11:59:33 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "applications/osgconv: fix typo in tool optionstransprent -> transparent" - * Removed old texture object manage code. -2009-12-15 17:25 robert - * From Sukender, warning fix +Thu, 25 Nov 2010 11:40:09 +0000 +Checked in by : Robert OSFIELD +Removed default assignement of GeometryTechnique as the TerrainTechniquePrototype. -2009-12-15 15:55 shuber +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." - * From Stephan Huber: updated XCode-project -2009-12-15 14:45 robert - * Fixed compile warnings +Wed, 24 Nov 2010 20:20:57 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, build fixes for windows. -2009-12-15 14:44 robert +Wed, 24 Nov 2010 17:01:09 +0000 +Checked in by : Robert OSFIELD +Added workaround for AMD/ATI driver bug - * Fixed compile warnings +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."" -2009-12-15 14:40 robert - * Fixed warning -2009-12-15 12:37 robert +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." - * From Tanguy Fautre and Robert Osfield, updated tristripper code - to use the latest tristripper_r94 code. +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 -2009-12-15 11:47 robert +Tue, 23 Nov 2010 14:50:31 +0000 +Checked in by : Robert OSFIELD +From Holger Helmich, Tessellation shader support - * Updated version to 2.9.7 in prep for next dev release +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. -2009-12-15 11:27 robert - * From Julen Garcia, "So here is the code with a proper audio sync - (at least in my computer)" +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. -2009-12-15 09:16 robert +Problem 3: +Bad calcul in +osgShadow::ParallelSplitShadowMap::calculateLightViewProjectionFormFrustum(..) +provide some visual error in specific configuration. - * Changed GL_BGRA_EXT to GL_BGRA and added include of - include/osg/Image to make sure define is declared -2009-12-14 13:42 robert +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" - * Renamed osg::GraphicsContext::OperationQueue typedef to - GraphicsOperationQueue to avoid naming conflict with - osg::OperationQueue -2009-12-14 12:50 robert +As you can see in pssm_bug.jpg and pssm_fix.jpg, performance is really better when Problem 1 is fixed. +" - * Added checked against QT webkit being available -2009-12-14 12:49 robert - * Fixed warnings +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 -2009-12-10 17:52 robert +Mon, 22 Nov 2010 19:18:00 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * From Stephan Huber, "attached you'll find the missing - GraphicsHandleCocoa-implementation." +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." -2009-12-10 12:58 robert +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." - * Updated ChangeLog and README.txt for 2.9.6 dev release +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. -2009-12-10 12:14 robert +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. - * Updated AUTHORS file for 2.9.6 dev release +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 )" -2009-12-10 12:13 robert - * Updated Contributors list to workaround typos in ChangeLog -2009-12-10 11:46 robert - * Updated ChangeLog +Mon, 22 Nov 2010 15:52:20 +0000 +Checked in by : Robert OSFIELD +Fixed indentation -2009-12-10 11:30 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." - * Updated wrappers +Mon, 22 Nov 2010 11:22:03 +0000 +Checked in by : Robert OSFIELD +Fixed typo of commercial -2009-12-10 11:30 robert +Mon, 22 Nov 2010 10:41:04 +0000 +Checked in by : Robert OSFIELD +From Hartwig Wiesmann, fix to font search path under OSX. - * 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." +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." -2009-12-10 11: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. +" - * Fixed bug in positioning of 3d text characters -2009-12-09 23:42 cedricpinson - * From Cedric Pinson, add missing file +Fri, 19 Nov 2010 18:07:17 +0000 +Checked in by : Robert OSFIELD +From Sukender, fix for precision of Plane::asVec4() -2009-12-09 18:45 cedricpinson +Fri, 19 Nov 2010 17:47:53 +0000 +Checked in by : Robert OSFIELD +Commented out debug output - * 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 +Fri, 19 Nov 2010 17:47:30 +0000 +Checked in by : Robert OSFIELD +Update SOVERSION -2009-12-09 14:34 robert +Fri, 19 Nov 2010 09:57:56 +0000 +Checked in by : Robert OSFIELD +Update Text wrappers to handle new Color member - * 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 -2009-12-09 13:55 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 - * Fixed support for compiling VBO's +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. -2009-12-09 13:51 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. - * Added a Geometry::compileGLObjects() to handle compilation of VBO - + EBO's. +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 -2009-12-09 13:13 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 - * From Ulrich Hertlein, removed email address +Wed, 17 Nov 2010 10:16:45 +0000 +Checked in by : Robert OSFIELD +Added quite size test. -2009-12-09 10:18 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}" - * From Ulrich Hertlein, .osg support for osgFX::Outline +Fri, 12 Nov 2010 11:04:53 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2009-12-09 09:37 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. - * Compile fixes for GLES +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. -2009-12-09 09:36 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. - * From Robert Milharcic, added missing OSGFX_EXPORT +3. Modify the ReaderWriterOSG.cpp to prevent calling loadWrappers() +when static build. -2009-12-08 17:41 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. +" - * From Ulrich Hertlein, "attached is a stencil buffer-based - constant-width outline f/x with example. I've also modified - osgfxbrowser to setup the stencil buffer accordingly." -2009-12-08 17:41 robert - * From Thomas Halgarth, mods for Iphone GL headers +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." -2009-12-08 17:33 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." - * 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. +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. -2009-12-08 17:25 robert - * 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 - * Fixed typo +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." -2009-12-08 16:02 robert - * 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 +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. - * Updated wrappers +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 -2009-12-08 15:38 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." - * Added virtual declaration for a range of osg::Image method to - allow easier customization. +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). -2009-12-08 14:40 shuber +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 +" - * From Stephan Huber: updated XCode project -2009-12-08 14:25 robert - * 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 +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. - * Re-order the setting of the VBO's +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 -2009-12-07 12:35 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. - * Converted tabs to four spaces +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): -2009-12-05 10:13 robert +REGISTER_OBJECT_WRAPPER( Geode, ... ) +{ + ADD_USER_SERIALIZER( Drawables ); // origin ones - * Updated wrappers + UPDATE_TO_VERSION( 65 ) + { + ADD_USER_SERIALIZER( Test ); // a serializer added from version 65 + } +} -2009-12-05 10:02 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. - * Removed unimplemented updateGraph method +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: -2009-12-04 17:25 robert +UPDATE_TO_VERSION( 70 ) +{ + REMOVE_SERIALIZER( Test ); +} - * 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. - - " +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. +" -2009-12-04 17:24 robert - * Converted tabs to four space -2009-12-04 11:31 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. - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Quitened down debug info - -2009-12-02 12:37 robert - - * 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 - - * Quiten down debugging message - -2009-11-30 13:44 robert - - * Updated wrappers - -2009-11-27 18:14 robert - - * Attempted compile fix. - -2009-11-27 16:47 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2009-11-27 11:43 robert - - * Implement deleteAllTextureObject/BufferObjects functionality. - - Cleaned up warnings. - -2009-11-26 12:33 robert - - * Introduced preliminary osg::deleteAllGLObjects() and - osg::discardAllGLObjects() functions and associated support into - Texture and BufferObjects - -2009-11-26 10:12 robert - - * Added check for Geometry pointer being valid - -2009-11-25 16:31 robert - - * 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 - - * Added support for repeating viewer construction - -2009-11-25 11:31 robert - - * From Sergey Leontyev, example for testing of DatabasePaging and - CompositeView usage - -2009-11-24 15:26 robert - - * Updated wrappers - -2009-11-24 15:00 robert - - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2009-11-24 14:12 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated version - -2009-11-23 09:53 robert - - * From Paul Martz, typo fixes - -2009-11-22 17:27 robert - - * Added missing createContextImplementation(). - -2009-11-21 16:41 robert - - * 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 - - * 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 - - * Moved the ImagePager update to before the main scene graph update - traversal - -2009-11-20 14:39 robert - - * 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 - - * 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 - - * Updated wrappers - -2009-11-20 12:32 robert - - * 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 - - * 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 - - * From Colin McDonald, "Reading from a stream the 3ds plugin - crashes if the options are null." - -2009-11-20 11:39 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Added #include - -2009-11-20 09:03 robert - - * From Jan Ciger, removal of declaration of now undefined method. - -2009-11-19 17:42 robert - - * 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 - - * From Lilin Xiong, added missing OSG_EXPORT - -2009-11-19 17:22 robert - - * 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 - - * 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 - - * Fixed tabs - -2009-11-19 16:53 robert - - * Fixed spacing - -2009-11-19 16:45 robert - - * From Nico Krulthof, remove double qualifier of ReaderWriterQT - constructor/destructor. - -2009-11-19 16:43 robert - - * Changed the placement of the autogenerated Version file so it - drops into the in source directory. - -2009-11-19 16:39 robert - - * From Wojciech Lewandowski, refactor to FBO setup to use the - osg::Camera implicit buffer attachements. - -2009-11-19 16:06 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed spaces at ends of lines - -2009-11-19 11:44 robert - - * 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 - - * 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 - - * From J.P. Delport, "simple addition to make the scroll wheel work - in the example." - -2009-11-19 11:16 robert - - * 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 - - * Fixed build - -2009-11-19 10:12 robert - - * Updated wrappers - -2009-11-19 10:10 robert - - * 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 - - * Removed include/osg/Config as it was causing problem with Windows - build - -2009-11-18 16:24 robert - - * Moved the set of include/osg/Version into Cmake - -2009-11-18 14:08 robert - - * 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". +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) : -2009-11-18 13:00 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. - * 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." +textureUnit=X in case of multiple textures, X= texture unit to use (default value=0) -2009-11-18 12:50 robert +directoryTexture=aPath when texture will be copied, it will be in this directory, not in the current one." - * Fixed primCount default value -2009-11-18 12:15 robert - * 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 ..." +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. -2009-11-18 11:26 robert +BTW, feel free to modify the colors I've given to each user stats line... I'm not very artistic. :-) - * Updated wrappers +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." -2009-11-18 11:25 robert - * Added osg::ShaderBinary::readShaderBinaryFile(..) static method -2009-11-17 15:54 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. - * Moved across to use OSG_FIXED_FUNCTION_AVAILABLE +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). -2009-11-17 14:06 robert + Setters and getters for rotation axis and normal were also added to the +AutoTransform class interface. - * , and includes required for QNX - compiler + The implementation is mainly a copy-paste from Billboard code. +" -2009-11-17 12:55 robert - * 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 +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. " - * Converted .ive plugin from using C++ exceptions to using a local - equivelant, enabling the build on embedded systems. +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. " -2009-11-17 11:36 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 +" - * Removed usage of throw -2009-11-16 17:50 robert - * Fixed Shader constructor +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." -2009-11-16 16:09 robert +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 - * Replaced catch usage +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 -2009-11-16 15:47 robert +if (fin.fail()) +{ + (void)inflateEnd(&strm); + return false; +} - * Removed catch +causes the reading to be aborted with the last read data not beeing inflated. -2009-11-16 15:17 robert +Please find the attached fix for this problem." - * Removed throw. -2009-11-16 14:58 robert - * Removed throw. +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." -2009-11-16 14:47 robert +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. - * Removed usaged of throw and catch to enable better compatibility - with embedded systems that don't support C++ exceptions - efficiently. +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. " -2009-11-16 12:32 robert - * Added new osg::ShaderBinary class, and support for it in - osg::Shader. -2009-11-13 13:52 robert +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. +" - * 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 - * 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. +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)." -2009-11-13 13:39 cedricpinson +Thu, 4 Nov 2010 11:05:47 +0000 +Checked in by : Robert OSFIELD +From David Callu, fix in FrameBufferObject when using Texture2Darray and GeometryShader. - * From Cedric Pinson, Fix Skeleton to compute correctly bind - matrix, fix compile issue on osganimationhardware after fixing - Skeleton +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. " -2009-11-13 13:25 robert +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: - * 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. +osgmovie 0 -e ffmpeg -O "format=vfwcap frame_rate=25" -2009-11-13 12:51 robert +The number 0 just indicates a default device number in ffmpeg. - * Added dummy StateSet at top of scene graph when using ShaderGen - to copy with subgrahs that contain no StateSet +I think this can work under Linux, too, and should be a bit better than comparing the filename with a '/dev/' string. Just type: -2009-11-13 10:03 robert +./osgmovie /dev/yourcam -e ffmpeg -O "format=video4linux2 frame_rate=30 size=320x240"" - * From Paul Martz, osgViewer Win32 GL3 context creation support -2009-11-13 09:56 robert - * Added missing export +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" -2009-11-12 19:39 robert +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: - * Introduced the usage of GL_MAX_TEXTURE_IMAGE_UNITS where support - in place of the check of GL_MAX_TEXTURE_UNITS. +- 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. -2009-11-12 14:35 robert +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. - * 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(). +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. -2009-11-12 12:19 robert +Along the way I cleaned up the existing code a bit: - * Introdced usage of State::drawQuads +* 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(). -2009-11-12 12:18 robert +* 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. - * Introduced new State::drawQuads(..) convinience method to help - out with mapping GL 1.x style calls to GLES2.0 compatible calls. +* 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. -2009-11-12 12:14 robert +" - * Fixed winding of GL_QUADS mapping -2009-11-12 12:07 robert - * Improved compatibility with GLES2 +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. " -2009-11-11 15:25 robert +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 - * 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. +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. +" -2009-11-11 12:04 robert - * From Paul Martz, enabled packed_depth_stencil support for GL3 -2009-11-11 09:15 robert +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." - * Merged runtime fix for Win32 OpenGLES build that avoids usage of - wglGetProcAddress. +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. -2009-11-10 19:16 robert +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. " - * Added OSG_GLES2_FEATURES and OSG_GL3_FEATURES usage where - appropriate +Tue, 2 Nov 2010 11:27:38 +0000 +Checked in by : Robert OSFIELD +Fixed function name -2009-11-10 17:01 robert +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. +" - * 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 - * Removed debug message +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. -2009-11-10 14:31 shuber +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." - * From Stephan Huber: updated XCode project +Mon, 1 Nov 2010 17:02:48 +0000 +Checked in by : Robert OSFIELD +From Sukender, fix for incorrect for loop test. -2009-11-10 12:03 robert +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. - * Changed default enabling of vertex attribute mapping +- I fixed makeFrustum to accept infinite zFar. (Some graphics techniques like shadow volumes require placing zFar to infinity to avoid visual artifacts.)" -2009-11-10 12:02 robert +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. - * Removed redundant include of GLU -2009-11-10 12:01 robert - * Added enabling of lighting, and disabling of mipmapping to help - out testing of GLES2 target +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. -2009-11-10 11:36 robert +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. - * Added support for mapping GL_QUADS, GL_QUAD_STRIP and GL_POLYGONS - to GL_TRIANGLE equivalents. +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. " -2009-11-10 11:34 robert +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. - * Added the default usage of ShaderGenVisitor to help with GLES2 - testing. +I attached modified osgManipulator/Dragger.cpp file, where added code for finding last absolute +camera. With this changes draggers works in HUD. -2009-11-10 11:34 robert +Example for demonstrate this problem you can find in osg-users list [1]. - * Added state.checkGLErrors() calls to help in debugging of GLES 2 - port +Mikhail. -2009-11-10 11:28 robert +[1] http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/62636 +" - * Added disabling of modes that aren't supported with GLES2 -2009-11-09 11:36 robert - * Added GL token mappings for standard GL errors numbers for when - no GLU is available +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." -2009-11-06 18:06 robert +Fri, 29 Oct 2010 09:35:54 +0000 +Checked in by : Robert OSFIELD - * 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 -2009-11-06 16:51 robert +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 - * Added simple textured scene graph test accessible using --texture - or -t command line options. +Fri, 29 Oct 2010 08:31:54 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2009-11-06 16:09 robert +Thu, 28 Oct 2010 15:52:52 +0000 +Checked in by : Robert OSFIELD +Commented out unused ElapsedTimer - * Fixed build with no automatic conversion of ref_ptr<> to C - pointer +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. -2009-11-06 16:09 robert +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. - * Fixed build +Thu, 28 Oct 2010 14:01:47 +0000 +Checked in by : Robert OSFIELD +Added handling of vertex buffer objects into osg::Geometry copy constructor. -2009-11-06 13:53 robert +Thu, 28 Oct 2010 14:01:10 +0000 +Checked in by : Robert OSFIELD +Improved code style consistency - * Added dlsymb settting for QNX +Thu, 28 Oct 2010 14:00:25 +0000 +Checked in by : Robert OSFIELD +Quitened down debug messages -2009-11-06 10:38 robert +Wed, 27 Oct 2010 13:49:16 +0000 +Checked in by : Robert OSFIELD +Fixed getEnableDepthWrites() naming. - * Cleaned up the EGL context config set up. +Tue, 26 Oct 2010 14:59:12 +0000 +Checked in by : Robert OSFIELD +Added command line options:--tristripper +--no-tristripper +--smoother +--no-smoother -2009-11-06 10:31 robert +--remove-duplicate-vertices / --rdv +--optimize-vertex-cache / --ovc +--optimize-vertex-order / --ovo - * Added EGL error checking and changed the egl context - configuration settings -2009-11-05 09:28 robert - * Added APIENTRY into glColor*/glNormal* calls and specialized the - calls to just GLES1 -2009-11-04 17:26 robert +Mon, 25 Oct 2010 13:42:01 +0000 +Checked in by : Robert OSFIELD +Added number of primitive sets to on screen stats - * 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 +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. -2009-11-04 12:17 robert - * Reduced the number of aliased attributes to fit within the basic - 8 attribute location available on basic GLES2 implementations -2009-11-04 12:14 robert +Fri, 22 Oct 2010 16:44:52 +0000 +Checked in by : Robert OSFIELD +Added StateSetManipulator usage - * Changed notify to output warnings and normally messages to - std::out +Fri, 22 Oct 2010 16:35:28 +0000 +Checked in by : Robert OSFIELD +Added support for enable VBO's and doing simplification. -2009-11-04 11:03 robert +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 - * Added --simple option and associated set up of a very simple - geometry and shader scene graph +Fri, 22 Oct 2010 12:19:22 +0000 +Checked in by : Robert OSFIELD +Added paging support to osganalysis example -2009-11-04 11:02 robert +Thu, 21 Oct 2010 16:29:23 +0000 +Checked in by : Robert OSFIELD +Integrated IncementalCompileOperation into DatabasePager.Improved various facilities in IncrementalCompileOperation. - * Enabled the vertex aliasing and projection/modelview uniform - setting by default for GLES2 and GL3 targets -2009-11-03 16:49 robert - * Disabled osgteaport for GLES1, GLES2 and GL3 builds +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. -2009-11-03 16:48 robert +Thu, 14 Oct 2010 18:16:03 +0000 +Checked in by : Robert OSFIELD +Introduction of IncrementalCompileOperation support to DatabasePager. - * Replaced glColor4fv call with osg::State::Color(..) +Thu, 14 Oct 2010 13:35:36 +0000 +Checked in by : Robert OSFIELD +Introduced SubloadCallback::generatdTextureObject() method. -2009-11-03 16:34 robert +Thu, 14 Oct 2010 12:20:51 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, warning fix. - * From Paul Martz, changes for compiling against OpenGL 3.x +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 -2009-11-03 15:22 robert +Thu, 14 Oct 2010 09:31:09 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, QT based OpenThreads implementation - * Disabled the build of plugins that aren't supported under GLES. +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. -2009-11-03 11:10 robert - * 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 - * Disable the default LightModel for GLES1 and GLES2 targets +Sat, 9 Oct 2010 11:51:24 +0000 +Checked in by : Robert OSFIELD +Changed the _ARB cube map defines to non ARB versions. -2009-11-01 09:04 robert +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 - * Fixed compile issue with Image.cpp and osgautocapture.cpp under - GLES. - - Fixed handling of EGLDisplay in EGL paths of GraphicsWindowX11 +Fri, 8 Oct 2010 18:53:16 +0000 +Checked in by : Robert OSFIELD +Tempory fix for regression due to remove of glPushAttrib/glPopAttrib -2009-10-31 14:44 robert +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. - * Fixed compile problem due to name change of getGLXContext to - getContext +Fri, 8 Oct 2010 17:13:59 +0000 +Checked in by : Robert OSFIELD +Build fixes for GLES1, GLES2 and GL3 -2009-10-30 17:16 robert +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. - * Fixed build under GLES2 +Thu, 7 Oct 2010 11:53:28 +0000 +Checked in by : Robert OSFIELD +Introduced osg namespace to new local GLU functions -2009-10-30 15:17 robert +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. - * Added EGL support into build system for GLES1 + GLES2. - - Added EGL support into GraphicsWindowX11. +Wed, 6 Oct 2010 19:09:48 +0000 +Checked in by : Robert OSFIELD +Added #define GL_PROXY_TEXTURE_3D -2009-10-30 15:16 robert +Wed, 6 Oct 2010 18:51:53 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Fixed for GLES1 build +Wed, 6 Oct 2010 18:37:43 +0000 +Checked in by : Robert OSFIELD +Changed tabs to 8 spaces -2009-10-29 16:09 cedricpinson +Wed, 6 Oct 2010 18:34:36 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay and Robert Osfield, build fix for Windows - * From Cedric Pinson, Fix warning in osgAnimation, UpdateCallback. - Fix bug removing callback in Action. Fix warning Stats +Wed, 6 Oct 2010 18:29:23 +0000 +Checked in by : Robert OSFIELD +Added #define for Windows build -2009-10-29 09:54 shuber +Wed, 6 Oct 2010 17:19:01 +0000 +Checked in by : Robert OSFIELD +Added #define GLAPIENTRY to attempt to resolve some Windows build issues - * From Stephan Huber: updated XCode projects +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 -2009-10-28 20:31 robert +Wed, 6 Oct 2010 16:29:16 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebasien Guay, fix windows compile error - * Ported osgUtil, osgDB, osgGA, NodeKits and plugins to compile - against OpenGL ES 1.1 and OpenGL ES 2.0. +Wed, 6 Oct 2010 15:33:43 +0000 +Checked in by : Robert OSFIELD +Removed gluois.h reference -2009-10-28 13:31 robert +Wed, 6 Oct 2010 15:14:01 +0000 +Checked in by : Robert OSFIELD +Removed usage gluos.h and redundent gluint.h - * From Cedric Pinson, updates to osganimation example to keep in - sync with changes with osgAnimation, and introduction of a - hardware skinning example +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. -2009-10-27 19:17 robert - * Fixed build aginst GLES1 and GLES2 -2009-10-27 18:07 robert +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. - * Fixed build on OpenGLES-1.1 and OpenGLES-2.0 targets -2009-10-27 15:37 cedricpinson - * 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 +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." - * From Stephan Huber: added missing #define +Mon, 4 Oct 2010 11:24:54 +0000 +Checked in by : Robert OSFIELD +Added glMultMatrixf path for GLES1 -2009-10-25 11:52 robert +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 - * Introduced usage of OSG_GLES*_AVAILABLE macros to headers and - .cpp's to enable building against OpenGL ES 1.x and 2.x headers +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. -2009-10-25 11:46 robert +Env Vars: + OSG_SWAP_METHOD = DEFAULT | COPY | EXCHANGE +or Command Line: + --swap-method DEFAULT | COPY | EXCHANGE - * Updated wrappers +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. -2009-10-23 20:35 cedricpinson +Changes were made against today trunk. - * From Cedric Pinson, Simplify update callback api in osgAnimation, - the decision to link is on the manager or user +PS. I tested only Windows code. I briefly checked X11 & Cocoa files but have not noticed SwapMethod to be used there. +" -2009-10-23 17:27 robert - * 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 +Fri, 1 Oct 2010 17:07:27 +0000 +Checked in by : Robert OSFIELD - * Added includes for OpenGL ES1 and ES2. -2009-10-23 13:19 robert +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." - * 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 +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. " -2009-10-23 12:28 robert +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". " - * Updated wrappers +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." -2009-10-23 12:24 robert +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." - * Fixed bug in dispatching per primitive attributes +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 -2009-10-23 12:22 robert +Thu, 30 Sep 2010 09:40:48 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fixed build under OSX 10.5. - * Added support for Vec4ubArray colour arrays +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." -2009-10-23 09:24 robert - * Fixed handling of Geometry::_internalOptimizedGeometry in the - Geometry::drawImplementation(..) -2009-10-23 08:21 shuber +Wed, 29 Sep 2010 13:21:34 +0000 +Checked in by : Robert OSFIELD +Fixed Text3D's handling of character aspect ratio. - * From Stephan Huber: updated XCode project, sensible default - config-file +Wed, 29 Sep 2010 12:45:35 +0000 +Checked in by : Robert OSFIELD +Moved handling of character aspect ratio into osgText::Style. -2009-10-22 14:40 robert +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. - * Added #define for GL_TEXTURE0 as MS gl.h header is still stuck in - the nineties.... +Wed, 29 Sep 2010 11:34:55 +0000 +Checked in by : Robert OSFIELD +Moved set/getFont from Text/Text3D into TextBase -2009-10-22 12:56 robert +Wed, 29 Sep 2010 11:09:32 +0000 +Checked in by : Robert OSFIELD +Removed getScale() parameter from osgText::Font - * Fixed typo and updated wrappers +Wed, 29 Sep 2010 10:54:53 +0000 +Checked in by : Robert OSFIELD +Fixed type of numberical constant -2009-10-22 12:41 robert +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. - * From Stephan Huber, compile fix to OSX. +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. -2009-10-22 12:06 robert +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. - * Introduced Cmake generated #defines relevant to optionally - compile parts of the OSG for different OpenGL targets +Sun, 26 Sep 2010 11:02:03 +0000 +Checked in by : Robert OSFIELD +Added include to fix compile error -2009-10-22 12:04 robert +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." - * Removed, now inappropriate, references to glBegin/glEnd. +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." -2009-10-22 12:03 robert - * Updated wrappers -2009-10-22 12:01 robert +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 >>. " - * From Cedric Pinson, new StateAttributeCallback replacing - StateAttribute::Callback +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 -2009-10-22 10:33 robert +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 - * 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. - " -2009-10-22 10:29 robert - * Removed old and now redundent code paths +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 -2009-10-22 09:08 robert +Wed, 22 Sep 2010 09:50:07 +0000 +Checked in by : Robert OSFIELD +Added deprecated notices. - * Updated wrappers +Tue, 21 Sep 2010 11:40:50 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for release -2009-10-22 08:51 robert +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. " - * 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 +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." -2009-10-22 08:28 shuber +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. - * From Stephan Huber: updated XCode project +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 -2009-10-21 16:42 robert +/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 - * Added Translatef, Scalef, Rotatef methods, and fixed Color4f - method. +/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 -2009-10-21 16:41 robert +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). +" - * Removed redundent spaces -2009-10-21 16:40 robert - * Removed remaining glBegin/glEnd usage +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'" -2009-10-21 16:31 robert +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. - * Conveted osgText across to using GLBeginEndAdapter instead og - glBegin/glEnd +Fri, 17 Sep 2010 14:26:27 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, AUTHORS for 2.9.9 dev release -2009-10-21 16:16 robert +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 - * Converted all glBegin/glEnd code across to using - osg::GLBeginEndAdapter +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. -2009-10-21 15:48 robert +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." - * Added stats handler to track performance effects of new - GLBeginEndAdapter usage +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." -2009-10-21 15:45 cedricpinson +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)." - * 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 +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 ;)" -2009-10-21 14:14 robert - * Added stats handler -2009-10-21 14:11 robert +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. - * Removed the disabling of display lists in osg::Geometry to bring - it back to it's original behaviour +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. -2009-10-21 14:09 robert +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. +" - * Added support for automatic vertex aliasing to new - ArrayDispatchers, and updated wrappers +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. -2009-10-21 11:18 robert - * 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 - * Updated wrappers +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: -2009-10-20 19:34 robert +osg::Vec2 vec(0.f, 0.f); +osg::Array* sharedArray = new osg::Vec2Array(1, & vec); - * Refactored osg::Geometry::drawImplementation(..) to use new - osg::ArrayDispatchers that encapsulate the task - of dispatch osg::Array data as OpenGL attributes. - +// create 2 geometries sharing same array +osg::Geometry* geom0 = new osg::Geometry; +osg::Geometry* geom1 = new osg::Geometry; +geom0->setVertexArray(sharedArray); +geom1->setVertexArray(sharedArray); -2009-10-20 13:15 robert +osg::ref_ptr geode = new osg::Geode; +geode->addDrawable(geom0); +geode->addDrawable(geom1); - * Fixed typo of osg_ModelViewMatrix +std::stringstream buffer; -2009-10-19 11:06 shuber +// 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()); - * From Stephan Huber: updated XCode project +// print result; array will be written twice with full content, though with same ID +std::cout << buffer.str() << std::endl; -2009-10-19 08:58 robert +// trying to read back node will print warnings about unmatched properties +osgDB::ReaderWriter::ReadResult rr = rw->readNode(buffer, options.get()); - * Fixed computation of osg_NormalMatrix -2009-10-17 19:22 robert - * Added support for multitexturing and vertex attributes to - GLBeginEndAdapter -2009-10-17 11:14 robert +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. +" - * Fixed VS warning -2009-10-16 18:50 robert - * Updated wrappers +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 -2009-10-16 17:22 robert +Wed, 15 Sep 2010 13:04:35 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Updated wrappers +Wed, 15 Sep 2010 12:50:16 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "Fix a small typo in present3D usage string" -2009-10-16 16:26 robert +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." - * 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. +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." -2009-10-11 06:05 robert +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." - * Made the use of the new projection and modelview matrix uniforms - optional +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." -2009-10-11 05:52 robert - * 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 +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. - * 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 - * Updated ChangeLog, wrappers and Contributors lists -2009-10-10 11:26 robert +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. - * 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. - " +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." -2009-10-10 11:06 robert - * 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 +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. - * 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." +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. -2009-10-10 10:58 robert +Ready for commit: +- Stencil and Stencil.cpp - please, review them - * From Mathias Froehlich, "This change eliminate an orphan stats - block that sticks somewhere in the - screen stats display." +Ready with "hack": +- StencilTwoSided.cpp: please, see the line 113 in apply(): -2009-10-10 10:54 robert + glEnable(GL_STENCIL_TEST_TWO_SIDE); - * Updated wrappers +This line used to be in getModeUsage() as -2009-10-10 10:07 robert + usage.usesMode(GL_STENCIL_TEST_TWO_SIDE); - * 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." +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. +" -2009-10-10 10:00 robert - * 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 +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. + " - * 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 - * From Stephane Lamoliatte, "Here is a patch wich add two missing - GL modes in the osg plug'in." +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. -2009-10-10 09:44 robert +Additional methods of ParticleSystem are introduced, including +setDefaultAttributesUsingShaders(), setSortMode() and +setVisibilityDistance(). You can see how they work in +osgparticleshader.cpp. - * To fix warning removed unncessary , from end to enum list. +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. -2009-10-10 09:41 robert +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. - * 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. - " +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. -2009-10-10 09:38 robert +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. - * 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." +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. -2009-10-10 09:35 robert +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... - * 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." +All dotosg and serialzier wrappers for functionalities above are provided. -2009-10-10 09:26 robert +... - * 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." +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). -2009-10-10 09:23 robert +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? - * From Bob Kuehne, "imageio plugin fix, mac os x : remove - double-qualified ctor - illegal syntax under gcc 4.2.1" +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. +" -2009-10-10 09:20 robert - * 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." -2009-10-09 13:39 robert +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]; - * Introduced new uniforms for tracking the modelview and project - matrices in shaders using non built-ins. + // calls gluScaleImage into the data buffer +} -2009-10-09 10:39 robert +const unsigned char* dataPtr = image->data(); +// subloads 'dataPtr' - * Added use of binding of vertex attributes to names +// deletes 'data' + -2009-10-08 16:23 robert +In effect, the scaled data would never be used. - * Added remapping of gl_ and ftransform() variables to osg_ - equivalents. +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. -2009-10-08 15:58 robert +" - * Implemented remapping of gl_ builtins vertex attributes to osg_ - equivlants. -2009-10-08 14:29 robert - * New osgvertexattributes example designed to test conversion of - fixed function scene graphs to use vertex shaders - and vertex attributes. +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. -2009-10-08 14:13 shuber +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: - * From Stephan Huber: updated XCode project +[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. -2009-10-08 13:33 robert +[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. - * Fixed vertex attribute access bug +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. :-) -2009-10-08 10:44 robert +Note, there's a nasty const_cast in there. Why isn't osgText::Font::getGlyph() declared const? - * Quitened down debug messages +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. +" -2009-10-08 09:27 robert - * Cleaned up the #define's for when GLU is not available -2009-10-08 07:54 robert +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." - * Fixed warning -2009-10-07 19:42 robert - * 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. +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." -2009-10-07 18:50 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)." - * Fixed handling of rescale of image +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. -2009-10-07 13:02 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. - * Fixed setUsage typo in PixelDataBufferObject, and fixed data - pointer management in Texture::applyTexImage2D_subload(). +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. -2009-10-07 12:54 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. +" - * From J.P. Delport, fixed bug caused by a typo in - PixelBufferObject constructor -2009-10-07 09:39 robert - * Fixed warnigns +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." -2009-10-06 13:42 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. " - * 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 +Thu, 9 Sep 2010 09:05:33 +0000 +Checked in by : Robert OSFIELD +Added version check for av_lockmgr_register support. -2009-10-06 09:28 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. - * Refactored the ::getOrCreate*Object() methods to clean them up - and fix a bug in the getOrCreateElementsBuffers method. +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&)." -2009-10-05 13:41 robert +notes from Robert, refactored the matrix multiplication code and the use of RefMatrix to make Nathan's changes more efficient. - * From Andreas Goebel, fix to bug in - ShapeDrawable::accept(PrimitiveFunctor) implementation for - cylinder -2009-10-04 08:52 robert - * Added missing export -2009-10-03 15:10 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. - * Removed erroneous inclusion of extra GLBufferObjectManager - qualifier that broke Windows build +Wed, 8 Sep 2010 10:46:49 +0000 +Checked in by : Robert OSFIELD +Added support for honouring PrimitiveSet names in new smoothing algorithm -2009-10-03 09:25 robert +Wed, 8 Sep 2010 08:09:01 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, build fixes for Windows - * Introduced new GLBufferObject pool for managing the memory - footprint taken up by VertexBufferObejct, ElementBufferObject and - PixelBufferObject. +Tue, 7 Sep 2010 19:55:41 +0000 +Checked in by : Robert OSFIELD +Removed files that have been moved into osgText. -2009-10-01 20:19 robert +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. - * Introduced new BufferObject design + implementation in - preperation of implementing a pool system for buffer objects +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. -2009-10-01 17:08 cedricpinson - * 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 +Mon, 6 Sep 2010 15:43:59 +0000 +Checked in by : Robert OSFIELD +Further work on new 3D text support - * Fixed warning about max texture size being smaller than the - currently used texture pool size +Fri, 3 Sep 2010 15:03:42 +0000 +Checked in by : Robert OSFIELD +Added basic wiring up of TextTechnique to 3D glyph code -2009-09-27 15:14 robert +Fri, 3 Sep 2010 09:10:27 +0000 +Checked in by : Robert OSFIELD +Removed now redundent Font3D files - * Added handling of resetting of the texture object format +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 -2009-09-27 14:38 robert +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 - * Added status collection to full range of texture classes -2009-09-26 16:28 robert - * Improved the computation of the TextureProfile _size value, fixed - the computation up of the miplevels +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); -2009-09-25 18:05 robert - * 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 - * Fixed warning +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. -2009-09-24 10:11 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. - * Added return at end of to fix warning +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. -2009-09-23 15:16 robert - * From Jean-Sebastien Guay, fixed Widows build and updated the SO - version -2009-09-23 14:54 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). - * Moved setting of TexturePoolSize into State. +Tue, 24 Aug 2010 16:08:50 +0000 +Checked in by : Robert OSFIELD +Implemented the shell geometry code -2009-09-23 13:51 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 - * Introduced memory pool size management +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. -2009-09-22 18:45 robert +Fri, 20 Aug 2010 10:24:06 +0000 +Checked in by : Robert OSFIELD +Fixed bug in handling large osg::Geometry. - * Preliminary work on support for a texture object pool that is - designed to help manage resources down the GPU more tightly. +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. -2009-09-20 09:26 robert +Wed, 18 Aug 2010 11:14:58 +0000 +Checked in by : Robert OSFIELD +Improved the detection of problem vetices and associated triangles - * Change win32 external library to wsock32.lib +Tue, 17 Aug 2010 19:48:19 +0000 +Checked in by : Robert OSFIELD +Fixed indentation -2009-09-19 09:18 robert +Tue, 17 Aug 2010 19:48:07 +0000 +Checked in by : Robert OSFIELD +Implemented basic duplication of points that sit on sharp edges. - * Added Ws2_32.lib to link of dicom plugin under Win32 +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. -2009-09-17 13:40 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). - * Introduced new osgQtBrowser example. + I also removed a bunch of embedded carriage returns -2009-09-14 16:07 robert - * Updated wrappers +Tue, 17 Aug 2010 13:10:18 +0000 +Checked in by : Robert OSFIELD +Added support for RGTC1 and RGTC2 enums -2009-09-11 13:08 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 - * Fixed bug in interpolation of colour values +" -2009-09-10 16:39 robert - * Added tf-255 option to volume tag -2009-09-09 18:13 cedricpinson +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. " - * From Cedric Pinson, Fix createKeyframeContainerFromTargetValue to - recreate its sampler from scratch to not change keyframe - container of another sampler +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." -2009-09-09 15:22 robert +Mon, 16 Aug 2010 14:24:12 +0000 +Checked in by : Robert OSFIELD +Added material setName. - * Added reset of the ImageDetails values of TexelOffset and - TexelScale. +Mon, 16 Aug 2010 14:14:03 +0000 +Checked in by : Robert OSFIELD +Added support for USE_RGBT1_COMPRESSION and USE_RGBT2_COMPRESSION -2009-09-09 13:31 robert +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." - * Added support for using the ImageDetails to fill in the Locator - and TexelScale/Offset values in the ImageLayer +Mon, 16 Aug 2010 11:03:24 +0000 +Checked in by : Robert OSFIELD +Changed setTransformation(eye, center, up) paramter ordering to match gluLookAt conventions. -2009-09-09 13:23 robert +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." - * Added support for "--output filename.osg" command line option to - avoid debugging of generated presentations +Mon, 16 Aug 2010 09:35:59 +0000 +Checked in by : Robert OSFIELD +From Alexander Wiebel, "Documentation of PrimitiveSet" -2009-09-09 09:54 cedricpinson +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 - * From Cedric Pinson, remove unsused files - include/osgAnimation/AnimationManager and - src/osgAnimation/AnimationManager.cpp +This is required for a multithreaded application using ffmpeg from +another thread." -2009-09-09 09:52 cedricpinson +"Prevent the audio from videos from hanging on exit if they are paused. +The video decoder already has similar logic." - * 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. +"Add a way to retrieve the creation time for MPEG-4 files." -2009-09-08 15:36 robert +"fmpeg, improve wait for close logic - * Tweaked debugging info +Both audio and video destructors have been succesfully using the logic, +if(isRunning()) +{ + m_exit = true; + join(); +} +since it was introduced, -2009-09-08 15:36 robert +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. - * Fixed the set up of osgVolume::ImageLayer scale and offset. +Now that FFmpeg*close is fixed, call it from the destructor as well +to have that code in only one location." -2009-09-07 12:51 robert - * Added filter for .filename files -2009-09-07 12:21 shuber - * updated XCode project +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. -2009-09-07 10:54 robert +Mon, 9 Aug 2010 16:14:25 +0000 +Checked in by : Robert OSFIELD +Cleaned up the inline methods - * Updated volume setup code to use the new ImageDetails structure. +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. " -2009-09-07 10:50 robert +Sun, 8 Aug 2010 15:44:03 +0000 +Checked in by : Robert OSFIELD +Removed the erroneous subclassing from osg::Observer - * Added check for null masterLocator +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." -2009-09-07 08:30 robert +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;" - * Fixed assingment of layerLocator -2009-09-04 09:11 robert - * Fixed empty lines +Wed, 4 Aug 2010 08:35:49 +0000 +Checked in by : Cedric Pinson +From Rob Smith, makes hardware skinning use of the existing stateset -2009-09-03 14:39 robert +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." - * Added scaling of shader transfer function input values to honour - original dicom input values +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 -2009-09-03 13:40 robert +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." - * 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 - * Added support for recording the RescaleIntecept and RescaleSlope - from the dicome files and passing these values onto - osgVolume::ImageLayer +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 -2009-08-31 15:10 robert +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." - * Updated wrappers -2009-08-31 10:37 cedricpinson - * From Cedric Pinson, add missing files +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); -2009-08-31 09:40 cedricpinson +whereas it should read - * 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 + ^^^ + parameters.filter_mag = getFilterMode(sampler->getMagfilter()-> + getValue(), false); +" -2009-08-27 19:25 robert - * Fixed the compute of the extents/bounding sphere -2009-08-27 16:42 robert +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. " - * 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" +Sat, 31 Jul 2010 09:21:50 +0000 +Checked in by : Robert OSFIELD +Fixed build -2009-08-27 16:21 cedricpinson +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. - * 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 +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. -2009-08-26 16:39 cedricpinson +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. - * From Michael Platings, I've just added a few simple accessors I - found necessary +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. +" -2009-08-26 09:24 cedricpinson - * 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 +Sat, 31 Jul 2010 09:03:04 +0000 +Checked in by : Robert OSFIELD +From Ryan Kawicki, fixed indentation - * 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." +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: -2009-08-21 13:55 robert +"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." - * Fixed osgAnimation wrappers -2009-08-21 12:53 robert - * Updated wrappers +Sat, 31 Jul 2010 08:56:44 +0000 +Checked in by : Robert OSFIELD +Added output of triangles at problem vertices -2009-08-21 11:31 robert +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. - * 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." +Fri, 30 Jul 2010 16:06:22 +0000 +Checked in by : Robert OSFIELD +Changed emit() to emitParticles() to avoid collision with Qt. -2009-08-21 10:18 robert +Thu, 29 Jul 2010 16:09:49 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, fixes to handling of indentation. - * Fixed handling of double precision bounding sphere type. +Mon, 26 Jul 2010 11:12:45 +0000 +Checked in by : Robert OSFIELD +Added bevel geometry -2009-08-21 09:54 robert +Mon, 26 Jul 2010 11:06:45 +0000 +Checked in by : Robert OSFIELD +Clean up boudnary code - * From Stephane Lamoliatte, "I just add the a missing getView() - function to the WindowManager." +Mon, 26 Jul 2010 08:41:05 +0000 +Checked in by : Robert OSFIELD +Added a os< 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 +Sat, 10 Jul 2010 17:14:59 +0000 +Checked in by : Robert OSFIELD +Added debug State::print(std::ostream&) method and extra debug messages in ShaderComposer and ShaderAttribute.Added better shader composition testing in the osgshadercomposition example. - * 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 -2009-08-20 14:20 robert - * Improved the custom cursor code and release and compute settings +Sat, 10 Jul 2010 10:07:59 +0000 +Checked in by : Robert OSFIELD +From Pierre Bourdin, "just a small typo in debug messages of Viewer.cpp..." -2009-08-20 14:19 robert +Sat, 10 Jul 2010 09:56:06 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "Autodesk have re-released 2011.3 of the FBX SDK with Visual Studio 2010 support ( http://images.autodesk.com/adsk/files/fbx20113_fbxsdk_win_static.exe ). I've attached an updated FindFBX.cmake that supports this latest version but also retains support for FBX 2011.2 for those who don't want to update." - * 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. +Thu, 8 Jul 2010 10:56:34 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've found a minor bug in the cmake script of src/osgPresentation when testing the osgIntrospection project. It missed the Export header file and thus will not install this file while 'make install'. Add a line to the LIB_PUBLIC_HEADERS variable will fix the issue." -2009-08-19 15:36 robert +Thu, 8 Jul 2010 10:51:37 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay and Martin Scheffler, "First are Martin's changes: * Added support for floating windows and context menus in QMDIAreas. * Protected the size (_width and _height) by a mutex to prevent threading problems.Then my own: +* Made sure the embedded widget's size follows the graphicsView's size at all times so that window resizes will resize the widget as expected in fullscreen mode." - * Fixed typo -2009-08-19 15:36 robert - * Added support for trimming the contents of parsed Xml graph -2009-08-18 13:38 robert +Wed, 7 Jul 2010 11:02:15 +0000 +Checked in by : Robert OSFIELD +Added some debugging to investigate issue of global default ShaderAttribute not being automatically assigned. - * Added tabs to treatment as white space to skyWhiteSpace() +Tue, 6 Jul 2010 12:19:26 +0000 +Checked in by : Robert OSFIELD +Added compile/release and resize of GL objects to ShaderAttribute.Removed the StateAttribute::compose() method. -2009-08-17 16:07 robert +Fixed the default type value in ShaderAttribute - * Added check for space in option name parsing -2009-08-17 15:46 robert - * Added support for the TabBoxTrackballDragger +Tue, 6 Jul 2010 10:55:54 +0000 +Checked in by : Robert OSFIELD +Added support for passing on uniforms from StateAttribute -2009-08-17 15:45 robert +Mon, 5 Jul 2010 16:32:58 +0000 +Checked in by : Robert OSFIELD +Added basic code injection fields to osg::Shader, creation of main shader to ShaderComposer and collection of ShaderComponent to osg::State. Also added very basic shader set up in osgshadecomposition example. - * Changed the autorun keys to 'g' for go, and 'h' for halt. +Fri, 2 Jul 2010 14:18:59 +0000 +Checked in by : Robert OSFIELD +Implement basic cache in ShadeComposer -2009-08-17 15:24 robert +Fri, 2 Jul 2010 12:04:20 +0000 +Checked in by : Robert OSFIELD +Added basic ShaderComponent class and beginnings osgshadercomposition example - * Updated wrappers +Mon, 28 Jun 2010 17:27:56 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fixed typo. -2009-08-17 15:22 robert +Mon, 28 Jun 2010 09:52:18 +0000 +Checked in by : Robert OSFIELD +Added skipping of newlines in AsciiStreamOperator.h - * Moved static string initialization into singleton method +Mon, 28 Jun 2010 08:27:30 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "A solution for serialziers to call static functions at the end of reading/writing is to use a user serializer. The serialziers/osgManipulator/Draggers.cpp uses a DefaultGeometry serializer to run setupDefaultGeometry() once the reading process is finished, and this can also be applied to load the TerrainTileCallback.I've attached the modified serializer/osgTerrain/TerrainTile.cpp for tracing and solving current problem." -2009-08-06 12:40 cedricpinson - * From Michael Platings, - Changes to allow osgAnimation::*CubicBezierChannel to be used - Added TemplateStepInterpolator class -2009-08-06 10:57 robert +Mon, 28 Jun 2010 08:24:53 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, "The small change I have made (against this morning's trunk) enables subclasses to register and unregister windows via protected methods. I need this access as I have a subclass that handles some of the oddities of mixing a native OpenGL window with Java's windowing system. I doubt there will be much general benefit of the modification but it should also not be harmful in any way to others." - * Added a viewer.frame() call prior to the useCursor(false) calls - to avoid a threading crash under X11 +Mon, 28 Jun 2010 08:20:59 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, "I have extended the attached zipped file to recognize some more filenames and versions. I added support to find libxml2 in the 3rdparty package if available.Now this file can find all libraries from the 32/64bit VS2008sp1 dependency package except collada. I will add that later. +" -2009-08-06 10:06 robert - * Fixed custom cursor support -2009-08-05 17:01 robert +Sat, 26 Jun 2010 09:55:18 +0000 +Checked in by : Robert OSFIELD +Checked in missing source file. - * Added support for selecting the TabBoxTrackballDragger using - dragger="trackball-box" +Thu, 24 Jun 2010 17:15:27 +0000 +Checked in by : Robert OSFIELD +Added beginnings of shader composition with the shells of the ShaderComposer and ShaderAttribute classes. This aren't functional yet, but a useful placeholders for future fucntionality. -2009-08-05 16:02 robert +Thu, 24 Jun 2010 15:43:33 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Introduced TabBoxTrackballDragger +Thu, 24 Jun 2010 14:03:51 +0000 +Checked in by : Robert OSFIELD +Renamed osgshadercompositor to osgvirtualprogram. -2009-08-05 14:37 robert +Wed, 23 Jun 2010 14:38:49 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "FFmpeg headers need __STDC_CONSTANT_MACROS defined before stdint.h is loaded. The file FFmpegHeaders.hpp sets this definition. However, if stdint.h is already included through other files, it won't take any effect.Include FFmpeg headers as early as possible in order to avoid stdint.h being +included on other paths. +" - * 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 -2009-08-05 12:51 robert - * Updated wrappers +Wed, 23 Jun 2010 14:18:42 +0000 +Checked in by : Robert OSFIELD +Removed osgIntrospection and added osgQt to doxygen files -2009-08-05 11:06 robert +Wed, 23 Jun 2010 13:28:19 +0000 +Checked in by : Robert OSFIELD +Removed osgIntrospection as it's now available as a seperate osgIntrospection project that can be checked out thus: svn co http://www.openscenegraph.org/svn/osg/osgIntrospection osgIntrospection - * Moved the updating and expiry of the Registry object cache from - DatabasePager into osgViewer::Viewer/CompositeViewer. -2009-08-04 16:19 robert - * Updated the Present3D version number -2009-08-03 09:48 cedricpinson +Mon, 21 Jun 2010 16:48:03 +0000 +Checked in by : Robert OSFIELD +From Mathias Fiedler, "i'm using OSG on ES 2.0 and observed that only one texture unit will be supported by OSG. In State::initializeExtensionProcs() the _glMaxTextureUnits is calculated based on osg::getGLVersionNumber(). At least for ES 2.0 this function will return 0.f since the version string will look like "OpenGL ES 2.0 ...".My proposal doesn't touch getGLVersionNumber(), since desktop OpenGL 2.0 isn't OpenGL ES 2.0. +So i changed the conditions in State::initializeExtensionProcs() for getting the number via glGetIntegerv()." - * 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 - * Tweak of NodeMask docs +Mon, 21 Jun 2010 15:55:13 +0000 +Checked in by : Robert OSFIELD +From Alberto Luaces, "I have updated a bit the pkg-config system:1. Install the .pc file for osgIntrospection only if it is compiled, +instead of unconditionally. -2009-07-28 06:00 robert +2. New .pc file for osgQt, also created only if that library is actually +compiled. +" - * From Terry Welsh, .osg and .ive support for new Text boxes -2009-07-27 15:39 robert - * Fixed bug in handling of stereo image pairs +Mon, 21 Jun 2010 15:09:07 +0000 +Checked in by : Robert OSFIELD +Moved Xcode project out into OpenSceneGraph/deprecated -2009-07-24 15:55 robert +Mon, 21 Jun 2010 14:42:18 +0000 +Checked in by : Robert OSFIELD +Implement support for compound name only entries in CompositeLayer - * Updated wrappers +Mon, 21 Jun 2010 10:33:46 +0000 +Checked in by : Robert OSFIELD +Updated version number for next dev release -2009-07-24 15:30 robert +Mon, 21 Jun 2010 10:19:57 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "The attached file fixes the build error reported by Maxim Gammer. In out-of- source build moc has difficulties with header files that do not end in ".h". Force moc to include any files passed to it." - * From Lee Butler and Robert Osfield, doxygen comment explaining - role of NodeMask +Fri, 18 Jun 2010 16:07:55 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for 2.9.8 release -2009-07-24 15:09 robert +Fri, 18 Jun 2010 15:48:50 +0000 +Checked in by : Robert OSFIELD +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." - * 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." +Fri, 18 Jun 2010 15:46:10 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS -2009-07-24 15:04 robert +Fri, 18 Jun 2010 15:16:20 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * 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." +Fri, 18 Jun 2010 14:53:58 +0000 +Checked in by : Robert OSFIELD +Added checks against windows being realized before doing warp pointer -2009-07-24 14:59 robert +Fri, 18 Jun 2010 09:48:55 +0000 +Checked in by : Robert OSFIELD +#if 0'd out debugging timing code for detecting deadlocks - * 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...." +Fri, 18 Jun 2010 09:07:17 +0000 +Checked in by : Robert OSFIELD +Build fixes for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT is set to OFF -2009-07-24 14:45 robert +Thu, 17 Jun 2010 15:23:44 +0000 +Checked in by : Robert OSFIELD +Fixed warnings + +Thu, 17 Jun 2010 14:36:11 +0000 +Checked in by : Robert OSFIELD +From Nguyen Van Truong, introduced the use of the ScratchPad when distributing the master killed message + +Thu, 17 Jun 2010 14:28:16 +0000 +Checked in by : Robert OSFIELD +From Nguyen Van Truong, fix for passing of events to slaves + +Thu, 17 Jun 2010 14:18:11 +0000 +Checked in by : Robert OSFIELD +Added event handling + +Thu, 17 Jun 2010 11:07:54 +0000 +Checked in by : Robert OSFIELD +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." + +Thu, 17 Jun 2010 11:03:23 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've made a small modification to osgDB::DynamicLibrary so it can load UTF-8 filenames on Windows." + +Thu, 17 Jun 2010 11:01:40 +0000 +Checked in by : Robert OSFIELD +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." + + + +Wed, 16 Jun 2010 16:49:45 +0000 +Checked in by : Robert OSFIELD +Fixed bug where PropertyAdjustmentCallback was being added multiple times. + +Wed, 16 Jun 2010 15:56:42 +0000 +Checked in by : Robert OSFIELD +Changed the default behaviour of computeHomePosition so that it uses the bounding sphere of the model rather than computing the bounding box. + +Wed, 16 Jun 2010 15:56:07 +0000 +Checked in by : Robert OSFIELD +Added better handling of when the bounding box computation fails to return a valid bounding box. + +Wed, 16 Jun 2010 15:54:24 +0000 +Checked in by : Robert OSFIELD +Updated wrappers + +Wed, 16 Jun 2010 15:53:57 +0000 +Checked in by : Robert OSFIELD +Added reporting of possible deadlock of paging thread + +Wed, 16 Jun 2010 12:46:16 +0000 +Checked in by : Robert OSFIELD +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. + +Wed, 16 Jun 2010 08:13:00 +0000 +Checked in by : Robert OSFIELD +Added timing code for helping detect deadlocks in the paging threads + +Wed, 16 Jun 2010 08:09:13 +0000 +Checked in by : Robert OSFIELD +Re-enabled call to ShareStateManager. + +Tue, 15 Jun 2010 13:57:44 +0000 +Checked in by : Robert OSFIELD +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." + + + + + +Tue, 15 Jun 2010 10:02:34 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "Here a fix about a leak in InputStream::decompressI 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. +" - * From Chris Hanson, typo and comment clean ups -2009-07-24 14:45 robert - * Updated wrappers +Tue, 15 Jun 2010 09:14:20 +0000 +Checked in by : Robert OSFIELD +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." -2009-07-24 14:25 robert +Tue, 15 Jun 2010 09:09:38 +0000 +Checked in by : Michael PLATINGS +Changed _strnicmp to strncasecmp for non-Windows builds - * From Chris Hanson, added EllipsoidModel::isWGS84() method and - clean up on comments. +Mon, 14 Jun 2010 16:41:32 +0000 +Checked in by : Robert OSFIELD +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 nameas these nodes did not receive names before. Some code cleaning included as well." -2009-07-24 12:12 robert - * From Jean-Sebastien Guay, updated CTestConfig to point to new - cdash.openscenegraph.org site -2009-07-23 15:25 shuber - * updated XCode project -2009-07-23 12:42 cedricpinson +Mon, 14 Jun 2010 16:30:43 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, added extra test case accessible via -t 7. - * From Cedric Pinson, Store the linkvisitor to be able to configure - it by user, like changing the nodemaskoverride, or use a custom - LinkVisitor +Mon, 14 Jun 2010 16:27:35 +0000 +Checked in by : Robert OSFIELD +Introduced the use of atan2 in place of asin/acos for reliability and simplicity -2009-07-17 07:47 robert +Mon, 14 Jun 2010 15:58:26 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "while debugging a file loader I noticed a missed check here." - * From J.P. Delport, "attached a modified jpeg plugin that allows - writing of grayscale images." +Mon, 14 Jun 2010 15:28:58 +0000 +Checked in by : Robert OSFIELD +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. +" -2009-07-16 12:09 robert - * 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 +Mon, 14 Jun 2010 15:25:05 +0000 +Checked in by : Robert OSFIELD +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." - * From Stephan Lamoliatte, "The vertical anchor is inverted in the - osgWidget::Window::update function. - Here is a small patch to fix that." -2009-07-16 11:49 robert - * From Cedric Pinson, fix crash without error messages if the - example does find the nathan.osg file. +Mon, 14 Jun 2010 15:22:35 +0000 +Checked in by : Robert OSFIELD +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." -2009-07-16 11:48 robert +Mon, 14 Jun 2010 15:21:50 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, change information about failed shader compilation/linking/validation to OSG_WARN. - * Fixed build +Mon, 14 Jun 2010 15:20:47 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, additional comments, and standarisation of throw and handling of mouse wheel. -2009-07-16 11:35 robert +Fri, 11 Jun 2010 09:39:03 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Fixed build. +Wed, 9 Jun 2010 15:05:34 +0000 +Checked in by : Robert OSFIELD +Removed debug messages -2009-07-16 11:26 robert +Wed, 9 Jun 2010 13:54:08 +0000 +Checked in by : Robert OSFIELD +Fixed reading of wrapped strings that contain multiple " within the string - * Added .get() to fix build +Wed, 9 Jun 2010 13:09:40 +0000 +Checked in by : Cedric Pinson +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 -2009-07-16 11:21 robert +Wed, 9 Jun 2010 13:08:49 +0000 +Checked in by : Cedric Pinson +From Michael Platings I attach a simple fix that makes osgAnimation animations loop correctly when their duration is different from the original duration. - * From Jason Daly, "These are some fixes to the mdl and bsp plugins - to handle transparency and lighting better, plus a few other - tweaks." +Wed, 9 Jun 2010 11:24:22 +0000 +Checked in by : Robert OSFIELD +Added missing loadWrappers -2009-07-16 11:06 robert +Wed, 9 Jun 2010 10:01:25 +0000 +Checked in by : Robert OSFIELD +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(). " - * 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. +Wed, 9 Jun 2010 09:12:20 +0000 +Checked in by : Michael PLATINGS +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. -2009-07-16 10:56 robert - * Updated wrappers +Tue, 8 Jun 2010 17:32:36 +0000 +Checked in by : Michael PLATINGS +Added support for Euler angles and step/linear/cubic-bezier interpolation. -2009-07-16 10:13 robert +Tue, 8 Jun 2010 11:53:28 +0000 +Checked in by : Robert OSFIELD +Added ref_ptr<> to avoid memory leak - * Added the ability to turn off the external paging in of PagedLOD - children. +Mon, 7 Jun 2010 17:08:53 +0000 +Checked in by : Robert OSFIELD +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. -2009-07-16 10:13 robert +Mon, 7 Jun 2010 15:25:18 +0000 +Checked in by : Michael PLATINGS +Added more NURBS types to triangulate. - * Updated Contributors mapping +Mon, 7 Jun 2010 11:28:25 +0000 +Checked in by : Robert OSFIELD +Added size() and swap() methods to provide a thread safe way to keep track of size of a RequestQueue/ReadQueue. -2009-07-16 10:12 robert +Mon, 7 Jun 2010 09:05:58 +0000 +Checked in by : Robert OSFIELD +Added removeNodes method to prune any nodes that are going to be deleted from the PagedLODLists. - * Added support for using PagedLOD to managing loading of - presentation preview and then the main presentation in the - background paging thread +Mon, 7 Jun 2010 08:36:08 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2009-07-15 20:52 cedricpinson +Fri, 4 Jun 2010 19:50:32 +0000 +Checked in by : Michael PLATINGS +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. - * From Cedric Pinson, add accessors to osgAnimation ActionCallback -2009-07-15 17:01 robert +Fri, 4 Jun 2010 11:04:15 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * Added alias from xml to p3d to ensure backwards compatibility - with old present3D files with the.xml extenstion +Thu, 3 Jun 2010 16:24:25 +0000 +Checked in by : Robert OSFIELD +Fixed double registeration bug. -2009-07-15 15:28 robert +Thu, 3 Jun 2010 16:02:01 +0000 +Checked in by : Robert OSFIELD +Fixed permissions - * Quitened down debug info. +Thu, 3 Jun 2010 16:01:25 +0000 +Checked in by : Robert OSFIELD +Fixed permissions -2009-07-14 13:32 robert +Thu, 3 Jun 2010 16:00:28 +0000 +Checked in by : Robert OSFIELD +Removed redundent makefiles - * Cleaned up indenting +Thu, 3 Jun 2010 15:09:06 +0000 +Checked in by : Robert OSFIELD +Fixed permissions -2009-07-14 13:30 robert +Thu, 3 Jun 2010 15:07:21 +0000 +Checked in by : Robert OSFIELD +Fixed permissions - * Converted code to use osg::asciiToFloat() instead of relying - upong the C libraries sscanf to read floats as the C library is - locale sensitive. +Thu, 3 Jun 2010 15:04:58 +0000 +Checked in by : Robert OSFIELD +Fixed permissions -2009-07-14 12:22 robert +Thu, 3 Jun 2010 14:14:40 +0000 +Checked in by : Robert OSFIELD +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. - * 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 - - * 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 - - * Quietened down debug messages, and added early return when - filename contains server address. - -2009-07-14 10:37 robert - - * 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 - - * Quitened down debug messages - -2009-07-14 10:04 robert - - * Fixed the handling of compressed files - -2009-07-13 16:39 robert - - * 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 - - * 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 - - * 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" +Wed, 2 Jun 2010 18:09:34 +0000 +Checked in by : Robert OSFIELD +Added #include -2009-07-13 08:30 robert +Wed, 2 Jun 2010 15:07:27 +0000 +Checked in by : Robert OSFIELD +Added check for presence of extension. - * 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 - - * Reverted erronous check-in (which was r10454) - -2009-07-03 19:16 robert - - * 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 - - * 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 - - * To the ITK code path added support for handling a whole directory - of dicom files. - -2009-07-03 10:33 robert - - * Updated version numbers for 2.9.6 release - -2009-07-03 10:27 robert +Wed, 2 Jun 2010 13:29:42 +0000 +Checked in by : Robert OSFIELD +Removed glFramebufferTexture from list of required extension function - * Updated wrappers +Wed, 2 Jun 2010 12:14:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers to handle the new ref_ptr::ref_ptr(observer_ptr&> constructor. -2009-07-03 05:54 robert +Tue, 1 Jun 2010 18:20:38 +0000 +Checked in by : Robert OSFIELD +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 - * Added TrackballDragger code path +Tue, 1 Jun 2010 15:20:30 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "MorphGeometry fix: this fixes a crash found by Alessandro Terenzi" -2009-07-03 05:54 robert +Tue, 1 Jun 2010 14:12:03 +0000 +Checked in by : Robert OSFIELD +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 ); - * Added callback to locator in support of interactive updating of - the volume extents +it works also for cubemap textures and 2d texture arrays +" -2009-07-03 05:52 robert - * Added setUpGeometry to Dragger base class to make it easier to - use draggers interchangably. -2009-07-03 05:25 robert +Tue, 1 Jun 2010 13:33:58 +0000 +Checked in by : Robert OSFIELD +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 - * Introduced a Locator callback and associated usage of this - callback to provide interactive updating of the volume bounds +Tue, 1 Jun 2010 13:32:12 +0000 +Checked in by : Robert OSFIELD +Added newline to fix warnings -2009-07-02 18:50 robert +Tue, 1 Jun 2010 11:51:37 +0000 +Checked in by : Robert OSFIELD +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. +" - * 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 - * Refactored RayTracedTechnique to allow the position of the - rendered part of the volume to be decoupled from the image data. +Tue, 1 Jun 2010 11:28:04 +0000 +Checked in by : Robert OSFIELD +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()." -2009-07-01 15:39 robert - * 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 +Tue, 1 Jun 2010 11:23:04 +0000 +Checked in by : Robert OSFIELD +Removed unneccessary QWebKit includes - * Removed old references to CommandManager +Tue, 1 Jun 2010 09:23:21 +0000 +Checked in by : Robert OSFIELD +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." -2009-07-01 14:49 robert +Tue, 1 Jun 2010 09:21:42 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, fixed typo and removed redundent include - * Added constructor and destructor body +Mon, 31 May 2010 17:16:45 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-07-01 14:04 robert +Mon, 31 May 2010 16:53:41 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, "I added radial fog functionality be using the OpenGL extension 'GL_NV_fog_distance'." - * Added osgGA to the dependency list +Mon, 31 May 2010 15:52:25 +0000 +Checked in by : Robert OSFIELD +From Xin Li, "use std::list::splice to replace std::list::insert and std::list::clearit may use the constant time to move all the items in the '_eventQueue' to 'events', and reduce the mutex holding time" -2009-07-01 14:01 robert - * 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 +Mon, 31 May 2010 15:51:59 +0000 +Checked in by : Robert OSFIELD +Added support for a wider range of gpx files - * From Cedric Pinson, i miss to commit the file that contains the - osgAnimation::StripAnimation::traverse +Fri, 28 May 2010 17:17:34 +0000 +Checked in by : Robert OSFIELD +Added OSG_DEBUG_DP macro -2009-06-30 13:00 robert +Fri, 28 May 2010 17:17:09 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Simplified Command and CommandManager +Fri, 28 May 2010 17:16:49 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-30 12:41 shuber +Fri, 28 May 2010 17:15:47 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * From Stephan Huber: updated XCode project, included - osgPresentation +Fri, 28 May 2010 17:14:58 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-30 11:55 cedricpinson +Fri, 28 May 2010 17:14:29 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * 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 +Fri, 28 May 2010 17:14:11 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-30 11:39 robert +Fri, 28 May 2010 17:13:41 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Refactored osgManipulator so that CommandManager is no longer - required, instead Dragger directly manages Constaints and - associate Selections. +Fri, 28 May 2010 17:13:20 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-30 07:33 robert +Fri, 28 May 2010 17:12:55 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Updated wrappers +Fri, 28 May 2010 17:12:14 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-29 21:32 robert +Fri, 28 May 2010 17:11:35 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Introduced event handling directly into osgManipulator::Dragger - to allow it be used with a global event handler passing in - events. +Fri, 28 May 2010 17:11:14 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-26 16:52 robert +Fri, 28 May 2010 17:10:57 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * 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. +Fri, 28 May 2010 17:10:27 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-26 16:39 robert +Fri, 28 May 2010 17:10:06 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Added search in /usr/local/dicom for dcmtk. +Fri, 28 May 2010 17:09:36 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-26 08:16 robert +Fri, 28 May 2010 17:09:15 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Fixed warning +Fri, 28 May 2010 17:08:30 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-26 08:14 robert +Fri, 28 May 2010 17:08:10 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Fixed warning +Fri, 28 May 2010 17:07:44 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 18:31 robert +Fri, 28 May 2010 17:07:24 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Simplified throw rate code, and add throw rate compensation into - zoom in/out code. +Fri, 28 May 2010 17:07:01 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 18:11 robert +Fri, 28 May 2010 17:06:35 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * 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." +Fri, 28 May 2010 17:06:10 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 18:03 robert +Fri, 28 May 2010 17:05:46 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Fixed library definition +Fri, 28 May 2010 16:54:45 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 16:12 robert +Fri, 28 May 2010 16:54:08 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * From Stephan Huber, fixes to Cocoa support +Fri, 28 May 2010 16:53:46 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 16:07 robert +Fri, 28 May 2010 16:52:45 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * 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, 28 May 2010 16:51:18 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 16:02 robert +Fri, 28 May 2010 16:50:45 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Fixed warnings and refactored FindFFmpeg.cmake and ffmpeg plugin - CMakeLists.txt scripts to better handle different instation - combinations +Fri, 28 May 2010 16:50:29 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 13:31 robert +Fri, 28 May 2010 16:49:45 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Converted tabs to spaces +Fri, 28 May 2010 16:49:23 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 13:26 robert +Fri, 28 May 2010 16:48:31 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * 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." +Fri, 28 May 2010 16:48:05 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 13:13 robert +Fri, 28 May 2010 16:47:42 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * From Mathias Froehlich, "put texturemanager into osg namespace." +Fri, 28 May 2010 16:45:32 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 13:10 robert +Fri, 28 May 2010 16:44:28 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * 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." +Fri, 28 May 2010 16:44:08 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 13:00 robert +Fri, 28 May 2010 16:42:57 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * 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." +Fri, 28 May 2010 16:42:24 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 09:14 robert +Fri, 28 May 2010 16:41:53 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * 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." +Fri, 28 May 2010 16:41:37 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 08:53 robert +Fri, 28 May 2010 16:39:42 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Added osgFX depedency +Fri, 28 May 2010 16:39:08 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 08:52 robert +Fri, 28 May 2010 16:38:19 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Added osgVolume dependency +Fri, 28 May 2010 16:38:00 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 08:23 robert +Fri, 28 May 2010 16:37:40 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Added export +Fri, 28 May 2010 16:37:10 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-25 07:42 robert +Fri, 28 May 2010 16:32:51 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Added CMakeLists.txt for osgPresentation +Fri, 28 May 2010 16:32:06 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-24 17:37 robert +Fri, 28 May 2010 16:31:38 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Added use of REGISTER_OGRPLUGIN to enable static linking of - plugins +Fri, 28 May 2010 16:31:17 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-24 17:34 robert +Fri, 28 May 2010 16:30:58 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Added ffmpeg and pdf to static build +Fri, 28 May 2010 16:30:36 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-24 17:33 robert +Fri, 28 May 2010 16:29:53 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Added support for static compilation of pdf plugin +Fri, 28 May 2010 16:28:58 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-24 16:45 robert +Fri, 28 May 2010 16:28:18 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to use info - * Fixed non windows path +Fri, 28 May 2010 16:27:37 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO -2009-06-24 16:14 robert +Fri, 28 May 2010 16:27:02 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Renamed the temporary application name of present3D-osg to - present3D. +Fri, 28 May 2010 16:26:24 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-24 16:03 robert +Fri, 28 May 2010 16:25:41 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Refactored preset3D/p3d plugin so that common scene graph - extensions and classes now live in a separate osgPresenttation - NodeKit. +Fri, 28 May 2010 16:24:04 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO -2009-06-24 10:26 robert +Fri, 28 May 2010 16:22:02 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Refactored the FFmpeg find script and the pdd CMakeLists.txt to - improve the automatic detection of the required facilities +Fri, 28 May 2010 16:10:24 +0000 +Checked in by : Robert OSFIELD +Conversion of osg::notify to OSG_INFO etc. -2009-06-24 10:10 cedricpinson +Fri, 28 May 2010 16:09:29 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * 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 +Fri, 28 May 2010 16:08:15 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-23 12:59 cedricpinson +Fri, 28 May 2010 16:07:34 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO - * From Cedric Pinson, Fix clone operation for - osgAnimation::Animation +Fri, 28 May 2010 16:07:09 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-23 11:33 robert +Fri, 28 May 2010 16:06:15 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. - * Fixed warning +Fri, 28 May 2010 16:05:47 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-23 10:53 robert +Fri, 28 May 2010 16:04:56 +0000 +Checked in by : Robert OSFIELD +Convertex osg::notify to OSG_INFO etc. - * Added explict search for stdint.h +Fri, 28 May 2010 16:04:19 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-22 18:04 cedricpinson +Fri, 28 May 2010 16:03:38 +0000 +Checked in by : Robert OSFIELD +Conversion of osg::notify to OSG_INFO etc. - * From Cedric Pinson, fix clone for UpdateTransform +Fri, 28 May 2010 16:03:14 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify to OSG_INFO etc. -2009-06-22 16:08 robert +Fri, 28 May 2010 16:00:45 +0000 +Checked in by : Robert OSFIELD +converted osg::notify to OSG_INFO etc. - * Added support for reading from http and obj files in the static - build of Present3D +Fri, 28 May 2010 15:56:43 +0000 +Checked in by : Robert OSFIELD +conversion of osg::notify to OSG_INFO etc. -2009-06-22 16:02 robert +Fri, 28 May 2010 15:53:32 +0000 +Checked in by : Robert OSFIELD +Conversion of osg::notify to OSG_INFO. - * Fixed swap size +Fri, 28 May 2010 15:52:45 +0000 +Checked in by : Robert OSFIELD +Conversion of osg::notify to OSG_INFO etc. -2009-06-22 14:24 cedricpinson +Fri, 28 May 2010 15:51:00 +0000 +Checked in by : Robert OSFIELD +Conversion of osg::notify to OSG_INFO etc. - * From Cedric Pinson, fix constructors for cloning osgAnimation - objects +Fri, 28 May 2010 15:47:52 +0000 +Checked in by : Robert OSFIELD +Convesion of osg::notify to OSG_INFO etc. -2009-06-22 13:08 robert +Fri, 28 May 2010 09:12:07 +0000 +Checked in by : Robert OSFIELD +Changed debug info to use DEBUG_INFO - * Updated authors for 2.9.5 release +Fri, 28 May 2010 08:57:48 +0000 +Checked in by : Robert OSFIELD +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 -2009-06-22 12:46 robert +Thu, 27 May 2010 18:46:58 +0000 +Checked in by : Robert OSFIELD +Refactored the expiry and PagedLOD counting so that it's now done in single CountPagedLODsVisitor::removeExpiredChildrenAndCountPagedLODs method - * Update ChangeLog and contributors +Thu, 27 May 2010 15:54:37 +0000 +Checked in by : Robert OSFIELD +Renamed osgGA::MatrixManipualtor to osgGA::CameraManipulator so its name better reflects it's function -2009-06-21 17:28 robert +Thu, 27 May 2010 14:35:10 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "Minor ffmpeg build fix, Replaced IF (${FFMPEG_STDINT_INCLUDE_DIR}) with IF (FFMPEG_STDINT_INCLUDE_DIR)" - * Added mutex lock to iniGLNames to prevent threading problems - during initialization +Thu, 27 May 2010 13:59:34 +0000 +Checked in by : Robert OSFIELD +From Jan Pecvia, improvements to manipulators and added new manipulator to osgviewer -2009-06-20 17:03 robert +Thu, 27 May 2010 13:58:46 +0000 +Checked in by : Robert OSFIELD +Moved across to using more flexible dirtyMark when dirtying tiles - * Added support for initial cut of static build of Present3D. +Wed, 26 May 2010 16:10:16 +0000 +Checked in by : Robert OSFIELD +Re-enabled boundary equalization support. -2009-06-20 11:35 robert +Wed, 26 May 2010 08:34:15 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * 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." +Tue, 25 May 2010 17:02:22 +0000 +Checked in by : Robert OSFIELD +Fixed 3 space indenting -2009-06-20 08:18 robert +Tue, 25 May 2010 17:02:11 +0000 +Checked in by : Robert OSFIELD +Fixed 3 space indenting in headers. - * Updated wrappers +Tue, 25 May 2010 16:27:21 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-06-19 14:14 robert +Tue, 25 May 2010 15:52:11 +0000 +Checked in by : Robert OSFIELD +Removed export - * 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." +Tue, 25 May 2010 12:05:13 +0000 +Checked in by : Robert OSFIELD +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. +" -2009-06-19 13:53 robert +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. - * Changed the debug output so that the code path is not run unless - it's needed -2009-06-19 13:50 robert - * From Jean-Sebastian Guay and Robert Osfield, added line numbers - to debug shader output -2009-06-19 13:09 robert +Mon, 24 May 2010 14:16:31 +0000 +Checked in by : Robert OSFIELD +Quitened down debug output - * 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." +Mon, 24 May 2010 09:44:38 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-06-19 11:55 robert +Sat, 22 May 2010 15:45:02 +0000 +Checked in by : Robert OSFIELD +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. - * 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 - - * From Don Liech, Qt/OSG integration example - -2009-06-19 11:16 robert - - * Updated wrappers - -2009-06-19 11:04 robert - - * Added append() method - -2009-06-19 11:00 robert +Fri, 21 May 2010 09:56:59 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, "Reading and Writing of Texture2DArrays for IVE format." - * Added clears to various vectors being passed in to get*() - methods. +Fri, 21 May 2010 09:34:25 +0000 +Checked in by : Robert OSFIELD +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 ;-) " -2009-06-19 10:55 robert +Fri, 21 May 2010 09:23:41 +0000 +Checked in by : Robert OSFIELD +From Hartwig Wiesmann, fixed setup of texture coordinates for applying a contour layer. - * 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()." +Fri, 21 May 2010 09:00:19 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2009-06-18 10:01 robert +Thu, 20 May 2010 17:02:45 +0000 +Checked in by : Robert OSFIELD +From Hartwig Wiesmann, "I have added some doxygen documentation to the plane class. " - * From Cedric Pinson and Robert Osfield, addition of NodeCallbacks - to osg::CopyOp and osg::Node copy constructor. +Thu, 20 May 2010 17:00:10 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, added missing static_cast in Referenced.cpp -2009-06-18 08:29 robert +Thu, 20 May 2010 15:25:40 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added exports +Thu, 20 May 2010 13:38:28 +0000 +Checked in by : Robert OSFIELD +Introduced a alternative implementation of observer_ptr<> that uses ObserverSet rather than an local WeakReference object. -2009-06-18 08:22 robert +Wed, 19 May 2010 16:43:37 +0000 +Checked in by : Robert OSFIELD +From Alok Priyadarshi, build fix for gcc. - * Updated wrappers +Wed, 19 May 2010 13:40:46 +0000 +Checked in by : Robert OSFIELD +Introduction an ADD_FUNCTION macro to simply the set up of the static function mappings -2009-06-18 08:18 robert +Wed, 19 May 2010 13:14:57 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, fix for deadlock - * 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)." +Wed, 19 May 2010 08:22:10 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2009-06-17 16:54 robert +Wed, 19 May 2010 08:08:49 +0000 +Checked in by : Robert OSFIELD +From Martin Naylor, "Please find attached the modified observer_ptr include for fixing a compiler issue for Windows and VS2008." - * Replaced forward declarations +Tue, 18 May 2010 18:01:02 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, typo fix. -2009-06-17 16:54 robert +Tue, 18 May 2010 17:58:35 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Added ".added", ".modified" and ".removed" alias to .revisions - plugin +Tue, 18 May 2010 15:33:59 +0000 +Checked in by : Robert OSFIELD +Added better invalidation of the inactive and active PageLOD lists when children are invalidated when parents are removed. -2009-06-17 15:12 robert +Tue, 18 May 2010 11:00:06 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, serializers for osgSim and osgVolume - * Updated wrappers +Tue, 18 May 2010 10:12:30 +0000 +Checked in by : Robert OSFIELD +Fixed typos in method names -2009-06-17 15:12 robert +Mon, 17 May 2010 18:37:32 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Made method names consistent with each other +Mon, 17 May 2010 14:43:41 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, improved doxygen comments -2009-06-17 11:00 robert +Mon, 17 May 2010 14:21:53 +0000 +Checked in by : Robert OSFIELD +Removed signalUnreffed interface - * 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." +Mon, 17 May 2010 09:03:44 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, refactore WeakReference/Referenced to avoid signalling the observers when do a unref_nodelete. -2009-06-17 10:39 robert +Mon, 17 May 2010 08:29:35 +0000 +Checked in by : Robert OSFIELD +Re-ordered the inclusion of platform specific headers to fix compile error under Windows - * Changed build OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION to ON - and then fixed all the resulting build errors. +Fri, 14 May 2010 19:47:50 +0000 +Checked in by : Robert OSFIELD +From Alok Priyadarshi, support for statically linking to GLES2.lib -2009-06-17 08:56 robert +Fri, 14 May 2010 12:24:13 +0000 +Checked in by : Robert OSFIELD +Refactored Observer/ObserverNodePath and DatabasePager to improve their robustness. - * Fixed error in DisplaySettings::setNumOfHttpDatabaseThreadsHint +Fri, 14 May 2010 12:14:14 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, new more robust observer_ptr<> implementation -2009-06-16 13:02 robert +Thu, 13 May 2010 11:01:06 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I modified some plugins to use the osgDB file stream functions in order to support UTF-8 encoded filenames." - * Updated wrappers +Thu, 13 May 2010 10:01:07 +0000 +Checked in by : Robert OSFIELD +From Gunter Huber, fixes for better GLES2 support -2009-06-16 12:32 cedricpinson +Wed, 12 May 2010 20:02:31 +0000 +Checked in by : Robert OSFIELD +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: - * From Cedric Pinson, Fix osgAnimation warning and errors +# osgconv cow.osg cow.osgb -O SchemaData -2009-06-16 12:22 cedricpinson +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. +" - * From Cedric Pinson, Fix osgAnimation warning and errors for - Bone.cpp -2009-06-16 10:20 shuber - * From Stephan Huber: updated XCode project +Wed, 12 May 2010 15:11:15 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, fixed memory leak when using OpenThread::Mutex based reference counting. -2009-06-15 14:48 cedricpinson +Wed, 12 May 2010 14:34:18 +0000 +Checked in by : Robert OSFIELD +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. - * From Cedric Pinson, split timeline classes in differents files, - cleanup and add a statshandler to visualize current action in - timeline +Wed, 12 May 2010 11:58:01 +0000 +Checked in by : Robert OSFIELD +Improved the indentation/replaced tabs -2009-06-14 23:30 cedricpinson +Wed, 12 May 2010 11:44:30 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Here is a tiny fix about texture wrap mode not being written correctly in 3DS files." - * From Cedric Pinson, fix copy constructor for clone operation for - Bone, add a missing contructor with quaternion for Target +Wed, 12 May 2010 11:41:36 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find a fix for a crash when closeImplementation gets called more than once." -2009-06-12 10:37 robert +Wed, 12 May 2010 11:37:27 +0000 +Checked in by : Robert OSFIELD +Fixes for building OSG with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF.Fixed copy and paste error in Camera::getImplicitBufferAttachmentResolveMask(). - * Updated wrappers -2009-06-12 10:08 robert - * 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 - - * 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 - - * 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 - - * From Konstantin Sinitsyn, "I've fixed bug with loading of - compressed texture to texture array!" - -2009-06-12 09:41 robert - - * From Roger James and Robert Osfield, clean up of COLLADA CMake - support - -2009-06-12 09:11 robert - - * Updated ChangeLog - -2009-06-11 15:13 robert - - * Fixed copy constructor - -2009-06-11 14:56 robert - - * 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 - - * 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 - - * From Gustav Happalahti, fixed filename usage - -2009-06-08 16:50 robert - - * 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 - - * 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!" +Wed, 12 May 2010 08:54:22 +0000 +Checked in by : Michael PLATINGS +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. -2009-06-08 13:51 robert +Tue, 11 May 2010 17:02:18 +0000 +Checked in by : Michael PLATINGS +From Martins Innus: allow the fbx exporter to reference textures correctly if the stateset is applied to the Geode instead of Geometry - * 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." +Tue, 11 May 2010 09:08:55 +0000 +Checked in by : Michael PLATINGS +Fix from Martins Innus for error: extra qualification 'FbxMaterialToOsgStateSet::' on member 'FbxMaterialToOsgStateSet' -2009-06-08 13:47 robert - - * Addded .ive and .osg support for new - GL_EXT_blend_equation_separate properties in osg::BlendEquation - -2009-06-08 13:46 robert +Fri, 30 Apr 2010 20:04:25 +0000 +Checked in by : Robert OSFIELD +updated wrappers - * From Konstantin Sinitsyn, support for - GL_EXT_blend_equation_separate extension like in - osg::BlendEquation. - -2009-06-08 12:50 robert - - * Added basic Matrix::decompose() test, based on a test progrem - wrttien by Paul Obermeier - -2009-06-08 12:44 robert +Fri, 30 Apr 2010 19:42:43 +0000 +Checked in by : Robert OSFIELD +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 - * Fixed doc message +Fri, 30 Apr 2010 19:41:56 +0000 +Checked in by : Robert OSFIELD +Added proper support for writing out Xml graph -2009-06-08 11:12 robert +Fri, 30 Apr 2010 19:41:24 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * From Lionel Lagarde, "this correction makes the intensity - interpolated in the correct direction when the angle is between - _cosFadeAngle and _cosAngle." +Fri, 30 Apr 2010 15:51:38 +0000 +Checked in by : Robert OSFIELD +Added beginnings of spell checking support -2009-06-08 10:54 robert +Fri, 30 Apr 2010 12:22:31 +0000 +Checked in by : Robert OSFIELD +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. :) - * Fixed warning +Some unfinished functionalities: inheritedWindowData, sharedContext, and more tests needed." -2009-06-08 10:27 robert - * Changed the file search path so it returns an empty string when - the filename contains a server address. -2009-06-08 09:47 robert +Fri, 30 Apr 2010 11:48:30 +0000 +Checked in by : Robert OSFIELD +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. - * 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. +Fri, 30 Apr 2010 10:52:24 +0000 +Checked in by : Robert OSFIELD +Added free of _visualInfo if it's already been allocated -2009-06-05 19:05 robert +Fri, 30 Apr 2010 10:51:27 +0000 +Checked in by : Robert OSFIELD +Changed debug messages to use printf to avoid issues with using notify at startup and exit. - * 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. +Fri, 30 Apr 2010 10:50:17 +0000 +Checked in by : Robert OSFIELD +Added support for using dot graphs directly in the token -2009-06-05 11:48 robert +Thu, 29 Apr 2010 15:23:43 +0000 +Checked in by : Robert OSFIELD +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) ... - * Added depends_on template and usage in RenderBin to help with - static variable destruction ordering +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." -2009-06-05 10:42 robert - * Fixed warning -2009-06-04 14:37 robert +Thu, 29 Apr 2010 11:59:51 +0000 +Checked in by : Robert OSFIELD +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." - * Updated wrappers +Thu, 29 Apr 2010 09:46:14 +0000 +Checked in by : Robert OSFIELD +Fixed handling of Terrain/CoordinateSystem node so that the code now handles the fact that Terrain now subclasses from CoordinateSystemNode. -2009-06-04 14:07 robert +Wed, 28 Apr 2010 22:08:48 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Implemented updating of revision files as new data is writing to - the FileCache +Wed, 28 Apr 2010 21:22:44 +0000 +Checked in by : Robert OSFIELD +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." -2009-06-02 16:58 robert +Wed, 28 Apr 2010 21:10:29 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Added osgdatabaserevisions example to server as a testbed for new - osgDB::DatabaseRevisions functionality +Wed, 28 Apr 2010 20:33:40 +0000 +Checked in by : Robert OSFIELD +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." -2009-06-02 16:54 robert +Wed, 28 Apr 2010 20:21:28 +0000 +Checked in by : Robert OSFIELD +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." - * Implemented DatabasePath in DatabaseBase revision classes +Wed, 28 Apr 2010 20:16:44 +0000 +Checked in by : Robert OSFIELD +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." -2009-06-02 08:56 robert - * Refactored the adaption of X11 key symbols into OSG key events to - fix problems with handling wide range of locales. -2009-06-02 08:53 robert +Wed, 28 Apr 2010 20:10:53 +0000 +Checked in by : Robert OSFIELD +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)" - * Moved assigned of texture object to _textureObjectBuffer to - earlier in Texture2D::apply() to prevent problems with non power - of two texture mipmap generation. +Wed, 28 Apr 2010 18:53:34 +0000 +Checked in by : Robert OSFIELD +Added support for passing options to the .dot plugin -2009-06-01 11:22 robert +Wed, 28 Apr 2010 18:52:58 +0000 +Checked in by : Robert OSFIELD +Added support for passing in an options string to control the orientation of the generated graph - * From Wojciech Lewandowski, Fixed handling of empty Program. +Wed, 28 Apr 2010 17:29:31 +0000 +Checked in by : Robert OSFIELD +Introduced the use of ref_ptr<> in read show methods -2009-06-01 11:08 robert +Wed, 28 Apr 2010 17:18:01 +0000 +Checked in by : Robert OSFIELD +Removed redundent files - * 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." +Wed, 28 Apr 2010 14:56:38 +0000 +Checked in by : Robert OSFIELD +Added support for using graphviz dot for graphics visualization via filename token. -2009-06-01 11:07 robert +Wed, 28 Apr 2010 14:55:42 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * 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, 28 Apr 2010 14:55:07 +0000 +Checked in by : Robert OSFIELD +Added colours and different style to drawable and statesets -2009-05-30 07:39 robert +Wed, 28 Apr 2010 14:05:47 +0000 +Checked in by : Michael PLATINGS +No longer removes redundant nodes because node structure may be important. - * Updated wrappers +Wed, 28 Apr 2010 10:15:16 +0000 +Checked in by : Robert OSFIELD +Replaced afprintf usage with std::string to fix memory leak and improve portability of code. -2009-05-29 18:24 robert +Mon, 26 Apr 2010 10:07:49 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated xcode-project - * Added revisions plugin in support of paged database revisions. +Fri, 23 Apr 2010 16:35:44 +0000 +Checked in by : Robert OSFIELD +From Roland Smeenk and Robert Osfield, improvements to the indentation of comments. -2009-05-29 09:39 shuber +Fri, 23 Apr 2010 09:29:50 +0000 +Checked in by : Robert OSFIELD +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()); - * From Stephan Huber: updated XCode project +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)); -2009-05-29 08:46 robert +Remark: The value -1e-6 may be added (falsely) because of a rounding error. - * Updated wrappers +The attached fix prevents assigning NaN values to the image. +" -2009-05-29 08:24 robert - * Ran dos2unx of files -2009-05-29 08:24 robert +Fri, 23 Apr 2010 08:58:57 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Introduced first iterations of DatabaseRevision classes for - managing the revisioning of http hosted databases +Fri, 23 Apr 2010 08:55:23 +0000 +Checked in by : Robert OSFIELD +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." -2009-05-28 16:46 robert +Thu, 22 Apr 2010 17:02:22 +0000 +Checked in by : Robert OSFIELD +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). - * Fixed warning +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." -2009-05-28 14:15 robert +and from follow email: - * From Mathias Froehlich, "This frees some memory that is allocated - by the X11 functions." +"Fixed. According to ARB_texture_multisample extension specification multisample textures don't need TexParameters since they can only be fetched with texelFetch." -2009-05-28 14:12 robert - * Fixed unitialized variable -2009-05-28 14:09 robert - * 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 +Thu, 22 Apr 2010 16:08:26 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've attached a small fix so that osgDB::convertStringFromUTF8toCurrentCodePage actually performs the conversion onto the destination string." - * 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." +Thu, 22 Apr 2010 16:01:38 +0000 +Checked in by : Robert OSFIELD +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." -2009-05-28 13:29 robert +Thu, 22 Apr 2010 13:07:49 +0000 +Checked in by : Robert OSFIELD +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" - * From Gregory Jaegy and Robert Osfield, added support for static - linking of OpenFlight plugin +Thu, 22 Apr 2010 11:20:31 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, and AUTHORS files -2009-05-28 13:26 robert +Thu, 22 Apr 2010 10:13:05 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, added check to whether validConfigs is empty. - * Fixed warnings +Thu, 22 Apr 2010 08:59:52 +0000 +Checked in by : Robert OSFIELD +Added a temporary /* */ around the check against _traits->vsync to avoid the errors reported with the current usage of RestoreContext for setting the vsync. -2009-05-28 12:25 robert +Thu, 22 Apr 2010 07:32:11 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, fixed typo - * 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." +Wed, 21 Apr 2010 17:16:13 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlien with little bits from Robert Osfield and Chris Hanson, added provisionl support for controlling sync to vblank. -2009-05-28 08:25 robert +Wed, 21 Apr 2010 16:44:38 +0000 +Checked in by : Robert OSFIELD +Changed "Sorted" label to "Sorted Drawables" - * Updated wrappers +Wed, 21 Apr 2010 16:37:28 +0000 +Checked in by : Robert OSFIELD +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." -2009-05-27 13:02 robert +Tue, 20 Apr 2010 16:27:54 +0000 +Checked in by : Robert OSFIELD +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) - * Renamed application osgvirtualprogram to osgshadercompostior to - better reflect it function +Here the prefix "../../bin" may need to be fixed. I just modified it to: -2009-05-27 13:00 robert +IF(MSVC_VERSION LESS 1600) + SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES PREFIX +"../../bin/${LIB_PREFIX}${LIB_SOVERSION}-" IMPORT_PREFIX "../") +ENDIF() - * Renamed osgvirtualprogram to osgshadercompositor to better - reflect it's function +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. +" -2009-05-27 12:11 robert - * Fixed glStencilMask setting. -2009-05-27 09:54 robert +Tue, 20 Apr 2010 13:52:28 +0000 +Checked in by : Robert OSFIELD +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." - * Added support for RenderBin::SortMode::TRAVERSAL_ORDER to enable - rendering of scene graph drawables in the order that they were - traversed in. +Tue, 20 Apr 2010 13:34:57 +0000 +Checked in by : Robert OSFIELD +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. -2009-05-27 09:45 robert +Tue, 20 Apr 2010 11:38:38 +0000 +Checked in by : Robert OSFIELD +Replaced tabs with four spaces - * Fixed warning +Tue, 20 Apr 2010 11:34:19 +0000 +Checked in by : Robert OSFIELD +UPdated wrappers -2009-05-26 14:22 robert +Tue, 20 Apr 2010 11:23:08 +0000 +Checked in by : Robert OSFIELD +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." - * 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." +Tue, 20 Apr 2010 11:13:27 +0000 +Checked in by : Robert OSFIELD +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." -2009-05-26 11:00 robert +Tue, 20 Apr 2010 11:05:22 +0000 +Checked in by : Robert OSFIELD +Fixed the background quad size to fit all the camera stats labels - * From Ulrich Hertlein, "please find a patch for the DirectX loader - to use std::istreams. This will make it usable with the zip - plugin." +Tue, 20 Apr 2010 10:59:44 +0000 +Checked in by : Robert OSFIELD +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. " -2009-05-26 10:10 robert +Tue, 20 Apr 2010 10:35:33 +0000 +Checked in by : Robert OSFIELD +Changed the AbmientBias type from Vec2d to Vec2 as use of double is inappropriate. + +Tue, 20 Apr 2010 10:29:04 +0000 +Checked in by : Robert OSFIELD +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." - * Fixed warnings +Tue, 20 Apr 2010 09:48:45 +0000 +Checked in by : Robert OSFIELD +From Mourad Boufarguine, "This submission fixes osgDAE::toString(*) unresolved external symbols compile errors (on VS)." -2009-05-25 16:34 robert +Mon, 19 Apr 2010 14:49:42 +0000 +Checked in by : Robert OSFIELD +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." - * Refactored the GraphicsWindowX11::adaptKey() implementation so - that it always uses the reampX11Key(ks) method, and for the - mapping to handle case correctly. +Mon, 19 Apr 2010 13:44:42 +0000 +Checked in by : Robert OSFIELD +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. -2009-05-25 13:02 robert +Here's some more info how to get frameworks: - * From Wojciech Lewandowski, VirtualProgram example that - illustrates how one can create a custom system for composing - shaders within the scene graph. +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. -2009-05-25 12:07 robert +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." - * Updated wrappers -2009-05-25 12:04 robert - * Changed Status enums to ActionStatus and TimelineStatus to avoid - X11 problems +Mon, 19 Apr 2010 12:09:21 +0000 +Checked in by : Robert OSFIELD +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." -2009-05-25 11:16 robert +Mon, 19 Apr 2010 11:43:06 +0000 +Checked in by : Robert OSFIELD +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." - * Added initializer of ParticleSystemUpdater::_frameNumber +Mon, 19 Apr 2010 10:35:18 +0000 +Checked in by : Robert OSFIELD +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. -2009-05-25 11:12 robert +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. - * 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. - " +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?" -2009-05-25 10:46 robert - * 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." -2009-05-22 08:31 robert +Mon, 19 Apr 2010 09:39:39 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, fixes for static build - * From Alberto Luacas, added new pkg-cofig files +Mon, 19 Apr 2010 08:41:00 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2009-05-22 07:52 robert +Thu, 15 Apr 2010 18:40:40 +0000 +Checked in by : Robert OSFIELD +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. - * From Alberto Luacas, separate pkg-config .pc files +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. +" -2009-05-21 16:33 robert - * 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. -2009-05-21 08:37 robert +Thu, 15 Apr 2010 18:38:32 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix on header files - * Added a default value to avoid warning +Thu, 15 Apr 2010 18:38:03 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix on lib3ds files -2009-05-20 12:14 robert +Thu, 15 Apr 2010 12:51:41 +0000 +Checked in by : Robert OSFIELD +From J.P. Delport, Fix for invalid iterator dereference in DatabasePager. - * Fixed warnings +Thu, 15 Apr 2010 11:49:33 +0000 +Checked in by : Robert OSFIELD +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." -2009-05-20 12:06 robert - * Fixed warnings -2009-05-20 11:14 robert +Thu, 15 Apr 2010 11:45:10 +0000 +Checked in by : Robert OSFIELD +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." - * Updated wrappers -2009-05-20 11:08 robert - * Changed TerrainManipulator to use HEADING rather than AZIM to - keep it consistent with SphericalManipulator +Thu, 15 Apr 2010 11:41:37 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, build fixes for Solaris-64 -2009-05-20 10:58 robert +Thu, 15 Apr 2010 11:40:49 +0000 +Checked in by : Robert OSFIELD +Changed std::pair declaration to ListTriangle::value_type to avoid Solaris compile errors - * Converted SphericalManipulator to use Elevation and Heading - rather than Zenith and Azimuth. +Thu, 15 Apr 2010 11:02:22 +0000 +Checked in by : Robert OSFIELD +Removed the setting of the DatabasePager thread affinity, and moved the setting of the DatabasePager thread priotity to after the creation of the threads -2009-05-19 16:12 shuber +Wed, 14 Apr 2010 16:43:50 +0000 +Checked in by : Michael PLATINGS +Updated the plugin to be compatible with version 2011.2 of the FBX SDK - * updated XCode-project +Wed, 14 Apr 2010 13:39:43 +0000 +Checked in by : Robert OSFIELD +Added minimum frame delay of 1/100th second when using on demand rendering to avoid creating a CPU lock. -2009-05-19 15:11 robert +Wed, 14 Apr 2010 10:43:16 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Fixed typo +Tue, 13 Apr 2010 18:42:58 +0000 +Checked in by : Robert OSFIELD +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. -2009-05-19 15:10 robert +Tue, 13 Apr 2010 14:50:31 +0000 +Checked in by : Michael PLATINGS +Added support for double precision geometry - * Updated wrappers +Tue, 13 Apr 2010 13:06:27 +0000 +Checked in by : Robert OSFIELD +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. -2009-05-19 14:03 robert +Tue, 13 Apr 2010 09:42:53 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * 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." +Tue, 13 Apr 2010 09:42:36 +0000 +Checked in by : Robert OSFIELD +updated wrappers -2009-05-19 12:25 robert +Mon, 12 Apr 2010 16:35:15 +0000 +Checked in by : Michael PLATINGS +osgAnimation now stores times as doubles - * Attempt to fix Cygwin build failure +Mon, 12 Apr 2010 15:04:25 +0000 +Checked in by : Michael PLATINGS +From Sukender: Fixed FBX writer: now handles double precision arrays (vertices, normals, texcoords) -2009-05-19 12:21 robert +Fri, 9 Apr 2010 08:52:40 +0000 +Checked in by : Robert OSFIELD +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. - * 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 - * 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 - * From Stephan Huber, "when using windownames and switching between - fullscreen and windowed - mode GraphicsWindowCocoa crashes. Attached you'll find a fix for - that bug. - " +Sat, 3 Apr 2010 16:26:32 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-05-19 10:42 robert +Sat, 3 Apr 2010 16:21:34 +0000 +Checked in by : Robert OSFIELD +Change Terrain so that it subclassed from CoordinateSystemNode.Implemented new update scheme of GeometryTechnique to avoid potential threading issues. - * From Stephan Huber, replaced #include with #include - to fix build under OSX +Added Terrain support to .ive. -2009-05-19 10:35 shuber - * updated XCode-project -2009-05-19 09:26 robert - * From Neil Hughes, intergrated support for uncompressing zip files - in memory and from istreams (enabling reading from http). -2009-05-18 15:46 robert - - * 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 - - * 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 - - * Quietened down debug messages - -2009-05-18 12:54 robert - - * 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 - - * 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 - - * 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 - - * Minor tweaks to avoid warnings when generating wrappers/doxygen - documentation - -2009-05-18 10:17 robert - - * From Philip Lowman, removed inappropriate references to OSG_ in - 3rd party libs searches - -2009-05-18 09:34 robert - - * Updated wrappers - -2009-05-15 15:49 robert - - * From Jean-Sebastien Guay, build fixes form Windows - -2009-05-15 15:10 robert - - * Added checks against libcurl version to decide what features are - used or not - -2009-05-15 12:31 robert - - * Removed debugging code block - -2009-05-15 12:22 robert - - * Removed redundant errno declaration that was cause build problems - under RedHat 3.2. - - Removed redundant version declarations. - -2009-05-15 07:50 robert - - * 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 - - * 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 +Thu, 1 Apr 2010 21:18:39 +0000 +Checked in by : Robert OSFIELD +Removed getNeighbours() method to avoid problems with introspection wrappers - * 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. - " +Thu, 1 Apr 2010 21:15:17 +0000 +Checked in by : Robert OSFIELD +Removed TerrainNeightbours class from wrapping to avoid associated build errors -2009-05-14 16:06 robert +Thu, 1 Apr 2010 21:06:56 +0000 +Checked in by : Robert OSFIELD +Added support for boundary equalization to GeometryTechnique - * Added setting of full filename to options as "filename" entry. +Thu, 1 Apr 2010 21:04:36 +0000 +Checked in by : Robert OSFIELD +Added window size event handler -2009-05-14 15:45 robert +Mon, 29 Mar 2010 08:49:20 +0000 +Checked in by : Robert OSFIELD +Added TerainHandler event handler to provide 'v'/'V' and 'r'/'R' key controls for change vertical scale and sample ratio respectively. - * 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. - " +Fri, 26 Mar 2010 11:09:10 +0000 +Checked in by : Robert OSFIELD +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." -2009-05-14 15:34 robert +Fri, 26 Mar 2010 11:07:43 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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" +Fri, 26 Mar 2010 09:01:49 +0000 +Checked in by : Robert OSFIELD +From Jim Brooks, fix for FreeBSD build where FIND_LIBRARY(DL_LIBRARY..) return NOT_FOUND. -2009-05-14 13:40 robert +Thu, 25 Mar 2010 20:20:10 +0000 +Checked in by : Cedric Pinson +Fix compile issue t = fmod(t, (float)_duration); - * Integrated support for relative paths, and http hosted - presentations +Thu, 25 Mar 2010 17:50:29 +0000 +Checked in by : Cedric Pinson +Change time type from float to double in osgAnimation -2009-05-14 13:30 robert +Thu, 25 Mar 2010 14:19:01 +0000 +Checked in by : Robert OSFIELD +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. - * Replaced tabs with spaces +Fixed a bug with texture repeat being applied to the wrong texture dimension. -2009-05-14 13:16 robert +Added handling for IndexedLineSet geometries." - * Changed tabs to spaces -2009-05-14 13:10 robert - * Changed debug message to INFO notication level +Thu, 25 Mar 2010 14:14:46 +0000 +Checked in by : Robert OSFIELD +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. " -2009-05-14 13:05 robert +Thu, 25 Mar 2010 14:12:28 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Added support for read the various animaton materials/paths from - http +Thu, 25 Mar 2010 11:11:35 +0000 +Checked in by : Robert OSFIELD +Introduced the use of linear interpolation of evelvations when sampling -2009-05-14 09:44 robert +Wed, 24 Mar 2010 17:12:05 +0000 +Checked in by : Robert OSFIELD +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. - * Updated wrappers +Wed, 24 Mar 2010 14:27:00 +0000 +Checked in by : Robert OSFIELD +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. -2009-05-13 19:48 robert +Tue, 23 Mar 2010 12:41:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added support for reading presentations and content via http, - with support of the FileCache when available. +Mon, 22 Mar 2010 17:55:14 +0000 +Checked in by : Robert OSFIELD +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." -2009-05-13 19:47 robert +Mon, 22 Mar 2010 14:32:19 +0000 +Checked in by : Robert OSFIELD +Changed private: to protected: to fix build issue under OSX - * 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. +Mon, 22 Mar 2010 13:13:22 +0000 +Checked in by : Robert OSFIELD +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." -2009-05-13 19:46 robert - * Added ReaderWriter::fileExists() method to help enable querrying - of existing of files on servers using the curl plugin -2009-05-13 19:44 robert +Mon, 22 Mar 2010 12:50:27 +0000 +Checked in by : Robert OSFIELD +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." - * Added support for Object, Image, HeightField and Shaders in - FileCache -2009-05-13 15:05 robert - * Fixed handling of space after = in options set up. +Mon, 22 Mar 2010 10:43:45 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated xcode-project -2009-05-13 08:40 robert +Sat, 20 Mar 2010 09:45:59 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, changed init() call to _init(). - * Rearranged static SDL callback so that it's after the SDL.h - header. +Fri, 19 Mar 2010 20:12:19 +0000 +Checked in by : Michael PLATINGS +Workaround for files exported from SoftImage that don't tag skeleton nodes correctly. -2009-05-13 08:33 robert +Fri, 19 Mar 2010 18:28:20 +0000 +Checked in by : Michael PLATINGS +From Paul Martz: This is a fix to get the FBX plugin to compile on OS X - * 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." +Fri, 19 Mar 2010 17:09:30 +0000 +Checked in by : Robert OSFIELD +Added a minimum tiles size of 16 to prevent down sampling from being overly aggressive. -2009-05-12 16:26 robert +Fri, 19 Mar 2010 16:31:48 +0000 +Checked in by : Robert OSFIELD +Added new osgterrain example that is simplified to just basic setup and control osgTerrain nodes, leaving the osgthreadedterrain as the more complex example. - * Removed SDL header +Fri, 19 Mar 2010 16:30:56 +0000 +Checked in by : Robert OSFIELD +Renamed source file -2009-05-12 13:24 robert +Fri, 19 Mar 2010 14:55:35 +0000 +Checked in by : Robert OSFIELD +Renamed osgterrain to osgthreadedterrain to better reflect it's functionality. - * Re-ordered SDL class to try and avoid OSX issues with _main. +Fri, 19 Mar 2010 10:19:41 +0000 +Checked in by : Michael PLATINGS +Fixed an infinite loop when loading a malformed file. -2009-05-12 12:27 robert +Thu, 18 Mar 2010 19:02:12 +0000 +Checked in by : Michael PLATINGS +Workaround for models with inverted transparency - * Attempt to fix OSX missing _main symbol error +Thu, 18 Mar 2010 17:10:48 +0000 +Checked in by : Robert OSFIELD +Added StateSet event handler to osgfont and osgtext to aid with debugging -2009-05-12 11:54 cedricpinson +Thu, 18 Mar 2010 15:04:27 +0000 +Checked in by : Robert OSFIELD +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. - * from Maciej Krol:\nFixes for - OSG_USE_PTR_IMPLICIT_OUTPUT_CONVERSION = OFF -2009-05-12 10:45 robert - * From Fajran Iman Rusadi, fixed error in window index management - when children add insert or removed. -2009-05-12 08:56 shuber - * From Stephan Huber: - updated XCode project to reflect current trunk +Thu, 18 Mar 2010 14:41:33 +0000 +Checked in by : Robert OSFIELD +Removed the sizeAdjustment code as it was leading to incorrect tex coord generation and clipping of the left handside of the text glyphs. -2009-05-12 05:58 robert +Wed, 17 Mar 2010 14:36:16 +0000 +Checked in by : Robert OSFIELD +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" - * Added return to end of file to prevent warning -2009-05-12 05:49 robert - * Moved getAttributeVec into public: to allow 3rd party code to - access without having to subclass +Wed, 17 Mar 2010 14:32:32 +0000 +Checked in by : Robert OSFIELD +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)." -2009-05-11 16:38 robert +Wed, 17 Mar 2010 11:35:52 +0000 +Checked in by : Robert OSFIELD +disabled timing debug info - * Updated wrappers +Wed, 17 Mar 2010 10:33:48 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2009-05-11 16:38 robert +Tue, 16 Mar 2010 18:53:42 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Moved ReadFile/WriteFile/FindFile/FileLocationCallbacks from - include/osg/Options into their own Callbacks header/source file. +Tue, 16 Mar 2010 18:44:27 +0000 +Checked in by : Robert OSFIELD +Updated various serialization support for .osg, .osgt/b/x and .ive. -2009-05-11 14:11 robert +Tue, 16 Mar 2010 18:43:59 +0000 +Checked in by : Robert OSFIELD +Added BlendingPolicy support into osgTerrain::Terrain. - * Commented out debug messages +Tue, 16 Mar 2010 12:05:41 +0000 +Checked in by : Robert OSFIELD +Added osgTerrain::TerrainTile::set/getBlendingPolicy(BlendingPolicy) to enable control over whether the tile should have blending enabled on it. -2009-05-11 13:03 shuber +Mon, 15 Mar 2010 20:09:23 +0000 +Checked in by : Robert OSFIELD +Fixed recursive call due to missing _ - * From Stephan Huber: - updated XCode project to reflect current trunk +Mon, 15 Mar 2010 15:10:50 +0000 +Checked in by : Robert OSFIELD +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. -2009-05-11 11:39 robert +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. +" - * 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 - * 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 +Mon, 15 Mar 2010 15:01:21 +0000 +Checked in by : Robert OSFIELD +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." -2009-05-09 08:54 robert - * Moved Options copy constructor to .cpp -2009-05-09 08:49 robert +Mon, 15 Mar 2010 14:47:22 +0000 +Checked in by : Robert OSFIELD +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(); - * 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 + osg::Matrix matrix( osg::Matrix::inverse(localCameraVPW) * +masterCameraVPW ); -2009-05-08 12:53 robert + osg::Vec3d new_coord = osg::Vec3d(x,y,0.0) * matrix; - * Removed redudent check against frustum.getCurrentMask() + x = new_coord.x(); + y = new_coord.y(); + } + ... +} -2009-05-08 12:38 robert +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. " - * Changed 0 initializer to InheritCursor -2009-05-08 12:34 robert - * Added osgGA and osgText to dependency list +Mon, 15 Mar 2010 10:32:29 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-05-08 12:32 robert +Mon, 15 Mar 2010 10:32:03 +0000 +Checked in by : Robert OSFIELD +Refactored Texture::Extensions to simplify it and make it more efficient. - * Added osgText dependency +Sun, 14 Mar 2010 08:56:21 +0000 +Checked in by : Robert OSFIELD +Added return into ReaderWriterOSG2::prepareReading(..) to prevent bug associated with result being discarded. -2009-05-08 09:29 robert +Sat, 13 Mar 2010 11:28:00 +0000 +Checked in by : Robert OSFIELD +Refactored the initialization of OSX windowing settings so that it's done on demand rather than on startup. - * Cleaned up set up of SDL. +Fri, 12 Mar 2010 09:32:23 +0000 +Checked in by : Robert OSFIELD +Added initializer -2009-05-08 08:34 robert +Fri, 12 Mar 2010 09:10:12 +0000 +Checked in by : Robert OSFIELD +Changed ssize_t to int to fix windows build error - * Added support for pushing handling relative paths set internally - in the presentation file. - - Added setting of env vars defined in presentation file. +Thu, 11 Mar 2010 18:15:20 +0000 +Checked in by : Robert OSFIELD +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." -2009-05-08 07:50 robert +Thu, 11 Mar 2010 16:53:35 +0000 +Checked in by : Robert OSFIELD +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)" - * Fixed unitialized variable +Thu, 11 Mar 2010 16:46:01 +0000 +Checked in by : Robert OSFIELD +Clean up of initialization of statics/use of getenv -2009-05-08 07:46 robert - - * From Jean-Sebastien Guay, changed the timing control for when no - audio layer is supplied. - -2009-05-07 18:32 robert - - * Moved property code from ImageLayer into Layer where it belongs - -2009-05-07 18:30 robert - - * Changed setting of stack back assigned to push_back to fix bug - with cull mask management. - -2009-05-07 14:53 robert - - * Fixed handling of resize of ABSOLUTE_RF slave cameras - -2009-05-07 13:30 robert - - * 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 - - * 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. - " +Thu, 11 Mar 2010 14:48:54 +0000 +Checked in by : Robert OSFIELD +Added export for PerContextShader. -2009-05-07 13:21 robert +Thu, 11 Mar 2010 10:24:20 +0000 +Checked in by : Robert OSFIELD +Cleaned up the registration of wrappers so that they are done on demand. - * 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 ..." +Thu, 11 Mar 2010 10:17:50 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2009-05-07 13:15 robert +Wed, 10 Mar 2010 17:23:58 +0000 +Checked in by : Robert OSFIELD +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. " - * 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 - - * From Michael Platings, added VisualStidio specific option for - disabling iterator checking. - -2009-05-07 09:40 robert - - * Fixed typo of POPPLER_LIBRARY_DIRS - -2009-05-07 09:16 shuber - - * From Stephan Huber: - updated XCode project to reflect current trunk - -2009-05-07 09:07 robert - - * Added support for osgVolume::TransferFunctionProperty - -2009-05-06 13:47 robert +Wed, 10 Mar 2010 17:19:35 +0000 +Checked in by : Robert OSFIELD +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." - * Added .ive reading/writing support for osgVolume::Property - classes +Wed, 10 Mar 2010 16:31:30 +0000 +Checked in by : Robert OSFIELD +From Roger James, "Here is a small stability fix to the dae reader which seems to have dropped out of the latest version." -2009-05-05 18:34 robert +Wed, 10 Mar 2010 16:31:15 +0000 +Checked in by : Robert OSFIELD +Updated version - * Added initial cut at support for osgVolume in .ive format. +Wed, 10 Mar 2010 16:05:52 +0000 +Checked in by : Robert OSFIELD +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 -2009-05-05 12:46 robert +"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." - * Changed debug message from NOTICE to INFO -2009-05-05 12:18 robert - * Fixed support for reading imagery relative to the .osg being - loaded -2009-05-05 11:05 robert +Wed, 10 Mar 2010 14:44:12 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added checks to prevent crash when no imagery is applied +Wed, 10 Mar 2010 14:29:05 +0000 +Checked in by : Robert OSFIELD +Update SO version number to 66 to skip over 65 value planned to 2.8.3 -2009-05-05 11:03 robert +Wed, 10 Mar 2010 14:28:18 +0000 +Checked in by : Robert OSFIELD +From Vincent Bourdier, addition of out of memory read result. - * Added checks to prevent crashes when no imagery is assigend to - volume +Wed, 10 Mar 2010 13:48:41 +0000 +Checked in by : Robert OSFIELD +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 -2009-05-05 10:27 robert +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. - * Added selection of first slide +The ReaderWriterOSG2 class now supports all three formats and +reading/writing scene objects (not nodes or images), thanks to +Torben's advice before. +" -2009-05-03 18:51 robert - * Warning fixes -2009-05-02 07:50 robert +Wed, 10 Mar 2010 13:37:19 +0000 +Checked in by : Robert OSFIELD +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. - * Warning fixes +" -2009-05-01 10:24 robert - * Added export for windows build -2009-05-01 08:49 robert +Wed, 10 Mar 2010 13:24:53 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, QWidgetImage class that enables QWidgets to be used as an interactive osg::Image that can be assigned to textures. - * 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." +Wed, 10 Mar 2010 12:56:33 +0000 +Checked in by : Robert OSFIELD +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. " -2009-05-01 08:20 robert +Wed, 10 Mar 2010 12:13:31 +0000 +Checked in by : Robert OSFIELD +Added tests of various FileNameUtils functions, tests invoked by osgunittests filenames - * Fixed warning + bug +Wed, 10 Mar 2010 12:04:14 +0000 +Checked in by : Robert OSFIELD +Refactored the find_last_of to simplify it. -2009-05-01 08:10 robert +Wed, 10 Mar 2010 11:40:17 +0000 +Checked in by : Robert OSFIELD +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." - * Added ws2_32 dependency +Wed, 10 Mar 2010 11:09:55 +0000 +Checked in by : Robert OSFIELD +From Nico Krulthof and Jori Torres, additions for detecting OSX 10.6 SDK and setting variable defaults accordingly. -2009-04-30 13:13 robert +Wed, 10 Mar 2010 11:01:17 +0000 +Checked in by : Robert OSFIELD +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. - * Added check against the validity of ViewerBase to make sure that - a null pointer isn't dereferenced. +Wed, 10 Mar 2010 10:32:58 +0000 +Checked in by : Robert OSFIELD +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... -2009-04-30 08:50 robert - * Added support for reading from streams -2009-04-30 08:27 robert - * Build fixes +Wed, 10 Mar 2010 10:10:57 +0000 +Checked in by : Robert OSFIELD +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)" -2009-04-29 20:55 robert +Wed, 10 Mar 2010 09:37:04 +0000 +Checked in by : Robert OSFIELD +Added automatic updating of the OpenThreads version number from the CMake version numbers - * Re-instated the code to allow event handler to run in standard - viewers like osgviewer +Tue, 9 Mar 2010 15:16:58 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: fixed xcode project again -2009-04-29 20:30 robert +Mon, 8 Mar 2010 10:20:14 +0000 +Checked in by : Robert OSFIELD +Added extra ffmpeg version check - * 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. +Fri, 5 Mar 2010 16:17:12 +0000 +Checked in by : Robert OSFIELD +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." -2009-04-28 15:50 robert +Fri, 5 Mar 2010 16:08:34 +0000 +Checked in by : Robert OSFIELD +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. - * Added osgFX to dependencies +The change is based on rev 11161." -2009-04-28 15:48 robert - * Added osgViewer as a dependency -2009-04-28 14:26 robert +Fri, 5 Mar 2010 16:07:12 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Enabled blending to all but iso surface shader. - - Changed the alpha value of the iso surface colour to 1.0 +Fri, 5 Mar 2010 16:04:30 +0000 +Checked in by : Robert OSFIELD +Fixed usage of osg::swapBytes to properly pass in pointer to data that needs swapping. -2009-04-28 14:03 robert +Fri, 5 Mar 2010 15:46:17 +0000 +Checked in by : Robert OSFIELD +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." - * Reorganised placement of classes associated with scene graph. - - Warning clean up. +Fri, 5 Mar 2010 15:36:32 +0000 +Checked in by : Robert OSFIELD +Replaced find_first_of with find -2009-04-28 11:57 robert +Fri, 5 Mar 2010 15:17:26 +0000 +Checked in by : Robert OSFIELD +Replaced find_first_of with find. - * Moved present3D from own repository into core OSG. +Fri, 5 Mar 2010 15:10:34 +0000 +Checked in by : Robert OSFIELD +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." -2009-04-27 16:32 robert - * Fixed typo -2009-04-27 15:45 robert +Fri, 5 Mar 2010 15:08:03 +0000 +Checked in by : Robert OSFIELD +Fixes for warning from qt headers - * Added detection of active alpha channel. +Fri, 5 Mar 2010 15:07:11 +0000 +Checked in by : Robert OSFIELD +Removed files that are now part of osgQt -2009-04-27 13:54 robert +Fri, 5 Mar 2010 15:05:28 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * Further improvements in p3d plugin +Fri, 5 Mar 2010 15:04:36 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2009-04-27 11:02 robert +Fri, 5 Mar 2010 12:55:08 +0000 +Checked in by : Robert OSFIELD +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. - * Introduced first cut of Present3D integration with the core OSG - with the introduction of a .p3d plugin. -2009-04-27 06:26 robert - * Attempt to fix mingw warnings +Fri, 5 Mar 2010 12:53:08 +0000 +Checked in by : Robert OSFIELD +Updated version and soversion numbers -2009-04-25 21:44 robert +Fri, 5 Mar 2010 12:43:03 +0000 +Checked in by : Robert OSFIELD +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" - * Fixed warning -2009-04-24 20:37 robert - * Updated ChangeLog and AUTHORS for 2.9.4 dev release +Fri, 5 Mar 2010 11:30:50 +0000 +Checked in by : Robert OSFIELD +Change Shader::getPCS(..) from protected to public scope to enable isCompiled() method to be accessible in applications.Updated wrappers -2009-04-24 20:14 robert - * Updated wrappers -2009-04-24 18:37 robert +Fri, 5 Mar 2010 11:21:36 +0000 +Checked in by : Robert OSFIELD +Added an "-a" speed averager option and a "-o filename" output option. - * Added checking of need to update. +Fri, 5 Mar 2010 11:19:34 +0000 +Checked in by : Robert OSFIELD +Changed Options::setDatabasePath(..) usage to getDatabasePathList().push_front() to paths set by Options to be picked up. -2009-04-24 17:51 robert +Fri, 5 Mar 2010 10:58:47 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Added suggestion of IntersectionVisitor instead. +Fri, 5 Mar 2010 10:50:50 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2009-04-24 17:49 robert +Fri, 5 Mar 2010 10:48:34 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Changed doxygen docs to say deprecated +Thu, 4 Mar 2010 20:45:30 +0000 +Checked in by : Robert OSFIELD +From Mourad Boufarguine, "The attached CMakeLists allows building osgQt in case BUILD_OSG_EXAMPLES is set to off." -2009-04-24 16:20 robert - * Introduce new run frame rate management support to allow control - of maximum frame rate and to support on demand rendering of - frames -2009-04-24 11:53 robert +Thu, 4 Mar 2010 17:01:33 +0000 +Checked in by : Michael PLATINGS +Added BlendFunc for transparent materials - * Updated ChangeLog +Thu, 4 Mar 2010 16:27:19 +0000 +Checked in by : Michael PLATINGS +Fix for some FBX files with multiple meshes bound to a bone. -2009-04-24 11:23 robert +Thu, 4 Mar 2010 13:03:18 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Updated wrappers +Thu, 4 Mar 2010 12:59:53 +0000 +Checked in by : Robert OSFIELD +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). -2009-04-24 11:01 robert +Thu, 4 Mar 2010 12:57:24 +0000 +Checked in by : Robert OSFIELD +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." - * 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." +Thu, 4 Mar 2010 12:43:09 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, Integration of osgText::Font with QFont to enable use of Qt fonts and selectors in osgText. -2009-04-24 10:54 robert +Thu, 4 Mar 2010 12:18:04 +0000 +Checked in by : Robert OSFIELD +Added Export for new osgQt lib - * 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)." +Thu, 4 Mar 2010 12:15:35 +0000 +Checked in by : Robert OSFIELD +Moved QWebViewImage and QGraphicsViewAdapter into new osgQt utility library. -2009-04-24 09:07 robert +Thu, 4 Mar 2010 12:14:39 +0000 +Checked in by : Robert OSFIELD +Removed now redundent call to register PagedLODs - * From Mathias Froehlich, Changed osg::TextureRectangle to use - osg::Texutre::applyTexParameters() to take advantage of texture - shadow extension settings for texture rectangle +Thu, 4 Mar 2010 11:45:44 +0000 +Checked in by : Robert OSFIELD +Removed old net plugin that is nolonger used. This plugin can be found in the deprecated/src/osgPlugins/net respository -2009-04-23 13:42 robert +Wed, 3 Mar 2010 17:24:04 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix of files to fix issues with file endings - * Warning fixes +Wed, 3 Mar 2010 16:40:19 +0000 +Checked in by : Robert OSFIELD +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. -2009-04-23 10:24 robert +Wed, 3 Mar 2010 16:37:45 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * 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. +Wed, 3 Mar 2010 16:14:04 +0000 +Checked in by : Michael PLATINGS -2009-04-23 10:23 robert - * Removed specific ATI path in PolygonOffset as it doesn't look to - be neccessary with present ATI hardware/drivers +Wed, 3 Mar 2010 10:11:54 +0000 +Checked in by : Robert OSFIELD +From Martin Beckett, "I tested DJ's fix to stop flicker on Windows + Qt viewer on 2.6.7It 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?)" -2009-04-22 18:22 robert - * Quitened down warnings generated by ffmpeg headers by remove - -pedantic from CMAKE_CXX_FLAGS -2009-04-22 16:50 robert +Tue, 2 Mar 2010 18:18:06 +0000 +Checked in by : Michael PLATINGS - * Fixed warning -2009-04-22 16:47 robert +Mon, 1 Mar 2010 13:10:58 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Warning fixes +Mon, 1 Mar 2010 13:00:04 +0000 +Checked in by : Robert OSFIELD +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. -2009-04-22 16:42 robert +Mon, 1 Mar 2010 11:52:44 +0000 +Checked in by : Robert OSFIELD +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. - * Warning fixes +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. -2009-04-22 16:41 robert +ConvexPolyhedron.cpp & DebugShadowMap.cpp contain debug HUD tweaks. - * Warning fix +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. -2009-04-22 16:33 robert +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). " - * Updated version numbers in prep for 2.9.4 dev release -2009-04-22 15:46 robert - * 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. +Mon, 1 Mar 2010 11:29:19 +0000 +Checked in by : Robert OSFIELD +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." -2009-04-22 13:50 robert - * 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'." -2009-04-22 13:09 robert +Fri, 26 Feb 2010 21:31:13 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Bob Kuehne, "fix for failing collada builds on osx due to - not being able to stringstreamify osg::Vec3 without io_utils - included." +Fri, 26 Feb 2010 16:02:20 +0000 +Checked in by : Robert OSFIELD +updated wrappers -2009-04-22 13:07 robert +Fri, 26 Feb 2010 15:54:37 +0000 +Checked in by : Robert OSFIELD +Added spaces between < > template parts of macros to prevent compile problems when templates as use as macro parameters - * 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. - " +Fri, 26 Feb 2010 15:40:19 +0000 +Checked in by : Robert OSFIELD +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. -2009-04-22 12:52 robert - * From Chris Hanson, spelling and grammer fixes -2009-04-22 11:22 robert - * Added hand cursor implementation +Fri, 26 Feb 2010 15:01:00 +0000 +Checked in by : Robert OSFIELD +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]; -2009-04-22 11:20 robert +This makes it easy to use a capture device without knowing it's name. Attached is the whole file against rev 11044" - * From Neil Hughes, "Please find attached two files that I've - amended to add the IDC_HAND cursor for the windows platform." -2009-04-22 11:12 robert - * 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.)" +Fri, 26 Feb 2010 14:41:50 +0000 +Checked in by : Robert OSFIELD +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." -2009-04-22 11:00 robert +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." - * From Eduardo Alberto Hernández Muñoz, change to using TexGenNode - for setting up tex coordinates +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. -2009-04-22 10:54 robert - * From Paul Martz, "Looks like the people who created these two - examples were a bit careless with cut and paste." -2009-04-22 10:47 robert - * 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, 26 Feb 2010 14:36:23 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-04-22 10:46 robert +Fri, 26 Feb 2010 10:13:28 +0000 +Checked in by : Robert OSFIELD +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." - * Changed parameter for T* to const T*. -2009-04-21 14:27 robert - * 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." -2009-04-21 14:15 robert +Fri, 26 Feb 2010 10:03:01 +0000 +Checked in by : Robert OSFIELD +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. - * 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." +The "else" branch is re-indented but otherwise shouldn't contain any changes." -2009-04-21 12:02 robert +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. - * Updated wrappers -2009-04-21 11:48 robert - * 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." -2009-04-21 10:46 robert +Fri, 26 Feb 2010 09:48:22 +0000 +Checked in by : Robert OSFIELD +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. - * From Chris Hanson, "Fixed case of morphTarget argument in Doxygen - comments." +The "else" branch is re-indented but otherwise shouldn't contain any changes." -2009-04-21 10:13 robert - * Fixed handling of case of no graphics contexts being assigned -2009-04-20 19:05 robert - * Removed #ifdef WIN32 around #include to fix build under - Mandrake build. +Fri, 26 Feb 2010 09:40:11 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, comment fix -2009-04-17 14:15 shuber +Fri, 26 Feb 2010 09:33:48 +0000 +Checked in by : Robert OSFIELD +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." - * From Stephan Huber: small fix for Xcode-project / 32bit Carbon - target +Fri, 26 Feb 2010 09:23:28 +0000 +Checked in by : Robert OSFIELD +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." -2009-04-13 12:26 shuber - * From Stephan Huber: updated XCode-project so it builds the - curl-plugin -2009-04-13 09:41 robert - * Replaced #idef WIN32 with _MSC_VER to try and fix build errors - under mingw +Fri, 26 Feb 2010 08:55:50 +0000 +Checked in by : Robert OSFIELD +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." -2009-04-13 09:35 robert +Thu, 25 Feb 2010 18:17:20 +0000 +Checked in by : Robert OSFIELD +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). - * 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. - " +Line wrapping looks a lot better now with no more lone periods +appearing at the beginning of lines. -2009-04-12 18:54 robert +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. - * Fixed ChangeLog generation so that it only includes svn/trunk or - relevant branch rather than whole svn repository. - - Updated ChangeLog +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." -2009-04-11 07:12 robert - * Updated ChangeLog and AUTHORS for 2.9.3 dev release -2009-04-11 06:25 robert +Thu, 25 Feb 2010 18:05:59 +0000 +Checked in by : Robert OSFIELD +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: - * updated wrappers +-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 ); + } -2009-04-11 06:16 robert +-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) - * From Jean Sebastien Guay, added error reporting handling of wider - range of video formats. +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." -2009-04-10 15:30 cedricpinson - * From Cedric Pinson, remove unsused method in Bone class\nadd - namespace osgAnimation for Timeline constructors\nadd - OSGANIMATION_EXPORT on VertexInfluence and Timeline class -2009-04-10 14:11 robert +Thu, 25 Feb 2010 18:03:14 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, comment fix. - * Added VS checks around code block from Mark Sciabica that broke - the mingw build +Thu, 25 Feb 2010 18:01:25 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, "attached is some fix for the directshow plugin. Cleans up the build warnings as well makes the code a bit safer" -2009-04-10 11:19 robert +Thu, 25 Feb 2010 17:58:50 +0000 +Checked in by : Robert OSFIELD +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." - * Fixed build error by replacing M_PI with osg::PI. +Thu, 25 Feb 2010 17:53:51 +0000 +Checked in by : Robert OSFIELD +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.osgbAs 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. +" -2009-04-10 11:00 robert - * Updated version info for 2.9.3 dev release, fixed typo and - updated wrappers -2009-04-10 10:07 robert +Thu, 25 Feb 2010 17:18:46 +0000 +Checked in by : Robert OSFIELD +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)." - * Added typedef and updated wrappers -2009-04-10 09:56 robert - * 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) ." -2009-04-10 09:37 robert +Thu, 25 Feb 2010 17:13:15 +0000 +Checked in by : Robert OSFIELD +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." - * From J.P. Delport, tweak to fix spelling and grammer +Thu, 25 Feb 2010 17:07:34 +0000 +Checked in by : Robert OSFIELD +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. " -2009-04-10 09:16 robert +Wed, 24 Feb 2010 10:52:51 +0000 +Checked in by : Michael PLATINGS - * From Santosh Gaikwad, warning fixes -2009-04-09 18:27 robert +Wed, 24 Feb 2010 10:25:50 +0000 +Checked in by : Michael PLATINGS - * Added ply entry -2009-04-09 18:26 robert +Wed, 24 Feb 2010 10:12:11 +0000 +Checked in by : Michael PLATINGS - * 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 +Wed, 24 Feb 2010 10:02:14 +0000 +Checked in by : Michael PLATINGS - * From Stephan Huber: - updated XCode project to reflect current trunk -2009-04-09 16:31 robert +Mon, 22 Feb 2010 17:41:35 +0000 +Checked in by : Robert OSFIELD +Added an empty() method - * 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 - - * 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 - - * Updated wrappers - -2009-04-09 15:34 robert - - * 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 - - * Converted tabs to four spaces - -2009-04-09 14:41 robert - - * From Paul Martz, typo fix - -2009-04-09 14:38 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * From Philip Lowman, clean up of CMake files - -2009-04-08 14:16 robert - - * 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 - - * From Cory Riddell, fix for aspect ratio - -2009-04-08 14:06 robert - - * From James Killian, "refactored the management of the object - cache enabling/disabling" - -2009-04-08 13:40 robert - - * 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 - - * 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 - - * From Eric Sokolowky, ""Running" was spelled "Ruinning", which is - hardly the same." +Mon, 22 Feb 2010 10:43:22 +0000 +Checked in by : Robert OSFIELD +Updated authors file -2009-04-08 13:11 robert +Mon, 22 Feb 2010 10:36:55 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Marc Sciabica, made searching of the install path for - plugins option, and added the dll path to the search path under - Windows +Mon, 22 Feb 2010 10:10:08 +0000 +Checked in by : Robert OSFIELD +Fixed STDINT_INCLUDE path -2009-04-08 13:03 robert +Mon, 22 Feb 2010 09:50:37 +0000 +Checked in by : Robert OSFIELD +From Trajce Nicklov, fixes to warnings - * Reduced the default live video feed size to accomodate reading - from the Minoru stereo wecam. +Mon, 22 Feb 2010 08:48:02 +0000 +Checked in by : Robert OSFIELD +Seperated out the #define of GL_PERSPECTIVE_CORRECTION_HINT to fix GL3 build -2009-04-08 12:32 robert +Mon, 22 Feb 2010 08:39:33 +0000 +Checked in by : Robert OSFIELD +Added missing _ptr = rp._ptr to constructor. - * 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." +Sat, 20 Feb 2010 17:36:55 +0000 +Checked in by : Robert OSFIELD +Converted View across to use ObserverNodePath. -2009-04-08 10:48 robert +Fri, 19 Feb 2010 21:03:33 +0000 +Checked in by : Robert OSFIELD +Build fixes for GLES2 - * 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." +Fri, 19 Feb 2010 20:58:46 +0000 +Checked in by : Robert OSFIELD +Fixed GLES1/GLES2 build -2009-04-08 10:44 robert +Fri, 19 Feb 2010 20:43:58 +0000 +Checked in by : Robert OSFIELD +Added include of osg/FrameBufferObject to fix GLES1/GLES2 build issue - * From Aric Aumann, added options for controlling the swap of the - left/right handed coordinate system +Fri, 19 Feb 2010 20:40:41 +0000 +Checked in by : Robert OSFIELD +Build fix for GLES1 and GLES2 -2009-04-08 10:32 robert +Fri, 19 Feb 2010 20:18:48 +0000 +Checked in by : Robert OSFIELD +Moved implementation of Observer destructor and constructor from header into .cpp to avoid possible issues with imports/exports under Windows build. - * From Martin Beckett, added mouse wheel support +Fri, 19 Feb 2010 20:14:12 +0000 +Checked in by : Robert OSFIELD +Added check against OSG_GL3_AVAILABLE to avoid issues with GL3 build under linux -2009-04-07 10:13 robert +Fri, 19 Feb 2010 20:11:14 +0000 +Checked in by : Robert OSFIELD +Added #include , convert osg::notify usage to OSG_NOTICE - * Added better handling of use of VBO's in compileGLObjects() +Fri, 19 Feb 2010 19:50:55 +0000 +Checked in by : Robert OSFIELD +Clean up observer_ptr<> and removed the eronous casting of ptr in objectDeleted. -2009-04-07 10:12 robert +Fri, 19 Feb 2010 19:00:48 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Fri, 19 Feb 2010 18:56:21 +0000 +Checked in by : Robert OSFIELD +Removed the uncessary subclassing from osg::Object as this base class is already pullled via ViewerBase -2009-04-07 08:43 shuber +Fri, 19 Feb 2010 16:04:33 +0000 +Checked in by : Robert OSFIELD +Added mutex lock to destructor. - * 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. +Fri, 19 Feb 2010 15:41:42 +0000 +Checked in by : Robert OSFIELD +Replaced local mutex with getObserverMutex(). -2009-04-07 08:40 cedricpinson +Fri, 19 Feb 2010 14:30:01 +0000 +Checked in by : Robert OSFIELD +From Fabien Lavignotte, "In order to compile on Windows with Wrappers ON, some exports are still missing on osgPresentation::AnimationMaterialCallback and osgUtil::IncrementalCompileOperation::CompileSet." - * From Serge Lages, Elastic added to EaseMotion +Fri, 19 Feb 2010 14:05:49 +0000 +Checked in by : Robert OSFIELD +Removed no longer defined methods and updated wrappers -2009-04-06 12:28 robert +Fri, 19 Feb 2010 09:32:15 +0000 +Checked in by : Robert OSFIELD +Updated contributors list for 2.9.7 release - * Added disabling of mipmapping for non power of two textures +Fri, 19 Feb 2010 09:21:00 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2009-04-06 11:22 robert +Fri, 19 Feb 2010 09:02:24 +0000 +Checked in by : Robert OSFIELD +Added an InitGlobalMutexes to enforce early construction and hence late destruction of singleton mutexes. - * Added check against null colour layer to prevent a crash when a - null colour layer is assigned +Thu, 18 Feb 2010 22:53:15 +0000 +Checked in by : Robert OSFIELD +Added newline. -2009-04-03 10:47 robert +Thu, 18 Feb 2010 22:20:11 +0000 +Checked in by : Robert OSFIELD +From Mourad Boufarguine, fixed typo. - * Displayed display lists to prevent frame drops when compiling - large geometry tiles +Thu, 18 Feb 2010 22:17:50 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-04-03 09:54 robert +Thu, 18 Feb 2010 22:17:35 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Tweaks to shader to fix warnings on with ATI drivers +Thu, 18 Feb 2010 21:24:42 +0000 +Checked in by : Robert OSFIELD +Updated version number of OpenThreads to reflect recent changes -2009-04-02 08:44 robert +Thu, 18 Feb 2010 21:21:59 +0000 +Checked in by : Robert OSFIELD +Completed usage of ObserverNodePath to fix longstanding crash that occurred when nodes in parental chain of a newly loaded node had been deleted. - * Added OSG_MULTI_SAMPLES env var for setting the default - DisplaySettings NumMultiSamples value +Thu, 18 Feb 2010 21:21:12 +0000 +Checked in by : Robert OSFIELD +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. -2009-03-30 09:55 robert - * Added shader to convert images into greyscale when rendering in - anaglyphic -2009-03-26 17:24 robert - * Added osgtexturecompression example to demonstate the quality - difference between - different compression techniques. +Thu, 18 Feb 2010 21:18:49 +0000 +Checked in by : Robert OSFIELD +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 -2009-03-25 11:17 robert - * 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. -2009-03-24 23:25 robert +Thu, 18 Feb 2010 21:17:36 +0000 +Checked in by : Robert OSFIELD +Added className() to assist with debugging - * Added support for adding .ffmpeg to filenames to force selection - of ffmpeg plugin +Thu, 18 Feb 2010 21:15:28 +0000 +Checked in by : Robert OSFIELD +Changed controls for changing animation speed to '(' and ')' to avoid overlap with window resize handler. -2009-03-24 23:17 robert +Thu, 18 Feb 2010 20:14:41 +0000 +Checked in by : Robert OSFIELD +Refactored the ReentrantMutex support so that it utilises the underling thread implementation for recusive mutex support. - * Added support for image streams +Thu, 18 Feb 2010 09:00:37 +0000 +Checked in by : Robert OSFIELD +Added new setNodePathTo() method -2009-03-24 11:08 robert +Wed, 17 Feb 2010 10:09:31 +0000 +Checked in by : Robert OSFIELD +Fixed double addition of source node when doing ObserverNodPath::setNodePathTo()Fixed comment in Referenced.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 - * Updated AUTHORS.txt for 2.9.2 dev release +Tue, 16 Feb 2010 17:38:49 +0000 +Checked in by : Robert OSFIELD +Added className() implementation to help wiht debugging. -2009-03-23 20:44 robert +Tue, 16 Feb 2010 14:05:49 +0000 +Checked in by : Robert OSFIELD +Fixed crash - * Updated ChangeLog for 2.9.2 dev release +Tue, 16 Feb 2010 11:10:49 +0000 +Checked in by : Robert OSFIELD +Threads safety fixes based on suggestions from Tim Moore. -2009-03-23 20:25 robert +Tue, 16 Feb 2010 08:53:56 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Aric Aumann, fixed handling of null texture coordinates +Mon, 15 Feb 2010 23:47:12 +0000 +Checked in by : Cedric Pinson +From Jeremy Moles, add new EaseMotion and add example osganimationeasemotion to demonstrate them -2009-03-23 17:08 robert +Mon, 15 Feb 2010 20:15:43 +0000 +Checked in by : Robert OSFIELD +Upadted wrappers - * From Luc Frauciel, You'll find attached a modification in ive - plugin for POLYGONSTIPPLE read/write. +Mon, 15 Feb 2010 20:15:32 +0000 +Checked in by : Robert OSFIELD +Refactor various NodeTracker and MatrixManipulator classes to use the osg::ObserverNodePath and osg::oberserver_ptr<> classes -2009-03-23 16:45 robert +Mon, 15 Feb 2010 20:14:32 +0000 +Checked in by : Robert OSFIELD +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. - * 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" +Mon, 15 Feb 2010 20:12:53 +0000 +Checked in by : Robert OSFIELD +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. -2009-03-23 16:31 robert - * 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 +Mon, 15 Feb 2010 11:36:05 +0000 +Checked in by : Robert OSFIELD +Added osg:: qualifyer to OSG_NOTIFY macro - * 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." +Fri, 12 Feb 2010 11:45:00 +0000 +Checked in by : Robert OSFIELD +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. -2009-03-23 16:25 robert - * From Michael Platings, "Changed some pointers to ref_ptr which - fixed the leak - " -2009-03-23 16:21 robert - * From Csaba Halasz, "I have removed some unnecessary semicolons - that mingw build warns about." +Thu, 11 Feb 2010 11:56:43 +0000 +Checked in by : Robert OSFIELD +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" -2009-03-23 16:15 robert +Thu, 11 Feb 2010 11:17:55 +0000 +Checked in by : Robert OSFIELD +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." - * 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 - * From Michale Platings, "Minor change to include - ReaderWriterDAE.h" +Thu, 11 Feb 2010 11:13:01 +0000 +Checked in by : Robert OSFIELD +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}) -2009-03-23 16:11 robert +to - * 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" +SET(COMPRESSION_LIBRARIES ZLIB_LIBRARY) +... +LINK_EXTERNAL(${LIB_NAME} ${OSGDB_PLATFORM_SPECIFIC_LIBRARIES} +${COMPRESSION_LIBRARIES}) +LINK_WITH_VARIABLES(${LIB_NAME} ${COMPRESSION_LIBRARIES}) -2009-03-23 16:07 robert - * 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. - - " +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. -2009-03-23 16:05 robert +This change will make it back to normal." - * From Philip Lowman, "Mainly removing comments like "This file is - automatically generated" (glad that never happened!)" -2009-03-23 16:01 robert - * 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") - " +Thu, 11 Feb 2010 11:06:12 +0000 +Checked in by : Robert OSFIELD +Fixed the rotation of normals -2009-03-23 15:48 robert +Thu, 11 Feb 2010 09:13:33 +0000 +Checked in by : Robert OSFIELD +Added futher use of readSize/writeSize. - * From David Callu, clean up of FindFFmpeg include paths +Wed, 10 Feb 2010 19:36:31 +0000 +Checked in by : Robert OSFIELD +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. -2009-03-23 15:47 robert +Wed, 10 Feb 2010 17:03:09 +0000 +Checked in by : Robert OSFIELD +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. - * 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." +Wed, 10 Feb 2010 16:23:27 +0000 +Checked in by : Robert OSFIELD +Fixed automatic loading of plugins -2009-03-23 15:38 robert +Wed, 10 Feb 2010 15:18:20 +0000 +Checked in by : Robert OSFIELD +Changed NOTIFY to OSG_NOTIFY - * Cleaned up interface +Wed, 10 Feb 2010 12:48:21 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2009-03-23 15:38 robert +Wed, 10 Feb 2010 12:44:59 +0000 +Checked in by : Robert OSFIELD +Convert NOTIFY to OSG_NOTIFY to avoid problems with polution of users apps with the NOTIFY macro - * Updated wrapper conf to avoid generating wrappers for - PrintVisitor +Wed, 10 Feb 2010 11:21:45 +0000 +Checked in by : Robert OSFIELD +Added pruning of requests that haven't been reissued since the last frame. -2009-03-23 15:21 robert +Tue, 9 Feb 2010 19:30:52 +0000 +Checked in by : Robert OSFIELD +Added enabling of threadsafe ref/unref in FileCache. - * Bumped version numbers in prep for 2.7.2 dev release +Tue, 9 Feb 2010 18:24:37 +0000 +Checked in by : Robert OSFIELD +Converted osg::notify usage to NOTIFY -2009-03-23 15:10 robert +Tue, 9 Feb 2010 17:39:43 +0000 +Checked in by : Robert OSFIELD +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. - * Added ShaderGen wrapper +Tue, 9 Feb 2010 17:38:02 +0000 +Checked in by : Robert OSFIELD +Added extra elaspedTime_*() methods to help with reporting times in milliseconds etc. -2009-03-23 15:04 robert +Thu, 4 Feb 2010 10:20:17 +0000 +Checked in by : Robert OSFIELD +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." - * Removed PrintVisitor as it was causing problems with wrapper - building. +Wed, 3 Feb 2010 09:35:36 +0000 +Checked in by : Robert OSFIELD +Added #define for GL3 build -2009-03-23 13:51 robert +Wed, 3 Feb 2010 09:35:05 +0000 +Checked in by : Robert OSFIELD +Added #defines for GL3 build - * 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." +Tue, 2 Feb 2010 11:16:10 +0000 +Checked in by : Robert OSFIELD +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. -2009-03-23 11:53 robert +Tue, 2 Feb 2010 11:02:42 +0000 +Checked in by : Robert OSFIELD +Fixed indentation. - * 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" +Mon, 1 Feb 2010 10:04:56 +0000 +Checked in by : Robert OSFIELD +From Serge Lages, build fix + +Sun, 31 Jan 2010 18:24:01 +0000 +Checked in by : Robert OSFIELD +Build fixes for build without ref_ptr<> automatic type conversion -2009-03-19 11:36 robert +Sun, 31 Jan 2010 18:23:35 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, improvements to Inventor find operation - * UPdated wrappers +Sun, 31 Jan 2010 12:55:29 +0000 +Checked in by : Robert OSFIELD +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. -2009-03-19 11:11 robert +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" + + + +Fri, 29 Jan 2010 17:20:58 +0000 +Checked in by : Robert OSFIELD +Changed GeometryTechnique::private to protected, updated wrappers + +Fri, 29 Jan 2010 14:55:52 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, bug fixes + +Fri, 29 Jan 2010 11:58:14 +0000 +Checked in by : Robert OSFIELD +Removed redudent string; + +Fri, 29 Jan 2010 11:35:09 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, osgText serializers and support for PagedLOD+ProxyNode + +Thu, 28 Jan 2010 12:10:17 +0000 +Checked in by : Robert OSFIELD +Updated wrappers + +Thu, 28 Jan 2010 11:47:28 +0000 +Checked in by : Robert OSFIELD +Updated wrappers + +Thu, 28 Jan 2010 11:44:19 +0000 +Checked in by : Robert OSFIELD +Fixed typo + +Thu, 28 Jan 2010 10:59:00 +0000 +Checked in by : Robert OSFIELD +From Martin Lambers, "Fix static linking with EXR plugin on MinGW" + +Thu, 28 Jan 2010 10:45:40 +0000 +Checked in by : Robert OSFIELD +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 + + + +Thu, 28 Jan 2010 08:59:23 +0000 +Checked in by : Robert OSFIELD +Added files back in with the execution bit correctly disabled. + +Thu, 28 Jan 2010 08:58:05 +0000 +Checked in by : Robert OSFIELD +Removed files as they all have the incorrectly have the execution bit enabled, will add back in with this fixed. + +Thu, 28 Jan 2010 08:53:48 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, added osgParticle serializers + +Wed, 27 Jan 2010 17:12:40 +0000 +Checked in by : Robert OSFIELD +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. " + +Wed, 27 Jan 2010 17:09:05 +0000 +Checked in by : Robert OSFIELD +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." - * Inroduced simple PrintVisitor class for helping debug scene graph - structures -2009-03-19 10:56 robert - * Fixed spacing +Wed, 27 Jan 2010 16:31:34 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, improvements to osgWidget::Input including selection support + +Wed, 27 Jan 2010 15:53:38 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project + +Wed, 27 Jan 2010 15:37:45 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, remove unused file, fix crash for old files -2009-03-19 10:55 robert +Wed, 27 Jan 2010 15:00:01 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added compressed to list of supported options +Wed, 27 Jan 2010 13:12:49 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-03-19 10:55 robert +Wed, 27 Jan 2010 13:12:26 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added debug message (commented out for now.) +Wed, 27 Jan 2010 12:24:55 +0000 +Checked in by : Robert OSFIELD +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... -2009-03-19 10:27 robert +The example osg-data/example.osg should be remove, it's an old example +that does not work. - * Added osgTerrain::Terrain support to the .osg format +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. +" -2009-03-14 15:40 robert - * From Adrian Egli, build fix for Win32 FFmpeg -2009-03-13 15:56 robert +Tue, 26 Jan 2010 17:07:11 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Stephan Huber, clean up of Quicktime plugin +Tue, 26 Jan 2010 17:04:55 +0000 +Checked in by : Robert OSFIELD +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. -2009-03-13 13:25 robert +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. - * Update AUTHORS file +In PixelBufferX11 was no support, so I've added GLX_LARGEST_PBUFFER(_SGIX) support, with the same writeback to the _trais. -2009-03-13 11:56 robert - * Updated ChangeLog +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. -2009-03-13 11:06 robert - * Warning fixes +"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." -2009-03-13 11:01 robert - * Fixed for division by zero issue. -2009-03-13 10:40 robert +Tue, 26 Jan 2010 16:59:17 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, various improvements of the workings of osgWidget::Input. - * 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 :) )." +Tue, 26 Jan 2010 16:50:26 +0000 +Checked in by : Robert OSFIELD +From Juan Hernando, fixed typo in handling of RGBA and BGRA data -2009-03-12 17:54 robert +Tue, 26 Jan 2010 16:48:55 +0000 +Checked in by : Robert OSFIELD +Added .get() to fix build - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2009-03-12 15:21 robert - - * 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 - - * 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 - - * 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 - - * Changed audio playing so that it only happens for a single movie - to avoid - problems with audio stalling. - -2009-03-11 17:57 robert - - * Added docs on getPixelAspectRatio and corrected usage of - getPixelAspection in osgmovie.cpp - -2009-03-11 17:39 robert - - * changed debug info to output to INFO instaed of NOTICE. - -2009-03-11 15:43 robert - - * 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 - - * 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 - - * Added View::removeEventHandler(..) method and added check into - addEventHandler() to prevent handlers being added twice. - -2009-03-11 14:08 robert - - * 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 - - * 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 - - * 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 - - * From Stephan Huber, files were are missed by Robert in check in - of changes to GraphicsWindowCarbon.cpp - -2009-03-11 12:08 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * From Martin Beckett, added get/setScrollWheelZoomDelta() support - for controlling the mouse scroll wheel zoom delta. - -2009-03-11 10:34 robert - - * Converted tabs to four spaces - -2009-03-11 10:34 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * quitened down debug info - -2009-03-10 16:52 robert - - * Made bool isImageTranslucent() const virtual to allow subclasses - to provide their own implementation - -2009-03-10 15:00 robert - - * 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 - - * 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 - - * Added copyright + fixed typo - -2009-03-10 12:21 robert - - * 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 - - * From Martin Spott, compile fixes for IBM AIX. - -2009-03-10 10:56 robert - - * 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 - - * 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 +Tue, 26 Jan 2010 16:41:53 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Stephan Huber, support for Cocoa windowing under OSX. +Tue, 26 Jan 2010 16:30:48 +0000 +Checked in by : Robert OSFIELD +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. +" -2009-03-09 23:11 robert - * Fixed osgWrappers for osgAnimation library -2009-03-09 17:38 robert +Tue, 26 Jan 2010 15:37:26 +0000 +Checked in by : Robert OSFIELD +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.htmlIssue: +osgQtBrowser fails to compile because it can not find the QTCore header files - * 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 - " +Fix: +Add the QT_QTCORE_INCLUDE_DIR to the CMakeList.txt file -2009-03-09 16:53 robert +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}) +" - * Tweaked API to get wrappers to build -2009-03-09 16:17 robert - * Updated wrappers +Tue, 26 Jan 2010 15:08:25 +0000 +Checked in by : Robert OSFIELD +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); -2009-03-09 14:56 robert +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). +" - * Further work on IncrementalCompileOperation -2009-03-08 16:48 robert - * Fixed thread exit problems +Tue, 26 Jan 2010 14:57:44 +0000 +Checked in by : Robert OSFIELD +Removal of redundant spaces at ends of lines -2009-03-08 12:00 robert +Tue, 26 Jan 2010 14:54:46 +0000 +Checked in by : Robert OSFIELD +updated wrappers - * Preliminary work on general purpose incremental compile support - in osgViewer. +Tue, 26 Jan 2010 13:05:05 +0000 +Checked in by : Robert OSFIELD +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. -2009-03-05 15:31 robert - * Updated wrappers and dev release version numbers -2009-03-05 14:33 robert - * Cleaned up FindFFmpeg.cmake +Tue, 26 Jan 2010 11:37:24 +0000 +Checked in by : Robert OSFIELD +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)" -2009-03-05 10:57 robert - * Added quick proof of concept for live video streaming under linux -2009-03-04 16:35 robert +Tue, 26 Jan 2010 11:16:38 +0000 +Checked in by : Robert OSFIELD +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) - * Added search for headers in ffmpeg directory +Problem does not show when OSG_STEREO=OFF. -2009-03-04 16:16 robert - * From Jean-Sebastien Guay, added non pkg-config based ffmpeg - search scheme. +< 976 else _cullVisitor->traverse(*_camera); +> 976 else cullVisitor->traverse(*_camera); -2009-03-04 16:15 robert +Looks like a typo, and removing the _ does fix the problem." - * Fixed indentation -2009-03-04 16:03 robert - * Removed boost reference and cleaned up debug output +Tue, 26 Jan 2010 10:37:38 +0000 +Checked in by : Robert OSFIELD +Changed doxygen comments to signal deprecation of this old IO classes -2009-03-04 14:49 robert +Mon, 25 Jan 2010 18:08:15 +0000 +Checked in by : Robert OSFIELD +Removed inapprorpiate OSGDB_EXPORT - * Introduced double buffering of video stream to avoid tearing of - image. - - Removed swapBufers call and image y inversion. +Mon, 25 Jan 2010 17:07:25 +0000 +Checked in by : Robert OSFIELD +Refactored the DotOsgWrapper support in osgDB::Registry so it's now provided by the osgDB::DeprecatedDotOsgWrapperManager. -2009-03-04 13:24 robert +Mon, 25 Jan 2010 15:25:16 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added handling of ImageStream Origin to make sure the movie - always appears the correct way up. +Mon, 25 Jan 2010 15:24:47 +0000 +Checked in by : Robert OSFIELD +Moved the declaration of osgDB::Field, FieldReader and FieldReaderIterator into include/osg/Input to centralise all the deprecated .osg parsing code into one place. -2009-03-04 11:59 robert +Mon, 25 Jan 2010 12:48:25 +0000 +Checked in by : Robert OSFIELD +Removed deprecated classes - * Fixes to non swscale code path +Mon, 25 Jan 2010 11:40:18 +0000 +Checked in by : Robert OSFIELD +Added back in StreamOperation with executation bit disabled -2009-03-04 11:46 robert +Mon, 25 Jan 2010 11:39:42 +0000 +Checked in by : Robert OSFIELD +Temporily removed StreamOperation as it had execution bit enable for it. - * Fixed img_convert usage +Mon, 25 Jan 2010 11:03:21 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, refactored the InputStream/OutputStream operations so that the binar/ascii foramts are implemented via subclasses. -2009-03-04 11:06 robert +Fri, 22 Jan 2010 20:47:39 +0000 +Checked in by : Robert OSFIELD +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. - * Removed reference to OpenAL plugin +Fri, 22 Jan 2010 20:35:11 +0000 +Checked in by : Robert OSFIELD +Seting the notifcation level of debug message to INFO. -2009-03-04 11:05 robert +Fri, 22 Jan 2010 16:13:28 +0000 +Checked in by : Robert OSFIELD +Reverted fixes for Mingw as they break OSX build - * Added support for using libswscale +Fri, 22 Jan 2010 15:16:22 +0000 +Checked in by : Robert OSFIELD +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. -2009-03-03 20:59 robert - * Added SDL audio path -2009-03-03 20:49 robert +Thu, 21 Jan 2010 16:26:48 +0000 +Checked in by : Robert OSFIELD +Added extra export for windows build - * Improved the clean up ordering +Thu, 21 Jan 2010 16:07:19 +0000 +Checked in by : Robert OSFIELD +Added extra includes to bring in their local definitions of OpenGL enums that don't exist across all GL versions -2009-03-03 17:37 robert +Thu, 21 Jan 2010 13:17:51 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * Added SDL audio support for reading from ffmpeg movies +Thu, 21 Jan 2010 10:24:48 +0000 +Checked in by : Robert OSFIELD +Added support for passing on slave Camera's StateSet's to the rendering backend. -2009-03-03 17:28 shuber +Thu, 21 Jan 2010 09:25:45 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, added exports for windows build - * From Stephan Huber: updated xcode project, added AudioStream to - project +Wed, 20 Jan 2010 20:13:33 +0000 +Checked in by : Robert OSFIELD +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 -2009-03-03 16:51 robert - * Introduce FFmpegAudioStream implementation -2009-03-03 14:59 robert +Wed, 20 Jan 2010 10:35:40 +0000 +Checked in by : Robert OSFIELD +Introduced file globbing to deprecated-dotosg directories and added new serializers direcotory in prep for new serializers - * Removed redudent export +Tue, 19 Jan 2010 13:31:06 +0000 +Checked in by : Robert OSFIELD +Replaced osgDB::RegisterDotOsgWrapperProxy usage with REGISTER_DOTOSGWRAPPER proxy to aid static linking -2009-03-03 11:52 robert +Tue, 19 Jan 2010 12:36:57 +0000 +Checked in by : Robert OSFIELD +Added CmakeList.txt for new wrapper plugins - * Added LINK_DIRECTORIES +Tue, 19 Jan 2010 12:26:37 +0000 +Checked in by : Robert OSFIELD +Refactored the old style .osg plugin support so that the DotOsgWrappers are placed in their own dedicated plugins found in src/osgWrappers/deprecated_osg -2009-03-03 11:25 robert +Tue, 19 Jan 2010 12:24:55 +0000 +Checked in by : Robert OSFIELD +Inserted /introspection/ into path of osgIntrospection wrappers - * Fixed include list +Tue, 19 Jan 2010 10:31:38 +0000 +Checked in by : Robert OSFIELD +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 -2009-03-03 10:53 robert +Tue, 19 Jan 2010 09:54:42 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode projects - * From Ulrich Hertlein, build fixes for OSX. +Mon, 18 Jan 2010 20:49:40 +0000 +Checked in by : Robert OSFIELD +Added introspection directory -2009-03-03 09:50 robert +Mon, 18 Jan 2010 19:56:16 +0000 +Checked in by : Robert OSFIELD +Regenerated introspection wrappers in their new location - * Added ffmpeg to include search paths +Mon, 18 Jan 2010 19:43:14 +0000 +Checked in by : Robert OSFIELD +Cleaned out all wrappers as will be moving them all into src/osgWrappers/introspection directory, and use genwrapper to generate the new ones -2009-03-03 09:49 robert +Mon, 18 Jan 2010 16:39:12 +0000 +Checked in by : Robert OSFIELD +Added #include for Mingw build - * Added ogg to accepted formats +Mon, 18 Jan 2010 16:38:07 +0000 +Checked in by : Robert OSFIELD +Restructure the includes of freetype -2009-03-02 16:01 robert +Mon, 18 Jan 2010 14:27:20 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, build fixes for Mingw - * Added extern for img_convert to get round disappeance of the - declaration from headers. +Mon, 18 Jan 2010 13:00:41 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-03-02 10:49 robert +Mon, 18 Jan 2010 12:43:02 +0000 +Checked in by : Robert OSFIELD +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." - * From Mathias Froehlich, "An other one: - The TLS Varialbe is accessed before it is initialized. - Attached is a change to rev 9791." +Fri, 15 Jan 2010 15:34:17 +0000 +Checked in by : Robert OSFIELD +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. -2009-03-02 09:56 robert +Thu, 14 Jan 2010 15:15:42 +0000 +Checked in by : Robert OSFIELD +Added setting of the charcode during construction of osgText::Font::Glyph() - * From Petr Salinger, fix for build under GNU/kFreeBSD. +Thu, 14 Jan 2010 15:15:08 +0000 +Checked in by : Robert OSFIELD +Updated so version -2009-02-27 20:16 robert +Wed, 13 Jan 2010 18:50:58 +0000 +Checked in by : Robert OSFIELD +Updated rev number for 2.9.7 dev release as ABI compatibility has been broken - * Introduced osg::AudioStream class to help manage audio streams - coming in from movie reading plugins +Wed, 13 Jan 2010 18:50:17 +0000 +Checked in by : Robert OSFIELD +Updated wrappers and supported shadow texture formats -2009-02-27 17:00 robert +Wed, 13 Jan 2010 18:46:52 +0000 +Checked in by : Robert OSFIELD +For backwards compatiblity add a staic void BufferObject::deleteBufferObject(unsigned int contextID,GLuint globj) method. - * Ported across from using boost pointers, and prepped for - integration of audio interface into core OSG +Wed, 13 Jan 2010 14:57:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-02-27 11:11 robert +Wed, 13 Jan 2010 14:16:33 +0000 +Checked in by : Robert OSFIELD +Moved dispatch/recieve methods into public scope to allow easier custom usage. - * 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. - - " +Wed, 13 Jan 2010 13:31:03 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-02-27 10:47 robert +Wed, 13 Jan 2010 13:30:45 +0000 +Checked in by : Robert OSFIELD +Changed get methods to new style ones. - * 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 ;)" +Wed, 13 Jan 2010 13:30:14 +0000 +Checked in by : Robert OSFIELD +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: -2009-02-26 22:09 robert +inline void setTextureWidth(int width) const ... - * 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" +to: -2009-02-26 10:48 robert +inline void setTextureWidth(int width) ..." - * Addded setting of FREETYPE_INCLUDE_DIRS to - Find3rdPartyDependencies.cmake +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. -2009-02-25 20:52 robert - * Tweaks to handle more modern version of ffmpeg compiled form - source. -2009-02-25 16:05 robert - * Added Cmake support for new ffmpeg plugin +Wed, 13 Jan 2010 13:09:48 +0000 +Checked in by : Robert OSFIELD +Added missing .get()'s -2009-02-25 16:04 robert - - * From Tanguy Fautre (Aris Technologies), ffmpeg plugin - -2009-02-23 10:50 robert - - * Updated version info for 2.9.0 release - -2009-02-23 10:41 robert - - * Updated ChangeLog for 2.9.0 dev release - -2009-02-23 09:54 robert - - * 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 - - * 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 - - * 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 - - * Added VisualStudio versioning info to plugins - -2009-02-20 11:53 robert - - * 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 +Wed, 13 Jan 2010 11:45:19 +0000 +Checked in by : Robert OSFIELD +Added missing .get() to fix build when compiling with no automatic type convention in ref_ptr<> - * 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." +Wed, 13 Jan 2010 10:46:40 +0000 +Checked in by : Robert OSFIELD +From Sukender, warning fix. -2009-02-20 11:30 robert +Tue, 12 Jan 2010 11:12:06 +0000 +Checked in by : Robert OSFIELD +Convert dos line endings - * 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. " +Tue, 12 Jan 2010 10:00:24 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-02-19 19:05 robert +Mon, 11 Jan 2010 17:36:03 +0000 +Checked in by : Robert OSFIELD +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." - * 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 - * Fixed bug in checking if numRead values. +Mon, 11 Jan 2010 17:27:09 +0000 +Checked in by : Robert OSFIELD +Added missing .get() -2009-02-19 16:58 robert +Mon, 11 Jan 2010 16:09:18 +0000 +Checked in by : Robert OSFIELD +From Sukender, introduced usage of ref_ptr<> and local scoped_array to address more robust memory management. - * 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." +Mon, 11 Jan 2010 16:03:13 +0000 +Checked in by : Robert OSFIELD +Added desctructor with jas_cleanup(). -2009-02-19 16:29 robert +Mon, 11 Jan 2010 14:28:33 +0000 +Checked in by : Robert OSFIELD +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)" - * 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." +Mon, 11 Jan 2010 14:04:55 +0000 +Checked in by : Robert OSFIELD +From Sukender, "a small fix about using non 3-charcacters long file extensions (such as "jpeg", to be converted to "jpg")." -2009-02-19 15:57 robert +Fri, 8 Jan 2010 11:47:31 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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)." +Fri, 8 Jan 2010 11:40:43 +0000 +Checked in by : Robert OSFIELD +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. +" -2009-02-19 15:15 robert - * 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 +Fri, 8 Jan 2010 11:37:35 +0000 +Checked in by : Robert OSFIELD +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. " - * Merged in various changes from the OSG-2.8 to being svn/trunk up - to date. +Fri, 8 Jan 2010 11:32:55 +0000 +Checked in by : Robert OSFIELD +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 +" -2009-02-11 20:26 robert - * Fixed typo -2009-02-11 20:02 robert +Fri, 8 Jan 2010 11:16:22 +0000 +Checked in by : Robert OSFIELD +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. " - * Updated wrappers +Fri, 8 Jan 2010 10:52:03 +0000 +Checked in by : Robert OSFIELD +From Sukender, "ReaderWriter3DS.cpp fixes: - Fixed creation of useless intermediate nodesWriterNodeVisitor.cpp fixes: +- Fixed naming of textures (path and extension) +" -2009-02-11 19:55 robert +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. - * Updated wrappers to works with doxygen 1.5.8 output. -2009-02-11 17:21 robert - * Disabled the use of aggressive warnings under OSX as the default. +Fri, 8 Jan 2010 10:12:02 +0000 +Checked in by : Robert OSFIELD +Added newline at end of file to fix warning -2009-02-11 17:14 robert +Thu, 7 Jan 2010 19:13:40 +0000 +Checked in by : Robert OSFIELD +Fixed writing out of ATOM. - * 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? - " +Thu, 7 Jan 2010 19:08:53 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, fix to handling of xml node with contents by not children -2009-02-11 13:33 robert +Thu, 7 Jan 2010 17:36:44 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, fixed handling of < tag /> xml syntax - * From Sukender, changed doxygen verbosity to quite +Thu, 7 Jan 2010 17:20:55 +0000 +Checked in by : Robert OSFIELD +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." -2009-02-11 12:10 robert +Thu, 7 Jan 2010 16:49:12 +0000 +Checked in by : Robert OSFIELD +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) - * Added brackets around (unsigned int) to avoid IRIX compile error. +Quick Synopsis: -2009-02-11 10:41 robert +New functions: - * Fixes for doxgen warnings +State::applyModeOnTexUnit +State::applyAttributeOnTexUnit +State::applyModeMapOnTexUnit +State::applyAttributeMapOnTexUnit +State::applyModeListOnTexUnit +State::applyAttributeListOnTexUnit -2009-02-11 09:14 robert +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). - * 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." +State::apply (*2) +State::applyTextureAttribute -2009-02-10 20:31 robert +Changed to call the above functions and no longer call setActiveTextureUnit +themselves. - * Merged warning fix from OSG-2.8 branch: - - svn merge -r 9755:9756 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 +State::setActiveTextureUnit -2009-02-10 20:09 robert +Made inline, so the benefit of having applyModeOnTexUnit (etc) inline +is retained. +" - * 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 - * From Roger James and Robert Osfield, fixes and reorganization to - better support Windows dyanmic library build +Thu, 7 Jan 2010 14:35:17 +0000 +Checked in by : Robert OSFIELD +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. -2009-02-10 18:56 robert - * 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 +Thu, 7 Jan 2010 12:14:47 +0000 +Checked in by : Robert OSFIELD +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. - * 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 +Thu, 7 Jan 2010 10:01:26 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2009-02-10 14:01 robert +Thu, 7 Jan 2010 09:45:34 +0000 +Checked in by : Robert OSFIELD +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)." - * From Roger James, fixes for VS build handling of new VS - versioning support +Thu, 7 Jan 2010 09:43:54 +0000 +Checked in by : Robert OSFIELD +Imporoved spacing -2009-02-10 13:37 robert +Thu, 7 Jan 2010 09:11:42 +0000 +Checked in by : Robert OSFIELD +Reordered the readAllDataIntoBuffer() to avoid bug in failing on all calls to readXmlParser(..) - * From Jason Beverage, "I've added a small change to the CURL - plugin that allows support for HTTP redirects." +Wed, 6 Jan 2010 15:43:06 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-02-10 13:25 robert +Wed, 6 Jan 2010 10:41:14 +0000 +Checked in by : Robert OSFIELD +Fixed type of index to int. - * From Miguel Escriva,"OSG 2.8.0-rc4 don't found zlib in Windows. - - Here you will find a patch. " +Tue, 5 Jan 2010 20:03:02 +0000 +Checked in by : Robert OSFIELD +Replaced nullptr with isNullPointer -2009-02-10 11:44 robert +Tue, 5 Jan 2010 11:15:17 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Roland Smeenk and Robert Osfiled, tweaks to the Collada - finding/linking to improve support for Collada DOM 2.1 + 2.2 - across platforms. +Tue, 5 Jan 2010 11:15:03 +0000 +Checked in by : Robert OSFIELD +Added support for call root Camera CullCallbacks -2009-02-09 22:56 robert +Tue, 5 Jan 2010 11:10:21 +0000 +Checked in by : Robert OSFIELD +Fixed indentation - * 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" +Tue, 5 Jan 2010 11:09:18 +0000 +Checked in by : Robert OSFIELD +Added set/getDistance() method -2009-02-09 22:33 robert +Mon, 4 Jan 2010 15:54:57 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project - * Fixed to DatabasePager::getRequestsInProgress(), merged from: - - svn merge -r 9734:9735 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 +Tue, 22 Dec 2009 14:09:46 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, remove unused file Skinning, cleanup file Timeline.cpp -2009-02-09 22:12 robert +Wed, 16 Dec 2009 15:48:34 +0000 +Checked in by : Robert OSFIELD +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. - * Merged from OSG-2.8 branch the suppression of the wrapping of the - ScopeLock +Wed, 16 Dec 2009 15:12:36 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS.txt to mark the point in time that the OpenSceneGraph gained it's 400th contributor! -2009-02-09 21:48 robert +Wed, 16 Dec 2009 15:05:14 +0000 +Checked in by : Robert OSFIELD +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." - * 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 - * 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 +Wed, 16 Dec 2009 12:17:45 +0000 +Checked in by : Robert OSFIELD +Removed old texture object manage code. -2009-02-09 21:38 robert +Tue, 15 Dec 2009 17:25:12 +0000 +Checked in by : Robert OSFIELD +From Sukender, warning fix - * 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 +Tue, 15 Dec 2009 15:55:24 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project -2009-02-09 13:49 shuber +Tue, 15 Dec 2009 14:45:33 +0000 +Checked in by : Robert OSFIELD +Fixed compile warnings - * From Stephan Huber: fixed local Config file needed for - xcode-project +Tue, 15 Dec 2009 14:44:12 +0000 +Checked in by : Robert OSFIELD +Fixed compile warnings -2009-02-09 11:15 robert +Tue, 15 Dec 2009 14:40:06 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * From Paul Melis, syncing improvements made to wiki version of - NEWS for 2.8 +Tue, 15 Dec 2009 12:37:49 +0000 +Checked in by : Robert OSFIELD +From Tanguy Fautre and Robert Osfield, updated tristripper code to use the latest tristripper_r94 code. -2009-02-09 11:13 robert +Tue, 15 Dec 2009 11:47:38 +0000 +Checked in by : Robert OSFIELD +Updated version to 2.9.7 in prep for next dev release - * Removed redundent #pragma +Tue, 15 Dec 2009 11:27:28 +0000 +Checked in by : Robert OSFIELD +From Julen Garcia, "So here is the code with a proper audio sync (at least in my computer)" -2009-02-09 10:00 robert +Tue, 15 Dec 2009 09:16:20 +0000 +Checked in by : Robert OSFIELD +Changed GL_BGRA_EXT to GL_BGRA and added include of include/osg/Image to make sure define is declared - * Updated wrappers +Mon, 14 Dec 2009 13:42:00 +0000 +Checked in by : Robert OSFIELD +Renamed osg::GraphicsContext::OperationQueue typedef to GraphicsOperationQueue to avoid naming conflict with osg::OperationQueue -2009-02-09 09:41 robert +Mon, 14 Dec 2009 12:50:57 +0000 +Checked in by : Robert OSFIELD +Added checked against QT webkit being available - * From Cedric Pinson, removed virtual inheritance from - osgAnimation::Animation +Mon, 14 Dec 2009 12:49:59 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2009-02-08 19:30 robert +Thu, 10 Dec 2009 17:52:40 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find the missing GraphicsHandleCocoa-implementation." - * Fixed handling of a series of \n in the text string so that the - correct line spacing is maintained. +Thu, 10 Dec 2009 12:58:05 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and README.txt for 2.9.6 dev release -2009-02-08 15:56 robert +Thu, 10 Dec 2009 12:14:24 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for 2.9.6 dev release - * 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())" +Thu, 10 Dec 2009 12:13:13 +0000 +Checked in by : Robert OSFIELD +Updated Contributors list to workaround typos in ChangeLog -2009-02-07 11:30 robert +Thu, 10 Dec 2009 11:46:44 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Merged from OSG-2.8 branch, fix to handle of StateSet attached to - transforms being removed by the FlattentStaticTransformVisitor +Thu, 10 Dec 2009 11:30:51 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-02-06 15:49 robert +Thu, 10 Dec 2009 11:30:09 +0000 +Checked in by : Robert OSFIELD +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." - * Bumped version number of svn/trunk to 2.9.0 +Thu, 10 Dec 2009 11:16:41 +0000 +Checked in by : Robert OSFIELD +Fixed bug in positioning of 3d text characters -2009-02-06 15:39 robert +Wed, 9 Dec 2009 23:42:29 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, add missing file - * Added a couple more pragma's to resolve final Windows warnings +Wed, 9 Dec 2009 18:45:46 +0000 +Checked in by : Cedric Pinson +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-02-06 15:38 robert +Wed, 9 Dec 2009 14:34:24 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Paul Melis & Robert Osfeild, improvements to find scripts to - better handle diffrent installation combinations +Wed, 9 Dec 2009 13:55:10 +0000 +Checked in by : Robert OSFIELD +Fixed support for compiling VBO's -2009-02-06 15:17 robert +Wed, 9 Dec 2009 13:51:02 +0000 +Checked in by : Robert OSFIELD +Added a Geometry::compileGLObjects() to handle compilation of VBO + EBO's. - * From Gary Quinn, spelling fixes +Wed, 9 Dec 2009 13:13:02 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, removed email address -2009-02-06 14:19 robert +Wed, 9 Dec 2009 10:18:13 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, .osg support for osgFX::Outline - * Fixed path to version resource input file +Wed, 9 Dec 2009 09:37:19 +0000 +Checked in by : Robert OSFIELD +Compile fixes for GLES -2009-02-06 14:13 robert +Wed, 9 Dec 2009 09:36:08 +0000 +Checked in by : Robert OSFIELD +From Robert Milharcic, added missing OSGFX_EXPORT - * From Gary Quin + Robert Osfield, clean up of old batch file +Tue, 8 Dec 2009 17:41:44 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "attached is a stencil buffer-based constant-width outline f/x with example. I've also modified osgfxbrowser to setup the stencil buffer accordingly." -2009-02-06 12:15 robert +Tue, 8 Dec 2009 17:41:18 +0000 +Checked in by : Robert OSFIELD +From Thomas Halgarth, mods for Iphone GL headers - * Fixed data copy bug +Tue, 8 Dec 2009 17:33:01 +0000 +Checked in by : Robert OSFIELD +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. -2009-02-06 10:35 robert +Tue, 8 Dec 2009 17:25:45 +0000 +Checked in by : Robert OSFIELD +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." - * 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. - [...]" +Tue, 8 Dec 2009 16:58:21 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2009-02-06 08:46 robert +Tue, 8 Dec 2009 16:02:43 +0000 +Checked in by : Robert OSFIELD +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. - * Added support for VS versioning of OpenThreads -2009-02-05 15:22 robert - * 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" -2009-02-05 14:56 robert +Tue, 8 Dec 2009 15:39:04 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Changed version to only be run for Visual Studio +Tue, 8 Dec 2009 15:38:50 +0000 +Checked in by : Robert OSFIELD +Added virtual declaration for a range of osg::Image method to allow easier customization. -2009-02-05 14:55 robert +Tue, 8 Dec 2009 14:40:36 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * From Sherman Wilcox, added VS versioning information into libs +Tue, 8 Dec 2009 14:25:16 +0000 +Checked in by : Robert OSFIELD +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-02-05 14:54 robert +Mon, 7 Dec 2009 16:45:33 +0000 +Checked in by : Robert OSFIELD +Re-order the setting of the VBO's - * Added exports, and moved constructors into .cpp. +Mon, 7 Dec 2009 12:35:33 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces -2009-02-05 14:42 robert +Sat, 5 Dec 2009 10:13:43 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added initializer and fixed indentation +Sat, 5 Dec 2009 10:02:04 +0000 +Checked in by : Robert OSFIELD +Removed unimplemented updateGraph method -2009-02-05 14:35 robert +Fri, 4 Dec 2009 17:25:23 +0000 +Checked in by : Robert OSFIELD +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. - * Suppress gcc warnings emitted by external headers +Please commit the enclosed file to fix these issues. -2009-02-05 12:21 robert +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. - * 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." +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 -2009-02-05 12:03 robert +I'm very happy if some of you guys find a better means of solving the black edges. - * Warning fixes +" -2009-02-05 11:10 robert - * Added VS and gcc warning suppression to clean up a few last - stubborn warnings -2009-02-05 10:14 robert +Fri, 4 Dec 2009 17:24:27 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four space - * From Jean-Sebastien Guay, warning fixes +Fri, 4 Dec 2009 11:31:04 +0000 +Checked in by : Robert OSFIELD +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-02-04 16:12 shuber - * From Stephan Huber: fix for local config-file used by the - deprecated XCode-project -2009-02-04 13:51 robert - * Form Paul Melis, spelling fixes +Fri, 4 Dec 2009 09:57:08 +0000 +Checked in by : Robert OSFIELD +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-02-04 12:59 robert +Wed, 2 Dec 2009 18:58:45 +0000 +Checked in by : Robert OSFIELD +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 :?" - * Set the release candidate to 1. +Wed, 2 Dec 2009 14:58:47 +0000 +Checked in by : Robert OSFIELD +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-02-04 12:54 robert +Wed, 2 Dec 2009 14:21:13 +0000 +Checked in by : Robert OSFIELD +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." - * Updated news to keep in sync with online news entry +Wed, 2 Dec 2009 12:37:45 +0000 +Checked in by : Robert OSFIELD +Quitened down debug info -2009-02-04 12:50 robert +Wed, 2 Dec 2009 12:37:22 +0000 +Checked in by : Robert OSFIELD +Added osggpx example to demonstate how to use the XmlParser and create line models.To use : - * Updated AUTHORS file for 2.8 branch. + osggpx myterrainmodel.ive -t mytrack.gpx -2009-02-04 12:31 robert - * Updated NEWS and README for 2.8 branch -2009-02-04 11:35 robert - * Fixed the constness of osg::Image* pointer -2009-02-04 09:03 robert +Tue, 1 Dec 2009 19:40:29 +0000 +Checked in by : Robert OSFIELD +Quiten down debugging message - * Removed cast, to quieten VS warnings. Confirm change with - original author Mathias Froehlich. +Mon, 30 Nov 2009 13:44:41 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-02-03 20:26 robert +Fri, 27 Nov 2009 18:14:27 +0000 +Checked in by : Robert OSFIELD +Attempted compile fix. - * Clean up warning disable code +Fri, 27 Nov 2009 16:47:38 +0000 +Checked in by : Robert OSFIELD +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-02-03 20:17 robert - * Disabled warning -2009-02-03 17:14 robert +Fri, 27 Nov 2009 15:48:57 +0000 +Checked in by : Robert OSFIELD +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." - * Fixed warning -2009-02-03 17:11 robert - * Fixed warning +Fri, 27 Nov 2009 15:39:07 +0000 +Checked in by : Robert OSFIELD +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"... -2009-02-03 15:28 robert +What I've done: - * Warning fixes +I've added a search and replace of "\r\n" to "\n", and then "\r" to "\n" (note that the order is important). -2009-02-03 12:47 robert +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."" - * Added setDataVariance(DYNAMIC) to text label as it's being - updated dynamically -2009-02-03 11:54 robert - * Added local disabling the the VS C4121 "alignment of a member was - sensitive to packing" warning +Fri, 27 Nov 2009 15:35:57 +0000 +Checked in by : Robert OSFIELD +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: -2009-02-03 11:07 robert +std::string uri = std::string("file:") + foundFile; - * Fixed warning +to: -2009-02-03 11:05 robert +#if defined(WIN32) && !defined(__CYGWIN__) + std::string uri = std::string("file:///") + foundFile; +#else + std::string uri = std::string("file:") + foundFile; +#endif - * 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 +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. - * Added explict initialization of osg::Object contstructor to fix - warning +Now I could read my Chinese translation of OSGQSG with osgpdf. :P" -2009-02-02 20:42 robert - * Updated wrappers -2009-02-02 20:35 robert +Fri, 27 Nov 2009 15:32:43 +0000 +Checked in by : Robert OSFIELD +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." - * Warnings fixes for VS. +Fri, 27 Nov 2009 12:21:44 +0000 +Checked in by : Robert OSFIELD +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. -2009-02-02 20:34 robert +I have attached a fix to osgDB/FileUtils.cpp based on version 2.9.5 svn revision 10374 +" - * Attempt to appease both FreeBSD CMAke 2.6.2 + Linux CMake 2.4.8 - builds -2009-02-02 18:55 robert - * From Cedric Pinson, warning fix. +Fri, 27 Nov 2009 12:17:20 +0000 +Checked in by : Robert OSFIELD +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-02-02 17:46 robert - * Added initializer for local Quat definition -2009-02-02 17:32 robert +Fri, 27 Nov 2009 11:48:21 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added explict intializiers of base classes +Fri, 27 Nov 2009 11:43:18 +0000 +Checked in by : Robert OSFIELD +Implement deleteAllTextureObject/BufferObjects functionality.Cleaned up warnings. -2009-02-02 17:16 robert - * Added /lib64 to search paths. -2009-02-02 17:15 robert +Thu, 26 Nov 2009 12:33:07 +0000 +Checked in by : Robert OSFIELD +Introduced preliminary osg::deleteAllGLObjects() and osg::discardAllGLObjects() functions and associated support into Texture and BufferObjects - * Improved handling of stats projection size +Thu, 26 Nov 2009 10:12:38 +0000 +Checked in by : Robert OSFIELD +Added check for Geometry pointer being valid -2009-02-02 16:56 robert +Wed, 25 Nov 2009 16:31:14 +0000 +Checked in by : Robert OSFIELD +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 - * From Stephan Huber, build fix for OSX XCode build +Which repeats construction of the viewer 5 times in a row, and enables VBO, and on each repeat a new model is loaded. -2009-02-02 15:04 robert + osgcamera -r 2 --vbo --shared cow.osg - * Fixed version +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-02-02 14:55 robert - * Updated OpenThreads and OpenSceneGraph version ready for OSG-2.8 - branch. -2009-02-02 14:51 robert - * From Cedric Pinson, "Here an update of the osgAnimation - ReaderWriter, it add other NodeCallback that could be attached to - a node with Bone." +Wed, 25 Nov 2009 16:20:25 +0000 +Checked in by : Robert OSFIELD +Added support for repeating viewer construction -2009-02-02 14:50 robert +Wed, 25 Nov 2009 11:31:52 +0000 +Checked in by : Robert OSFIELD +From Sergey Leontyev, example for testing of DatabasePaging and CompositeView usage - * 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." +Tue, 24 Nov 2009 15:26:54 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-02-02 14:43 robert +Tue, 24 Nov 2009 15:00:11 +0000 +Checked in by : Robert OSFIELD +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. " - * 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, 24 Nov 2009 14:32:51 +0000 +Checked in by : Robert OSFIELD +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 -2009-02-02 09:23 robert +"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." - * From Sukender, add check against NULL parameter value -2009-02-01 12:38 robert - * Ground work for full .osg support for osg::TransferFunction* -2009-01-31 21:46 robert +Tue, 24 Nov 2009 14:22:12 +0000 +Checked in by : Robert OSFIELD +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;" - * Updated NEWS +Tue, 24 Nov 2009 14:20:59 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-01-31 21:46 robert +Tue, 24 Nov 2009 14:12:54 +0000 +Checked in by : Robert OSFIELD +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." - * Added initial placeholder for .osg support for - osgVolume::TransferFunctionProperty +Tue, 24 Nov 2009 13:28:07 +0000 +Checked in by : Robert OSFIELD +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-01-31 21:45 robert +Tue, 24 Nov 2009 13:24:30 +0000 +Checked in by : Robert OSFIELD +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." - * Fixed handling of TransferFunctionProperty. +Mon, 23 Nov 2009 11:00:07 +0000 +Checked in by : Robert OSFIELD +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-01-31 10:21 robert - * Rejigged the Xrandr include -2009-01-30 18:56 robert +Mon, 23 Nov 2009 10:19:37 +0000 +Checked in by : Robert OSFIELD +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." - * Improved shaders to better handle region of constant values when - doing normal generation -2009-01-30 17:10 robert - * Updated iso surface shaders +Mon, 23 Nov 2009 10:01:44 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, " Adds support for Vec /= Vec and Vec *= Vec operators to Vec2/Vec3/Vec4 double and float classes." -2009-01-30 16:45 robert +Mon, 23 Nov 2009 09:54:28 +0000 +Checked in by : Robert OSFIELD +Updated version - * Added support for discard fragment that don't generate an iso - surface intersect +Mon, 23 Nov 2009 09:53:08 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, typo fixes -2009-01-30 15:04 robert +Sun, 22 Nov 2009 17:27:13 +0000 +Checked in by : Robert OSFIELD +Added missing createContextImplementation(). - * 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. - " +Sat, 21 Nov 2009 16:41:02 +0000 +Checked in by : Robert OSFIELD +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. -2009-01-30 14:54 robert +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. - * 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 - " +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. -2009-01-30 13:05 robert +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." - * Update AUTHORS for release +Notes from Robert Osfield, adapted Colin's submission to work with the new EGL related changes. -2009-01-30 12:17 robert - * Updated ChangeLog for 2.7.9 release -2009-01-30 12:09 robert - * Fixed size of background of frame stats so that it's the correct - width of the window +Fri, 20 Nov 2009 14:51:43 +0000 +Checked in by : Robert OSFIELD +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. -2009-01-30 11:40 robert + 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. - * Updated wrappers +" -2009-01-30 10:55 robert - * Fixed warnings, updated NEWS -2009-01-29 20:40 robert +Fri, 20 Nov 2009 14:40:58 +0000 +Checked in by : Robert OSFIELD +Moved the ImagePager update to before the main scene graph update traversal - * Added support for osgVolume::ProperyAdjustmentCallback +Fri, 20 Nov 2009 14:39:15 +0000 +Checked in by : Robert OSFIELD +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: -2009-01-29 20:34 robert +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())); +} - * Added support for osgVolume::Property classes +to -2009-01-29 17:19 robert +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); +} - * Fixed handling of files with event callbacks on them. +That is, just swap the positions of two 'if () {...}' segments. -2009-01-29 16:38 robert +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. + " - * From Jean-Sebastien Guay, added missing windows socket library -2009-01-29 15:37 robert - * Updated FindOSG.cmake from the version used by Present3D as this - is more up to date. +Fri, 20 Nov 2009 14:31:11 +0000 +Checked in by : Robert OSFIELD +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-01-29 15:32 robert - * Update ChangeLog -2009-01-29 15:07 robert - * Updated news +Fri, 20 Nov 2009 14:15:42 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-01-29 14:41 robert +Fri, 20 Nov 2009 12:32:51 +0000 +Checked in by : Robert OSFIELD +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." - * Fixed the sumation of the the unique number of primtivesets and - vertices in the scene Stats collect +Fri, 20 Nov 2009 11:46:20 +0000 +Checked in by : Robert OSFIELD +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. -2009-01-29 14:35 robert +I join the fixed file." - * Added CMakeLists.txt for osgcluster -2009-01-29 14:00 robert - * First cut of NEWS for 2.8 release +Fri, 20 Nov 2009 11:43:53 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "Reading from a stream the 3ds plugin crashes if the options are null." -2009-01-29 13:29 robert +Fri, 20 Nov 2009 11:39:10 +0000 +Checked in by : Robert OSFIELD +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. + " - * Restructed the reporting of the libpath message so that it only - appears the first time it's required +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-01-29 13:17 robert - * Added osgcluster example into build system -2009-01-29 11:18 robert +Fri, 20 Nov 2009 11:25:49 +0000 +Checked in by : Robert OSFIELD +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. - * 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." +I am attaching a patch I made to fix this problem." -2009-01-29 11:03 robert - * Fixed warning -2009-01-29 10:43 robert +Fri, 20 Nov 2009 11:18:28 +0000 +Checked in by : Robert OSFIELD +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" - * Revised the message about install path. +Fri, 20 Nov 2009 11:08:40 +0000 +Checked in by : Robert OSFIELD +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. -2009-01-29 10:22 robert +//Sample program. Run against an osgEarth or VPB database based on osgTerrain. +#include +#include - * Added missing entry in build for AnimationManager.cpp +int main(int argc, char** argv) +{ + osg::ArgumentParser arguments(&argc,argv); -2009-01-29 09:28 robert + 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; - * Improved the handling of toggling of GL_LIGHTi modes when - SceneView::setLightingMode() is toggled on/off. + viewer = new osgViewer::Viewer(); + viewer->setUpViewInWindow(100,100,500,500); + loadedModel = osgDB::readNodeFiles(arguments); + viewer->setSceneData( loadedModel.get() ); + viewer->run(); + delete viewer; +}" -2009-01-29 09:27 robert - * 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. -2009-01-29 09:24 robert +Fri, 20 Nov 2009 10:56:54 +0000 +Checked in by : Robert OSFIELD +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." - * Removed now redundent shader files. - - Fixed the adding of transfer function property. +Fri, 20 Nov 2009 10:54:39 +0000 +Checked in by : Robert OSFIELD +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-01-28 16:48 robert +Fri, 20 Nov 2009 10:48:51 +0000 +Checked in by : Robert OSFIELD +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: - * Removed old shader files +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. -2009-01-28 16:44 robert - * Removed comments. +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. -2009-01-28 15:23 robert +I recommand this tool http://avicodec.duby.info/, that check which +video/sound codec is needed to play an avi file. - * Updated wrappers -2009-01-28 15:15 robert +You can test it with the osgmovie example. +" - * Moved push/popCulling set it public scope. -2009-01-28 13:45 robert - * 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" +Fri, 20 Nov 2009 10:27:43 +0000 +Checked in by : Robert OSFIELD +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-01-28 12:55 robert - * From Mathias Froehlich, fixed typo. -2009-01-28 12:51 robert +Fri, 20 Nov 2009 09:05:06 +0000 +Checked in by : Robert OSFIELD +Added #include - * Fixed warnings +Fri, 20 Nov 2009 09:03:02 +0000 +Checked in by : Robert OSFIELD +From Jan Ciger, removal of declaration of now undefined method. -2009-01-28 12:45 robert +Thu, 19 Nov 2009 17:42:25 +0000 +Checked in by : Robert OSFIELD +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." - * Fixed of warnings -2009-01-28 12:28 robert - * Fixed warnings +Thu, 19 Nov 2009 17:27:21 +0000 +Checked in by : Robert OSFIELD +From Lilin Xiong, added missing OSG_EXPORT -2009-01-28 12:02 robert +Thu, 19 Nov 2009 17:22:20 +0000 +Checked in by : Robert OSFIELD +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. - * Temporarily disabled VS warning C4100 to enable use to home in on - the useful warnings that could do with resolving. +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. -2009-01-28 11:59 robert +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. - * 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. - " +Modification done against current SVN Trunk version (r10753). -2009-01-28 11:16 robert +As this is a fix, I do not wish to keep my copyright on this submission and assign it over to the project lead. +" - * 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 - * 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 +Thu, 19 Nov 2009 17:18:22 +0000 +Checked in by : Robert OSFIELD +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-01-28 09:42 robert +Thu, 19 Nov 2009 17:17:24 +0000 +Checked in by : Robert OSFIELD +Fixed tabs - * 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 - - * 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 - - * From Paul Melis, remove redundent spaces - -2009-01-28 09:24 robert - - * From Paul Melis, removed redundent spacing. - -2009-01-28 09:23 robert - - * Fixed the handling of setLightingMode and inheritCullSettings so - that it properly manages the GL_LIGHTING mode - -2009-01-28 09:21 robert - - * 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 - - * Added back in intializers for RenderSurface. - -2009-01-27 15:35 robert - - * 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 - - * 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 - - * 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." +Thu, 19 Nov 2009 16:53:29 +0000 +Checked in by : Robert OSFIELD +Fixed spacing -2009-01-27 15:14 robert +Thu, 19 Nov 2009 16:45:35 +0000 +Checked in by : Robert OSFIELD +From Nico Krulthof, remove double qualifier of ReaderWriterQT constructor/destructor. - * From Jason Beverage, "Here is a small fix that enables writing 16 - bit short images in the tiff plugin. - " +Thu, 19 Nov 2009 16:43:54 +0000 +Checked in by : Robert OSFIELD +Changed the placement of the autogenerated Version file so it drops into the in source directory. -2009-01-27 14:11 robert +Thu, 19 Nov 2009 16:39:03 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, refactor to FBO setup to use the osg::Camera implicit buffer attachements. - * Converted viewer camera references to use observer_ptr<> rather - than ref_ptr<> or C pointers to avoid issues with circular - references/dangling pointers. +Thu, 19 Nov 2009 16:06:30 +0000 +Checked in by : Robert OSFIELD +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-01-27 13:23 robert - * Refactored the view stats. -2009-01-27 09:09 robert +Thu, 19 Nov 2009 12:54:52 +0000 +Checked in by : Robert OSFIELD +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." - * Commented out debug message -2009-01-26 21:23 robert - * Ported onscreen camera stats across to using thread safe stats - collection +Thu, 19 Nov 2009 12:39:04 +0000 +Checked in by : Robert OSFIELD +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. -2009-01-26 19:22 robert +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; - * Added passing of command line args to cmake -2009-01-26 16:55 robert +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." - * Converted across to using ref_ptr<> to avoid memory leak/dangling - pointer issues. -2009-01-26 15:16 robert - * 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. +Thu, 19 Nov 2009 12:01:49 +0000 +Checked in by : Robert OSFIELD +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. -2009-01-26 13:48 robert - * Moved the XRANDR include into LIB_PRIVATE_HEADERS to avoid - FreeBSD build problem +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: -2009-01-26 10:52 robert +0 : don't capture +<0 : capture continuously +>0 : capture that number of frames then stop - * Updated wrappers +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'). -2009-01-26 10:35 robert +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. :-) - * 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." +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. -2009-01-24 10:02 robert +I've tested all cases (I think). If you want to try, in osgviewer.cpp and replace the line - * Changed META_NodeVisitor usage to META_Object as it's more - appropriate. + // add the screen capture handler + viewer.addEventHandler(new osgViewer::ScreenCaptureHandler); -2009-01-24 10:00 robert +with - * 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" + // 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(); -2009-01-23 23:04 shuber +And vary the "-1" (put 0, 10, 50) and then use the 'c' and 'C' keys and see how it reacts. +" - * From Stephan Huber: updated XCode project -2009-01-23 15:52 robert - * 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." +Thu, 19 Nov 2009 11:54:15 +0000 +Checked in by : Robert OSFIELD +Fixed spaces at ends of lines -2009-01-23 15:50 robert +Thu, 19 Nov 2009 11:44:44 +0000 +Checked in by : Robert OSFIELD +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" - * Added forward declaration of callbacks to headers to avoid - scoping issues of classes with same names. +Thu, 19 Nov 2009 11:30:22 +0000 +Checked in by : Robert OSFIELD +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-01-23 15:12 robert - * Warning fixes for VS, and removal of associated warning disables -2009-01-23 15:02 robert +Thu, 19 Nov 2009 11:21:05 +0000 +Checked in by : Robert OSFIELD +From J.P. Delport, "simple addition to make the scroll wheel work in the example." - * Added workaround for silly posix read deprecation warning under - VS. +Thu, 19 Nov 2009 11:16:58 +0000 +Checked in by : Robert OSFIELD +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-01-23 14:00 robert +Thu, 19 Nov 2009 10:47:42 +0000 +Checked in by : Robert OSFIELD +Fixed build - * Removed unneccesary warning disables +Thu, 19 Nov 2009 10:12:00 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-01-23 11:52 robert +Thu, 19 Nov 2009 10:10:50 +0000 +Checked in by : Robert OSFIELD +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. - * Added range of visual rendering properties to readNode's creation - of VolumeTile/ImageLayer. +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-01-23 10:29 robert - * 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 - * 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 - - * Upped notification level of timing stats - -2009-01-21 19:28 robert - - * Updated wrappers - -2009-01-21 19:02 robert - - * 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 - - * Fixed compile errors for when ref_ptr<> auto conversion is - disabled - -2009-01-21 18:47 robert - - * 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 +Wed, 18 Nov 2009 18:19:29 +0000 +Checked in by : Robert OSFIELD +Removed include/osg/Config as it was causing problem with Windows build - * 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. - " +Wed, 18 Nov 2009 16:24:01 +0000 +Checked in by : Robert OSFIELD +Moved the set of include/osg/Version into Cmake -2009-01-21 18:23 robert +Wed, 18 Nov 2009 14:08:46 +0000 +Checked in by : Robert OSFIELD +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". - * Replaced readImageFile() usage with readRefImageFile() to prevent - threading issues with caching of imagery in the osgDB::Registry - cache. -2009-01-21 17:10 robert - * 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." +Wed, 18 Nov 2009 13:00:35 +0000 +Checked in by : Robert OSFIELD +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-01-21 14:37 robert - * From Sherman Wilcox, "Minor change to the glPushAttrib(...) call - in - renderWithStencilBuffer(...) - added GL_STENCIL_BUFFER_BIT" -2009-01-21 14:27 robert +Wed, 18 Nov 2009 12:50:03 +0000 +Checked in by : Robert OSFIELD +Fixed primCount default value - * Renamed ShaderTechnique to RayTracedTechnique +Wed, 18 Nov 2009 12:15:29 +0000 +Checked in by : Robert OSFIELD +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-01-21 12:06 robert +Wed, 18 Nov 2009 11:26:00 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Cleaned up osgvolume +Wed, 18 Nov 2009 11:25:28 +0000 +Checked in by : Robert OSFIELD +Added osg::ShaderBinary::readShaderBinaryFile(..) static method -2009-01-21 11:46 robert +Tue, 17 Nov 2009 15:54:20 +0000 +Checked in by : Robert OSFIELD +Moved across to use OSG_FIXED_FUNCTION_AVAILABLE - * Introduced the ability to switch between different visual - properties in osgVolume +Tue, 17 Nov 2009 14:06:07 +0000 +Checked in by : Robert OSFIELD +, and includes required for QNX compiler -2009-01-20 17:53 robert +Tue, 17 Nov 2009 12:55:52 +0000 +Checked in by : Robert OSFIELD +Added OSG_CPP_EXCEPTIONS_AVAILABLE cmake option to enable optional build of plugins and examples that required C++ exceptions - * Updated wrappers +Tue, 17 Nov 2009 12:54:55 +0000 +Checked in by : Robert OSFIELD +Converted .ive plugin from using C++ exceptions to using a local equivelant, enabling the build on embedded systems. -2009-01-20 17:41 robert +Tue, 17 Nov 2009 11:36:32 +0000 +Checked in by : Robert OSFIELD +Removed usage of throw - * Moved PropertyAdjustmentCallback from osgvolume.cpp into - osgVolume. - - Updated lighting shaders. +Mon, 16 Nov 2009 17:50:33 +0000 +Checked in by : Robert OSFIELD +Fixed Shader constructor -2009-01-20 15:30 robert +Mon, 16 Nov 2009 16:09:50 +0000 +Checked in by : Robert OSFIELD +Replaced catch usage - * Removed redundent shader files +Mon, 16 Nov 2009 15:47:32 +0000 +Checked in by : Robert OSFIELD +Removed catch -2009-01-20 15:29 robert +Mon, 16 Nov 2009 15:17:57 +0000 +Checked in by : Robert OSFIELD +Removed throw. - * Added lighting based shaders +Mon, 16 Nov 2009 14:58:31 +0000 +Checked in by : Robert OSFIELD +Removed throw. -2009-01-20 15:06 robert +Mon, 16 Nov 2009 14:47:52 +0000 +Checked in by : Robert OSFIELD +Removed usaged of throw and catch to enable better compatibility with embedded systems that don't support C++ exceptions efficiently. - * Added event key variables +Mon, 16 Nov 2009 12:32:41 +0000 +Checked in by : Robert OSFIELD +Added new osg::ShaderBinary class, and support for it in osg::Shader. -2009-01-20 13:50 robert +Fri, 13 Nov 2009 13:52:12 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "After fixing Skeleton, i introduce a compile issue in osganimationhardware example I added a #include to fix it " - * Added support for SampleDensityProperty and TransparencyProperty +Fri, 13 Nov 2009 13:42:04 +0000 +Checked in by : Robert OSFIELD +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-01-20 12:39 robert - * Added AlphaFunc support into osgVolume::AlphaFuncProperty. -2009-01-20 11:34 robert +Fri, 13 Nov 2009 13:39:21 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, Fix Skeleton to compute correctly bind matrix, fix compile issue on osganimationhardware after fixing Skeleton - * Fixed compile error when using ITK +Fri, 13 Nov 2009 13:25:59 +0000 +Checked in by : Robert OSFIELD +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-01-17 17:23 robert - * Updated event callback to be able to update iso surface value. -2009-01-17 17:23 robert +Fri, 13 Nov 2009 12:51:42 +0000 +Checked in by : Robert OSFIELD +Added dummy StateSet at top of scene graph when using ShaderGen to copy with subgrahs that contain no StateSet - * Updated Uniform name for controlling IsoSurfaceValue +Fri, 13 Nov 2009 10:03:02 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, osgViewer Win32 GL3 context creation support -2009-01-17 16:00 robert +Fri, 13 Nov 2009 09:56:47 +0000 +Checked in by : Robert OSFIELD +Added missing export - * Updated wrappers +Thu, 12 Nov 2009 19:39:50 +0000 +Checked in by : Robert OSFIELD +Introduced the usage of GL_MAX_TEXTURE_IMAGE_UNITS where support in place of the check of GL_MAX_TEXTURE_UNITS. -2009-01-16 17:59 robert +Thu, 12 Nov 2009 14:35:44 +0000 +Checked in by : Robert OSFIELD +Adapted GLBeginEndAdapter to use state.drawQuad(..) rather than use it's local GL_QUADS emulation.Fixed to osg::Texture for GLES support. - * Removed old volume rendering scene graph code from osgvolume - example. - - Moved createNormalMapTexture and applyTransferFunction functions - from osgvolume example into include/osgVolume/Layer. +Added automatic GLenum mode mappings in osg::PrimitiveSet to provide a fallback for non support glDrawArray/glDrawElement modes. -2009-01-16 16:21 robert +Added finer gained error checking during StateSet::compile(). - * Completed firt pass implementation FixedFunction and - ShaderTechnique. -2009-01-16 11:27 robert - * Moved basics of fixed function pipeline implementation from - osgvolume example into osgVolume +Thu, 12 Nov 2009 12:19:09 +0000 +Checked in by : Robert OSFIELD +Introdced usage of State::drawQuads -2009-01-16 10:34 robert +Thu, 12 Nov 2009 12:18:33 +0000 +Checked in by : Robert OSFIELD +Introduced new State::drawQuads(..) convinience method to help out with mapping GL 1.x style calls to GLES2.0 compatible calls. - * Added default use of osgVolume::ShaderTechnique +Thu, 12 Nov 2009 12:14:01 +0000 +Checked in by : Robert OSFIELD +Fixed winding of GL_QUADS mapping -2009-01-16 10:23 robert +Thu, 12 Nov 2009 12:07:13 +0000 +Checked in by : Robert OSFIELD +Improved compatibility with GLES2 - * Introduced ImageLayer computeMinMax + rescaling methods, and use - of rescaleToZeroToOneRange by default. +Wed, 11 Nov 2009 15:25:42 +0000 +Checked in by : Robert OSFIELD +Added glContexVersion, glContextFlags and glContextProfileMask members to osg::GraphicsContext::Traits to support GL3 graphics context creation.Moved the handling of DisplaySettings into Traits constructor. -2009-01-15 15:57 robert +Added support for s/getGLContextVersion(), s/getGLContextFlags() and s/getGLContextProfileMask() to osg::DisplaySettings. - * Introduce osgVolume::PropertVisitor, and IsoSurface, - MaximumImageProjection, Ligting and AlphaFunc Properties +Added command line and env var support for setting the GLContextVersion, GLContextFlags and GLContextProfileMask to osg::DisplaySettings. -2009-01-15 10:44 robert - * Removal of rendundant characters from Camera and Camera.cpp. - - Updated wrappers -2009-01-15 10:36 robert - * 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. - " +Wed, 11 Nov 2009 12:04:06 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, enabled packed_depth_stencil support for GL3 -2009-01-14 20:43 robert +Wed, 11 Nov 2009 09:15:03 +0000 +Checked in by : Robert OSFIELD +Merged runtime fix for Win32 OpenGLES build that avoids usage of wglGetProcAddress. - * Changed setVolumeTechnique to setVolumeTechniquePrototype() +Tue, 10 Nov 2009 19:16:36 +0000 +Checked in by : Robert OSFIELD +Added OSG_GLES2_FEATURES and OSG_GL3_FEATURES usage where appropriate -2009-01-14 20:38 robert +Tue, 10 Nov 2009 17:01:08 +0000 +Checked in by : Robert OSFIELD +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. - * Added VolumeTechnique to Volume +Introduced usage of OSG_GL*_FEATURES to avoid some #if #else #endif code blocks. -2009-01-14 20:32 robert +Using a submissions from Paul Martz as a guide added perliminary GL3 support to a range of OSG classes - * Added osgVolume .osg plugin -2009-01-14 15:16 robert - * Introduced osgVolume::Property, CompositePropery and - TransferFunctionPropety classes -2009-01-14 10:32 robert +Tue, 10 Nov 2009 14:59:42 +0000 +Checked in by : Robert OSFIELD +Removed debug message - * From Lionel Lagarde, "The last field of the - LightPointAppearancePalette is only valid for > 15.8 version of - the format." +Tue, 10 Nov 2009 14:31:16 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2009-01-13 17:51 robert +Tue, 10 Nov 2009 12:03:03 +0000 +Checked in by : Robert OSFIELD +Changed default enabling of vertex attribute mapping - * Integrated state setup code from osgvolume.cpp example into - ShaderTechnique path. +Tue, 10 Nov 2009 12:02:40 +0000 +Checked in by : Robert OSFIELD +Removed redundant include of GLU -2009-01-13 17:20 robert +Tue, 10 Nov 2009 12:01:28 +0000 +Checked in by : Robert OSFIELD +Added enabling of lighting, and disabling of mipmapping to help out testing of GLES2 target - * Introduced class interfaces for FixedFunctionTechnique and - ShaderTechnique volume rendering techniques. +Tue, 10 Nov 2009 11:36:07 +0000 +Checked in by : Robert OSFIELD +Added support for mapping GL_QUADS, GL_QUAD_STRIP and GL_POLYGONS to GL_TRIANGLE equivalents. -2009-01-13 10:15 robert +Tue, 10 Nov 2009 11:34:57 +0000 +Checked in by : Robert OSFIELD +Added the default usage of ShaderGenVisitor to help with GLES2 testing. - * Added ZLIB_FOUND to dicom qualification +Tue, 10 Nov 2009 11:34:31 +0000 +Checked in by : Robert OSFIELD +Added state.checkGLErrors() calls to help in debugging of GLES 2 port -2009-01-13 10:12 robert +Tue, 10 Nov 2009 11:28:21 +0000 +Checked in by : Robert OSFIELD +Added disabling of modes that aren't supported with GLES2 - * 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. +Mon, 9 Nov 2009 11:36:54 +0000 +Checked in by : Robert OSFIELD +Added GL token mappings for standard GL errors numbers for when no GLU is available -2009-01-12 17:41 robert +Fri, 6 Nov 2009 18:06:16 +0000 +Checked in by : Robert OSFIELD +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 - * Added test message -2009-01-12 16:37 robert - * Further tweak to include paths -2009-01-12 16:10 robert +Fri, 6 Nov 2009 16:51:38 +0000 +Checked in by : Robert OSFIELD +Added simple textured scene graph test accessible using --texture or -t command line options. - * Restructured the include paths +Fri, 6 Nov 2009 16:09:55 +0000 +Checked in by : Robert OSFIELD +Fixed build with no automatic conversion of ref_ptr<> to C pointer -2009-01-12 13:12 robert +Fri, 6 Nov 2009 16:09:16 +0000 +Checked in by : Robert OSFIELD +Fixed build - * Changed to use ref_ptr<> for scene model to avoid crash +Fri, 6 Nov 2009 13:53:16 +0000 +Checked in by : Robert OSFIELD +Added dlsymb settting for QNX -2009-01-12 11:34 robert +Fri, 6 Nov 2009 10:38:22 +0000 +Checked in by : Robert OSFIELD +Cleaned up the EGL context config set up. - * 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" +Fri, 6 Nov 2009 10:31:03 +0000 +Checked in by : Robert OSFIELD +Added EGL error checking and changed the egl context configuration settings -2009-01-09 19:53 robert +Thu, 5 Nov 2009 09:28:10 +0000 +Checked in by : Robert OSFIELD +Added APIENTRY into glColor*/glNormal* calls and specialized the calls to just GLES1 - * 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." +Wed, 4 Nov 2009 17:26:59 +0000 +Checked in by : Robert OSFIELD +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 -2009-01-09 15:57 robert - * Fixed warning -2009-01-09 15:55 robert +Wed, 4 Nov 2009 12:17:58 +0000 +Checked in by : Robert OSFIELD +Reduced the number of aliased attributes to fit within the basic 8 attribute location available on basic GLES2 implementations - * Fixed warnings +Wed, 4 Nov 2009 12:14:57 +0000 +Checked in by : Robert OSFIELD +Changed notify to output warnings and normally messages to std::out -2009-01-09 15:25 robert +Wed, 4 Nov 2009 11:03:13 +0000 +Checked in by : Robert OSFIELD +Added --simple option and associated set up of a very simple geometry and shader scene graph - * Updated version number for next dev release +Wed, 4 Nov 2009 11:02:00 +0000 +Checked in by : Robert OSFIELD +Enabled the vertex aliasing and projection/modelview uniform setting by default for GLES2 and GL3 targets -2009-01-09 15:19 robert +Tue, 3 Nov 2009 16:49:13 +0000 +Checked in by : Robert OSFIELD +Disabled osgteaport for GLES1, GLES2 and GL3 builds - * Moved osgVolume::ImageUtils to osg::ImageUtils, updated wrappers, - and started moving osgvolume example across to create osgVolume - subgraphs +Tue, 3 Nov 2009 16:48:48 +0000 +Checked in by : Robert OSFIELD +Replaced glColor4fv call with osg::State::Color(..) -2009-01-09 15:11 robert +Tue, 3 Nov 2009 16:34:54 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, changes for compiling against OpenGL 3.x - * Fix of warning reported on CDash +Tue, 3 Nov 2009 15:22:14 +0000 +Checked in by : Robert OSFIELD +Disabled the build of plugins that aren't supported under GLES. -2009-01-09 15:09 robert +Tue, 3 Nov 2009 11:10:41 +0000 +Checked in by : Robert OSFIELD +Fixed handling of GL function pointer setup for GLES1/GLES2 targetsDropped the fixed function pipeline defaults from StateSet and SceneView. - * Fixed warnings reported on CDash -2009-01-09 12:21 robert - * 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 - * From Andy Skinner, fixes for Solaris build +Sun, 1 Nov 2009 09:51:26 +0000 +Checked in by : Robert OSFIELD +Disable the default LightModel for GLES1 and GLES2 targets -2009-01-08 14:52 robert +Sun, 1 Nov 2009 09:04:41 +0000 +Checked in by : Robert OSFIELD +Fixed compile issue with Image.cpp and osgautocapture.cpp under GLES.Fixed handling of EGLDisplay in EGL paths of GraphicsWindowX11 - * From Cedric Pinson, "Here the updated osganimationskinning.cpp - that works as before" -2009-01-08 12:47 robert - * Added missing *. +Sat, 31 Oct 2009 14:44:43 +0000 +Checked in by : Robert OSFIELD +Fixed compile problem due to name change of getGLXContext to getContext -2009-01-08 11:35 robert +Fri, 30 Oct 2009 17:16:50 +0000 +Checked in by : Robert OSFIELD +Fixed build under GLES2 - * Commented out the warning disabling block +Fri, 30 Oct 2009 15:17:38 +0000 +Checked in by : Robert OSFIELD +Added EGL support into build system for GLES1 + GLES2.Added EGL support into GraphicsWindowX11. -2009-01-08 11:28 robert - * From Mattias Helsing, added back in missing wd entries. -2009-01-08 11:26 robert +Fri, 30 Oct 2009 15:16:44 +0000 +Checked in by : Robert OSFIELD +Fixed for GLES1 build - * 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" +Thu, 29 Oct 2009 16:09:07 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, Fix warning in osgAnimation, UpdateCallback. Fix bug removing callback in Action. Fix warning Stats -2009-01-08 11:19 robert +Thu, 29 Oct 2009 09:54:52 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode projects - * Added checked from the ARG version of glDraw*Instanced(). +Wed, 28 Oct 2009 20:31:57 +0000 +Checked in by : Robert OSFIELD +Ported osgUtil, osgDB, osgGA, NodeKits and plugins to compile against OpenGL ES 1.1 and OpenGL ES 2.0. -2009-01-08 11:18 robert +Wed, 28 Oct 2009 13:31:24 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, updates to osganimation example to keep in sync with changes with osgAnimation, and introduction of a hardware skinning example - * Removed inappropriate file +Tue, 27 Oct 2009 19:17:38 +0000 +Checked in by : Robert OSFIELD +Fixed build aginst GLES1 and GLES2 -2009-01-08 11:16 robert +Tue, 27 Oct 2009 18:07:12 +0000 +Checked in by : Robert OSFIELD +Fixed build on OpenGLES-1.1 and OpenGLES-2.0 targets - * 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." +Tue, 27 Oct 2009 15:37:13 +0000 +Checked in by : Cedric Pinson +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-01-08 11:15 robert +Tue, 27 Oct 2009 10:51:20 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: added missing #define - * 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." +Sun, 25 Oct 2009 11:52:01 +0000 +Checked in by : Robert OSFIELD +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-01-08 10:34 robert +Sun, 25 Oct 2009 11:46:11 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Moved supression of VS warning C4706 from the include/osg/Export - header into the CMake options list. Added suppression of C4127 as - well. +Fri, 23 Oct 2009 20:35:31 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, Simplify update callback api in osgAnimation, the decision to link is on the manager or user -2009-01-07 15:35 robert +Fri, 23 Oct 2009 17:27:54 +0000 +Checked in by : Robert OSFIELD +Added missing unbinds of VBO and EBO's to Geometry::drawImplementation(..), fixing crash in osganimationtimeline when stats were enabled - * Fixed assingment operator +Fri, 23 Oct 2009 16:51:45 +0000 +Checked in by : Robert OSFIELD +Added includes for OpenGL ES1 and ES2. -2009-01-07 15:33 robert +Fri, 23 Oct 2009 13:19:57 +0000 +Checked in by : Robert OSFIELD +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 - * 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 - * Added handling of when a View isn't yet assigned to a Viewer to - avoid associated crash +Fri, 23 Oct 2009 12:28:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2009-01-07 13:16 robert +Fri, 23 Oct 2009 12:24:22 +0000 +Checked in by : Robert OSFIELD +Fixed bug in dispatching per primitive attributes - * Updated wrappers +Fri, 23 Oct 2009 12:22:18 +0000 +Checked in by : Robert OSFIELD +Added support for Vec4ubArray colour arrays -2009-01-07 12:27 robert +Fri, 23 Oct 2009 09:24:44 +0000 +Checked in by : Robert OSFIELD +Fixed handling of Geometry::_internalOptimizedGeometry in the Geometry::drawImplementation(..) - * Fixed warnings +Fri, 23 Oct 2009 08:21:57 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project, sensible default config-file -2009-01-07 11:24 robert +Thu, 22 Oct 2009 14:40:35 +0000 +Checked in by : Robert OSFIELD +Added #define for GL_TEXTURE0 as MS gl.h header is still stuck in the nineties.... - * Fixed warnings +Thu, 22 Oct 2009 12:56:41 +0000 +Checked in by : Robert OSFIELD +Fixed typo and updated wrappers -2009-01-07 10:32 robert +Thu, 22 Oct 2009 12:41:48 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, compile fix to OSX. - * Fixed warnings - -2009-01-07 09:49 robert - - * Added a protected = operator - -2009-01-06 19:09 robert - - * Removed the usage of assert to prevent associated compile - warnings and to clean up code - -2009-01-06 19:08 robert - - * Updated path to reflect where the new button images are located. - -2009-01-06 16:45 robert - - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2009-01-06 15:11 robert - - * From Paul Martz, example demonstating new draw instanced - primitive funcitonality. - -2009-01-06 14:55 robert - - * Added support for primitive instancing - -2009-01-05 18:07 robert - - * From Jean-Sebastien Guay, changed VS aggressive warnings setting - to just /W4. - -2009-01-05 17:52 robert - - * From Don Leich, build fix for OSX. - -2009-01-05 17:35 robert - - * 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 - - * From Paul Martz, added --points option for forcing points - rendering of polygonal models - -2009-01-05 16:53 robert - - * 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 - - * Updated wrappers - -2009-01-05 11:58 robert - - * From Paul Martz, Correction to Timer method comment. - -2009-01-05 11:31 robert - - * From Cedric Pinson, added non const getText() method - -2009-01-05 11:26 robert - - * Introduced osgVolume::Layer and Locator classes mirrroring - similar classes in osgTerrain. - -2009-01-05 10:13 robert - - * Change the aggressive warning level under VS to /W3 - -2008-12-24 11:05 robert - - * Fixed warning - -2008-12-24 10:30 robert - - * Fixed warnings - -2008-12-22 21:17 robert +Thu, 22 Oct 2009 12:06:00 +0000 +Checked in by : Robert OSFIELD +Introduced Cmake generated #defines relevant to optionally compile parts of the OSG for different OpenGL targets - * Made aggressive warnings the default. +Thu, 22 Oct 2009 12:04:26 +0000 +Checked in by : Robert OSFIELD +Removed, now inappropriate, references to glBegin/glEnd. -2008-12-22 21:16 robert +Thu, 22 Oct 2009 12:03:36 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Fixed warnings +Thu, 22 Oct 2009 12:01:06 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, new StateAttributeCallback replacing StateAttribute::Callback -2008-12-22 18:30 robert +Thu, 22 Oct 2009 10:33:16 +0000 +Checked in by : Robert OSFIELD +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. " - * Build fix +Thu, 22 Oct 2009 10:29:43 +0000 +Checked in by : Robert OSFIELD +Removed old and now redundent code paths -2008-12-22 08:26 robert +Thu, 22 Oct 2009 09:08:42 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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." +Thu, 22 Oct 2009 08:51:51 +0000 +Checked in by : Robert OSFIELD +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 -2008-12-21 20:42 robert +Thu, 22 Oct 2009 08:28:43 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * Changed VolumeTile::setImage(Image*) to setImage(uint i, Image*) - to allow multiple images to be attached to single tile +Wed, 21 Oct 2009 16:42:12 +0000 +Checked in by : Robert OSFIELD +Added Translatef, Scalef, Rotatef methods, and fixed Color4f method. -2008-12-21 20:24 robert +Wed, 21 Oct 2009 16:41:41 +0000 +Checked in by : Robert OSFIELD +Removed redundent spaces - * 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." +Wed, 21 Oct 2009 16:40:45 +0000 +Checked in by : Robert OSFIELD +Removed remaining glBegin/glEnd usage -2008-12-20 20:55 robert +Wed, 21 Oct 2009 16:31:37 +0000 +Checked in by : Robert OSFIELD +Conveted osgText across to using GLBeginEndAdapter instead og glBegin/glEnd - * Renamed osgVolume::Brick to osgVolume::VolumeTile +Wed, 21 Oct 2009 16:16:31 +0000 +Checked in by : Robert OSFIELD +Converted all glBegin/glEnd code across to using osg::GLBeginEndAdapter -2008-12-20 20:30 robert +Wed, 21 Oct 2009 15:48:11 +0000 +Checked in by : Robert OSFIELD +Added stats handler to track performance effects of new GLBeginEndAdapter usage - * Changed the scale from 0.03 to 0.0254 as the Q3 bsp files are in - inches. +Wed, 21 Oct 2009 15:45:13 +0000 +Checked in by : Cedric Pinson +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 -2008-12-20 13:35 robert +Wed, 21 Oct 2009 14:14:22 +0000 +Checked in by : Robert OSFIELD +Added stats handler - * 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" +Wed, 21 Oct 2009 14:11:00 +0000 +Checked in by : Robert OSFIELD +Removed the disabling of display lists in osg::Geometry to bring it back to it's original behaviour -2008-12-20 12:52 robert +Wed, 21 Oct 2009 14:09:12 +0000 +Checked in by : Robert OSFIELD +Added support for automatic vertex aliasing to new ArrayDispatchers, and updated wrappers - * Added OPTIONAL into INCLUDE(FindPkgConfig) +Wed, 21 Oct 2009 11:18:13 +0000 +Checked in by : Robert OSFIELD +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. -2008-12-19 19:04 robert +Tue, 20 Oct 2009 22:14:59 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated ChangeLog for 2.7.8 dev release +Tue, 20 Oct 2009 19:34:24 +0000 +Checked in by : Robert OSFIELD +Refactored osg::Geometry::drawImplementation(..) to use new osg::ArrayDispatchers that encapsulate the task of dispatch osg::Array data as OpenGL attributes. -2008-12-19 18:37 robert +Tue, 20 Oct 2009 13:15:01 +0000 +Checked in by : Robert OSFIELD +Fixed typo of osg_ModelViewMatrix - * Added osgversion into dynamic build path +Mon, 19 Oct 2009 11:06:53 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2008-12-19 18:02 robert +Mon, 19 Oct 2009 08:58:52 +0000 +Checked in by : Robert OSFIELD +Fixed computation of osg_NormalMatrix - * Removed debug message +Sat, 17 Oct 2009 19:22:14 +0000 +Checked in by : Robert OSFIELD +Added support for multitexturing and vertex attributes to GLBeginEndAdapter -2008-12-19 17:50 robert +Sat, 17 Oct 2009 11:14:03 +0000 +Checked in by : Robert OSFIELD +Fixed VS warning - * Moved main setSceneData methods in - osgViewer::View::setSceneData() +Fri, 16 Oct 2009 18:50:42 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-12-19 17:15 robert +Fri, 16 Oct 2009 17:22:20 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Fri, 16 Oct 2009 16:26:27 +0000 +Checked in by : Robert OSFIELD +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. -2008-12-19 17:15 robert +Added new osg::GLBeginEndAdapter class for runtime conversion from glBegin/glEnd codes to vertex arrray equivelants. - * 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."" +Added automatic shader source conversion from gl_ to osg_ builtins. -2008-12-19 16:59 robert - * Fixed warning -2008-12-19 16:35 robert +Sun, 11 Oct 2009 06:05:19 +0000 +Checked in by : Robert OSFIELD +Made the use of the new projection and modelview matrix uniforms optional - * Fixed compile error during debug build +Sun, 11 Oct 2009 05:52:11 +0000 +Checked in by : Robert OSFIELD +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." -2008-12-19 16:13 robert - * Added support for user defined clipping of the precipitation - effect, to test use: - - osgpreciptation lz.osg --clip 20 - -2008-12-19 16:12 robert +Sat, 10 Oct 2009 14:50:16 +0000 +Checked in by : Robert OSFIELD +Updated Contributors list to fix for typo's in the ChangeLog, and updated the AUTHORS file for 2.9.6. - * Added setting of the gl_ClipVertex to enable clip planes to - affect preciptation +Sat, 10 Oct 2009 11:28:42 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, wrappers and Contributors lists -2008-12-19 15:29 robert +Sat, 10 Oct 2009 11:26:10 +0000 +Checked in by : Robert OSFIELD +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. +" - * Added ClipNode::set/getReferenceFrame(); -2008-12-19 14:30 robert - * Removed MATH_LIBRARY and FREETYPE library reference. +Sat, 10 Oct 2009 11:06:30 +0000 +Checked in by : Robert OSFIELD +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. " -2008-12-19 12:58 robert +Sat, 10 Oct 2009 11:00:35 +0000 +Checked in by : Robert OSFIELD +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." - * Fixed warning & error +Sat, 10 Oct 2009 10:58:39 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "This change eliminate an orphan stats block that sticks somewhere in the screen stats display." -2008-12-19 12:50 robert +Sat, 10 Oct 2009 10:54:33 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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. +Sat, 10 Oct 2009 10:07:40 +0000 +Checked in by : Robert OSFIELD +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." -2008-12-19 12:46 robert - * Fixed warning -2008-12-19 12:29 robert +Sat, 10 Oct 2009 10:00:13 +0000 +Checked in by : Robert OSFIELD +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." - * Fixed warning +Sat, 10 Oct 2009 09:53:10 +0000 +Checked in by : Robert OSFIELD +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." -2008-12-19 12:28 robert +Sat, 10 Oct 2009 09:45:47 +0000 +Checked in by : Robert OSFIELD +From Stephane Lamoliatte, "Here is a patch wich add two missing GL modes in the osg plug'in." - * Added StandardShadowMap to list to test cases +Sat, 10 Oct 2009 09:44:40 +0000 +Checked in by : Robert OSFIELD +To fix warning removed unncessary , from end to enum list. -2008-12-19 11:36 robert +Sat, 10 Oct 2009 09:41:28 +0000 +Checked in by : Robert OSFIELD +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. " - * Updated wrappers +Sat, 10 Oct 2009 09:38:10 +0000 +Checked in by : Robert OSFIELD +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." -2008-12-19 11:04 robert +Sat, 10 Oct 2009 09:35:16 +0000 +Checked in by : Robert OSFIELD +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." - * 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). - " +Sat, 10 Oct 2009 09:26:06 +0000 +Checked in by : Robert OSFIELD +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." -2008-12-19 10:20 robert - * Updated wrappers -2008-12-18 17:40 robert +Sat, 10 Oct 2009 09:23:03 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, "imageio plugin fix, mac os x : remove double-qualified ctor - illegal syntax under gcc 4.2.1" - * Fixed typo +Sat, 10 Oct 2009 09:20:39 +0000 +Checked in by : Robert OSFIELD +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." -2008-12-18 17:09 robert +Fri, 9 Oct 2009 13:39:11 +0000 +Checked in by : Robert OSFIELD +Introduced new uniforms for tracking the modelview and project matrices in shaders using non built-ins. - * From Bob Kuehne, "minor tweak to the cmake root file to handle - debug correctly on os x." +Fri, 9 Oct 2009 10:39:55 +0000 +Checked in by : Robert OSFIELD +Added use of binding of vertex attributes to names -2008-12-18 17:01 robert +Thu, 8 Oct 2009 16:23:40 +0000 +Checked in by : Robert OSFIELD +Added remapping of gl_ and ftransform() variables to osg_ equivalents. - * Refactored the handling of particle rotation +Thu, 8 Oct 2009 15:58:23 +0000 +Checked in by : Robert OSFIELD +Implemented remapping of gl_ builtins vertex attributes to osg_ equivlants. -2008-12-18 16:10 robert +Thu, 8 Oct 2009 14:29:54 +0000 +Checked in by : Robert OSFIELD +New osgvertexattributes example designed to test conversion of fixed function scene graphs to use vertex shaders and vertex attributes. - * Fixed warnings +Thu, 8 Oct 2009 14:13:49 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2008-12-18 15:49 robert +Thu, 8 Oct 2009 13:33:41 +0000 +Checked in by : Robert OSFIELD +Fixed vertex attribute access bug - * Fixed warnings +Thu, 8 Oct 2009 10:44:01 +0000 +Checked in by : Robert OSFIELD +Quitened down debug messages -2008-12-18 14:18 robert +Thu, 8 Oct 2009 09:27:54 +0000 +Checked in by : Robert OSFIELD +Cleaned up the #define's for when GLU is not available - * Added MATH_LIBRARY to link list +Thu, 8 Oct 2009 07:54:37 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-12-18 13:56 robert +Wed, 7 Oct 2009 19:42:32 +0000 +Checked in by : Robert OSFIELD +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. - * Fixed warnings -2008-12-18 13:23 robert - * Fixed warnings -2008-12-18 12:29 robert - * Fixed warning +Wed, 7 Oct 2009 18:50:01 +0000 +Checked in by : Robert OSFIELD +Fixed handling of rescale of image -2008-12-18 12:27 robert +Wed, 7 Oct 2009 13:02:51 +0000 +Checked in by : Robert OSFIELD +Fixed setUsage typo in PixelDataBufferObject, and fixed data pointer management in Texture::applyTexImage2D_subload(). - * Quitened down debug messages +Wed, 7 Oct 2009 12:54:14 +0000 +Checked in by : Robert OSFIELD +From J.P. Delport, fixed bug caused by a typo in PixelBufferObject constructor -2008-12-18 12:26 robert +Wed, 7 Oct 2009 09:39:45 +0000 +Checked in by : Robert OSFIELD +Fixed warnigns - * Fixed warnings +Tue, 6 Oct 2009 13:42:12 +0000 +Checked in by : Robert OSFIELD +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 -2008-12-18 12:25 robert - * Quitened down debug message -2008-12-18 11:54 robert - * Fixed warnings +Tue, 6 Oct 2009 09:28:41 +0000 +Checked in by : Robert OSFIELD +Refactored the ::getOrCreate*Object() methods to clean them up and fix a bug in the getOrCreateElementsBuffers method. -2008-12-18 11:06 robert +Mon, 5 Oct 2009 13:41:16 +0000 +Checked in by : Robert OSFIELD +From Andreas Goebel, fix to bug in ShapeDrawable::accept(PrimitiveFunctor) implementation for cylinder - * Fixed warnings +Sun, 4 Oct 2009 08:52:01 +0000 +Checked in by : Robert OSFIELD +Added missing export -2008-12-17 22:52 robert +Sat, 3 Oct 2009 15:10:13 +0000 +Checked in by : Robert OSFIELD +Removed erroneous inclusion of extra GLBufferObjectManager qualifier that broke Windows build - * Improved the effectiveness of the new max target number PageLOD's +Sat, 3 Oct 2009 09:25:23 +0000 +Checked in by : Robert OSFIELD +Introduced new GLBufferObject pool for managing the memory footprint taken up by VertexBufferObejct, ElementBufferObject and PixelBufferObject. -2008-12-17 17:23 robert +Thu, 1 Oct 2009 20:19:42 +0000 +Checked in by : Robert OSFIELD +Introduced new BufferObject design + implementation in preperation of implementing a pool system for buffer objects - * 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." +Thu, 1 Oct 2009 17:08:16 +0000 +Checked in by : Cedric Pinson +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. -2008-12-17 17:11 robert +Sun, 27 Sep 2009 15:21:05 +0000 +Checked in by : Robert OSFIELD +Fixed warning about max texture size being smaller than the currently used texture pool size - * Fixed warnings +Sun, 27 Sep 2009 15:14:57 +0000 +Checked in by : Robert OSFIELD +Added handling of resetting of the texture object format -2008-12-17 16:58 robert +Sun, 27 Sep 2009 14:38:38 +0000 +Checked in by : Robert OSFIELD +Added status collection to full range of texture classes - * Fixed inactive PagedLOD removal code +Sat, 26 Sep 2009 16:28:42 +0000 +Checked in by : Robert OSFIELD +Improved the computation of the TextureProfile _size value, fixed the computation up of the miplevels -2008-12-17 16:13 robert +Fri, 25 Sep 2009 18:05:54 +0000 +Checked in by : Robert OSFIELD +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. - * Fixed warnings -2008-12-17 16:02 robert - * Fixed warnings +Fri, 25 Sep 2009 18:03:49 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-12-17 15:36 robert +Thu, 24 Sep 2009 10:11:32 +0000 +Checked in by : Robert OSFIELD +Added return at end of to fix warning - * Fixed warnings +Wed, 23 Sep 2009 15:16:34 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, fixed Widows build and updated the SO version -2008-12-17 15:32 robert +Wed, 23 Sep 2009 14:54:13 +0000 +Checked in by : Robert OSFIELD +Moved setting of TexturePoolSize into State. - * Fixed warnings +Wed, 23 Sep 2009 13:51:20 +0000 +Checked in by : Robert OSFIELD +Introduced memory pool size management -2008-12-17 14:56 robert +Tue, 22 Sep 2009 18:45:24 +0000 +Checked in by : Robert OSFIELD +Preliminary work on support for a texture object pool that is designed to help manage resources down the GPU more tightly. - * Fixed warnings +Sun, 20 Sep 2009 09:26:26 +0000 +Checked in by : Robert OSFIELD +Change win32 external library to wsock32.lib -2008-12-17 13:14 robert +Sat, 19 Sep 2009 09:18:42 +0000 +Checked in by : Robert OSFIELD +Added Ws2_32.lib to link of dicom plugin under Win32 - * Warning fixes +Thu, 17 Sep 2009 13:40:53 +0000 +Checked in by : Robert OSFIELD +Introduced new osgQtBrowser example. -2008-12-17 12:13 robert +Mon, 14 Sep 2009 16:07:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Introduce NodeVisitor::className and libraryName() +Fri, 11 Sep 2009 13:08:49 +0000 +Checked in by : Robert OSFIELD +Fixed bug in interpolation of colour values -2008-12-17 11:00 robert +Thu, 10 Sep 2009 16:39:05 +0000 +Checked in by : Robert OSFIELD +Added tf-255 option to volume tag - * Warning fixes +Wed, 9 Sep 2009 18:13:24 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, Fix createKeyframeContainerFromTargetValue to recreate its sampler from scratch to not change keyframe container of another sampler -2008-12-17 10:34 robert +Wed, 9 Sep 2009 15:22:04 +0000 +Checked in by : Robert OSFIELD +Added reset of the ImageDetails values of TexelOffset and TexelScale. - * From Sekender, fixed warnins +Wed, 9 Sep 2009 13:31:32 +0000 +Checked in by : Robert OSFIELD +Added support for using the ImageDetails to fill in the Locator and TexelScale/Offset values in the ImageLayer -2008-12-17 10:33 robert +Wed, 9 Sep 2009 13:23:49 +0000 +Checked in by : Robert OSFIELD +Added support for "--output filename.osg" command line option to avoid debugging of generated presentations - * Fixed warnings +Wed, 9 Sep 2009 09:54:29 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, remove unsused files include/osgAnimation/AnimationManager and src/osgAnimation/AnimationManager.cpp -2008-12-17 10:01 robert +Wed, 9 Sep 2009 09:52:54 +0000 +Checked in by : Cedric Pinson +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. - * From Jean-Sebastien Guay, added missing export +Tue, 8 Sep 2009 15:36:44 +0000 +Checked in by : Robert OSFIELD +Tweaked debugging info -2008-12-16 21:16 robert +Tue, 8 Sep 2009 15:36:28 +0000 +Checked in by : Robert OSFIELD +Fixed the set up of osgVolume::ImageLayer scale and offset. - * Updated wrappers +Mon, 7 Sep 2009 12:51:00 +0000 +Checked in by : Robert OSFIELD +Added filter for .filename files -2008-12-16 20:49 robert +Mon, 7 Sep 2009 12:21:03 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode project - * Build fixes for when the implict ref_ptr<> cast is not enabled +Mon, 7 Sep 2009 10:54:08 +0000 +Checked in by : Robert OSFIELD +Updated volume setup code to use the new ImageDetails structure. -2008-12-16 20:29 robert +Mon, 7 Sep 2009 10:50:48 +0000 +Checked in by : Robert OSFIELD +Added check for null masterLocator - * 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). +Mon, 7 Sep 2009 08:30:54 +0000 +Checked in by : Robert OSFIELD +Fixed assingment of layerLocator -2008-12-16 19:49 robert +Fri, 4 Sep 2009 09:11:49 +0000 +Checked in by : Robert OSFIELD +Fixed empty lines - * From Bob Kuehne, build fixes. +Thu, 3 Sep 2009 14:39:29 +0000 +Checked in by : Robert OSFIELD +Added scaling of shader transfer function input values to honour original dicom input values -2008-12-16 16:36 robert +Thu, 3 Sep 2009 13:40:50 +0000 +Checked in by : Robert OSFIELD +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 version numbers for 2.8.8 dev release +Updated wrappers -2008-12-16 15:58 robert - * Updated wrappers -2008-12-16 15:21 robert +Tue, 1 Sep 2009 10:48:32 +0000 +Checked in by : Robert OSFIELD +Added support for recording the RescaleIntecept and RescaleSlope from the dicome files and passing these values onto osgVolume::ImageLayer - * 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." +Mon, 31 Aug 2009 15:10:38 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-12-16 15:08 robert +Mon, 31 Aug 2009 10:37:44 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, add missing files - * From Sukender and Robert Osfield, introduced - GraphicsContext::ScreenSettings & - WindowingSystemInterface::enumerateScreenSettings. +Mon, 31 Aug 2009 09:40:56 +0000 +Checked in by : Cedric Pinson +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 -2008-12-16 12:38 robert +Thu, 27 Aug 2009 19:25:23 +0000 +Checked in by : Robert OSFIELD +Fixed the compute of the extents/bounding sphere - * From Peter Hrenka, "Fix counting number of new arrays and avoid - building free-list when not needed (saves - a handfull of mallocs/frees). - " +Thu, 27 Aug 2009 16:42:47 +0000 +Checked in by : Robert OSFIELD +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" -2008-12-16 12:23 robert - * Fixed warnings -2008-12-16 12:20 robert - * Fixed warnings +Thu, 27 Aug 2009 16:21:01 +0000 +Checked in by : Cedric Pinson +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 -2008-12-16 11:43 robert +Wed, 26 Aug 2009 16:39:53 +0000 +Checked in by : Cedric Pinson +From Michael Platings, I've just added a few simple accessors I found necessary - * 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 - - * Added support for a Terrain::s/getTerrainTechniquePrototype() - -2008-12-15 20:38 robert - - * 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 - - * Limited the static build to just osversion and osgstaticviewer - -2008-12-15 19:37 robert - - * 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 - - * 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 - - * 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 - - * Reduced the default number _targetMaximumNumberOfPageLOD to 300 - to keep the memory consumption on large databases a bit lower. - -2008-12-15 16:10 robert - - * Added deprecated messages to get/set methods of outgoing expiry - schemes. - -2008-12-15 14:07 robert - - * 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 - - * 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 - - * Removed buildMipmaps method that had no implementation. - -2008-12-12 22:28 shuber - - * From Stephan Huber: updated XCode project - -2008-12-12 19:19 robert - - * Updated AUTHORS and READER for 2.7.7 dev release - -2008-12-12 19:12 robert - - * Updated change log - -2008-12-12 18:47 robert - - * Where possible moved redundent C header includes from headers to - source files - -2008-12-12 14:54 robert - - * 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 - - * Updated wrappers - -2008-12-12 13:41 robert - - * 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." +Wed, 26 Aug 2009 09:24:02 +0000 +Checked in by : Cedric Pinson +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 -2008-12-12 11:01 robert +Sat, 22 Aug 2009 17:13:19 +0000 +Checked in by : Robert OSFIELD +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." - * 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)" +Fri, 21 Aug 2009 13:55:03 +0000 +Checked in by : Robert OSFIELD +Fixed osgAnimation wrappers -2008-12-12 10:20 robert +Fri, 21 Aug 2009 12:53:23 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Fri, 21 Aug 2009 11:31:10 +0000 +Checked in by : Robert OSFIELD +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." -2008-12-12 10:19 robert - * Updated version number for 2.7.7 release -2008-12-11 17:00 robert +Fri, 21 Aug 2009 10:18:46 +0000 +Checked in by : Robert OSFIELD +Fixed handling of double precision bounding sphere type. - * 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. - " +Fri, 21 Aug 2009 09:54:45 +0000 +Checked in by : Robert OSFIELD +From Stephane Lamoliatte, "I just add the a missing getView() function to the WindowManager." -2008-12-10 17:08 robert +Fri, 21 Aug 2009 09:43:41 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, part of the FBO attachment submission - * Cleaned up layout +Fri, 21 Aug 2009 09:42:54 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-12-10 16:26 robert +Fri, 21 Aug 2009 09:34:48 +0000 +Checked in by : Robert OSFIELD +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. - * Added mechanism for registering proxy objects in the .osg plugin - in a way that is compatible with static linking. +#define FORCE_COLOR_ATTACHMENT 1 +#define FORCE_DEPTH_ATTACHMENT 1 -2008-12-10 15:01 robert - * Removed #if 0'd out reference to osgDB -2008-12-10 12:50 robert - * Fixed link line -2008-12-10 11:12 robert +Thu, 20 Aug 2009 16:39:14 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "osgAnimation/Interpolator includes itself. The following patch removes the superfluous include" - * Refactored computeIntersections() float x,float y, const - osg::NodePath& nodePath. +Thu, 20 Aug 2009 16:05:06 +0000 +Checked in by : Robert OSFIELD +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" -2008-12-10 10:13 robert +Thu, 20 Aug 2009 15:32:02 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "This file didn't build when OSG_USE_UTF8_FILENAME was on" - * 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)." +Thu, 20 Aug 2009 15:20:55 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "There is a duplicate class definition in the obj & dxf plugins trunk, causing static builds to fail." -2008-12-10 10:10 robert +Thu, 20 Aug 2009 14:59:29 +0000 +Checked in by : Robert OSFIELD +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. - * 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 ) )." +I've attached updates to the svn trunk, the fix is also appropriate for +the 2.8.* branch." -2008-12-10 09:34 robert - * Added return -2008-12-09 16:43 robert +Thu, 20 Aug 2009 14:59:00 +0000 +Checked in by : Robert OSFIELD +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 - * From Sukender, added missing inline keywords -2008-12-09 14:07 robert - * Fixed cull callback usage to ensure that the lazy updating of the - browser image functions automatically. +Thu, 20 Aug 2009 14:20:55 +0000 +Checked in by : Robert OSFIELD +Improved the custom cursor code and release and compute settings -2008-12-09 11:05 robert +Thu, 20 Aug 2009 14:19:10 +0000 +Checked in by : Robert OSFIELD +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. - * Cleaned up osgWidget::VncClient and osgWidget::Browser so that - their implementations are all more consitent with the - osgWidget::PdfReader. +Wed, 19 Aug 2009 15:36:46 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2008-12-09 09:26 robert +Wed, 19 Aug 2009 15:36:23 +0000 +Checked in by : Robert OSFIELD +Added support for trimming the contents of parsed Xml graph - * Added support for setting background colour of Pdf document. +Tue, 18 Aug 2009 13:38:17 +0000 +Checked in by : Robert OSFIELD +Added tabs to treatment as white space to skyWhiteSpace() -2008-12-09 09:25 robert +Mon, 17 Aug 2009 16:07:04 +0000 +Checked in by : Robert OSFIELD +Added check for space in option name parsing - * Added setImageToColour function +Mon, 17 Aug 2009 15:46:22 +0000 +Checked in by : Robert OSFIELD +Added support for the TabBoxTrackballDragger -2008-12-09 09:24 robert +Mon, 17 Aug 2009 15:45:43 +0000 +Checked in by : Robert OSFIELD +Changed the autorun keys to 'g' for go, and 'h' for halt. - * Added asSwitch and asGeode convinience methods to Node +Mon, 17 Aug 2009 15:24:15 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-12-07 17:37 robert +Mon, 17 Aug 2009 15:22:01 +0000 +Checked in by : Robert OSFIELD +Moved static string initialization into singleton method - * Added ability to customize keyboard events for controlling - osgWidget::PdfImage/PdfReader +Thu, 6 Aug 2009 12:40:06 +0000 +Checked in by : Cedric Pinson +From Michael Platings, Changes to allow osgAnimation::*CubicBezierChannel to be used Added TemplateStepInterpolator class -2008-12-07 17:02 robert +Thu, 6 Aug 2009 10:57:42 +0000 +Checked in by : Robert OSFIELD +Added a viewer.frame() call prior to the useCursor(false) calls to avoid a threading crash under X11 - * 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. +Thu, 6 Aug 2009 10:06:20 +0000 +Checked in by : Robert OSFIELD +Fixed custom cursor support -2008-12-06 11:03 robert +Wed, 5 Aug 2009 17:01:50 +0000 +Checked in by : Robert OSFIELD +Added support for selecting the TabBoxTrackballDragger using dragger="trackball-box" - * Fixed build problem +Wed, 5 Aug 2009 16:02:44 +0000 +Checked in by : Robert OSFIELD +Introduced TabBoxTrackballDragger -2008-12-05 16:41 robert +Wed, 5 Aug 2009 14:37:56 +0000 +Checked in by : Robert OSFIELD +Added support for volume tags with properties: dragger="box" or dragger="trackball" - * Added GL_ABGR_EXT to fix windows build +and -2008-12-04 10:27 robert + technique="light" or technique="isosurface" or technique="iso" or technique="mip" - * From Jason Daly, added support for reading Valve's texture format - files +and -2008-12-03 14:13 robert + tf="transferfunctionfile.tf" - * 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 - - * 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 - - * Revised the DYNAMIC vs STATIC library setup of COLLADA. - -2008-12-02 09:00 robert - - * From Jean-Sebastien Guay, build fix - -2008-12-01 15:46 robert - - * Fixed wrappers - -2008-12-01 14:07 robert - - * 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 - - * Updated wrappers - -2008-12-01 13:28 robert - - * 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 - - * Added OpenThreads to link lists - -2008-11-30 16:33 robert - - * Changed OPENEXR_LIBRARY to OPENEXR_LIBRARIES to pick up on - Ulrich's changes to the FindOpenEXR.cmake - -2008-11-30 16:33 robert - - * 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 - - * 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." +i.e. -2008-11-29 12:16 robert + CardiacCT + CardiacCT + CardiacCT - * Updated ChangeLog, and AUTHORS lists for 2.7.6 dev release -2008-11-29 11:35 robert - * Build fix for when implicit conversion in ref_ptr<> is switched - off. -2008-11-29 11:10 robert +Wed, 5 Aug 2009 12:51:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Fixed build for when ref_ptr<> impicit cast is not built +Wed, 5 Aug 2009 11:06:53 +0000 +Checked in by : Robert OSFIELD +Moved the updating and expiry of the Registry object cache from DatabasePager into osgViewer::Viewer/CompositeViewer. -2008-11-28 17:18 robert +Tue, 4 Aug 2009 16:19:28 +0000 +Checked in by : Robert OSFIELD +Updated the Present3D version number - * Removed cmath include as it was causing build problems under - Cgwin +Mon, 3 Aug 2009 09:48:12 +0000 +Checked in by : Cedric Pinson +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 -2008-11-28 14:37 robert +Tue, 28 Jul 2009 06:00:23 +0000 +Checked in by : Robert OSFIELD +Tweak of NodeMask docs - * Added new examples +Tue, 28 Jul 2009 06:00:03 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, .osg and .ive support for new Text boxes -2008-11-28 14:37 robert +Mon, 27 Jul 2009 15:39:27 +0000 +Checked in by : Robert OSFIELD +Fixed bug in handling of stereo image pairs - * From Cedric Pinson, updates to osganimation examples. - - Merged by Robert Osfield, from OpenSceneGraph-osgWidget-dev +Fri, 24 Jul 2009 15:55:50 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-11-28 14:36 robert +Fri, 24 Jul 2009 15:30:13 +0000 +Checked in by : Robert OSFIELD +From Lee Butler and Robert Osfield, doxygen comment explaining role of NodeMask - * From Jeremy Moles, updates to osgwidget examples. - - Merged by Robert Osfield from OpenSceneGraph-osgWidget-dev +Fri, 24 Jul 2009 15:09:37 +0000 +Checked in by : Robert OSFIELD +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." -2008-11-28 14:35 robert - * Updated wrappers -2008-11-28 14:35 robert +Fri, 24 Jul 2009 15:04:46 +0000 +Checked in by : Robert OSFIELD +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." - * From Jeremy Moles, updates to osgWidget - - Merged my Robert Osfield from OpenSceneGraph-osgWidget-dev. +Fri, 24 Jul 2009 14:59:51 +0000 +Checked in by : Robert OSFIELD +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. -2008-11-28 14:34 robert +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...." - * From Cedric Pinson, updates toosgAnimation. - - Merged by Robert Osfield, from OpenSceneGraph-osgWidget-dev. -2008-11-27 17:31 robert - * From Cedric Pinson, "updated the CMakelist.txt of curl plugin to - compile with the static library of curl. - I added the external dependency wldap32" +Fri, 24 Jul 2009 14:45:44 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, typo and comment clean ups -2008-11-27 17:30 robert +Fri, 24 Jul 2009 14:45:09 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated SO version number for 2.5.6 release +Fri, 24 Jul 2009 14:25:34 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, added EllipsoidModel::isWGS84() method and clean up on comments. -2008-11-27 17:29 robert +Fri, 24 Jul 2009 12:12:07 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, updated CTestConfig to point to new cdash.openscenegraph.org site - * Updated ChangeLog +Thu, 23 Jul 2009 15:25:11 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode project -2008-11-27 16:58 shuber +Thu, 23 Jul 2009 12:42:01 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, Store the linkvisitor to be able to configure it by user, like changing the nodemaskoverride, or use a custom LinkVisitor - * 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 +Fri, 17 Jul 2009 07:47:48 +0000 +Checked in by : Robert OSFIELD +From J.P. Delport, "attached a modified jpeg plugin that allows writing of grayscale images." -2008-11-27 14:05 robert +Thu, 16 Jul 2009 12:09:47 +0000 +Checked in by : Robert OSFIELD +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." - * Changed unsigned long to unsigned int to avoid 64bit portability - issue. +Thu, 16 Jul 2009 12:04:35 +0000 +Checked in by : Robert OSFIELD +From Stephan Lamoliatte, "The vertical anchor is inverted in the osgWidget::Window::update function. Here is a small patch to fix that." -2008-11-27 09:45 robert +Thu, 16 Jul 2009 11:49:37 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, fix crash without error messages if the example does find the nathan.osg file. - * 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." +Thu, 16 Jul 2009 11:48:08 +0000 +Checked in by : Robert OSFIELD +Fixed build -2008-11-27 09:36 robert +Thu, 16 Jul 2009 11:35:59 +0000 +Checked in by : Robert OSFIELD +Fixed build. - * Enabled the build of exr plugin +Thu, 16 Jul 2009 11:26:14 +0000 +Checked in by : Robert OSFIELD +Added .get() to fix build -2008-11-27 09:36 robert +Thu, 16 Jul 2009 11:21:02 +0000 +Checked in by : Robert OSFIELD +From Jason Daly, "These are some fixes to the mdl and bsp plugins to handle transparency and lighting better, plus a few other tweaks." - * Build fixes +Thu, 16 Jul 2009 11:06:31 +0000 +Checked in by : Robert OSFIELD +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. " -2008-11-27 09:33 robert +Note from Robert Osfield, tweaked Colin's changes to that it use != DYNAMIC as the the test rather than == STATIC. - * Removed the use of = operator. -2008-11-26 16:40 robert - * Updated wrappers -2008-11-26 16:39 robert +Thu, 16 Jul 2009 10:56:16 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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. - " +Thu, 16 Jul 2009 10:13:41 +0000 +Checked in by : Robert OSFIELD +Added the ability to turn off the external paging in of PagedLOD children. -2008-11-26 16:00 robert +Thu, 16 Jul 2009 10:13:13 +0000 +Checked in by : Robert OSFIELD +Updated Contributors mapping - * added workaround of compile issues with templated version of - BoundingBox +Thu, 16 Jul 2009 10:12:33 +0000 +Checked in by : Robert OSFIELD +Added support for using PagedLOD to managing loading of presentation preview and then the main presentation in the background paging thread -2008-11-26 13:18 robert +Wed, 15 Jul 2009 20:52:51 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, add accessors to osgAnimation ActionCallback - * Updated wrappers +Wed, 15 Jul 2009 17:01:47 +0000 +Checked in by : Robert OSFIELD +Added alias from xml to p3d to ensure backwards compatibility with old present3D files with the.xml extenstion -2008-11-26 12:50 robert +Wed, 15 Jul 2009 15:28:19 +0000 +Checked in by : Robert OSFIELD +Quitened down debug info. - * 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?" +Tue, 14 Jul 2009 13:32:06 +0000 +Checked in by : Robert OSFIELD +Cleaned up indenting -2008-11-26 12:35 robert +Tue, 14 Jul 2009 13:30:28 +0000 +Checked in by : Robert OSFIELD +Converted code to use osg::asciiToFloat() instead of relying upong the C libraries sscanf to read floats as the C library is locale sensitive. - * Added searching for OpenEXR +Tue, 14 Jul 2009 12:22:47 +0000 +Checked in by : Robert OSFIELD +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." -2008-11-26 12:35 robert +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. - * 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 - * 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 - - * 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 - - * 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 - - * 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 - - * From Piotr Rak, "added bool conversion for ref_ptr, when no - implicit conversion to T* is used." - -2008-11-25 15:57 robert - - * Fix for build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off - -2008-11-25 15:38 robert - - * Fixed build for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION - is off - -2008-11-25 14:40 robert - - * Updated wrappers - -2008-11-25 14:31 robert - - * From Joakim Simmonsson, fix for handling of billboards in - FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS - -2008-11-25 14:15 robert - - * Added support for unsigned int uniforms - -2008-11-25 14:15 robert - - * From Ferdi Smit, added support for unsigned int typed uniforms - -2008-11-25 13:45 robert - - * From Urlich Hertlein, "Attached is a patched version that - replaces calls to atof() with osg::asciiToFloat()." - -2008-11-25 12:22 robert - - * Fixed warning and some unitialized variables. - -2008-11-25 11:09 robert - - * Fixed warning - -2008-11-25 10:57 robert - - * 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 - - * 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 - - * 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 - - * From Alberto Luaces, removed #include as it was cause a - build problem under Cygwin. - -2008-11-24 16:02 robert - - * Improved the set of the master + slave cameras - -2008-11-24 15:27 robert - - * From Rolad Smeenk, "Forgot a call to uniqify when generating an - Id based on osg::Node name." - -2008-11-24 14:37 robert - - * 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 - - * 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 - - * Replaced usage atof to asciiToFloat. - -2008-11-24 13:19 robert - - * 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 - - * 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 - - * Renamig of files in prep of merge of valve bsp support - -2008-11-24 10:16 robert - - * 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 - - * Updated wrappers - -2008-11-23 17:28 robert - - * Added mechnism for tracking when a VncImage is inactive or not. - -2008-11-23 15:51 robert - - * 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 - - * Introduce osg::asciiToDouble/asciiToFloat function. - -2008-11-23 10:20 robert - - * 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 - - * From Paul Martz, added missing export - -2008-11-22 14:30 robert +Tue, 14 Jul 2009 11:19:22 +0000 +Checked in by : Robert OSFIELD +Moved the getting of the ReaderWriter to do the actual model loading to later so that it only gets invoked when required. - * Removed the optional build for osgWidget and plugins as these are - options that are appropriate for building all the time +Tue, 14 Jul 2009 11:18:11 +0000 +Checked in by : Robert OSFIELD +Quietened down debug messages, and added early return when filename contains server address. -2008-11-22 12:14 robert +Tue, 14 Jul 2009 10:37:31 +0000 +Checked in by : Robert OSFIELD +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. - * From Cedric Pinson, Pulled in osgAnimation from - OpenSceneGraph-osgWidget-dev into svn/trunk. -2008-11-21 18:16 robert - * 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 - * Added handling of View::LightingMode +Tue, 14 Jul 2009 10:35:53 +0000 +Checked in by : Robert OSFIELD +Quitened down debug messages -2008-11-21 17:10 robert +Tue, 14 Jul 2009 10:04:18 +0000 +Checked in by : Robert OSFIELD +Fixed the handling of compressed files - * Build fix +Mon, 13 Jul 2009 16:39:51 +0000 +Checked in by : Robert OSFIELD +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." -2008-11-21 16:09 robert +Mon, 13 Jul 2009 16:14:43 +0000 +Checked in by : Robert OSFIELD +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. " - * Added exports +Mon, 13 Jul 2009 16:05:57 +0000 +Checked in by : Robert OSFIELD +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 -2008-11-21 13:23 robert +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. - * From David Spilling, better support for multitexture in obj - loader. +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. -2008-11-21 12:38 robert +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" - * From Jaromir Vitek, osgpackeddepthstencil example as a test case. -2008-11-21 12:31 robert - * Updated wrappers +Mon, 13 Jul 2009 08:30:20 +0000 +Checked in by : Robert OSFIELD +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. " -2008-11-21 12:30 robert +Sun, 12 Jul 2009 15:44:57 +0000 +Checked in by : Robert OSFIELD +Reverted erronous check-in (which was r10454) - * Made the ParticleSystemUpdate::addParticleSystem, - removeParticleSystem, replaceParticleSystem and setParticleSystem - methods all virtual to allow them to be overriden. +Fri, 3 Jul 2009 19:16:53 +0000 +Checked in by : Robert OSFIELD +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. -2008-11-21 12:15 robert - * From Mario Valle, "Attached two small correction to remove the - following warnings from MINGW build." -2008-11-21 12:10 robert +Fri, 3 Jul 2009 19:07:02 +0000 +Checked in by : Robert OSFIELD +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 LinuxFrom Robert Osfield, general cleaned up ITK side to CMakeList.txt. - * 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 - * From Joakim Simonsson, fixed warning. -2008-11-21 11:52 robert +Fri, 3 Jul 2009 18:58:01 +0000 +Checked in by : Robert OSFIELD +To the ITK code path added support for handling a whole directory of dicom files. - * 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. +Fri, 3 Jul 2009 10:33:51 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for 2.9.6 release -2008-11-21 11:27 robert +Fri, 3 Jul 2009 10:27:58 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Fri, 3 Jul 2009 05:54:27 +0000 +Checked in by : Robert OSFIELD +Added TrackballDragger code path -2008-11-21 11:23 robert +Fri, 3 Jul 2009 05:54:02 +0000 +Checked in by : Robert OSFIELD +Added callback to locator in support of interactive updating of the volume extents - * 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." +Fri, 3 Jul 2009 05:52:52 +0000 +Checked in by : Robert OSFIELD +Added setUpGeometry to Dragger base class to make it easier to use draggers interchangably. -2008-11-21 11:09 robert +Fri, 3 Jul 2009 05:25:08 +0000 +Checked in by : Robert OSFIELD +Introduced a Locator callback and associated usage of this callback to provide interactive updating of the volume bounds - * Replaced tabs +Thu, 2 Jul 2009 18:50:45 +0000 +Checked in by : Robert OSFIELD +Added support for a "-m" option that adds a tab box manipulator to allow positioning and resizing of the rendered volume -2008-11-21 10:27 robert +Thu, 2 Jul 2009 18:49:59 +0000 +Checked in by : Robert OSFIELD +Refactored RayTracedTechnique to allow the position of the rendered part of the volume to be decoupled from the image data. - * Added handling of case when there is so scene graph attached to a - view. +Wed, 1 Jul 2009 15:39:06 +0000 +Checked in by : Robert OSFIELD +From Byran Thrall, "The OpenFlight plugin doesn't handle unrecognized options or extra whitespace in all cases, causing it to crash." -2008-11-20 17:27 robert +Wed, 1 Jul 2009 14:50:08 +0000 +Checked in by : Robert OSFIELD +Removed old references to CommandManager - * 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." +Wed, 1 Jul 2009 14:49:30 +0000 +Checked in by : Robert OSFIELD +Added constructor and destructor body -2008-11-20 13:07 robert +Wed, 1 Jul 2009 14:04:46 +0000 +Checked in by : Robert OSFIELD +Added osgGA to the dependency list - * Added readNodeFile support the gecko plugin. +Wed, 1 Jul 2009 14:01:09 +0000 +Checked in by : Robert OSFIELD +Completed refactor of osgManipulator, key changes are: Selection is now just a typedef of osg::MatrixTransform, and is deprecated -2008-11-20 12:03 robert + CommandManager is shell class that just sets values directly on Dragger, and is deprecated - * Added DisplaySettings::s/getApplication() to help with gecko - plugin initialization when it requires the application name + 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. -2008-11-20 11:47 robert + Dragger now has a convinience method making MatrixTransforms track a dragger. - * Updated wrappers + Selection and CommandManager are no longer required for use of osgManipulator and are kept around for backwards compatibility. -2008-11-20 11:28 robert - * Clean up osgbrowser after moving browser implementation into - gecko plugin -2008-11-20 11:27 robert - * Moved browser code from osgbrowser example into gecko plugin to - make the browser functionality accessible to other OSG - applications +Wed, 1 Jul 2009 09:30:44 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, i miss to commit the file that contains the osgAnimation::StripAnimation::traverse -2008-11-19 20:34 robert +Tue, 30 Jun 2009 13:00:58 +0000 +Checked in by : Robert OSFIELD +Simplified Command and CommandManager - * Reverted Kyle Centers mistaken patch that removed a - _currentContext->valid() that was actually required. +Tue, 30 Jun 2009 12:41:59 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project, included osgPresentation -2008-11-19 17:16 robert +Tue, 30 Jun 2009 11:55:49 +0000 +Checked in by : Cedric Pinson +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 - * Moved Browser.h and Browser.cpp from osgbrowser into osgWidget. +Tue, 30 Jun 2009 11:39:39 +0000 +Checked in by : Robert OSFIELD +Refactored osgManipulator so that CommandManager is no longer required, instead Dragger directly manages Constaints and associate Selections. -2008-11-19 17:04 robert +Tue, 30 Jun 2009 07:33:16 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added XUL_DIR searching +Mon, 29 Jun 2009 21:32:10 +0000 +Checked in by : Robert OSFIELD +Introduced event handling directly into osgManipulator::Dragger to allow it be used with a global event handler passing in events. -2008-11-19 17:02 robert +Fri, 26 Jun 2009 16:52:27 +0000 +Checked in by : Robert OSFIELD +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. - * Fixed component directory path handling. +Fri, 26 Jun 2009 16:39:44 +0000 +Checked in by : Robert OSFIELD +Added search in /usr/local/dicom for dcmtk. -2008-11-19 16:58 robert +Fri, 26 Jun 2009 08:16:03 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Refactored browser classes so that there is now a base class and - reader writer. +Fri, 26 Jun 2009 08:14:09 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-11-18 23:38 robert +Thu, 25 Jun 2009 18:31:43 +0000 +Checked in by : Robert OSFIELD +Simplified throw rate code, and add throw rate compensation into zoom in/out code. - * Changed osgbrowser example to use a local - CMakeModules/FindXUL.cmake script, - and specialization of GTK dependencies to only non Windows/OSX - platforms. +Thu, 25 Jun 2009 18:11:29 +0000 +Checked in by : Robert OSFIELD +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. -2008-11-18 17:20 robert +Now when things are thrown they maintain a rate very close to what was +happening when the mouse button was released." - * Removed debug output -2008-11-18 15:18 robert - * Added optional bool keep to BarrierOperation to make it more - resuable +Thu, 25 Jun 2009 18:03:30 +0000 +Checked in by : Robert OSFIELD +Fixed library definition -2008-11-18 14:46 robert +Thu, 25 Jun 2009 16:12:58 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fixes to Cocoa support - * Moved update functionality into from UBrowserImage into update. +Thu, 25 Jun 2009 16:07:49 +0000 +Checked in by : Robert OSFIELD +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. +" -2008-11-18 13:36 robert - * Added support for running all ubrowser operataions in a - background thread. -2008-11-17 19:15 robert +Thu, 25 Jun 2009 16:02:23 +0000 +Checked in by : Robert OSFIELD +Fixed warnings and refactored FindFFmpeg.cmake and ffmpeg plugin CMakeLists.txt scripts to better handle different instation combinations - * Fixed key mapping +Thu, 25 Jun 2009 13:31:48 +0000 +Checked in by : Robert OSFIELD +Converted tabs to spaces -2008-11-17 17:58 robert +Thu, 25 Jun 2009 13:26:26 +0000 +Checked in by : Robert OSFIELD +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." - * Refactored the UBrowser functionality so a UBrowserThread - singlton class takes - over more responsibility of integratation with llmozlib. +Thu, 25 Jun 2009 13:13:54 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "put texturemanager into osg namespace." -2008-11-17 15:53 robert +Thu, 25 Jun 2009 13:10:31 +0000 +Checked in by : Robert OSFIELD +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." - * Removed dependency on GLUT. +Thu, 25 Jun 2009 13:00:01 +0000 +Checked in by : Robert OSFIELD +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." -2008-11-17 15:49 robert +Thu, 25 Jun 2009 09:14:47 +0000 +Checked in by : Robert OSFIELD +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." - * Ported example to using OSG objects for rendering rather than - GLUT -2008-11-17 10:36 robert - * Introduced xulrunner extensions from llmozlib2, and got things - working under linux +Thu, 25 Jun 2009 08:53:28 +0000 +Checked in by : Robert OSFIELD +Added osgFX depedency -2008-11-14 20:50 robert +Thu, 25 Jun 2009 08:52:23 +0000 +Checked in by : Robert OSFIELD +Added osgVolume dependency - * 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." +Thu, 25 Jun 2009 08:23:21 +0000 +Checked in by : Robert OSFIELD +Added export -2008-11-14 20:31 robert +Thu, 25 Jun 2009 07:42:10 +0000 +Checked in by : Robert OSFIELD +Added CMakeLists.txt for osgPresentation - * Added definition of std::wstring as a work around to a lack of - wstring under Cygwin. +Wed, 24 Jun 2009 17:37:59 +0000 +Checked in by : Robert OSFIELD +Added use of REGISTER_OGRPLUGIN to enable static linking of plugins -2008-11-14 18:22 robert +Wed, 24 Jun 2009 17:34:30 +0000 +Checked in by : Robert OSFIELD +Added ffmpeg and pdf to static build - * From Simon Hammett, moved VS #prgama warning disabling from - include/osg/Export to CMakeList.txt. +Wed, 24 Jun 2009 17:33:01 +0000 +Checked in by : Robert OSFIELD +Added support for static compilation of pdf plugin -2008-11-14 18:15 robert +Wed, 24 Jun 2009 16:45:55 +0000 +Checked in by : Robert OSFIELD +Fixed non windows path - * Removed reduncent #includes +Wed, 24 Jun 2009 16:14:53 +0000 +Checked in by : Robert OSFIELD +Renamed the temporary application name of present3D-osg to present3D. -2008-11-14 17:03 robert +Wed, 24 Jun 2009 16:03:49 +0000 +Checked in by : Robert OSFIELD +Refactored preset3D/p3d plugin so that common scene graph extensions and classes now live in a separate osgPresenttation NodeKit. - * 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." +Wed, 24 Jun 2009 10:26:48 +0000 +Checked in by : Robert OSFIELD +Refactored the FFmpeg find script and the pdd CMakeLists.txt to improve the automatic detection of the required facilities -2008-11-14 16:54 robert +Wed, 24 Jun 2009 10:10:09 +0000 +Checked in by : Cedric Pinson +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 - * Added GTK and GLUT guards to osgbrowser include +Tue, 23 Jun 2009 12:59:01 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, Fix clone operation for osgAnimation::Animation -2008-11-14 16:48 robert +Tue, 23 Jun 2009 11:33:59 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Further work on experiment llmozlib/geko based embedded web - browser +Tue, 23 Jun 2009 10:53:55 +0000 +Checked in by : Robert OSFIELD +Added explict search for stdint.h -2008-11-13 15:35 robert +Mon, 22 Jun 2009 18:04:36 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, fix clone for UpdateTransform - * An "attempt" at using LLMozLib sources as a base for a gecko - based embedded browser. +Mon, 22 Jun 2009 16:08:12 +0000 +Checked in by : Robert OSFIELD +Added support for reading from http and obj files in the static build of Present3D -2008-11-13 10:49 robert +Mon, 22 Jun 2009 16:02:38 +0000 +Checked in by : Robert OSFIELD +Fixed swap size - * Updated version number in prep for 2.5.6 dev release +Mon, 22 Jun 2009 14:24:59 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, fix constructors for cloning osgAnimation objects -2008-11-12 22:54 robert +Mon, 22 Jun 2009 13:08:06 +0000 +Checked in by : Robert OSFIELD +Updated authors for 2.9.5 release - * Moved Poppler-glib check into root CMakeList.txt +Mon, 22 Jun 2009 12:46:51 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog and contributors -2008-11-12 14:57 robert +Sun, 21 Jun 2009 17:28:59 +0000 +Checked in by : Robert OSFIELD +Added mutex lock to iniGLNames to prevent threading problems during initialization - * Improved filepath handling, and increased the image resolution - for better rendering quality +Sat, 20 Jun 2009 17:03:38 +0000 +Checked in by : Robert OSFIELD +Added support for initial cut of static build of Present3D. -2008-11-12 14:21 robert +Sat, 20 Jun 2009 11:35:22 +0000 +Checked in by : Robert OSFIELD +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. - * Introduced new osgpdf example that use Cario + Poppler libraries - to provide a means of rendering a pdf document to an osg::Image. +The fix is very simple. Instead of calling computePositions() in TextBase::setAlignment(), it calls computeGlyphRepresentation(). I've attached the modified TextBase.cpp." -2008-11-12 14:20 robert - * Updated wrappers -2008-11-12 10:30 robert +Sat, 20 Jun 2009 08:18:58 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added osgViewerGetVersion() into context creation code as a means - of forcing windows to link in osgViewer properly. +Fri, 19 Jun 2009 14:14:26 +0000 +Checked in by : Robert OSFIELD +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 -2008-11-11 17:59 robert +In the OBJ loader the newline would be interpreted as follows - * Improved naming +f 15939/9999/16177 15941/10000/16178 15940/10001/1617915938/10002/16180 -2008-11-11 17:30 robert +However, for correctly loading the model it should be interpreted as - * Tweaked comment +f 15939/9999/16177 15941/10000/16178 15940/10001/16179 15938/10002/16180 -2008-11-11 17:29 robert +Thus, the escaped newline should be interpreted as a space. - * Added default fallback of a window context is none is otherwise - specified. +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." -2008-11-11 16:59 robert - * Added command line argument docs and support for -h/--help - command line options -2008-11-11 16:59 robert +Fri, 19 Jun 2009 13:53:35 +0000 +Checked in by : Robert OSFIELD +Changed the debug output so that the code path is not run unless it's needed - * Removed the redundent prepending of application name. +Fri, 19 Jun 2009 13:50:14 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastian Guay and Robert Osfield, added line numbers to debug shader output -2008-11-11 16:21 robert +Fri, 19 Jun 2009 13:09:31 +0000 +Checked in by : Robert OSFIELD +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." - * Added timing stats -2008-11-11 16:13 robert - * Added --geometry, --geometry-vbo and --geometry-va command line - options and associated geometry test codes +Fri, 19 Jun 2009 11:55:52 +0000 +Checked in by : Robert OSFIELD +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) -2008-11-11 15:00 robert +Added _isTextureMaxLevelSupported variable to texture extensions. It +could be removed if OSG requires OpenGL version 1.2 by default. - * Added --delay option that is run between each - OpenGL object apply, defaults to 0 +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). -2008-11-11 12:50 robert +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." - * Added support for fbo testing. -2008-11-10 20:06 robert - * 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. +Fri, 19 Jun 2009 11:31:15 +0000 +Checked in by : Robert OSFIELD +From Don Liech, Qt/OSG integration example -2008-11-10 13:56 robert +Fri, 19 Jun 2009 11:16:24 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added commented out flt entry for compiling the old deprecated - flight plugin (useful for testing purposes). +Fri, 19 Jun 2009 11:04:48 +0000 +Checked in by : Robert OSFIELD +Added append() method -2008-11-10 13:48 robert +Fri, 19 Jun 2009 11:00:33 +0000 +Checked in by : Robert OSFIELD +Added clears to various vectors being passed in to get*() methods. - * Fix to traversal of children of an LOD - based on a suggestion - from Katharina Plugge. +Fri, 19 Jun 2009 10:55:12 +0000 +Checked in by : Robert OSFIELD +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()." -2008-11-09 11:56 robert +Thu, 18 Jun 2009 10:01:39 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson and Robert Osfield, addition of NodeCallbacks to osg::CopyOp and osg::Node copy constructor. - * Added support for Camera::PACKED_DEPTH_STENCIL_BUFFER to .osg and - .ive formats +Thu, 18 Jun 2009 08:29:20 +0000 +Checked in by : Robert OSFIELD +Added exports -2008-11-09 11:55 robert +Thu, 18 Jun 2009 08:22:24 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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." +Thu, 18 Jun 2009 08:18:10 +0000 +Checked in by : Robert OSFIELD +From Rene Molenaar, "The bug is as described above:"The dragger's corner tabs are no longer in the corners." -2008-11-08 17:53 robert +this fix places the cornertabs back in the corners. +(the manipulator does not make sense otherwise)." - * From Jean-Sebastien Guay, replaced M_PI with osg::PI. -2008-11-07 18:02 robert - * Updated ChangeLog for 2.7.5 release +Wed, 17 Jun 2009 16:54:39 +0000 +Checked in by : Robert OSFIELD +Replaced forward declarations -2008-11-07 17:40 robert +Wed, 17 Jun 2009 16:54:12 +0000 +Checked in by : Robert OSFIELD +Added ".added", ".modified" and ".removed" alias to .revisions plugin - * From Csaba Halasz, fix for hang when running in - CullThreadPerCameraDrawThreadPerContext threading model. +Wed, 17 Jun 2009 15:12:58 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-11-07 17:23 robert +Wed, 17 Jun 2009 15:12:50 +0000 +Checked in by : Robert OSFIELD +Made method names consistent with each other - * Fixed typo +Wed, 17 Jun 2009 11:00:14 +0000 +Checked in by : Robert OSFIELD +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. -2008-11-07 17:07 robert +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 - * Fixed build under gcc 4.3.2 +3 - I have updated the openscenegraph-osgAnimation.pc.in file accordingly." -2008-11-07 16:26 robert - * Updated ChangeLog and version number for 2.7.5 release -2008-11-07 16:14 robert +Wed, 17 Jun 2009 10:39:39 +0000 +Checked in by : Robert OSFIELD +Changed build OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION to ON and then fixed all the resulting build errors. - * Removed fstream for wrapper due to problems with wrapping. +Wed, 17 Jun 2009 08:56:11 +0000 +Checked in by : Robert OSFIELD +Fixed error in DisplaySettings::setNumOfHttpDatabaseThreadsHint -2008-11-07 16:03 robert +Tue, 16 Jun 2009 13:02:33 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Removed due to problems with build +Tue, 16 Jun 2009 12:32:02 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, Fix osgAnimation warning and errors -2008-11-07 15:38 robert +Tue, 16 Jun 2009 12:22:36 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, Fix osgAnimation warning and errors for Bone.cpp - * Updated wrappers +Tue, 16 Jun 2009 10:20:41 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2008-11-07 15:08 robert +Mon, 15 Jun 2009 14:48:37 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, split timeline classes in differents files, cleanup and add a statshandler to visualize current action in timeline - * 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. +Sun, 14 Jun 2009 23:30:47 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, fix copy constructor for clone operation for Bone, add a missing contructor with quaternion for Target -2008-11-07 15:01 robert +Fri, 12 Jun 2009 10:37:42 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Converted tabs to four spaces +Fri, 12 Jun 2009 10:08:15 +0000 +Checked in by : Robert OSFIELD +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. -2008-11-07 13:18 robert +Based on rev 10332." - * From Tim Moore, removed redundent forward declartion of - BoundingBox and BoundingSphere -2008-11-07 10:23 robert - * 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" +Fri, 12 Jun 2009 10:00:08 +0000 +Checked in by : Robert OSFIELD +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. -2008-11-06 16:48 robert +These changes don't affect the normal osgViewer usage pattern." - * Changed to using stdio.h. -2008-11-06 14:56 robert - * Updated wrappers +Fri, 12 Jun 2009 09:57:45 +0000 +Checked in by : Robert OSFIELD +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." -2008-11-06 14:46 robert +Fri, 12 Jun 2009 09:48:59 +0000 +Checked in by : Robert OSFIELD +From Konstantin Sinitsyn, "I've fixed bug with loading of compressed texture to texture array!" - * Fixed constness of getTexture/getRenderBuffer() const and added - non cost version. +Fri, 12 Jun 2009 09:41:10 +0000 +Checked in by : Robert OSFIELD +From Roger James and Robert Osfield, clean up of COLLADA CMake support -2008-11-06 14:29 robert +Fri, 12 Jun 2009 09:11:37 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * From Michael Platings, "I've added functions to get the - texture, renderbuffer and other properties from a - FrameBufferAttachment." +Thu, 11 Jun 2009 15:13:04 +0000 +Checked in by : Robert OSFIELD +Fixed copy constructor -2008-11-06 14:17 robert +Thu, 11 Jun 2009 14:56:54 +0000 +Checked in by : Robert OSFIELD +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. - * From Kyle Centers, removed redundent check to - _currentContext.valid(). +Wed, 10 Jun 2009 09:24:12 +0000 +Checked in by : Robert OSFIELD +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). -2008-11-06 14:04 robert +This is a convient solution to limit the freezing effect one may face in case the targeted server is down or too slow. - * From Csaba Halasz, adding missing export directives +I successfully compiled and used this updated version on Windows in my application. -2008-11-06 13:57 robert +And by default those settings are not set (so no change in the behavior if you don't need them). +" - * 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 - * 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. - " +Tue, 9 Jun 2009 08:43:13 +0000 +Checked in by : Robert OSFIELD +From Gustav Happalahti, fixed filename usage -2008-11-06 13:38 robert +Mon, 8 Jun 2009 16:50:50 +0000 +Checked in by : Robert OSFIELD +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. - * Fixed IntersectionVisitor::accept(Camera) handling of relative - Cameras. +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. +" -2008-11-06 13:36 robert +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." - * From Chris Denham, added transform to cube to test picking fixes -2008-11-05 16:06 robert +Changes to the above done by Robert Osfield, - * Removed redundent static ImageStream pointer + 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. -2008-11-05 15:59 robert - * Added --no-rescale, --rescale (default) and --shift-min-to-zero - command line options for controlling how the pixel data is - managed. -2008-11-05 15:04 robert - * Added --replace-rgb-with-luminance option -2008-11-05 15:04 robert +Mon, 8 Jun 2009 14:06:58 +0000 +Checked in by : Robert OSFIELD +Martin Beckett, "Here's a first attempt at a DXF writer pluginAt 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) - * Added support for different pixel formats and datatypes in - copyImage() method +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. -2008-11-05 11:56 robert +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!" - * Fixed return value of ArgumentParser::find() for when the search - string is not found, the correct value is now -1. -2008-11-05 10:29 robert - * Added extra data types info to debug message -2008-11-05 10:27 robert +Mon, 8 Jun 2009 13:51:24 +0000 +Checked in by : Robert OSFIELD +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." - * Added Thread::Init() to CurrentThread +Mon, 8 Jun 2009 13:47:25 +0000 +Checked in by : Robert OSFIELD +Addded .ive and .osg support for new GL_EXT_blend_equation_separate properties in osg::BlendEquation -2008-11-04 16:31 robert +Mon, 8 Jun 2009 13:46:39 +0000 +Checked in by : Robert OSFIELD +From Konstantin Sinitsyn, support for GL_EXT_blend_equation_separate extension like in osg::BlendEquation. - * Compiled fix for gcc 4.3.2 +Mon, 8 Jun 2009 12:50:26 +0000 +Checked in by : Robert OSFIELD +Added basic Matrix::decompose() test, based on a test progrem wrttien by Paul Obermeier -2008-11-04 12:57 robert +Mon, 8 Jun 2009 12:44:23 +0000 +Checked in by : Robert OSFIELD +Fixed doc message - * Fixed --images commandline parsing +Mon, 8 Jun 2009 11:12:34 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, "this correction makes the intensity interpolated in the correct direction when the angle is between _cosFadeAngle and _cosAngle." -2008-11-03 16:55 robert +Mon, 8 Jun 2009 10:54:16 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Added GPL copyright notice +Mon, 8 Jun 2009 10:27:21 +0000 +Checked in by : Robert OSFIELD +Changed the file search path so it returns an empty string when the filename contains a server address. -2008-11-03 16:31 robert +Mon, 8 Jun 2009 09:47:27 +0000 +Checked in by : Robert OSFIELD +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. - * Added handling of texture matrices and texture rectangles in - InteractiveImageHandler -2008-11-03 15:58 robert - * Refactored osgvnc example to utilise the new vnc plugin +Fri, 5 Jun 2009 19:05:37 +0000 +Checked in by : Robert OSFIELD +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. -2008-11-03 15:57 robert +Fri, 5 Jun 2009 11:48:35 +0000 +Checked in by : Robert OSFIELD +Added depends_on template and usage in RenderBin to help with static variable destruction ordering - * Added vnc plugin. +Fri, 5 Jun 2009 10:42:53 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-11-03 15:08 robert +Thu, 4 Jun 2009 14:37:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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 +Thu, 4 Jun 2009 14:07:12 +0000 +Checked in by : Robert OSFIELD +Implemented updating of revision files as new data is writing to the FileCache -2008-11-03 15:03 robert +Tue, 2 Jun 2009 16:58:32 +0000 +Checked in by : Robert OSFIELD +Added osgdatabaserevisions example to server as a testbed for new osgDB::DatabaseRevisions functionality - * Changed version number to 2.7.5 in prep for dev release +Tue, 2 Jun 2009 16:54:34 +0000 +Checked in by : Robert OSFIELD +Implemented DatabasePath in DatabaseBase revision classes -2008-11-03 10:17 robert +Tue, 2 Jun 2009 08:56:32 +0000 +Checked in by : Robert OSFIELD +Refactored the adaption of X11 key symbols into OSG key events to fix problems with handling wide range of locales. - * Changed Tiff plugin to link to TIFF_LIBRARIES to handle case - where JPEG and ZLIB are dependencies. +Tue, 2 Jun 2009 08:53:21 +0000 +Checked in by : Robert OSFIELD +Moved assigned of texture object to _textureObjectBuffer to earlier in Texture2D::apply() to prevent problems with non power of two texture mipmap generation. -2008-10-31 16:48 robert +Mon, 1 Jun 2009 11:22:42 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, Fixed handling of empty Program. - * Wrapped up the various client streaming methods + thread into - VncImage classes. +Mon, 1 Jun 2009 11:08:34 +0000 +Checked in by : Robert OSFIELD +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." -2008-10-31 13:59 robert +Mon, 1 Jun 2009 11:07:07 +0000 +Checked in by : Robert OSFIELD +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")." - * Implemented keyboard and mouse dispatch from vnc client to vnc - server. +Sat, 30 May 2009 07:39:59 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-10-31 12:03 robert +Fri, 29 May 2009 18:24:47 +0000 +Checked in by : Robert OSFIELD +Added revisions plugin in support of paged database revisions. - * 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, 29 May 2009 09:39:17 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2008-10-30 13:05 robert +Fri, 29 May 2009 08:46:58 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Removed renduent osgDB::Registry DatabasePager methods +Fri, 29 May 2009 08:24:52 +0000 +Checked in by : Robert OSFIELD +Ran dos2unx of files -2008-10-29 12:04 robert +Fri, 29 May 2009 08:24:11 +0000 +Checked in by : Robert OSFIELD +Introduced first iterations of DatabaseRevision classes for managing the revisioning of http hosted databases - * Updated ChangeLog, AUTHORS.txt and README.txt for 2.4.7 release +Thu, 28 May 2009 16:46:11 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-10-29 11:51 robert +Thu, 28 May 2009 14:15:36 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "This frees some memory that is allocated by the X11 functions." - * 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, 28 May 2009 14:12:03 +0000 +Checked in by : Robert OSFIELD +Fixed unitialized variable -2008-10-29 11:15 robert +Thu, 28 May 2009 14:09:16 +0000 +Checked in by : Robert OSFIELD +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." - * Warning fixes +Thu, 28 May 2009 13:40:54 +0000 +Checked in by : Robert OSFIELD +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." -2008-10-29 11:09 robert +Thu, 28 May 2009 13:29:20 +0000 +Checked in by : Robert OSFIELD +From Gregory Jaegy and Robert Osfield, added support for static linking of OpenFlight plugin - * Added missing implementations +Thu, 28 May 2009 13:26:06 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-10-29 10:56 robert +Thu, 28 May 2009 12:25:35 +0000 +Checked in by : Robert OSFIELD +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. - * Updated ChangeLog and AUTHORS.txt for 2.7.4 release +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. -2008-10-29 10:38 robert +local_opt->setPluginStrData("zipextract","filesystem"); - * Updated wrappers -2008-10-29 10:25 robert +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." - * From Lukas Diduch, added a multithread compsite viewer path, - accessible using: - - osgviewerQT --MTCompositeViewer --QOSGWidget cow.osg -2008-10-29 10:12 robert - * From James Moliere, fixed display of axis +Thu, 28 May 2009 08:25:18 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-10-28 17:28 robert +Wed, 27 May 2009 13:02:01 +0000 +Checked in by : Robert OSFIELD +Renamed application osgvirtualprogram to osgshadercompostior to better reflect it function - * From Lionel Lagrade, "I've replaced readsome by read+gcount." - - From Robert Osfeld, added throw on uncompress error. +Wed, 27 May 2009 13:00:58 +0000 +Checked in by : Robert OSFIELD +Renamed osgvirtualprogram to osgshadercompositor to better reflect it's function -2008-10-27 19:59 robert +Wed, 27 May 2009 12:11:41 +0000 +Checked in by : Robert OSFIELD +Fixed glStencilMask setting. - * From Chris Denham, changed nested Camera intersection test so - that it requires the command line --relative-camera-scene to - enable it +Wed, 27 May 2009 09:54:17 +0000 +Checked in by : Robert OSFIELD +Added support for RenderBin::SortMode::TRAVERSAL_ORDER to enable rendering of scene graph drawables in the order that they were traversed in. -2008-10-27 17:42 robert +Wed, 27 May 2009 09:45:46 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Added --help-env docs for OSG_MAX_PAGEDLOD +Tue, 26 May 2009 14:22:56 +0000 +Checked in by : Robert OSFIELD +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." -2008-10-27 17:11 robert +Tue, 26 May 2009 11:00:26 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "please find a patch for the DirectX loader to use std::istreams. This will make it usable with the zip plugin." - * 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. +Tue, 26 May 2009 10:10:11 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-10-27 17:09 robert +Mon, 25 May 2009 16:34:26 +0000 +Checked in by : Robert OSFIELD +Refactored the GraphicsWindowX11::adaptKey() implementation so that it always uses the reampX11Key(ks) method, and for the mapping to handle case correctly. - * 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. - " +Mon, 25 May 2009 13:02:14 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, VirtualProgram example that illustrates how one can create a custom system for composing shaders within the scene graph. -2008-10-27 16:16 robert +Mon, 25 May 2009 12:07:34 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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 - - * From Chris Denham, fixed support of in scene graph osg::Camera's - with ReferenceFrame of RELATIVE_RF. - -2008-10-27 15:26 robert - - * 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 - - * Various warning fixes - -2008-10-27 11:49 robert - - * Updated wrappers - -2008-10-27 11:08 robert - - * 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 - - * 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 - - * Fixed positioning of wings - -2008-10-27 09:48 robert - - * 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 - - * From Alberto Lucas, fixed typo - -2008-10-26 22:22 robert - - * Improved the support for no pre compile, and configuring the - number of threads in the DatabasePager. - -2008-10-26 22:21 robert - - * Improved the error reporting - -2008-10-25 13:17 robert - - * 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 - - * 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 - - * Fixed typo - -2008-10-24 09:59 robert - - * 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 - - * Changed timing stats to osg::INFO level - -2008-10-24 08:09 robert - - * Removed debugging test. - -2008-10-23 16:33 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * #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 - - * Updated wrappers - -2008-10-20 16:24 robert - - * Introduce osgDB::FileCache, and updated osgfilecache and - DatabasePager to use it. - -2008-10-20 08:43 robert - - * Introduced support for controlling mipmapping of - osgTerrain::ImageLayer and compression of - osgTerrain::HeightFieldLayer. - -2008-10-17 09:16 robert - - * From Paul Melis, fixed typo - -2008-10-15 10:07 robert +Mon, 25 May 2009 12:04:29 +0000 +Checked in by : Robert OSFIELD +Changed Status enums to ActionStatus and TimelineStatus to avoid X11 problems - * 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 ); - ///////////////////////////////////////" +Mon, 25 May 2009 11:16:54 +0000 +Checked in by : Robert OSFIELD +Added initializer of ParticleSystemUpdater::_frameNumber -2008-10-14 17:20 robert +Mon, 25 May 2009 11:12:38 +0000 +Checked in by : Robert OSFIELD +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. " - * Changed erroneous ZLIB_INCLUDE_DIRS to ZLIB_INCLUDE_DIR +Mon, 25 May 2009 10:46:37 +0000 +Checked in by : Robert OSFIELD +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. -2008-10-14 16:57 robert +I had to move the file scope g_NullStream & g_NotifyStream initialisation +into a function to get them to work. - * 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." +Also there was a missing osg:: qualifier on getNotifyHandler." -2008-10-14 16:44 robert - * Converted M_PI* usage across to osg::PI -2008-10-14 16:35 robert +Fri, 22 May 2009 08:31:58 +0000 +Checked in by : Robert OSFIELD +From Alberto Luacas, added new pkg-cofig files - * From Ricard Schmidt, dot writer plugin. +Fri, 22 May 2009 07:52:25 +0000 +Checked in by : Robert OSFIELD +From Alberto Luacas, separate pkg-config .pc files -2008-10-14 15:24 robert +Thu, 21 May 2009 16:33:38 +0000 +Checked in by : Robert OSFIELD +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. - * 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." +Thu, 21 May 2009 08:37:04 +0000 +Checked in by : Robert OSFIELD +Added a default value to avoid warning -2008-10-14 15:10 robert +Wed, 20 May 2009 12:14:45 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Removed geomoflife_frag.cpp experiement from CMakeList.txt file +Wed, 20 May 2009 12:06:57 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-10-14 14:58 robert +Wed, 20 May 2009 11:14:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From J.P Delport, game of life example that demonstrates ping - pong render to texture rendering +Wed, 20 May 2009 11:08:57 +0000 +Checked in by : Robert OSFIELD +Changed TerrainManipulator to use HEADING rather than AZIM to keep it consistent with SphericalManipulator -2008-10-14 14:37 robert +Wed, 20 May 2009 10:58:29 +0000 +Checked in by : Robert OSFIELD +Converted SphericalManipulator to use Elevation and Heading rather than Zenith and Azimuth. - * Added zlib support to curl and ive plugins +Tue, 19 May 2009 16:12:27 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode-project -2008-10-14 14:36 robert +Tue, 19 May 2009 15:11:49 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Added debug timing code +Tue, 19 May 2009 15:10:41 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-10-14 14:27 robert +Tue, 19 May 2009 14:03:09 +0000 +Checked in by : Robert OSFIELD +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." - * Added a Refrenced::getGlobalReferencedMutex, and - OpenThreads::ScopedPointerLock() and use of this in - add/removeParent() codes - to avoid threading problems when using atomic ref counting. +Tue, 19 May 2009 12:25:54 +0000 +Checked in by : Robert OSFIELD +Attempt to fix Cygwin build failure -2008-10-14 14:25 robert +Tue, 19 May 2009 12:21:42 +0000 +Checked in by : Robert OSFIELD +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 - * UPdated version numbers +Tue, 19 May 2009 11:18:03 +0000 +Checked in by : Robert OSFIELD +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." -2008-10-10 12:01 robert +Tue, 19 May 2009 10:45:57 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "when using windownames and switching between fullscreen and windowed mode GraphicsWindowCocoa crashes. Attached you'll find a fix for that bug. " - * Moved compress/uncompress code across to using gzip compatible - methods +Tue, 19 May 2009 10:42:49 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, replaced #include with #include to fix build under OSX -2008-10-09 18:46 robert +Tue, 19 May 2009 10:35:50 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode-project - * Added initial cut of gz compress/uncompress plugin +Tue, 19 May 2009 09:26:22 +0000 +Checked in by : Robert OSFIELD +From Neil Hughes, intergrated support for uncompressing zip files in memory and from istreams (enabling reading from http). -2008-10-09 17:02 robert +Mon, 18 May 2009 15:46:02 +0000 +Checked in by : Robert OSFIELD +Added enable of clear stencil and depth mask to ensure that stencil and depth buffers are always cleared when required - * Initial cut of zlib based compress/uncompress plugin +Mon, 18 May 2009 15:21:57 +0000 +Checked in by : Robert OSFIELD +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" -2008-10-09 13:16 shuber - * From Stephan Huber: updated XCode-project, added osgVolume-lib -2008-10-09 08:52 robert +Mon, 18 May 2009 13:01:25 +0000 +Checked in by : Robert OSFIELD +Quietened down debug messages - * Fixed the frame rate reporting so that it handles the case when - animation is slowed or speeded up +Mon, 18 May 2009 12:54:23 +0000 +Checked in by : Robert OSFIELD +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." -2008-10-08 13:19 robert - * Updated date -2008-10-08 13:18 robert +Mon, 18 May 2009 12:04:07 +0000 +Checked in by : Robert OSFIELD +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). - * Updated ChangeLog and AUTHORS.txt for 2.7.3 dev release +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. -2008-10-08 12:54 robert +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())" - * Updated wrappers -2008-10-08 12:29 robert - * Added friend struct ViewData to try and avoid compile issues - under HP-UX -2008-10-08 11:30 robert +Mon, 18 May 2009 10:37:03 +0000 +Checked in by : Robert OSFIELD +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: - * Added Texture1D(Image*) and Texture3D(Image*) constructors +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; -2008-10-08 10:55 robert + SWIG reports errors on the latter construct. + Also makes it consistent with BoundingBox. - * Replaced std::vector::insert with std::copy + back_inserter to - avoid member template problems with sunos. -2008-10-08 10:10 robert +osg/Vec4ub: + Consistent use of "value_type" throughout the file. - * From Mathias Froehlich, fixes for HP-UX, SGI and Solaris build -2008-10-07 15:59 robert +osg/Vec?b: + Consistent use of "value_type" throughout the files. - * Moved OSG_FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL into - src/osg/CMakeLists.txt + Also changed + typedef char value_type; + to + typedef signed char value_type; -2008-10-07 15:58 robert + 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. +" - * Made line graph solid (alpha = 1.0) -2008-10-07 15:41 robert - * From Jean-Sebastien Guay and Robert Osfield, added - setDataVariance(osg::DYNAMIC) to avoid problems to optimization. +Mon, 18 May 2009 10:28:14 +0000 +Checked in by : Robert OSFIELD +Minor tweaks to avoid warnings when generating wrappers/doxygen documentation -2008-10-07 15:21 robert +Mon, 18 May 2009 10:17:57 +0000 +Checked in by : Robert OSFIELD +From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches - * Added osgText to link line +Mon, 18 May 2009 09:34:17 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-10-07 15:19 robert +Fri, 15 May 2009 15:49:10 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, build fixes form Windows - * 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. +Fri, 15 May 2009 15:10:59 +0000 +Checked in by : Robert OSFIELD +Added checks against libcurl version to decide what features are used or not -2008-10-07 15:16 robert +Fri, 15 May 2009 12:31:23 +0000 +Checked in by : Robert OSFIELD +Removed debugging code block - * 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. - " +Fri, 15 May 2009 12:22:53 +0000 +Checked in by : Robert OSFIELD +Removed redundant errno declaration that was cause build problems under RedHat 3.2.Removed redundant version declarations. -2008-10-07 14:36 robert - * From Wojciech Lewandowski and Robert Osfield, add CMake build - option for controlling the Windows/NVidia multi-monitor - workaround. -2008-10-07 14:25 robert +Fri, 15 May 2009 07:50:20 +0000 +Checked in by : Robert OSFIELD +From Martin Beckett, "n bool ReaderWriter::fileExists(const std::string& filename, const Options* /*options*/) constWindows 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?" - * Updated wrappers -2008-10-07 14:19 robert - * Replaced IntersectVisitor usage with IntersectionVisitor +Thu, 14 May 2009 16:24:39 +0000 +Checked in by : Robert OSFIELD +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. -2008-10-07 14:01 robert +Thu, 14 May 2009 16:08:12 +0000 +Checked in by : Robert OSFIELD +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. +" - * Replaced usage of depreacted IntersectVisitor with - IntersectionVisitor -2008-10-07 13:37 robert - * 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." +Thu, 14 May 2009 16:06:34 +0000 +Checked in by : Robert OSFIELD +Added setting of full filename to options as "filename" entry. -2008-10-07 13:06 robert +Thu, 14 May 2009 15:45:54 +0000 +Checked in by : Robert OSFIELD +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. +" - * From Colin McDonald, "Attached is an update to the dxf plugin - which adds rudimentary support for - text entities. - " -2008-10-07 12:31 robert - * From Mathias Froehlich, build fixes +Thu, 14 May 2009 15:34:15 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find some bugfixes and enhancements for the Cocoa implementation of GraoicsWindowCocoa:Enhancements/Bugfixes: -2008-10-07 11:35 robert ++ 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 - * Added the ability to release OpenGL objects in PagedLOD subgrphs - that are no longer being rendered. ++ missing menu-event-handling implemented -2008-10-06 17:15 robert ++ added NSAutoReleasePools where necessary, this fixes some memory-leaks ++ fixed some crashes and thread-issues" - * Updated wrappers -2008-10-06 17:03 robert - * Improved the ImageSequence::setLength() settting. +Thu, 14 May 2009 13:40:02 +0000 +Checked in by : Robert OSFIELD +Integrated support for relative paths, and http hosted presentations -2008-10-06 17:02 robert +Thu, 14 May 2009 13:30:25 +0000 +Checked in by : Robert OSFIELD +Replaced tabs with spaces - * Updated to reflect changes in NodeVistor::ImageRequestHandler. +Thu, 14 May 2009 13:16:05 +0000 +Checked in by : Robert OSFIELD +Changed tabs to spaces -2008-10-06 17:02 robert +Thu, 14 May 2009 13:10:18 +0000 +Checked in by : Robert OSFIELD +Changed debug message to INFO notication level - * Refactored ImageSequence to provided a cleaner and more robust - implementation +Thu, 14 May 2009 13:05:32 +0000 +Checked in by : Robert OSFIELD +Added support for read the various animaton materials/paths from http -2008-10-06 14:18 robert +Thu, 14 May 2009 09:44:55 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Wojciech Lewandowski, build fixes for handling - Matrix::value_type == float +Wed, 13 May 2009 19:48:02 +0000 +Checked in by : Robert OSFIELD +Added support for reading presentations and content via http, with support of the FileCache when available. -2008-10-06 14:15 robert +Wed, 13 May 2009 19:47:26 +0000 +Checked in by : Robert OSFIELD +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. - * Ran dos2unix +Wed, 13 May 2009 19:46:16 +0000 +Checked in by : Robert OSFIELD +Added ReaderWriter::fileExists() method to help enable querrying of existing of files on servers using the curl plugin -2008-10-06 09:39 robert +Wed, 13 May 2009 19:44:27 +0000 +Checked in by : Robert OSFIELD +Added support for Object, Image, HeightField and Shaders in FileCache - * From Glenn Waldron, "osgTerrain::Locator::setTransformAsExtents() - does not update the _inverse member. Fix attached. - " +Wed, 13 May 2009 15:05:23 +0000 +Checked in by : Robert OSFIELD +Fixed handling of space after = in options set up. -2008-10-06 08:58 robert +Wed, 13 May 2009 08:40:10 +0000 +Checked in by : Robert OSFIELD +Rearranged static SDL callback so that it's after the SDL.h header. - * Converted tabs to four spaces +Wed, 13 May 2009 08:33:55 +0000 +Checked in by : Robert OSFIELD +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." -2008-10-06 08:53 robert - * Ran dos2unix on headers -2008-10-06 08:53 robert +Tue, 12 May 2009 16:26:07 +0000 +Checked in by : Robert OSFIELD +Removed SDL header - * Ran dos2unix on new shadow implemenations +Tue, 12 May 2009 13:24:08 +0000 +Checked in by : Robert OSFIELD +Re-ordered SDL class to try and avoid OSX issues with _main. -2008-10-06 08:48 robert +Tue, 12 May 2009 12:27:54 +0000 +Checked in by : Robert OSFIELD +Attempt to fix OSX missing _main symbol error - * 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()." +Tue, 12 May 2009 11:54:50 +0000 +Checked in by : Cedric Pinson +from Maciej Krol:\nFixes for OSG_USE_PTR_IMPLICIT_OUTPUT_CONVERSION = OFF -2008-10-03 16:57 robert +Tue, 12 May 2009 10:45:44 +0000 +Checked in by : Robert OSFIELD +From Fajran Iman Rusadi, fixed error in window index management when children add insert or removed. - * Added include to take advantage of - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION +Tue, 12 May 2009 08:56:45 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project to reflect current trunk -2008-10-03 15:36 robert +Tue, 12 May 2009 05:58:31 +0000 +Checked in by : Robert OSFIELD +Added return to end of file to prevent warning - * Moved the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION definition - into the Config.in rather use of -D define +Tue, 12 May 2009 05:49:36 +0000 +Checked in by : Robert OSFIELD +Moved getAttributeVec into public: to allow 3rd party code to access without having to subclass -2008-10-03 15:15 robert +Mon, 11 May 2009 16:38:59 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Mon, 11 May 2009 16:38:40 +0000 +Checked in by : Robert OSFIELD +Moved ReadFile/WriteFile/FindFile/FileLocationCallbacks from include/osg/Options into their own Callbacks header/source file. -2008-10-03 15:15 robert +Mon, 11 May 2009 14:11:35 +0000 +Checked in by : Robert OSFIELD +Commented out debug messages - * 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. +Mon, 11 May 2009 13:03:20 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project to reflect current trunk -2008-10-03 15:13 robert +Mon, 11 May 2009 11:39:12 +0000 +Checked in by : Robert OSFIELD +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. - * 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. +Introduced support for assigning ReaderWriter::Options directory to PagedLOD. -2008-10-03 13:38 robert +Introduced new osgDB::FileLocationCallback for assistancing the DatabasePager to know when a file is hosted on a local or remote file system. - * Compile fix required when using ref_ptr<> implicit output - conversion -2008-10-03 13:34 robert - * 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 +Mon, 11 May 2009 11:08:16 +0000 +Checked in by : Robert OSFIELD +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 - * From Bryan Thrall, fixed typos in exception strings. +Sat, 9 May 2009 08:54:38 +0000 +Checked in by : Robert OSFIELD +Moved Options copy constructor to .cpp -2008-10-03 11:02 robert +Sat, 9 May 2009 08:49:27 +0000 +Checked in by : Robert OSFIELD +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. - * 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 - - * 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 - - * 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 - - * From Stephan Huber, removed now redundent setEventQueue method - -2008-10-03 09:02 robert - - * 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 - - * 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 - - * Added missing dirtyBound() calls - -2008-10-02 15:45 robert - - * Various improvements to the dicom loader to be able to handle a - broader range of dicom files - -2008-09-29 18:30 robert +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 - * Updated shaders -2008-09-29 17:00 robert - * Improved the dicom plugins handling of different slice positions -2008-09-29 13:22 robert +Fri, 8 May 2009 12:53:11 +0000 +Checked in by : Robert OSFIELD +Removed redudent check against frustum.getCurrentMask() - * Turned off the yaw mode on the FlightManipilator to make it - easier to navigate in volumes +Fri, 8 May 2009 12:38:05 +0000 +Checked in by : Robert OSFIELD +Changed 0 initializer to InheritCursor -2008-09-29 11:00 robert +Fri, 8 May 2009 12:34:06 +0000 +Checked in by : Robert OSFIELD +Added osgGA and osgText to dependency list - * From Mathieu Marache, support for CDash +Fri, 8 May 2009 12:32:00 +0000 +Checked in by : Robert OSFIELD +Added osgText dependency -2008-09-29 10:59 robert +Fri, 8 May 2009 09:29:40 +0000 +Checked in by : Robert OSFIELD +Cleaned up set up of SDL. - * 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. - - " +Fri, 8 May 2009 08:34:32 +0000 +Checked in by : Robert OSFIELD +Added support for pushing handling relative paths set internally in the presentation file.Added setting of env vars defined in presentation file. -2008-09-29 10:56 robert - * Added support for using ImageSequence to animate volumes -2008-09-28 15:16 robert - * Improved the isosurface shaders, and mde GLSL usage the default +Fri, 8 May 2009 07:50:09 +0000 +Checked in by : Robert OSFIELD +Fixed unitialized variable -2008-09-26 15:47 robert +Fri, 8 May 2009 07:46:46 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, changed the timing control for when no audio layer is supplied. - * Improved GLSL isosurface support when using a transfer function +Thu, 7 May 2009 18:32:36 +0000 +Checked in by : Robert OSFIELD +Moved property code from ImageLayer into Layer where it belongs -2008-09-26 14:50 robert +Thu, 7 May 2009 18:30:33 +0000 +Checked in by : Robert OSFIELD +Changed setting of stack back assigned to push_back to fix bug with cull mask management. - * Added setting of various filters and - setResizeNonPowerOfTwoHint(false) on normals maps etc. +Thu, 7 May 2009 14:53:21 +0000 +Checked in by : Robert OSFIELD +Fixed handling of resize of ABSOLUTE_RF slave cameras -2008-09-26 13:51 robert +Thu, 7 May 2009 13:30:54 +0000 +Checked in by : Robert OSFIELD +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 : - * Added docs for read-threads command line options +- 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." -2008-09-26 13:51 robert +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" - * 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 -2008-09-26 11:29 robert - * Added --isosurface and --mip paths into osgvolume example, and - added associted shaders -2008-09-26 11:19 robert +Thu, 7 May 2009 13:23:35 +0000 +Checked in by : Robert OSFIELD +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. +" - * From Mathias Froehlich, "for the rand functions stdlib.h is - required ..." -2008-09-26 10:59 robert - * 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." +Thu, 7 May 2009 13:21:05 +0000 +Checked in by : Robert OSFIELD +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 ..." -2008-09-26 10:43 robert +Thu, 7 May 2009 13:15:19 +0000 +Checked in by : Robert OSFIELD +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. - * 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." +//------------- 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()); + } +} +" -2008-09-25 15:20 robert - * From Mathieu Marache, added support for CDash -2008-09-25 15:19 robert +Thu, 7 May 2009 12:55:07 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, added VisualStidio specific option for disabling iterator checking. - * Removed unused methods +Thu, 7 May 2009 09:40:43 +0000 +Checked in by : Robert OSFIELD +Fixed typo of POPPLER_LIBRARY_DIRS -2008-09-25 15:04 robert +Thu, 7 May 2009 09:16:50 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project to reflect current trunk - * Updated wrappers +Thu, 7 May 2009 09:07:34 +0000 +Checked in by : Robert OSFIELD +Added support for osgVolume::TransferFunctionProperty -2008-09-25 14:41 robert +Wed, 6 May 2009 13:47:08 +0000 +Checked in by : Robert OSFIELD +Added .ive reading/writing support for osgVolume::Property classes - * Added osg2cpp example into build +Tue, 5 May 2009 18:34:44 +0000 +Checked in by : Robert OSFIELD +Added initial cut at support for osgVolume in .ive format. -2008-09-25 14:41 robert +Tue, 5 May 2009 12:46:06 +0000 +Checked in by : Robert OSFIELD +Changed debug message from NOTICE to INFO - * Added convinience methods for parse shader source files +Tue, 5 May 2009 12:18:24 +0000 +Checked in by : Robert OSFIELD +Fixed support for reading imagery relative to the .osg being loaded -2008-09-25 14:39 robert +Tue, 5 May 2009 11:05:17 +0000 +Checked in by : Robert OSFIELD +Added checks to prevent crash when no imagery is applied - * 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, 5 May 2009 11:03:57 +0000 +Checked in by : Robert OSFIELD +Added checks to prevent crashes when no imagery is assigend to volume -2008-09-25 14:39 robert +Tue, 5 May 2009 10:27:59 +0000 +Checked in by : Robert OSFIELD +Added selection of first slide - * Moved shaders into .cpp, with the shaders created by the new - osg2cpp utility +Sun, 3 May 2009 18:51:13 +0000 +Checked in by : Robert OSFIELD +Warning fixes -2008-09-25 10:21 robert +Sat, 2 May 2009 07:50:37 +0000 +Checked in by : Robert OSFIELD +Warning fixes - * Added .vert and .frag to list of accepted extension in the GLSL - plugin +Fri, 1 May 2009 10:24:51 +0000 +Checked in by : Robert OSFIELD +Added export for windows build -2008-09-24 16:03 robert +Fri, 1 May 2009 08:49:19 +0000 +Checked in by : Robert OSFIELD +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 - * From Jean-Sebastian Guay, fixed windows build -2008-09-24 16:00 robert - * From Riccardo Corsi, Added 3gp file extension to supported list - in quicktime plugin +#define OSGDB_WINDOWS_FUNCT_STRING(x) L ## #x L"W" -2008-09-24 15:59 robert - * Added 3gp extension alias for quicktime -2008-09-24 10:45 robert +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? - * Added shader based transfer function, enabled via --gpu-tf -2008-09-24 10:20 robert - * Fixed transfer function parsing +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." -2008-09-23 17:29 robert - * Added mutex usage to protect access to plugin and readerwriter - containers -2008-09-23 15:41 robert - * Added "serialize" and plugin "preload" options in the - "read-threads" code path. -2008-09-23 13:58 robert - * Added read-threads command line and read thread test - back end +Fri, 1 May 2009 08:20:26 +0000 +Checked in by : Robert OSFIELD +Fixed warning + bug -2008-09-23 09:59 robert +Fri, 1 May 2009 08:10:56 +0000 +Checked in by : Robert OSFIELD +Added ws2_32 dependency - * From Wojciech Lweandowski, added support for noew LispSM shadow - technique (use --lispsm on CmdLine) and added IslandScene - database (use -4 on CmdLine). +Thu, 30 Apr 2009 13:13:19 +0000 +Checked in by : Robert OSFIELD +Added check against the validity of ViewerBase to make sure that a null pointer isn't dereferenced. -2008-09-22 17:24 robert +Thu, 30 Apr 2009 08:50:43 +0000 +Checked in by : Robert OSFIELD +Added support for reading from streams - * Added support for reading raw data and transfer function from a - volume header +Thu, 30 Apr 2009 08:27:07 +0000 +Checked in by : Robert OSFIELD +Build fixes -2008-09-22 16:18 robert +Wed, 29 Apr 2009 20:55:48 +0000 +Checked in by : Robert OSFIELD +Re-instated the code to allow event handler to run in standard viewers like osgviewer - * Added --page-and-discard, --page-and-retain, --preload and - --length command line options +Wed, 29 Apr 2009 20:30:21 +0000 +Checked in by : Robert OSFIELD +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. -2008-09-22 16:17 robert - * Fixed typo -2008-09-22 15:56 robert - * Added stats handler +Tue, 28 Apr 2009 15:50:05 +0000 +Checked in by : Robert OSFIELD +Added osgFX to dependencies -2008-09-22 15:01 robert +Tue, 28 Apr 2009 15:48:56 +0000 +Checked in by : Robert OSFIELD +Added osgViewer as a dependency - * From Ulrich Hertlein, fixes for OSX build +Tue, 28 Apr 2009 14:26:13 +0000 +Checked in by : Robert OSFIELD +Enabled blending to all but iso surface shader.Changed the alpha value of the iso surface colour to 1.0 -2008-09-22 14:58 robert - * Changed OSG_DEBUG_POSTFIX to use ADDQUOTES in the .cpp rather - than trying to add quotes via CMakeLists.txt -2008-09-22 14:55 robert +Tue, 28 Apr 2009 14:03:02 +0000 +Checked in by : Robert OSFIELD +Reorganised placement of classes associated with scene graph.Warning clean up. - * From Ralf Habacker and Robert Osfield, added search for plugins - with OS specific file plugin extensions -2008-09-22 14:46 robert - * Added getExtensionIncludingDot to provide more efficient handling - of extensions +Tue, 28 Apr 2009 11:57:51 +0000 +Checked in by : Robert OSFIELD +Moved present3D from own repository into core OSG. -2008-09-22 13:16 robert +Mon, 27 Apr 2009 16:32:24 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Changed the macro usage so that the quotes are now added inside - the .cpp +Mon, 27 Apr 2009 15:45:52 +0000 +Checked in by : Robert OSFIELD +Added detection of active alpha channel. -2008-09-22 11:13 robert +Mon, 27 Apr 2009 13:54:22 +0000 +Checked in by : Robert OSFIELD +Further improvements in p3d plugin - * Added readNode implementation that creates an osgVolume::Volume - for the specified dicom file. +Mon, 27 Apr 2009 11:02:18 +0000 +Checked in by : Robert OSFIELD +Introduced first cut of Present3D integration with the core OSG with the introduction of a .p3d plugin. -2008-09-21 11:12 robert +Mon, 27 Apr 2009 06:26:41 +0000 +Checked in by : Robert OSFIELD +Attempt to fix mingw warnings - * Added Volume wrappers, and updated terrain wrappers +Sat, 25 Apr 2009 21:44:38 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-09-21 11:05 robert +Fri, 24 Apr 2009 20:37:33 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS for 2.9.4 dev release - * Create initial class placeholders for main volume rendering - classes +Fri, 24 Apr 2009 20:14:42 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-09-20 15:43 robert +Fri, 24 Apr 2009 18:37:36 +0000 +Checked in by : Robert OSFIELD +Added checking of need to update. - * Change TileID::layer to TileID::level +Fri, 24 Apr 2009 17:51:23 +0000 +Checked in by : Robert OSFIELD +Added suggestion of IntersectionVisitor instead. -2008-09-20 10:34 robert +Fri, 24 Apr 2009 17:49:34 +0000 +Checked in by : Robert OSFIELD +Changed doxygen docs to say deprecated - * From Chris Denham, changed gluGetErrorString to using - osg::State::checkGLErrors() to avoid null pointer dereference +Fri, 24 Apr 2009 16:20:50 +0000 +Checked in by : Robert OSFIELD +Introduce new run frame rate management support to allow control of maximum frame rate and to support on demand rendering of frames -2008-09-20 10:09 robert +Fri, 24 Apr 2009 11:53:01 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * From Mathias Froehlich, added catch for GL_COLOR_MATERIAL mode - being set. +Fri, 24 Apr 2009 11:23:33 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-09-20 10:05 robert +Fri, 24 Apr 2009 11:01:00 +0000 +Checked in by : Robert OSFIELD +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." - * 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." +Fri, 24 Apr 2009 10:54:50 +0000 +Checked in by : Robert OSFIELD +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)." -2008-09-19 19:51 robert - * Added wrapper support for new osgShadow classes -2008-09-19 19:51 robert +Fri, 24 Apr 2009 09:07:22 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, Changed osg::TextureRectangle to use osg::Texutre::applyTexParameters() to take advantage of texture shadow extension settings for texture rectangle - * 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. +Thu, 23 Apr 2009 13:42:24 +0000 +Checked in by : Robert OSFIELD +Warning fixes -2008-09-19 12:49 robert +Thu, 23 Apr 2009 10:24:27 +0000 +Checked in by : Robert OSFIELD +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. - * From Mathias Froehlich, added support for search in the installed - directories for plugins +Thu, 23 Apr 2009 10:23:20 +0000 +Checked in by : Robert OSFIELD +Removed specific ATI path in PolygonOffset as it doesn't look to be neccessary with present ATI hardware/drivers -2008-09-19 08:16 robert +Wed, 22 Apr 2009 18:22:22 +0000 +Checked in by : Robert OSFIELD +Quitened down warnings generated by ffmpeg headers by remove -pedantic from CMAKE_CXX_FLAGS - * From Richard Schmidt, fixed the handling of user data so that it - uses ref_ptr<> to avoid data getting deleted. +Wed, 22 Apr 2009 16:50:50 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-09-18 16:48 robert +Wed, 22 Apr 2009 16:47:07 +0000 +Checked in by : Robert OSFIELD +Warning fixes - * Updated ChangeLog +Wed, 22 Apr 2009 16:42:16 +0000 +Checked in by : Robert OSFIELD +Warning fixes -2008-09-18 16:03 robert +Wed, 22 Apr 2009 16:41:58 +0000 +Checked in by : Robert OSFIELD +Warning fix - * Added Serializer wrappers +Wed, 22 Apr 2009 16:33:24 +0000 +Checked in by : Robert OSFIELD +Updated version numbers in prep for 2.9.4 dev release -2008-09-18 15:50 robert +Wed, 22 Apr 2009 15:46:24 +0000 +Checked in by : Robert OSFIELD +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. - * Moved Serializer header from VPB into osgDB. -2008-09-18 15:44 robert - * Updated wrappers +Wed, 22 Apr 2009 13:50:31 +0000 +Checked in by : Robert OSFIELD +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'." -2008-09-18 15:18 robert +Wed, 22 Apr 2009 13:09:33 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, "fix for failing collada builds on osx due to not being able to stringstreamify osg::Vec3 without io_utils included." - * refactored the getWindows(..) and getContexts(..) methods so that - they produce - consistent ordering based on the order Camera/slave camera - ordering. +Wed, 22 Apr 2009 13:07:02 +0000 +Checked in by : Robert OSFIELD +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. " -2008-09-18 15:16 robert +Wed, 22 Apr 2009 12:52:22 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, spelling and grammer fixes - * From Mathias Froehlich, "Attached one namespace/scope lookup - problem which shows up on irix." +Wed, 22 Apr 2009 11:22:08 +0000 +Checked in by : Robert OSFIELD +Added hand cursor implementation -2008-09-18 14:48 robert +Wed, 22 Apr 2009 11:20:19 +0000 +Checked in by : Robert OSFIELD +From Neil Hughes, "Please find attached two files that I've amended to add the IDC_HAND cursor for the windows platform." - * 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 - - * Updated wrappers - -2008-09-18 13:54 robert - - * From Alan Dickinson, change methods to virtual. - -2008-09-18 13:18 robert - - * From John Argentieri, added missing _stripTextureFilePath( false - ) initializer. - -2008-09-18 13:09 robert - - * From Chris Denham, added missing ccopy of polyOffset in copy - constructor - -2008-09-18 13:05 robert - - * 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 - - * 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 - - * From Robert Osfield and Christophe Loustaunau, fixes for support - for 16bit and 32bit tiff images - -2008-09-18 10:52 robert - - * 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 - - * 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 - - * 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 - - * Improved the constness of parameters the - Node::getWorldMatrices(..) method. - - Added Drawable::getWorldMatrices(const Node*) method. - -2008-09-17 20:02 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2008-09-17 16:14 robert - - * 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 ... - " +Wed, 22 Apr 2009 11:12:03 +0000 +Checked in by : Robert OSFIELD +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 -2008-09-17 14:23 robert +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. - * Updated osgwidget examples to use the new osg::clone() methods +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. -2008-09-17 14:23 robert +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.)" - * Updated wrappers of osgWidget -2008-09-17 14:21 robert - * Tweaks to facilitate osgWrapper build +Wed, 22 Apr 2009 11:00:20 +0000 +Checked in by : Robert OSFIELD +From Eduardo Alberto Hernández Muñoz, change to using TexGenNode for setting up tex coordinates -2008-09-17 14:21 robert +Wed, 22 Apr 2009 10:54:11 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Looks like the people who created these two examples were a bit careless with cut and paste." - * Introduce new templated clone(..) methods that return the correct - type of object cloned. +Wed, 22 Apr 2009 10:47:44 +0000 +Checked in by : Robert OSFIELD +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." -2008-09-17 11:43 robert +Wed, 22 Apr 2009 10:46:12 +0000 +Checked in by : Robert OSFIELD +Changed parameter for T* to const T*. - * Added support for finding DCMTK-3.5.4 installed lib/include - placement +Tue, 21 Apr 2009 14:27:34 +0000 +Checked in by : Robert OSFIELD +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." -2008-09-16 18:41 robert +Tue, 21 Apr 2009 14:15:03 +0000 +Checked in by : Robert OSFIELD +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." - * Added osgVolume to docs and wrappers +Tue, 21 Apr 2009 12:02:15 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-09-16 15:32 robert +Tue, 21 Apr 2009 11:48:08 +0000 +Checked in by : Robert OSFIELD +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." - * Introduced beginings of osgVolume NodeKit. +Tue, 21 Apr 2009 10:46:45 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, "Fixed case of morphTarget argument in Doxygen comments." -2008-09-16 15:31 robert +Tue, 21 Apr 2009 10:13:19 +0000 +Checked in by : Robert OSFIELD +Fixed handling of case of no graphics contexts being assigned - * Complted the first pass at the DCMTK based dicom loader +Mon, 20 Apr 2009 19:05:59 +0000 +Checked in by : Robert OSFIELD +Removed #ifdef WIN32 around #include to fix build under Mandrake build. -2008-09-16 09:31 robert +Fri, 17 Apr 2009 14:15:50 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: small fix for Xcode-project / 32bit Carbon target - * Change the GLSL textureRec and texture2D parameters to use .st to - make sure they only use 2D coords. - - Add setResizeNonPowerOfTwoHint to false for Texture2D. +Mon, 13 Apr 2009 12:26:23 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project so it builds the curl-plugin -2008-09-15 19:59 robert +Mon, 13 Apr 2009 09:41:22 +0000 +Checked in by : Robert OSFIELD +Replaced #idef WIN32 with _MSC_VER to try and fix build errors under mingw - * Added optional usage of DCMTK in the dicom plugin +Mon, 13 Apr 2009 09:35:52 +0000 +Checked in by : Robert OSFIELD +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. " -2008-09-15 11:27 robert +Sun, 12 Apr 2009 18:54:07 +0000 +Checked in by : Robert OSFIELD +Fixed ChangeLog generation so that it only includes svn/trunk or relevant branch rather than whole svn repository.Updated ChangeLog - * From Ralf Habacker, removed redundent SwitchLayer::clear() -2008-09-14 10:31 robert - * Introduced Geometry::containsSharedArrays() and - Geometry::duplicateSharedArrays() to - support a fix to the osgUtil::Simplifier that couldn't handle - shared arrays +Sat, 11 Apr 2009 07:12:54 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS for 2.9.3 dev release -2008-09-13 13:38 robert +Sat, 11 Apr 2009 06:25:28 +0000 +Checked in by : Robert OSFIELD +updated wrappers - * Added reading of whole directories of images +Sat, 11 Apr 2009 06:16:37 +0000 +Checked in by : Robert OSFIELD +From Jean Sebastien Guay, added error reporting handling of wider range of video formats. -2008-09-13 09:09 robert +Fri, 10 Apr 2009 15:30:02 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, remove unsused method in Bone class\nadd namespace osgAnimation for Timeline constructors\nadd OSGANIMATION_EXPORT on VertexInfluence and Timeline class - * Introduced TransferFunction1D::assign(ValueMap&). +Fri, 10 Apr 2009 14:11:38 +0000 +Checked in by : Robert OSFIELD +Added VS checks around code block from Mark Sciabica that broke the mingw build -2008-09-12 15:41 robert +Fri, 10 Apr 2009 11:19:34 +0000 +Checked in by : Robert OSFIELD +Fixed build error by replacing M_PI with osg::PI. - * Removed use of ints and reading from gl_FragColor in shader +Fri, 10 Apr 2009 11:00:54 +0000 +Checked in by : Robert OSFIELD +Updated version info for 2.9.3 dev release, fixed typo and updated wrappers -2008-09-11 16:11 robert +Fri, 10 Apr 2009 10:07:13 +0000 +Checked in by : Robert OSFIELD +Added typedef and updated wrappers - * Updated version numbers in prep for up comming dev release +Fri, 10 Apr 2009 09:56:04 +0000 +Checked in by : Robert OSFIELD +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) ." -2008-09-11 16:06 robert +Fri, 10 Apr 2009 09:37:44 +0000 +Checked in by : Robert OSFIELD +From J.P. Delport, tweak to fix spelling and grammer - * Added an svn update into the make ChangeLog entry. +Fri, 10 Apr 2009 09:16:37 +0000 +Checked in by : Robert OSFIELD +From Santosh Gaikwad, warning fixes -2008-09-11 16:01 robert +Thu, 9 Apr 2009 18:27:11 +0000 +Checked in by : Robert OSFIELD +Added ply entry - * Updated wrappers +Thu, 9 Apr 2009 18:26:04 +0000 +Checked in by : Robert OSFIELD +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." -2008-09-11 14:28 robert +"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 - * Refinements to SwitchLayer and WhiteListTileLoadedCallback +"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." -2008-09-11 14:27 robert +so I think using these files in OSG should not be a problem. - * Added support for SwitchLayer into GeometryTechnique +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." -2008-09-11 13:21 robert - * Introduced osgTerrain::WhiteListTileLoadedCallback for the - management of options terrain layers -2008-09-11 10:40 robert - * First cut of WhiteListTileLoadedCallback +Thu, 9 Apr 2009 16:40:22 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project to reflect current trunk -2008-09-11 09:26 robert +Thu, 9 Apr 2009 16:31:31 +0000 +Checked in by : Robert OSFIELD +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. - * Changed the createGeodeFromImage code to use the non power of two - extension, and disabled mipmapping -2008-09-11 09:05 robert - * Added support for reading source image file names from the - command line. -2008-09-10 18:11 robert +Thu, 9 Apr 2009 15:56:04 +0000 +Checked in by : Robert OSFIELD +From Mattias Helsing, "" * Use the CPack ZIP generator on windows (WIN32) * Reformatted according to Philip Lowman's recent submissions" - * Introduced TerrainTile::TileLoadedCallback +Thu, 9 Apr 2009 15:55:18 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-09-10 16:17 robert +Thu, 9 Apr 2009 15:34:06 +0000 +Checked in by : Robert OSFIELD +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." - * Removed unneccessary compound name usage +Thu, 9 Apr 2009 15:33:28 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces -2008-09-10 11:38 robert +Thu, 9 Apr 2009 14:41:11 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, typo fix - * Removed debugging output +Thu, 9 Apr 2009 14:38:29 +0000 +Checked in by : Robert OSFIELD +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. -2008-09-10 11:28 robert +(another instance where if the ShapeDrawable had just been osg::Geometry, there wouldn't have been a problem... :-) ) - * 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. +I also fixed a small typo in the file in two places ("implementated" --> "implemented")." -2008-09-10 11:27 robert - * 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 Apr 2009 14:31:15 +0000 +Checked in by : Robert OSFIELD +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. " - * Added playing of the imagesequence on creation of the - imagesequence +Thu, 9 Apr 2009 14:25:14 +0000 +Checked in by : Robert OSFIELD +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." -2008-09-10 11:26 robert - * 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. -2008-09-04 17:30 robert +Thu, 9 Apr 2009 14:00:16 +0000 +Checked in by : Robert OSFIELD +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. - * Fix for when looping is is disabled +There are two new osgDB::Registry functions which are pretty self-explanatory: -2008-09-04 14:23 shuber +void addMimeTypeExtensionMapping( mime-type, extension ) +ReaderWriter* getReaderWriterForMimeType( mime-type ) - * From Stephan Huber: updated XCode-project +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. -2008-09-02 16:13 robert +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. - * Added acceptance of .ogv extensions in xine-lib plugin +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" +" -2008-09-02 12:55 robert - * Added setSetName/getSetName() methods -2008-09-01 16:28 robert +Thu, 9 Apr 2009 09:25:34 +0000 +Checked in by : Robert OSFIELD +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 - * Update ChangeLog +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. -2008-09-01 15:29 robert +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." - * Replaced uint with unsigned int -2008-09-01 15:27 robert - * Introduced a OSG_MAINTAINER section of cmake build to help - support making tags and branches +Thu, 9 Apr 2009 09:23:45 +0000 +Checked in by : Robert OSFIELD +From Philip Lowman, clean up of CMake files -2008-09-01 14:05 robert +Wed, 8 Apr 2009 14:16:09 +0000 +Checked in by : Robert OSFIELD +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. " - * Updated wrappers +Wed, 8 Apr 2009 14:08:16 +0000 +Checked in by : Robert OSFIELD +From Cory Riddell, fix for aspect ratio -2008-09-01 14:03 robert +Wed, 8 Apr 2009 14:06:29 +0000 +Checked in by : Robert OSFIELD +From James Killian, "refactored the management of the object cache enabling/disabling" - * Changed curr and min to current and minimum respectively, to - avoid compile problems under Windows +Wed, 8 Apr 2009 13:40:40 +0000 +Checked in by : Robert OSFIELD +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." -2008-09-01 12:40 robert +Wed, 8 Apr 2009 13:21:59 +0000 +Checked in by : Robert OSFIELD +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.0It adds two options: - * 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 +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. -2008-09-01 12:39 robert +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 :-)" - * From John Vidar Larring, initial cut of .ive support for - ShapeAttributeList user data -2008-09-01 11:09 robert - * Updated version for 2.7.2 dev release +Wed, 8 Apr 2009 13:16:44 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowky, ""Running" was spelled "Ruinning", which is hardly the same." -2008-09-01 10:49 robert +Wed, 8 Apr 2009 13:11:27 +0000 +Checked in by : Robert OSFIELD +From Marc Sciabica, made searching of the install path for plugins option, and added the dll path to the search path under Windows - * Updated wrappers +Wed, 8 Apr 2009 13:03:34 +0000 +Checked in by : Robert OSFIELD +Reduced the default live video feed size to accomodate reading from the Minoru stereo wecam. -2008-09-01 10:48 robert +Wed, 8 Apr 2009 12:32:52 +0000 +Checked in by : Robert OSFIELD +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." - * Added call to free in setValue methods to prevent potential - memory leak +Wed, 8 Apr 2009 10:48:22 +0000 +Checked in by : Robert OSFIELD +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. -2008-09-01 10:46 robert +I fixed the problem by assigning the Geode's stateset to the new parent group. - * From Mathias Froehilch,"Current include/osgSim/ShapeAttribute - also misses string.h include because of - strdup. - Attached is the changed file." +To replicate the bug, see attached osg/dds files: -2008-09-01 10:22 robert +osgviewer b.osg -- model renders correctly +set OSG_OPTIMIZER="SPATIALIZE_GROUPS" +osgviewer b.osg -- textures are missing." - * 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 - * Removed std:: from in front of strcmp and added a string.h +Wed, 8 Apr 2009 10:44:37 +0000 +Checked in by : Robert OSFIELD +From Aric Aumann, added options for controlling the swap of the left/right handed coordinate system -2008-09-01 10:06 robert +Wed, 8 Apr 2009 10:32:19 +0000 +Checked in by : Robert OSFIELD +From Martin Beckett, added mouse wheel support - * 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. - " +Tue, 7 Apr 2009 10:13:54 +0000 +Checked in by : Robert OSFIELD +Added better handling of use of VBO's in compileGLObjects() -2008-09-01 09:57 robert +Tue, 7 Apr 2009 10:12:59 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Build fixes for Windows +Tue, 7 Apr 2009 08:43:57 +0000 +Checked in by : Stephan Maximilian HUBER +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. -2008-08-29 09:28 robert +Tue, 7 Apr 2009 08:40:49 +0000 +Checked in by : Cedric Pinson +From Serge Lages, Elastic added to EaseMotion - * Added CompositeLayer::addLayer(setname,filename) convinience - function +Mon, 6 Apr 2009 12:28:02 +0000 +Checked in by : Robert OSFIELD +Added disabling of mipmapping for non power of two textures -2008-08-29 09:26 robert +Mon, 6 Apr 2009 11:22:31 +0000 +Checked in by : Robert OSFIELD +Added check against null colour layer to prevent a crash when a null colour layer is assigned - * From Michael Guerrero, "I've attached the files with the new - addition of the "registered = true" - flag set." +Fri, 3 Apr 2009 10:47:59 +0000 +Checked in by : Robert OSFIELD +Displayed display lists to prevent frame drops when compiling large geometry tiles -2008-08-28 16:15 robert +Fri, 3 Apr 2009 09:54:15 +0000 +Checked in by : Robert OSFIELD +Tweaks to shader to fix warnings on with ATI drivers - * 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. +Thu, 2 Apr 2009 08:44:08 +0000 +Checked in by : Robert OSFIELD +Added OSG_MULTI_SAMPLES env var for setting the default DisplaySettings NumMultiSamples value -2008-08-28 09:43 robert +Mon, 30 Mar 2009 09:55:40 +0000 +Checked in by : Robert OSFIELD +Added shader to convert images into greyscale when rendering in anaglyphic - * Converted AutoTransform to use doubles. +Thu, 26 Mar 2009 17:24:28 +0000 +Checked in by : Robert OSFIELD +Added osgtexturecompression example to demonstate the quality difference between different compression techniques. -2008-08-27 10:13 robert +Wed, 25 Mar 2009 11:17:21 +0000 +Checked in by : Robert OSFIELD +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. - * Introduced SwitchLayer which will form the basis of provided - support for varients -2008-08-26 17:40 robert - * Improved the GLSL implementation. +Tue, 24 Mar 2009 23:25:30 +0000 +Checked in by : Robert OSFIELD +Added support for adding .ffmpeg to filenames to force selection of ffmpeg plugin -2008-08-26 12:55 robert +Tue, 24 Mar 2009 23:17:05 +0000 +Checked in by : Robert OSFIELD +Added support for image streams - * Added ChangeLog target for updating the ChangeLog, and updated - the ChangeLog and AUTHORS files +Tue, 24 Mar 2009 11:08:40 +0000 +Checked in by : Robert OSFIELD +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*)\u2019It expects 'src_pix_fmt' and 'dst_pix_fmt' to be of type 'PixelFormat' rather than int. The attached cast fixes this (for me). -2008-08-26 12:05 robert +I've also added Matroska video to the list of supported extensions" - * Added wrapper build target for generating the osgWrappers -2008-08-26 09:39 robert - * Added provisional block in computePositions() +Mon, 23 Mar 2009 20:47:18 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS.txt for 2.9.2 dev release -2008-08-26 08:41 robert +Mon, 23 Mar 2009 20:44:57 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 2.9.2 dev release - * From Ulrich Hertlein, attached is a small fix for a mismatched - function signature +Mon, 23 Mar 2009 20:25:51 +0000 +Checked in by : Robert OSFIELD +From Aric Aumann, fixed handling of null texture coordinates -2008-08-25 16:44 robert +Mon, 23 Mar 2009 17:08:58 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, You'll find attached a modification in ive plugin for POLYGONSTIPPLE read/write. - * 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 +Mon, 23 Mar 2009 16:45:10 +0000 +Checked in by : Robert OSFIELD +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" -2008-08-25 16:43 robert - * 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 +Mon, 23 Mar 2009 16:31:50 +0000 +Checked in by : Robert OSFIELD +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." - * From Liang Aibin, added support for : - osgFX::Effect - osgFX::AnisotropicLighting - osgFX::BumpMapping - osgFX::Cartoon - osgFX::Scribe - osgFX::SpecularHighlights. +Mon, 23 Mar 2009 16:28:48 +0000 +Checked in by : Robert OSFIELD +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." -2008-08-25 15:37 robert +Mon, 23 Mar 2009 16:25:37 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "Changed some pointers to ref_ptr which fixed the leak " - * From Liang Aibin, removed redundent spaces +Mon, 23 Mar 2009 16:21:51 +0000 +Checked in by : Robert OSFIELD +From Csaba Halasz, "I have removed some unnecessary semicolons that mingw build warns about." -2008-08-25 15:20 robert +Mon, 23 Mar 2009 16:15:55 +0000 +Checked in by : Robert OSFIELD +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. " - * 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. +Mon, 23 Mar 2009 16:13:42 +0000 +Checked in by : Robert OSFIELD +From Michale Platings, "Minor change to include ReaderWriterDAE.h" -2008-08-25 15:03 robert +Mon, 23 Mar 2009 16:11:41 +0000 +Checked in by : Robert OSFIELD +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" - * 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. +Mon, 23 Mar 2009 16:07:43 +0000 +Checked in by : Robert OSFIELD +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." -2008-08-25 14:59 robert - * 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 +Mon, 23 Mar 2009 16:05:42 +0000 +Checked in by : Robert OSFIELD +From Philip Lowman, "Mainly removing comments like "This file is automatically generated" (glad that never happened!)" - * 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 - - * Added testing of max texture size using a realize operation - -2008-08-25 10:38 robert - - * Added support for event handler for non shader path, enable alpha - func - -2008-08-25 10:38 robert - - * Removed debug info - -2008-08-25 10:20 robert - - * 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 - - * Added command line arguments to Viewer constructor, and added - meaningful error message when no 3d image is provided - -2008-08-22 16:39 robert - - * Introduced initial cut of a dicom loader, which uses ITK to do - the loading. - -2008-08-22 16:37 robert - - * Added warning message - -2008-08-22 16:35 robert - - * Added support for reading the image transform from UserData in - the form of a Matrix. - -2008-08-19 17:41 robert - - * Added checked against an empty _kdNodes list before commensing - with intersection - -2008-08-18 15:08 robert - - * Added --mip command line option which enables Maximum Intensity - Projection filtering - -2008-08-18 15:06 robert - - * Added .ive support for BlendEquation - -2008-08-18 14:49 robert - - * Added BlendEquation .osg support - -2008-08-18 12:39 robert - - * Updated AUTHORS file for 2.7.0 release - -2008-08-18 11:55 robert - - * Updated ChangeLog for 2.7.0 release - -2008-08-18 11:48 robert - - * Updated wrappers - -2008-08-18 11:21 robert - - * 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 - - * Ran fixtabs to enforce four space tabs - -2008-08-18 11:00 robert - - * 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 - - * Removed todo entry - -2008-08-17 16:52 robert - - * 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 - - * 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 - - * From Paul Palumbo, "Fixes a typo in coverage antialiasing code... - Without this fix, get incorrect antialiasing results. " - -2008-08-15 17:32 robert - - * 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 - - * Updated version numbers in prep for next dev release +Mon, 23 Mar 2009 16:01:02 +0000 +Checked in by : Robert OSFIELD +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. -2008-08-15 17:25 robert +IF(${OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX} STREQUAL "quicktime") +was changed to +IF(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX STREQUAL "quicktime") +" - * 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 - * Added support for geometry shader attributes +Mon, 23 Mar 2009 15:48:19 +0000 +Checked in by : Robert OSFIELD +From David Callu, clean up of FindFFmpeg include paths -2008-08-15 16:43 robert +Mon, 23 Mar 2009 15:47:01 +0000 +Checked in by : Robert OSFIELD +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." - * 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. +Mon, 23 Mar 2009 15:38:30 +0000 +Checked in by : Robert OSFIELD +Cleaned up interface -2008-08-15 16:21 robert +Mon, 23 Mar 2009 15:38:03 +0000 +Checked in by : Robert OSFIELD +Updated wrapper conf to avoid generating wrappers for PrintVisitor - * Changed osg::ImageSequence::set/getDuration to set/getLength() to - be in keeping with the - osg::ImageStream's getLength(). +Mon, 23 Mar 2009 15:21:31 +0000 +Checked in by : Robert OSFIELD +Bumped version numbers in prep for 2.7.2 dev release -2008-08-15 13:07 robert +Mon, 23 Mar 2009 15:10:36 +0000 +Checked in by : Robert OSFIELD +Added ShaderGen wrapper - * Fixed the name of _playToggle +Mon, 23 Mar 2009 15:04:33 +0000 +Checked in by : Robert OSFIELD +Removed PrintVisitor as it was causing problems with wrapper building. -2008-08-15 13:06 robert +Mon, 23 Mar 2009 13:51:46 +0000 +Checked in by : Robert OSFIELD +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." - * Updated wrappers +Mon, 23 Mar 2009 11:53:06 +0000 +Checked in by : Robert OSFIELD +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) -2008-08-15 12:45 robert +To view fixed function pipeline files and paged databases simply run >osgshadergen myfile.osg" - * Further work on osg::ImageSequence, improving pause - functionality, and introducing new seek(double time) method -2008-08-14 16:29 robert - * Added initial looping and pause play support +Thu, 19 Mar 2009 11:36:54 +0000 +Checked in by : Robert OSFIELD +UPdated wrappers -2008-08-14 16:28 robert +Thu, 19 Mar 2009 11:11:51 +0000 +Checked in by : Robert OSFIELD +Inroduced simple PrintVisitor class for helping debug scene graph structures - * Added event handler to toggling looping and play/pause +Thu, 19 Mar 2009 10:56:38 +0000 +Checked in by : Robert OSFIELD +Fixed spacing -2008-08-14 14:22 robert +Thu, 19 Mar 2009 10:55:51 +0000 +Checked in by : Robert OSFIELD +Added compressed to list of supported options - * Implemented a reference eye point and associated methods in - support of intersecting billboards +Thu, 19 Mar 2009 10:55:29 +0000 +Checked in by : Robert OSFIELD +Added debug message (commented out for now.) -2008-08-05 20:05 robert +Thu, 19 Mar 2009 10:27:24 +0000 +Checked in by : Robert OSFIELD +Added osgTerrain::Terrain support to the .osg format - * From Eric Sokolowski, added OSX release notes to READEME +Sat, 14 Mar 2009 15:40:41 +0000 +Checked in by : Robert OSFIELD +From Adrian Egli, build fix for Win32 FFmpeg -2008-08-05 20:05 robert +Fri, 13 Mar 2009 15:56:19 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, clean up of Quicktime plugin - * Added osgWidget to doc building +Fri, 13 Mar 2009 13:25:00 +0000 +Checked in by : Robert OSFIELD +Update AUTHORS file -2008-08-05 19:17 robert +Fri, 13 Mar 2009 11:56:16 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Improved the doxygen docs over the various namespaces +Fri, 13 Mar 2009 11:06:12 +0000 +Checked in by : Robert OSFIELD +Warning fixes -2008-08-05 16:05 robert +Fri, 13 Mar 2009 11:01:11 +0000 +Checked in by : Robert OSFIELD +Fixed for division by zero issue. - * From Eric Sokolowki, disabled default build of 64bit under OSX to - prevent build problems +Fri, 13 Mar 2009 10:40:00 +0000 +Checked in by : Robert OSFIELD +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 :) )." -2008-08-05 15:27 robert +Thu, 12 Mar 2009 17:54:58 +0000 +Checked in by : Robert OSFIELD +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}) - * Merged from OpenSceneGraph-2.6 branch +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. -2008-08-05 15:11 robert +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." - * Added NullStream class that automatically creates and delete the - NullStreamBuffer, thus fixing a memory leak -2008-08-05 15:06 robert - * 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" +Thu, 12 Mar 2009 17:47:50 +0000 +Checked in by : Robert OSFIELD +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." -2008-08-05 11:17 robert - * 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 +Thu, 12 Mar 2009 17:26:21 +0000 +Checked in by : Robert OSFIELD +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. - * Added -losgWidget to the list of libs +Thu, 12 Mar 2009 17:12:48 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-08-04 17:08 robert +Thu, 12 Mar 2009 15:21:04 +0000 +Checked in by : Robert OSFIELD +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 - * 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 - * Updated AUTHORS file +Thu, 12 Mar 2009 15:18:51 +0000 +Checked in by : Robert OSFIELD +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. -2008-08-04 15:08 robert +Thu, 12 Mar 2009 10:12:42 +0000 +Checked in by : Robert OSFIELD +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." - * Updated ChangeLog -2008-08-04 15:08 robert - * Updated news for 2.6.0 release rc2 +Wed, 11 Mar 2009 18:13:58 +0000 +Checked in by : Robert OSFIELD +Changed audio playing so that it only happens for a single movie to avoid problems with audio stalling. -2008-08-04 14:01 robert +Wed, 11 Mar 2009 17:57:33 +0000 +Checked in by : Robert OSFIELD +Added docs on getPixelAspectRatio and corrected usage of getPixelAspection in osgmovie.cpp - * From Philip Lowman, workaround of Centos 5's missing definition - of GL_MAX_SAMPLES_EXT. +Wed, 11 Mar 2009 17:39:08 +0000 +Checked in by : Robert OSFIELD +changed debug info to output to INFO instaed of NOTICE. -2008-08-04 12:47 robert +Wed, 11 Mar 2009 15:43:13 +0000 +Checked in by : Robert OSFIELD +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 - * Moved initial drawable setup to within the mutex locked section - to avoid multi-threaded crash on startup. +Wed, 11 Mar 2009 15:12:46 +0000 +Checked in by : Robert OSFIELD +From Tanguy Fautre,Clean up of the FFmpeg plugin's class API/AudioStream API. +Implementation of isImageTransparent(). +Implementation of Image:g/setPixelAspectRatio() -2008-08-04 12:27 robert - * Removed debug info -2008-08-04 09:05 robert - * 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!"" +Wed, 11 Mar 2009 14:18:30 +0000 +Checked in by : Robert OSFIELD +Added View::removeEventHandler(..) method and added check into addEventHandler() to prevent handlers being added twice. -2008-08-04 08:45 robert +Wed, 11 Mar 2009 14:08:43 +0000 +Checked in by : Robert OSFIELD +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 patch1. Makes IF/ELSE/ENDIF code blocks easier to read by replacing code like this: - * Added a small epsilon expansion of the bounding box being - clipped/intersected against, to avoid numberic errors causing - problems. +IF(FOO) + MESSAGE("FOO is true") +ELSE(FOO) + MESSAGE(" ??? ELSE(FOO)??? ") +ENDIF(FOO) -2008-08-03 20:35 robert +with this: - * Improved the terrain intersection code so that it produces more - stable terrain movements. +IF(FOO) + MESSAGE("FOO is true") +ELSE() + MESSAGE("FOO is clearly false") +ENDIF() -2008-08-03 16:57 robert +2. Also adds an ELSEIF() where it makes sense to do so (safe to use as of CMake 2.4.4)" - * 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 - . -2008-08-03 16:48 robert - * Moved bb expansion out of loop. +Wed, 11 Mar 2009 13:27:51 +0000 +Checked in by : Robert OSFIELD +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. -2008-07-25 21:09 robert +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. - * Updated ChangeLog and AUTHORS.txt file for relese candidate +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. -2008-07-25 21:01 robert +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." - * Updated version numbers to 2.6.0 -2008-07-25 21:00 robert - * Updated REAME and NEWS for 2.6 branch +Wed, 11 Mar 2009 13:08:12 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "small addition to osg::Texture to include all possible depth test variants for the shadow depth comparison." -2008-07-25 20:50 robert +Wed, 11 Mar 2009 12:55:20 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, files were are missed by Robert in check in of changes to GraphicsWindowCarbon.cpp - * Updated wrappers +Wed, 11 Mar 2009 12:08:24 +0000 +Checked in by : Robert OSFIELD +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). -2008-07-25 20:50 robert +The correction replaces - * Renamed enums in osgWidget from ALLCAPITALS to normal OSG - conventional of AllCapital +lhs.getPrimitiveSetList().insert( lhs.getPrimitiveSetList().end(), + rhs.getPrimitiveSetList().begin(), + rhs.getPrimitiveSetList().end() ); -2008-07-25 20:49 robert +by + for( primItr=rhs.getPrimitiveSetList().begin(); + primItr!=rhs.getPrimitiveSetList().end(); + ++primItr ) +{ + lhs.addPrimitiveSet(primItr->get()); +}" - * Added PluginQuery function to wrappers -2008-07-25 20:04 robert - * Added OSGPL Copyright notices +Wed, 11 Mar 2009 11:58:31 +0000 +Checked in by : Robert OSFIELD +Fixed crash due to Geometry::copyToAndOptimize(..) not handling cases where indices are present, but no arrays are assocaited with them. -2008-07-25 19:57 robert +Wed, 11 Mar 2009 11:29:00 +0000 +Checked in by : Robert OSFIELD +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." - * Restructured classes to better fit with style of the rest of the - OSG. +Wed, 11 Mar 2009 11:00:24 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, "The copy constructor of the nodes and the drawables do :Node::Node(Node &node, copyop) : + _stateSet(copyop(node.getStateSet()), -2008-07-25 19:53 robert +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)." - * Added include to help wrapper building -2008-07-25 18:44 robert - * Improved handling of PAGE_AND_RETAIN_IMAGES +Wed, 11 Mar 2009 10:50:03 +0000 +Checked in by : Robert OSFIELD +From Martin Beckett, added get/setScrollWheelZoomDelta() support for controlling the mouse scroll wheel zoom delta. -2008-07-25 17:42 robert +Wed, 11 Mar 2009 10:34:29 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces - * Reverted back to using std::list +Wed, 11 Mar 2009 10:34:04 +0000 +Checked in by : Robert OSFIELD +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." -2008-07-25 16:23 robert +Tue, 10 Mar 2009 17:51:05 +0000 +Checked in by : Robert OSFIELD +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." - * Added Mode support -2008-07-25 16:11 robert - * Updated wrappers, and further refined the ImageSequence API +Tue, 10 Mar 2009 17:47:54 +0000 +Checked in by : Robert OSFIELD +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 -2008-07-25 15:45 robert +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." - * 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." -2008-07-25 15:38 shuber - * From Stephan Huber: updated XCode-project -2008-07-25 13:45 robert +Tue, 10 Mar 2009 17:39:46 +0000 +Checked in by : Robert OSFIELD +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. - * Added ImageSequence to .ive plugin, added support for multiple - ImageThreads in osgDB::ImagePager -2008-07-25 10:18 robert - * Moved PluginQuery from osgconv into osgDB +Tue, 10 Mar 2009 17:27:39 +0000 +Checked in by : Robert OSFIELD +Completed support for automatic detection of plugin features.Cleaned up debug out of various plugins to ensure a clean osgconv --formats. -2008-07-25 10:18 robert - * Added extension docs -2008-07-25 09:46 robert +Tue, 10 Mar 2009 17:13:51 +0000 +Checked in by : Robert OSFIELD +quitened down debug info - * Added option docs +Tue, 10 Mar 2009 16:52:18 +0000 +Checked in by : Robert OSFIELD +Made bool isImageTranslucent() const virtual to allow subclasses to provide their own implementation -2008-07-24 17:38 robert +Tue, 10 Mar 2009 15:00:39 +0000 +Checked in by : Robert OSFIELD +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 possibleBy default all features are enabled. - * Added missing returns +I have added this virtual method to the dot plugin to get an idea how to use these features. -2008-07-24 13:25 robert +With this patch osgconv --formats shows an additional line 'features' for each plugin" - * 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 - * Updated wrappers -2008-07-24 12:47 robert +Tue, 10 Mar 2009 14:15:59 +0000 +Checked in by : Robert OSFIELD +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. - * Added getCurrentCamera/getCurrentRenderStage methods +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 +" -2008-07-24 12:18 robert - * 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 +Tue, 10 Mar 2009 13:46:55 +0000 +Checked in by : Robert OSFIELD +Added copyright + fixed typo - * Improved the feedback for when a plugin isn't available. +Tue, 10 Mar 2009 12:21:13 +0000 +Checked in by : Robert OSFIELD +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. -2008-07-24 12:01 robert +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) - * Added supportOptions() entry docs +3.) the other getServer*-functions changed as well, there's even a +getServerProtocol-function -2008-07-24 12:01 robert - * Added --format extname and --plugin pluginname extensions, and - improved formating +With these changes filenames/Urls get routed to loaded plugins even with +different protocols than 'http'." -2008-07-24 11:22 robert - * From Bob Kuehne, "fix for filenames that have spaces within their - name." - - Note form Robert, changed std::cout to osg::notify(osg::INFO) -2008-07-23 22:19 robert - * Updated wrappers +Tue, 10 Mar 2009 11:14:56 +0000 +Checked in by : Robert OSFIELD +From Martin Spott, compile fixes for IBM AIX. -2008-07-23 22:19 robert +Tue, 10 Mar 2009 10:56:00 +0000 +Checked in by : Robert OSFIELD +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. - * Refactored OverlayData so that its possible to subclass - OverlayNode/OverlayData. +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. -2008-07-23 21:52 robert +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. - * Added wrappers -2008-07-23 21:49 robert +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. - * Moved helper classes into Protected section +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. +" -2008-07-23 21:25 robert - * From Paul Martz, typo fixes -2008-07-23 19:06 robert +Tue, 10 Mar 2009 10:30:34 +0000 +Checked in by : Robert OSFIELD +From Eric Wing and Stephan Huber, ImageIO code originally wrote by Eric Wing, and then later conveted into an OSG plugin by Stephan Huber. - * Applied filename fix suggested by Andrew Bettison. +Tue, 10 Mar 2009 10:13:20 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, support for Cocoa windowing under OSX. -2008-07-23 19:04 robert +Mon, 9 Mar 2009 23:11:23 +0000 +Checked in by : Robert OSFIELD +Fixed osgWrappers for osgAnimation library - * Implemented ImagePager internals +Mon, 9 Mar 2009 17:38:39 +0000 +Checked in by : Robert OSFIELD +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 -2008-07-23 15:42 robert +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 +" - * Fixed unitialized variable -2008-07-22 20:20 robert - * Further work on ImageSequence +Mon, 9 Mar 2009 16:53:57 +0000 +Checked in by : Robert OSFIELD +Tweaked API to get wrappers to build -2008-07-22 16:44 robert +Mon, 9 Mar 2009 16:17:57 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added support for pruning old images, recording the Duration in - the .osg file, and -o filename output support in - osgimagesequence. +Mon, 9 Mar 2009 14:56:20 +0000 +Checked in by : Robert OSFIELD +Further work on IncrementalCompileOperation -2008-07-22 15:58 robert +Sun, 8 Mar 2009 16:48:48 +0000 +Checked in by : Robert OSFIELD +Fixed thread exit problems - * Improved position when multiple videos are provided +Sun, 8 Mar 2009 12:00:36 +0000 +Checked in by : Robert OSFIELD +Preliminary work on general purpose incremental compile support in osgViewer. -2008-07-22 15:21 robert +Thu, 5 Mar 2009 15:31:03 +0000 +Checked in by : Robert OSFIELD +Updated wrappers and dev release version numbers - * Updated wrappers +Thu, 5 Mar 2009 14:33:21 +0000 +Checked in by : Robert OSFIELD +Cleaned up FindFFmpeg.cmake -2008-07-22 14:47 robert +Thu, 5 Mar 2009 10:57:54 +0000 +Checked in by : Robert OSFIELD +Added quick proof of concept for live video streaming under linux - * Fixed handling of TextureCubeMap's with - mipmapped/ImageSequence/PBO's. +Wed, 4 Mar 2009 16:35:08 +0000 +Checked in by : Robert OSFIELD +Added search for headers in ffmpeg directory -2008-07-22 12:40 robert +Wed, 4 Mar 2009 16:16:07 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, added non pkg-config based ffmpeg search scheme. - * Added ImageSequence IO support in Texture classes +Wed, 4 Mar 2009 16:15:05 +0000 +Checked in by : Robert OSFIELD +Fixed indentation -2008-07-22 12:28 robert +Wed, 4 Mar 2009 16:03:28 +0000 +Checked in by : Robert OSFIELD +Removed boost reference and cleaned up debug output - * Added support for ImageSequence to all Texture classes +Wed, 4 Mar 2009 14:49:39 +0000 +Checked in by : Robert OSFIELD +Introduced double buffering of video stream to avoid tearing of image.Removed swapBufers call and image y inversion. -2008-07-22 10:13 robert - * Disabled the setting of Texture::setUnrefImageOnApply(true) when - the imagery is - an ImageStream. -2008-07-22 09:02 robert +Wed, 4 Mar 2009 13:24:36 +0000 +Checked in by : Robert OSFIELD +Added handling of ImageStream Origin to make sure the movie always appears the correct way up. - * 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..." +Wed, 4 Mar 2009 11:59:15 +0000 +Checked in by : Robert OSFIELD +Fixes to non swscale code path -2008-07-21 23:42 robert +Wed, 4 Mar 2009 11:46:34 +0000 +Checked in by : Robert OSFIELD +Fixed img_convert usage - * Moved osgViewer::ScreenCaptureHandler's WindowCaptureCallback - from head into .cpp - to clean up headers and avoid wrapper build issues. - - Updated wrappers +Wed, 4 Mar 2009 11:06:34 +0000 +Checked in by : Robert OSFIELD +Removed reference to OpenAL plugin -2008-07-21 22:38 robert +Wed, 4 Mar 2009 11:05:55 +0000 +Checked in by : Robert OSFIELD +Added support for using libswscale - * Removed the reducent non const get methods +Tue, 3 Mar 2009 20:59:16 +0000 +Checked in by : Robert OSFIELD +Added SDL audio path -2008-07-21 21:28 robert +Tue, 3 Mar 2009 20:49:46 +0000 +Checked in by : Robert OSFIELD +Improved the clean up ordering - * 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. - - " +Tue, 3 Mar 2009 17:37:48 +0000 +Checked in by : Robert OSFIELD +Added SDL audio support for reading from ffmpeg movies -2008-07-21 21:20 robert +Tue, 3 Mar 2009 17:28:50 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated xcode project, added AudioStream to project - * 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." +Tue, 3 Mar 2009 16:51:01 +0000 +Checked in by : Robert OSFIELD +Introduce FFmpegAudioStream implementation -2008-07-21 21:17 robert +Tue, 3 Mar 2009 14:59:04 +0000 +Checked in by : Robert OSFIELD +Removed redudent export - * From Mario Valle, signed/unsgined warning fix +Tue, 3 Mar 2009 11:52:26 +0000 +Checked in by : Robert OSFIELD +Added LINK_DIRECTORIES -2008-07-21 21:00 robert +Tue, 3 Mar 2009 11:25:31 +0000 +Checked in by : Robert OSFIELD +Fixed include list - * Further work on osg::ImageSequence/osgDB::ImagePager +Tue, 3 Mar 2009 10:53:26 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, build fixes for OSX. -2008-07-21 20:44 robert +Tue, 3 Mar 2009 09:50:43 +0000 +Checked in by : Robert OSFIELD +Added ffmpeg to include search paths - * Upated version number for dev release +Tue, 3 Mar 2009 09:49:53 +0000 +Checked in by : Robert OSFIELD +Added ogg to accepted formats -2008-07-21 19:23 robert +Mon, 2 Mar 2009 16:01:13 +0000 +Checked in by : Robert OSFIELD +Added extern for img_convert to get round disappeance of the declaration from headers. - * Moved the ~Record body into the .cpp to avoid a MipsPro compile - error (due to a compiler bug) +Mon, 2 Mar 2009 10:49:29 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "An other one: The TLS Varialbe is accessed before it is initialized. Attached is a change to rev 9791." -2008-07-21 17:45 robert +Mon, 2 Mar 2009 09:56:39 +0000 +Checked in by : Robert OSFIELD +From Petr Salinger, fix for build under GNU/kFreeBSD. - * Added call to OpenThreads::Thread::cancel(); +Fri, 27 Feb 2009 20:16:08 +0000 +Checked in by : Robert OSFIELD +Introduced osg::AudioStream class to help manage audio streams coming in from movie reading plugins -2008-07-21 17:39 robert +Fri, 27 Feb 2009 17:00:28 +0000 +Checked in by : Robert OSFIELD +Ported across from using boost pointers, and prepped for integration of audio interface into core OSG - * Updated wrappers +Fri, 27 Feb 2009 11:11:06 +0000 +Checked in by : Robert OSFIELD +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." -2008-07-21 17:28 robert - * Added basic image sequencing -2008-07-21 17:27 robert +Fri, 27 Feb 2009 10:47:33 +0000 +Checked in by : Robert OSFIELD +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. - * Added non const getAuthenticationMap(). +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." -2008-07-21 16:17 robert +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 ;)" - * Moved the if (!buffer) check to infront of the memory - initialization -2008-07-21 15:05 robert - * Added --login http authentication. -2008-07-21 15:04 robert - * Added --login url username password http authentication option -2008-07-21 10:57 robert +Thu, 26 Feb 2009 22:09:47 +0000 +Checked in by : Robert OSFIELD +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" - * Initial cut of osgimagesequence example -2008-07-21 10:48 shuber - * From Stephan Huber: updated XCode-project +Thu, 26 Feb 2009 10:48:04 +0000 +Checked in by : Robert OSFIELD +Addded setting of FREETYPE_INCLUDE_DIRS to Find3rdPartyDependencies.cmake -2008-07-21 10:10 robert +Wed, 25 Feb 2009 20:52:34 +0000 +Checked in by : Robert OSFIELD +Tweaks to handle more modern version of ffmpeg compiled form source. - * Added ImagePager first cut, and updated wrappers +Wed, 25 Feb 2009 16:05:12 +0000 +Checked in by : Robert OSFIELD +Added Cmake support for new ffmpeg plugin -2008-07-21 09:55 robert +Wed, 25 Feb 2009 16:04:48 +0000 +Checked in by : Robert OSFIELD +From Tanguy Fautre (Aris Technologies), ffmpeg plugin - * Added first cut of ImageStream IO wrapper +Mon, 23 Feb 2009 10:50:42 +0000 +Checked in by : Robert OSFIELD +Updated version info for 2.9.0 release -2008-07-21 09:47 robert +Mon, 23 Feb 2009 10:41:16 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 2.9.0 dev release - * First cut of osgDB::ImagePager for updating osg::ImageSequence +Mon, 23 Feb 2009 09:54:25 +0000 +Checked in by : Robert OSFIELD +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. -2008-07-21 09:46 robert +Fri, 20 Feb 2009 16:27:57 +0000 +Checked in by : Robert OSFIELD +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." - * First cut of osg::ImageSequence class +Fri, 20 Feb 2009 15:47:28 +0000 +Checked in by : Robert OSFIELD +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." -2008-07-18 21:17 robert +Fri, 20 Feb 2009 13:58:44 +0000 +Checked in by : Robert OSFIELD +Added VisualStudio versioning info to plugins - * From Adrain Elgi, added osgGA to link list +Fri, 20 Feb 2009 11:53:49 +0000 +Checked in by : Robert OSFIELD +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" -2008-07-18 11:39 robert - * Introduce a custom atof function that always assumes data comes - in form 10.10 with - the full stop used as a decimal place. -2008-07-17 16:12 robert +Fri, 20 Feb 2009 11:51:47 +0000 +Checked in by : Robert OSFIELD +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." - * From Jean-Sebastien Guay and Robert Osfiled, - osgViewer::ScreenCaptureHandler for - taking screenshots -2008-07-17 14:25 robert - * Updated version and AUTHORS.txt for 2.5.5 release +Fri, 20 Feb 2009 11:30:33 +0000 +Checked in by : Robert OSFIELD +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. " -2008-07-17 14:18 robert - * Updated ChangeLog for 2.5.5 release -2008-07-17 14:13 robert +Thu, 19 Feb 2009 19:05:39 +0000 +Checked in by : Robert OSFIELD +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. - * Updated wrappers +Thu, 19 Feb 2009 17:34:35 +0000 +Checked in by : Robert OSFIELD +Fixed bug in checking if numRead values. -2008-07-17 13:51 robert +Thu, 19 Feb 2009 16:58:05 +0000 +Checked in by : Robert OSFIELD +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." - * 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 - * Updated ChangeLog +Thu, 19 Feb 2009 16:29:57 +0000 +Checked in by : Robert OSFIELD +From Tanguy Fautre, "This fixes the OSG crashes reported by http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-February/023499.htmlIt\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." -2008-07-17 13:23 shuber - * From Stephan Huber: updated XCode project -2008-07-17 12:26 robert +Thu, 19 Feb 2009 15:57:38 +0000 +Checked in by : Robert OSFIELD +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)." - * Updated wrappers +Thu, 19 Feb 2009 15:15:39 +0000 +Checked in by : Robert OSFIELD +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/ +" -2008-07-17 12:13 robert - * Moved AuthenticalMap/AuthenticationDetails out in their own files -2008-07-17 11:55 robert +Thu, 19 Feb 2009 14:24:10 +0000 +Checked in by : Robert OSFIELD +Merged in various changes from the OSG-2.8 to being svn/trunk up to date. - * Added osgDB::AuthenticationMap/Details to osgDB and curl plugin - to add the ability - to authenticate http transfers +Wed, 11 Feb 2009 20:26:06 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2008-07-16 19:07 robert +Wed, 11 Feb 2009 20:02:45 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Removed net plugin for Xcode projects +Wed, 11 Feb 2009 19:55:11 +0000 +Checked in by : Robert OSFIELD +Updated wrappers to works with doxygen 1.5.8 output. -2008-07-16 16:19 robert +Wed, 11 Feb 2009 17:21:36 +0000 +Checked in by : Robert OSFIELD +Disabled the use of aggressive warnings under OSX as the default. - * Moved .net plugin out into Deprecated section of osg svn - repostitory +Wed, 11 Feb 2009 17:14:53 +0000 +Checked in by : Robert OSFIELD +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). -2008-07-16 16:19 robert +I tested it under WinXP with zero, one and multiple videos. - * Fixed path to font +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? +" -2008-07-16 16:05 robert - * Set the default setting of LineWidth to 2.0 to ensure that old - default behavior - is maintained. -2008-07-16 16:04 robert +Wed, 11 Feb 2009 13:33:40 +0000 +Checked in by : Robert OSFIELD +From Sukender, changed doxygen verbosity to quite - * From Vincent Bourdier, removed line with setWidth(2.0) as this - code prevents - user settings of line with. +Wed, 11 Feb 2009 12:10:52 +0000 +Checked in by : Robert OSFIELD +Added brackets around (unsigned int) to avoid IRIX compile error. -2008-07-16 15:58 robert +Wed, 11 Feb 2009 10:41:55 +0000 +Checked in by : Robert OSFIELD +Fixes for doxgen warnings - * Cleaned up the updateStateSet code +Wed, 11 Feb 2009 09:14:12 +0000 +Checked in by : Robert OSFIELD +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." -2008-07-16 15:58 robert - * Refactored the MultiTextureControl node callback so that the - update is now - done as an update callback, with the elevation aquired via a cull - callback -2008-07-16 13:29 robert +Tue, 10 Feb 2009 20:31:50 +0000 +Checked in by : Robert OSFIELD +Merged warning fix from OSG-2.8 branch: svn merge -r 9755:9756 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - * Updated wrappers -2008-07-16 13:26 robert - * Changed int's to unsigned int's to avoid warnings -2008-07-16 13:23 robert +Tue, 10 Feb 2009 20:09:18 +0000 +Checked in by : Robert OSFIELD +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 - * 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.) -2008-07-16 12:53 shuber - * From Stephan Huber: updated XCode-project, included - osgWidget-Framework -2008-07-16 11:40 robert +Tue, 10 Feb 2009 19:25:50 +0000 +Checked in by : Robert OSFIELD +From Roger James and Robert Osfield, fixes and reorganization to better support Windows dyanmic library build - * Removed a division by precomputing the associated values +Tue, 10 Feb 2009 18:56:53 +0000 +Checked in by : Robert OSFIELD +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. " -2008-07-15 22:30 robert +Tue, 10 Feb 2009 18:51:43 +0000 +Checked in by : Robert OSFIELD +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 - * From Jeremy Moles, Updated file references to reflect new data in - OpenSceneGraph-Data -2008-07-15 22:13 robert - * Added osgWidget wrappers -2008-07-15 22:03 robert +Tue, 10 Feb 2009 14:01:22 +0000 +Checked in by : Robert OSFIELD +From Roger James, fixes for VS build handling of new VS versioning support - * Converted tabs to four spaces +Tue, 10 Feb 2009 13:37:16 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "I've added a small change to the CURL plugin that allows support for HTTP redirects." -2008-07-15 21:28 robert +Tue, 10 Feb 2009 13:25:40 +0000 +Checked in by : Robert OSFIELD +From Miguel Escriva,"OSG 2.8.0-rc4 don't found zlib in Windows.Here you will find a patch. " - * Fixed typo -2008-07-15 20:30 robert - * 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. +Tue, 10 Feb 2009 11:44:50 +0000 +Checked in by : Robert OSFIELD +From Roland Smeenk and Robert Osfiled, tweaks to the Collada finding/linking to improve support for Collada DOM 2.1 + 2.2 across platforms. -2008-07-15 19:42 robert +Mon, 9 Feb 2009 22:56:21 +0000 +Checked in by : Robert OSFIELD +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" - * Fixed name of lib +Mon, 9 Feb 2009 22:33:51 +0000 +Checked in by : Robert OSFIELD +Fixed to DatabasePager::getRequestsInProgress(), merged from:svn merge -r 9734:9735 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 -2008-07-15 19:28 robert - * 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 +Mon, 9 Feb 2009 22:12:30 +0000 +Checked in by : Robert OSFIELD +Merged from OSG-2.8 branch the suppression of the wrapping of the ScopeLock - * From Paul Martz, "Here's documentation for the export options of - the FLT plugin. I also labeled the import options as such." +Mon, 9 Feb 2009 21:48:30 +0000 +Checked in by : Robert OSFIELD +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. " -2008-07-15 19:24 robert +Mon, 9 Feb 2009 21:42:45 +0000 +Checked in by : Robert OSFIELD +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 - * Updated version number to 2.5.5 in prep for dev release -2008-07-15 19:24 robert - * Changed the version setup code to be consistent with the rest of - the OSG -2008-07-15 19:23 robert +Mon, 9 Feb 2009 21:38:06 +0000 +Checked in by : Robert OSFIELD +Merged from OSG-2.8 branch changes to the use of ReadWriteMutex to Mutex in osgParticle::ParticleSystem.svn command: - * Removed now redundent example + svn merge -r 9725:9726 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 -2008-07-15 19:02 robert - * 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 - * From Jean-Sebastian Guay, "Here are the CMakeLists.txt files for - the osgWidget examples, changed to use SETUP_EXAMPLE like the - other examples." +Mon, 9 Feb 2009 13:49:31 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: fixed local Config file needed for xcode-project -2008-07-15 18:12 robert +Mon, 9 Feb 2009 11:15:14 +0000 +Checked in by : Robert OSFIELD +From Paul Melis, syncing improvements made to wiki version of NEWS for 2.8 - * Fixed typo +Mon, 9 Feb 2009 11:13:37 +0000 +Checked in by : Robert OSFIELD +Removed redundent #pragma -2008-07-15 17:21 robert +Mon, 9 Feb 2009 10:00:06 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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 +Mon, 9 Feb 2009 09:41:56 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, removed virtual inheritance from osgAnimation::Animation -2008-07-15 14:24 robert +Sun, 8 Feb 2009 19:30:30 +0000 +Checked in by : Robert OSFIELD +Fixed handling of a series of \n in the text string so that the correct line spacing is maintained. - * Updated wrappers +Sun, 8 Feb 2009 15:56:35 +0000 +Checked in by : Robert OSFIELD +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())" -2008-07-15 14:24 robert - * From Art Trevs, Removed GLeunm version setAttachment() to avoid - ambigiuity with - whether to enable MRT. -2008-07-15 14:15 robert +Sat, 7 Feb 2009 11:30:15 +0000 +Checked in by : Robert OSFIELD +Merged from OSG-2.8 branch, fix to handle of StateSet attached to transforms being removed by the FlattentStaticTransformVisitor - * Renamed Archive::ArchiveStatus to ReaderWriter::ArchiveStatus +Fri, 6 Feb 2009 15:49:21 +0000 +Checked in by : Robert OSFIELD +Bumped version number of svn/trunk to 2.9.0 -2008-07-15 10:45 robert +Fri, 6 Feb 2009 15:39:44 +0000 +Checked in by : Robert OSFIELD +Added a couple more pragma's to resolve final Windows warnings - * Updated wrappers +Fri, 6 Feb 2009 15:38:09 +0000 +Checked in by : Robert OSFIELD +From Paul Melis & Robert Osfeild, improvements to find scripts to better handle diffrent installation combinations -2008-07-15 09:55 robert +Fri, 6 Feb 2009 15:17:49 +0000 +Checked in by : Robert OSFIELD +From Gary Quinn, spelling fixes - * Missing check-ins +Fri, 6 Feb 2009 14:19:14 +0000 +Checked in by : Robert OSFIELD +Fixed path to version resource input file -2008-07-14 20:22 robert +Fri, 6 Feb 2009 14:13:40 +0000 +Checked in by : Robert OSFIELD +From Gary Quin + Robert Osfield, clean up of old batch file - * Added --plugins and --formats query support into osgconv to help - with querying the - available plugins and the file formats/protocols they support +Fri, 6 Feb 2009 12:15:15 +0000 +Checked in by : Robert OSFIELD +Fixed data copy bug -2008-07-14 20:11 robert +Fri, 6 Feb 2009 10:35:21 +0000 +Checked in by : Robert OSFIELD +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. +[...]" - * Added missing ac3d supportsExtensions() constructor -2008-07-14 08:48 robert - * Added initial cut at plugin query code -2008-07-13 22:18 robert +Fri, 6 Feb 2009 08:46:02 +0000 +Checked in by : Robert OSFIELD +Added support for VS versioning of OpenThreads - * Converted plugins to use the new - supportsExtension()/supportsOptions/supportsProtocl() methods - to help enable better querying of supported features +Thu, 5 Feb 2009 15:22:42 +0000 +Checked in by : Robert OSFIELD +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" -2008-07-13 15:24 robert +Thu, 5 Feb 2009 14:56:39 +0000 +Checked in by : Robert OSFIELD +Changed version to only be run for Visual Studio - * Added new ReaderWriter methods for recording what protocols, - extensions and options are - support by ReaderWriters +Thu, 5 Feb 2009 14:55:17 +0000 +Checked in by : Robert OSFIELD +From Sherman Wilcox, added VS versioning information into libs -2008-07-13 12:34 robert +Thu, 5 Feb 2009 14:54:42 +0000 +Checked in by : Robert OSFIELD +Added exports, and moved constructors into .cpp. - * From Paul Martz, removed uneccessary libraries from link line +Thu, 5 Feb 2009 14:42:29 +0000 +Checked in by : Robert OSFIELD +Added initializer and fixed indentation -2008-07-12 17:44 robert +Thu, 5 Feb 2009 14:35:46 +0000 +Checked in by : Robert OSFIELD +Suppress gcc warnings emitted by external headers - * Updated date for 2.5.4 release +Thu, 5 Feb 2009 12:21:50 +0000 +Checked in by : Robert OSFIELD +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." -2008-07-12 17:30 robert - * Added an OSG_EXPORT -2008-07-12 16:11 robert +Thu, 5 Feb 2009 12:03:19 +0000 +Checked in by : Robert OSFIELD +Warning fixes - * Updated Authors for dev release +Thu, 5 Feb 2009 11:10:32 +0000 +Checked in by : Robert OSFIELD +Added VS and gcc warning suppression to clean up a few last stubborn warnings -2008-07-12 15:29 robert +Thu, 5 Feb 2009 10:14:49 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, warning fixes - * Updated ChangeLog for dev release +Wed, 4 Feb 2009 16:12:30 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: fix for local config-file used by the deprecated XCode-project -2008-07-12 12:00 robert +Wed, 4 Feb 2009 13:51:12 +0000 +Checked in by : Robert OSFIELD +Form Paul Melis, spelling fixes - * 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" +Wed, 4 Feb 2009 12:59:44 +0000 +Checked in by : Robert OSFIELD +Set the release candidate to 1. -2008-07-12 11:19 robert +Wed, 4 Feb 2009 12:54:18 +0000 +Checked in by : Robert OSFIELD +Updated news to keep in sync with online news entry - * Cleaned up osgkdtree example +Wed, 4 Feb 2009 12:50:26 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for 2.8 branch. -2008-07-11 20:01 robert +Wed, 4 Feb 2009 12:31:33 +0000 +Checked in by : Robert OSFIELD +Updated NEWS and README for 2.8 branch - * Updated version numbers for dev release +Wed, 4 Feb 2009 11:35:24 +0000 +Checked in by : Robert OSFIELD +Fixed the constness of osg::Image* pointer -2008-07-11 19:52 robert +Wed, 4 Feb 2009 09:03:13 +0000 +Checked in by : Robert OSFIELD +Removed cast, to quieten VS warnings. Confirm change with original author Mathias Froehlich. - * From Adrain Egli, "i added a default scene with 7 different - draggers attached. it's more easy to test the draggers." +Tue, 3 Feb 2009 20:26:26 +0000 +Checked in by : Robert OSFIELD +Clean up warning disable code -2008-07-11 19:43 robert +Tue, 3 Feb 2009 20:17:24 +0000 +Checked in by : Robert OSFIELD +Disabled warning - * 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." +Tue, 3 Feb 2009 17:14:34 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-07-11 19:23 robert +Tue, 3 Feb 2009 17:11:54 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * 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. - " +Tue, 3 Feb 2009 15:28:53 +0000 +Checked in by : Robert OSFIELD +Warning fixes -2008-07-11 17:46 robert +Tue, 3 Feb 2009 12:47:41 +0000 +Checked in by : Robert OSFIELD +Added setDataVariance(DYNAMIC) to text label as it's being updated dynamically - * 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." +Tue, 3 Feb 2009 11:54:46 +0000 +Checked in by : Robert OSFIELD +Added local disabling the the VS C4121 "alignment of a member was sensitive to packing" warning -2008-07-11 17:41 robert +Tue, 3 Feb 2009 11:07:13 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * From Joakim Simmonsson, fixed various spelling typos in comments +Tue, 3 Feb 2009 11:05:35 +0000 +Checked in by : Robert OSFIELD +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. -2008-07-11 17:35 robert +Tue, 3 Feb 2009 11:04:37 +0000 +Checked in by : Robert OSFIELD +Added explict initialization of osg::Object contstructor to fix warning - * 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. - " +Mon, 2 Feb 2009 20:42:33 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-07-11 17:07 robert +Mon, 2 Feb 2009 20:35:19 +0000 +Checked in by : Robert OSFIELD +Warnings fixes for VS. - * Increased the buffer and fixed the buffer calculation when moving - backwards into objects +Mon, 2 Feb 2009 20:34:58 +0000 +Checked in by : Robert OSFIELD +Attempt to appease both FreeBSD CMAke 2.6.2 + Linux CMake 2.4.8 builds -2008-07-11 16:51 robert +Mon, 2 Feb 2009 18:55:08 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, warning fix. - * Updated KdTree code to refect new cleaned up API +Mon, 2 Feb 2009 17:46:16 +0000 +Checked in by : Robert OSFIELD +Added initializer for local Quat definition -2008-07-11 16:50 robert +Mon, 2 Feb 2009 17:32:34 +0000 +Checked in by : Robert OSFIELD +Added explict intializiers of base classes - * Tweaked the KdTree intersection performance testing code block +Mon, 2 Feb 2009 17:16:02 +0000 +Checked in by : Robert OSFIELD +Added /lib64 to search paths. -2008-07-11 16:48 robert +Mon, 2 Feb 2009 17:15:40 +0000 +Checked in by : Robert OSFIELD +Improved handling of stats projection size - * Updated wrappers +Mon, 2 Feb 2009 16:56:46 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, build fix for OSX XCode build -2008-07-11 16:48 robert +Mon, 2 Feb 2009 15:04:53 +0000 +Checked in by : Robert OSFIELD +Fixed version - * Moved the building and intersecting of the KdTree into the .cpp, - and cleaned up - the header to ready it for wider usage +Mon, 2 Feb 2009 14:55:51 +0000 +Checked in by : Robert OSFIELD +Updated OpenThreads and OpenSceneGraph version ready for OSG-2.8 branch. -2008-07-10 15:50 robert +Mon, 2 Feb 2009 14:51:51 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "Here an update of the osgAnimation ReaderWriter, it add other NodeCallback that could be attached to a node with Bone." - * Streamlined KdTree implementation +Mon, 2 Feb 2009 14:50:19 +0000 +Checked in by : Robert OSFIELD +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." -2008-07-09 19:43 robert +Mon, 2 Feb 2009 14:43:27 +0000 +Checked in by : Robert OSFIELD +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 +Updated wrappers -2008-07-09 19:42 robert - * Cleaned up KdTree implementation -2008-07-09 19:41 robert +Mon, 2 Feb 2009 09:23:28 +0000 +Checked in by : Robert OSFIELD +From Sukender, add check against NULL parameter value - * Reordered KdLeaf/KdNode so that the first element to be accessed - is first in the data structure +Sun, 1 Feb 2009 12:38:55 +0000 +Checked in by : Robert OSFIELD +Ground work for full .osg support for osg::TransferFunction* -2008-07-09 19:40 robert +Sat, 31 Jan 2009 21:46:27 +0000 +Checked in by : Robert OSFIELD +Updated NEWS - * Introduced code for doing dummy test traversals - used for - benchmarking KdTree code. +Sat, 31 Jan 2009 21:46:16 +0000 +Checked in by : Robert OSFIELD +Added initial placeholder for .osg support for osgVolume::TransferFunctionProperty -2008-07-09 19:28 robert +Sat, 31 Jan 2009 21:45:47 +0000 +Checked in by : Robert OSFIELD +Fixed handling of TransferFunctionProperty. - * Added range of camera manipulators and a center of screen test - intersection that - is insticated by pressing 'c' key +Sat, 31 Jan 2009 10:21:36 +0000 +Checked in by : Robert OSFIELD +Rejigged the Xrandr include -2008-07-09 19:26 robert +Fri, 30 Jan 2009 18:56:30 +0000 +Checked in by : Robert OSFIELD +Improved shaders to better handle region of constant values when doing normal generation - * Introduce a intersecion performance testing code path, #if def'd - out for now. +Fri, 30 Jan 2009 17:10:27 +0000 +Checked in by : Robert OSFIELD +Updated iso surface shaders -2008-07-09 12:37 robert +Fri, 30 Jan 2009 16:45:54 +0000 +Checked in by : Robert OSFIELD +Added support for discard fragment that don't generate an iso surface intersect - * Updated wrappers +Fri, 30 Jan 2009 15:04:07 +0000 +Checked in by : Robert OSFIELD +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. " -2008-07-08 18:02 robert +Fri, 30 Jan 2009 14:54:22 +0000 +Checked in by : Robert OSFIELD +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 " - * Fixed set method +Fri, 30 Jan 2009 13:05:07 +0000 +Checked in by : Robert OSFIELD +Update AUTHORS for release -2008-07-08 17:35 robert +Fri, 30 Jan 2009 12:17:59 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 2.7.9 release - * Added optional control of whether to use KdTrees for - intersections +Fri, 30 Jan 2009 12:09:06 +0000 +Checked in by : Robert OSFIELD +Fixed size of background of frame stats so that it's the correct width of the window -2008-07-07 20:27 robert +Fri, 30 Jan 2009 11:40:19 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Implement hierachy culling in KdTree::intersect(..) +Fri, 30 Jan 2009 10:55:28 +0000 +Checked in by : Robert OSFIELD +Fixed warnings, updated NEWS -2008-07-07 14:27 robert +Thu, 29 Jan 2009 20:40:56 +0000 +Checked in by : Robert OSFIELD +Added support for osgVolume::ProperyAdjustmentCallback - * Improved the handling of KdTree intersections +Thu, 29 Jan 2009 20:34:22 +0000 +Checked in by : Robert OSFIELD +Added support for osgVolume::Property classes -2008-07-07 13:21 robert +Thu, 29 Jan 2009 17:19:47 +0000 +Checked in by : Robert OSFIELD +Fixed handling of files with event callbacks on them. - * Implemented intial KdTree triangle intersection code, but without - culling implemented +Thu, 29 Jan 2009 16:38:46 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, added missing windows socket library -2008-07-07 10:46 robert +Thu, 29 Jan 2009 15:37:52 +0000 +Checked in by : Robert OSFIELD +Updated FindOSG.cmake from the version used by Present3D as this is more up to date. - * 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. +Thu, 29 Jan 2009 15:32:43 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog -2008-07-07 09:40 robert +Thu, 29 Jan 2009 15:07:57 +0000 +Checked in by : Robert OSFIELD +Updated news - * Changed types to avoid warnings under Windows +Thu, 29 Jan 2009 14:41:18 +0000 +Checked in by : Robert OSFIELD +Fixed the sumation of the the unique number of primtivesets and vertices in the scene Stats collect -2008-07-06 18:27 robert +Thu, 29 Jan 2009 14:35:15 +0000 +Checked in by : Robert OSFIELD +Added CMakeLists.txt for osgcluster - * Changed the DatabasePager so that it bypasses the - Registry::readNode() method and calls - readNodeImplementation() directly to avoid calling the - KdTreeBuilder. - - Updated wrappers. +Thu, 29 Jan 2009 14:00:59 +0000 +Checked in by : Robert OSFIELD +First cut of NEWS for 2.8 release -2008-07-06 12:14 robert +Thu, 29 Jan 2009 13:29:08 +0000 +Checked in by : Robert OSFIELD +Restructed the reporting of the libpath message so that it only appears the first time it's required - * Moved KdTree build code into osg::KdTree +Thu, 29 Jan 2009 13:17:48 +0000 +Checked in by : Robert OSFIELD +Added osgcluster example into build system -2008-07-05 17:29 robert +Thu, 29 Jan 2009 11:18:03 +0000 +Checked in by : Robert OSFIELD +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." - * Added handling of co-incident start and end points. -2008-07-05 16:39 robert - * Ported intersection code to use new - osgUtil::LineSegmentIntersector/IntersectionVisitor. +Thu, 29 Jan 2009 11:03:38 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-07-04 19:16 robert +Thu, 29 Jan 2009 10:43:11 +0000 +Checked in by : Robert OSFIELD +Revised the message about install path. - * Converted TerrainManipulator to use osgUtil::InterectionVisitor - rather than the - old IntersectVisitor +Thu, 29 Jan 2009 10:22:52 +0000 +Checked in by : Robert OSFIELD +Added missing entry in build for AnimationManager.cpp -2008-07-04 17:02 robert +Thu, 29 Jan 2009 09:28:08 +0000 +Checked in by : Robert OSFIELD +Improved the handling of toggling of GL_LIGHTi modes when SceneView::setLightingMode() is toggled on/off. - * Added KdTree intersection support into LineSegmentIntersector +Thu, 29 Jan 2009 09:27:23 +0000 +Checked in by : Robert OSFIELD +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. -2008-07-04 15:57 robert +Thu, 29 Jan 2009 09:24:45 +0000 +Checked in by : Robert OSFIELD +Removed now redundent shader files.Fixed the adding of transfer function property. - * 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 - * Moved vertex indicies method into a single block with deprecated - doc lines +Wed, 28 Jan 2009 16:48:10 +0000 +Checked in by : Robert OSFIELD +Removed old shader files -2008-07-03 17:18 robert +Wed, 28 Jan 2009 16:44:46 +0000 +Checked in by : Robert OSFIELD +Removed comments. - * Introduced bounding boxes to KDLeaf and KDNode structs +Wed, 28 Jan 2009 15:23:18 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-07-03 15:49 robert +Wed, 28 Jan 2009 15:15:19 +0000 +Checked in by : Robert OSFIELD +Moved push/popCulling set it public scope. - * 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, 28 Jan 2009 13:45:04 +0000 +Checked in by : Robert OSFIELD +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" -2008-07-03 15:01 robert +Wed, 28 Jan 2009 12:55:38 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, fixed typo. - * 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" +Wed, 28 Jan 2009 12:51:47 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-07-03 14:59 robert +Wed, 28 Jan 2009 12:45:05 +0000 +Checked in by : Robert OSFIELD +Fixed of warnings - * From Mario Valle, removed extraneous spaces +Wed, 28 Jan 2009 12:28:04 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-07-03 11:23 robert +Wed, 28 Jan 2009 12:02:35 +0000 +Checked in by : Robert OSFIELD +Temporarily disabled VS warning C4100 to enable use to home in on the useful warnings that could do with resolving. - * Added header guards +Wed, 28 Jan 2009 11:59:06 +0000 +Checked in by : Robert OSFIELD +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. " -2008-07-03 11:22 robert +Wed, 28 Jan 2009 11:16:29 +0000 +Checked in by : Robert OSFIELD +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. - * Refactored example so that the example will be able to run - different kdtree data strucutres/algorithms. +Wed, 28 Jan 2009 10:06:15 +0000 +Checked in by : Robert OSFIELD +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 -2008-07-03 11:07 robert - * 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." -2008-07-03 10:24 robert +Wed, 28 Jan 2009 09:42:21 +0000 +Checked in by : Robert OSFIELD +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 - * Implement an experiemental triangle kdtree building support +* 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." -2008-07-03 10:03 robert - * Set the DataVariance on FadeText to DYNAMIC to reflect their - nature -2008-07-02 10:00 robert +Wed, 28 Jan 2009 09:31:43 +0000 +Checked in by : Robert OSFIELD +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." - * Updated wrappers -2008-07-02 09:25 robert - * Introduced support for UNSCPECIFIED and STATIC DataVariance of - StateSet/Textures +Wed, 28 Jan 2009 09:26:44 +0000 +Checked in by : Robert OSFIELD +From Paul Melis, remove redundent spaces -2008-07-01 19:04 robert +Wed, 28 Jan 2009 09:24:06 +0000 +Checked in by : Robert OSFIELD +From Paul Melis, removed redundent spacing. - * 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, 28 Jan 2009 09:23:26 +0000 +Checked in by : Robert OSFIELD +Fixed the handling of setLightingMode and inheritCullSettings so that it properly manages the GL_LIGHTING mode -2008-07-01 18:37 robert +Wed, 28 Jan 2009 09:21:46 +0000 +Checked in by : Robert OSFIELD +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: - * 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." + http://aspn.activestate.com/ASPN/Mail/Message/1688156 -2008-07-01 13:56 robert +While the posting has to do with Boost.Python, the problem applies to +C++ libraries in general." - * Added Vec3Array arrange pointer to avoid dynamic cast -2008-07-01 09:40 robert - * 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 ..." +Wed, 28 Jan 2009 09:06:46 +0000 +Checked in by : Robert OSFIELD +Added back in intializers for RenderSurface. -2008-06-30 16:53 robert +Tue, 27 Jan 2009 15:35:51 +0000 +Checked in by : Robert OSFIELD +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. - * Added guards against FBO not being supported/setup +Tue, 27 Jan 2009 15:34:57 +0000 +Checked in by : Robert OSFIELD +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." -2008-06-29 13:41 robert +Tue, 27 Jan 2009 15:34:28 +0000 +Checked in by : Robert OSFIELD +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." - * Updated README date for 2.5.3 dev release +Tue, 27 Jan 2009 15:14:47 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "Here is a small fix that enables writing 16 bit short images in the tiff plugin. " -2008-06-29 12:22 robert +Tue, 27 Jan 2009 14:11:37 +0000 +Checked in by : Robert OSFIELD +Converted viewer camera references to use observer_ptr<> rather than ref_ptr<> or C pointers to avoid issues with circular references/dangling pointers. - * 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. +Tue, 27 Jan 2009 13:23:20 +0000 +Checked in by : Robert OSFIELD +Refactored the view stats. -2008-06-28 16:59 robert +Tue, 27 Jan 2009 09:09:48 +0000 +Checked in by : Robert OSFIELD +Commented out debug message - * Added realize of new graphics contexts to handle new views being - added with - unrealized windows +Mon, 26 Jan 2009 21:23:09 +0000 +Checked in by : Robert OSFIELD +Ported onscreen camera stats across to using thread safe stats collection -2008-06-27 19:40 robert +Mon, 26 Jan 2009 19:22:27 +0000 +Checked in by : Robert OSFIELD +Added passing of command line args to cmake - * Changed back to use an std::vector<> rather than a std::list for - RequestQueue to - avoid member template problems under Solaris. +Mon, 26 Jan 2009 16:55:53 +0000 +Checked in by : Robert OSFIELD +Converted across to using ref_ptr<> to avoid memory leak/dangling pointer issues. -2008-06-27 18:59 robert +Mon, 26 Jan 2009 15:16:24 +0000 +Checked in by : Robert OSFIELD +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. - * Refactored the sort of the requestQueue so that there is single - code path for doing the sort. +Mon, 26 Jan 2009 13:48:50 +0000 +Checked in by : Robert OSFIELD +Moved the XRANDR include into LIB_PRIVATE_HEADERS to avoid FreeBSD build problem -2008-06-27 16:47 robert +Mon, 26 Jan 2009 10:52:16 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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. - " +Mon, 26 Jan 2009 10:35:16 +0000 +Checked in by : Robert OSFIELD +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." -2008-06-27 12:44 robert +Sat, 24 Jan 2009 10:02:32 +0000 +Checked in by : Robert OSFIELD +Changed META_NodeVisitor usage to META_Object as it's more appropriate. - * Simplified the MixinVector class so that it no longer supports - custom allocators, - instead just uses std::vector<>'s default allocators. +Sat, 24 Jan 2009 10:00:23 +0000 +Checked in by : Robert OSFIELD +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" -2008-06-27 12:35 robert +Fri, 23 Jan 2009 23:04:18 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * Moved the apply(&) default implementations from the header into - the NodeVisitor.cpp, - and changed the casts to use static_cast<>. +Fri, 23 Jan 2009 15:52:10 +0000 +Checked in by : Robert OSFIELD +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." -2008-06-27 11:47 shuber +Fri, 23 Jan 2009 15:50:05 +0000 +Checked in by : Robert OSFIELD +Added forward declaration of callbacks to headers to avoid scoping issues of classes with same names. - * from Stephan Huber: updated XCode project +Fri, 23 Jan 2009 15:12:26 +0000 +Checked in by : Robert OSFIELD +Warning fixes for VS, and removal of associated warning disables -2008-06-27 10:17 robert +Fri, 23 Jan 2009 15:02:04 +0000 +Checked in by : Robert OSFIELD +Added workaround for silly posix read deprecation warning under VS. - * 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. - " +Fri, 23 Jan 2009 14:00:49 +0000 +Checked in by : Robert OSFIELD +Removed unneccesary warning disables -2008-06-26 19:51 robert +Fri, 23 Jan 2009 11:52:18 +0000 +Checked in by : Robert OSFIELD +Added range of visual rendering properties to readNode's creation of VolumeTile/ImageLayer. - * Updated authors and osgversion +Fri, 23 Jan 2009 10:29:09 +0000 +Checked in by : Robert OSFIELD +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." -2008-06-26 19:47 robert - * Updated ChangeLog -2008-06-26 19:21 robert +Fri, 23 Jan 2009 09:24:34 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, "here is a correction on osgVolume/Property added OSGVOLUME_EXPORT to PropertyAdjustmentCallbackosgVolume/VolumeTile.cpp + in copy constructor, removed ';' on if (volumeTile.getVolumeTechnique())" + - * Updated wrappers -2008-06-26 18:34 robert - * 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 - - * 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 - - * 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 - - * From Mathias Froehlich, updated CMakeLists.txt to build the - Atomic.cpp - -2008-06-26 13:09 robert - - * From Eric Sokolowski, added enforcement of CMake 2.6.0 under OSX. - -2008-06-26 13:08 robert - - * From Eric Sokolowski, Cmake support for osgviewerCocoa - -2008-06-26 12:08 robert +Fri, 23 Jan 2009 09:22:31 +0000 +Checked in by : Robert OSFIELD +Upped notification level of timing stats - * From Mathias Froehlich, build fixes for various unices +Wed, 21 Jan 2009 19:28:46 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-06-26 10:33 robert +Wed, 21 Jan 2009 19:02:54 +0000 +Checked in by : Robert OSFIELD +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 - * From Mathias Froehlich, added do not edit comments to Config.in - so that the autogenerated - Config files have an appropriate warning notice +examples/osganimationviewer/AnimtkViewerGUI.cpp: +- adjust the path of image for the gui -2008-06-26 10:27 robert +include/osgAnimation/Interpolator: +- add warn message instead of old assert - * 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." +include/osgAnimation/Bone: +src/osgAnimation/Skeleton.cpp: +- change a method name to fit better with what it does. setMatrixInSkeletonSpace instead of setBoneInSkeletonSpace -2008-06-23 15:11 robert +include/osgAnimation/Skinning: +src/osgAnimation/RigGeometry.cpp: +- add patch from Fabien Lavignotte to compute normal correctly - * Fixed pedantic warning +include/osgAnimation/Sampler: +- adjust behviour without assert, return 0 instead of crashing +" -2008-06-23 14:51 robert - * 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 +Wed, 21 Jan 2009 19:01:26 +0000 +Checked in by : Robert OSFIELD +Fixed compile errors for when ref_ptr<> auto conversion is disabled - * 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 - " +Wed, 21 Jan 2009 18:47:55 +0000 +Checked in by : Robert OSFIELD +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. +"" -2008-06-23 10:18 robert - * 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 +Wed, 21 Jan 2009 18:34:10 +0000 +Checked in by : Robert OSFIELD +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.zNoone 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. +" - * 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)" -2008-06-23 08:06 shuber - * From Stephan Huber: added missing config files and updated - xcode-project +Wed, 21 Jan 2009 18:23:55 +0000 +Checked in by : Robert OSFIELD +Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. -2008-06-21 17:56 robert +Wed, 21 Jan 2009 17:10:51 +0000 +Checked in by : Robert OSFIELD +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. - * Quietened down debug info +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. -2008-06-21 17:50 robert +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." - * Added support for X11's overrideRedirect functionality -2008-06-21 11:34 robert - * Converted tabs to four spaces +Wed, 21 Jan 2009 14:37:36 +0000 +Checked in by : Robert OSFIELD +From Sherman Wilcox, "Minor change to the glPushAttrib(...) call in renderWithStencilBuffer(...) - added GL_STENCIL_BUFFER_BIT" -2008-06-20 19:52 robert +Wed, 21 Jan 2009 14:27:58 +0000 +Checked in by : Robert OSFIELD +Renamed ShaderTechnique to RayTracedTechnique - * Changed the include/osg/Config and include/OpenThreads/Config - references to use the assocaited CMake variable for these headers +Wed, 21 Jan 2009 12:06:13 +0000 +Checked in by : Robert OSFIELD +Cleaned up osgvolume -2008-06-20 19:51 robert +Wed, 21 Jan 2009 11:46:03 +0000 +Checked in by : Robert OSFIELD +Introduced the ability to switch between different visual properties in osgVolume - * Updated ChangeLog +Tue, 20 Jan 2009 17:53:06 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-06-20 17:32 robert +Tue, 20 Jan 2009 17:41:45 +0000 +Checked in by : Robert OSFIELD +Moved PropertyAdjustmentCallback from osgvolume.cpp into osgVolume.Updated lighting shaders. - * From Terry Welsh, added missing MixinVector header -2008-06-20 16:57 robert - * Added OSG_WINDOWING_SYSTEM cmake option string to allow toggling - between X11 and Carbon under OSX. +Tue, 20 Jan 2009 15:30:30 +0000 +Checked in by : Robert OSFIELD +Removed redundent shader files -2008-06-20 15:50 robert +Tue, 20 Jan 2009 15:29:32 +0000 +Checked in by : Robert OSFIELD +Added lighting based shaders - * From Mathias Froehlich, moved optional config variables into - include/osg/Config file that - is automatically created by cmake according to its own settings. +Tue, 20 Jan 2009 15:06:44 +0000 +Checked in by : Robert OSFIELD +Added event key variables -2008-06-20 15:49 robert +Tue, 20 Jan 2009 13:50:57 +0000 +Checked in by : Robert OSFIELD +Added support for SampleDensityProperty and TransparencyProperty - * Updated ChangeLog +Tue, 20 Jan 2009 12:39:26 +0000 +Checked in by : Robert OSFIELD +Added AlphaFunc support into osgVolume::AlphaFuncProperty. -2008-06-20 15:28 robert +Tue, 20 Jan 2009 11:34:15 +0000 +Checked in by : Robert OSFIELD +Fixed compile error when using ITK - * Changed const double* to const Matrix::value_type* to ensure - changes in Matrix type don't break the build +Sat, 17 Jan 2009 17:23:47 +0000 +Checked in by : Robert OSFIELD +Updated event callback to be able to update iso surface value. -2008-06-20 13:16 robert +Sat, 17 Jan 2009 17:23:17 +0000 +Checked in by : Robert OSFIELD +Updated Uniform name for controlling IsoSurfaceValue - * 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. +Sat, 17 Jan 2009 16:00:39 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-06-20 11:16 robert +Fri, 16 Jan 2009 17:59:38 +0000 +Checked in by : Robert OSFIELD +Removed old volume rendering scene graph code from osgvolume example.Moved createNormalMapTexture and applyTransferFunction functions from osgvolume example into include/osgVolume/Layer. - * 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 - * Updated version numbers for dev releases +Fri, 16 Jan 2009 16:21:54 +0000 +Checked in by : Robert OSFIELD +Completed firt pass implementation FixedFunction and ShaderTechnique. -2008-06-20 10:46 robert +Fri, 16 Jan 2009 11:27:20 +0000 +Checked in by : Robert OSFIELD +Moved basics of fixed function pipeline implementation from osgvolume example into osgVolume - * From Mathias Froehlich, "Fixes a compile of - src/osgSim/ShapeAttribute.cpp on suse 10.2." +Fri, 16 Jan 2009 10:34:58 +0000 +Checked in by : Robert OSFIELD +Added default use of osgVolume::ShaderTechnique -2008-06-20 09:46 robert +Fri, 16 Jan 2009 10:23:17 +0000 +Checked in by : Robert OSFIELD +Introduced ImageLayer computeMinMax + rescaling methods, and use of rescaleToZeroToOneRange by default. - * From Melchior Franz, fixed typo on variable name +Thu, 15 Jan 2009 15:57:04 +0000 +Checked in by : Robert OSFIELD +Introduce osgVolume::PropertVisitor, and IsoSurface, MaximumImageProjection, Ligting and AlphaFunc Properties -2008-06-20 09:42 robert +Thu, 15 Jan 2009 10:44:52 +0000 +Checked in by : Robert OSFIELD +Removal of rendundant characters from Camera and Camera.cpp.Updated wrappers - * From Mathias Froehlich, add search path to enable out of source - builds to find include/OpenThreads/Config. -2008-06-19 20:42 robert - * Updated wrappers +Thu, 15 Jan 2009 10:36:04 +0000 +Checked in by : Robert OSFIELD +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. " -2008-06-19 20:38 robert +Wed, 14 Jan 2009 20:43:21 +0000 +Checked in by : Robert OSFIELD +Changed setVolumeTechnique to setVolumeTechniquePrototype() - * 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" +Wed, 14 Jan 2009 20:38:12 +0000 +Checked in by : Robert OSFIELD +Added VolumeTechnique to Volume -2008-06-19 17:35 robert +Wed, 14 Jan 2009 20:32:06 +0000 +Checked in by : Robert OSFIELD +Added osgVolume .osg plugin - * From Mathieu Marache, "submission for inclusion to support mpg - and avi files when using the quicktime plugin on windows" +Wed, 14 Jan 2009 15:16:29 +0000 +Checked in by : Robert OSFIELD +Introduced osgVolume::Property, CompositePropery and TransferFunctionPropety classes -2008-06-19 17:30 robert +Wed, 14 Jan 2009 10:32:20 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, "The last field of the LightPointAppearancePalette is only valid for > 15.8 version of the format." - * From Mathias Froehlich, added support for using - OpenThreads::Atomic for thread safe ref/unref. +Tue, 13 Jan 2009 17:51:45 +0000 +Checked in by : Robert OSFIELD +Integrated state setup code from osgvolume.cpp example into ShaderTechnique path. -2008-06-19 14:57 robert - - * from Andrew Bettison, LineStipple support for .ive - -2008-06-19 14:45 robert - - * From Adrian Egli, "Improvements to the PSSM implementation" - -2008-06-19 14:35 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated wrappers to fix OpenThreads::Atomic build issues. - -2008-06-19 12:02 robert - - * From Michael Platings, fixed typo error in renderbin assignment - -2008-06-19 11:58 robert - - * 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 - - * 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 - - * Updated wrappers - -2008-06-18 20:24 robert - - * 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 - - * 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. - " +Tue, 13 Jan 2009 17:20:32 +0000 +Checked in by : Robert OSFIELD +Introduced class interfaces for FixedFunctionTechnique and ShaderTechnique volume rendering techniques. -2008-06-18 16:46 robert +Tue, 13 Jan 2009 10:15:04 +0000 +Checked in by : Robert OSFIELD +Added ZLIB_FOUND to dicom qualification - * Updated wrappers +Tue, 13 Jan 2009 10:12:13 +0000 +Checked in by : Robert OSFIELD +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. -2008-06-18 16:45 robert - * Added a wrapString(const char*) which automatically handles null - strings. -2008-06-18 16:28 robert +Mon, 12 Jan 2009 17:41:25 +0000 +Checked in by : Robert OSFIELD +Added test message - * Convert string handling to use strdup and free rather then - awkward new char[] - code paths +Mon, 12 Jan 2009 16:37:38 +0000 +Checked in by : Robert OSFIELD +Further tweak to include paths -2008-06-18 14:21 robert +Mon, 12 Jan 2009 16:10:40 +0000 +Checked in by : Robert OSFIELD +Restructured the include paths - * Added --fbo-samples value and --color-samples value command line - paramters for enabling fbo multisampling +Mon, 12 Jan 2009 13:12:04 +0000 +Checked in by : Robert OSFIELD +Changed to use ref_ptr<> for scene model to avoid crash -2008-06-18 14:09 robert +Mon, 12 Jan 2009 11:34:03 +0000 +Checked in by : Robert OSFIELD +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 - * From Michael Platings and Paul Palumbo, multi-sample FBO support +* 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). -2008-06-18 12:01 robert +* It is possible to set the compiler in ccmake (cmake-gui, whatever you use) - * 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. - " +* the top folder in packages is the same for all packages (OpenSceneGraph-x.y) -2008-06-18 11:56 robert +* 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 - * From Bob Kuehne, "added multi-texture support (alpha/trans - images)" +* i found a better way to decide whether cpack is available to guard +the BUiLD_OSG_PACKAGES option" -2008-06-18 11:51 robert - * Updated wrappers -2008-06-18 11:13 robert +Fri, 9 Jan 2009 19:53:28 +0000 +Checked in by : Robert OSFIELD +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 - * 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. +* 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." -2008-06-18 10:51 robert - * From Gino van den Bergen, "Added support for vrml primitive - caching" -2008-06-18 10:46 robert - * From David Callu, "fixed bounding box bug" +Fri, 9 Jan 2009 15:57:14 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-06-17 17:43 robert +Fri, 9 Jan 2009 15:55:25 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * From Mathias Froehlich, OpenThreads::Atomic support +Fri, 9 Jan 2009 15:25:34 +0000 +Checked in by : Robert OSFIELD +Updated version number for next dev release -2008-06-16 20:22 robert +Fri, 9 Jan 2009 15:19:25 +0000 +Checked in by : Robert OSFIELD +Moved osgVolume::ImageUtils to osg::ImageUtils, updated wrappers, and started moving osgvolume example across to create osgVolume subgraphs - * Added overriding of CullSettings::inheritCullSettings() into - osg::Camera to - properly inherit the clear colour. +Fri, 9 Jan 2009 15:11:15 +0000 +Checked in by : Robert OSFIELD +Fix of warning reported on CDash -2008-06-16 16:06 robert +Fri, 9 Jan 2009 15:09:39 +0000 +Checked in by : Robert OSFIELD +Fixed warnings reported on CDash - * Changed class to struct +Fri, 9 Jan 2009 12:21:36 +0000 +Checked in by : Robert OSFIELD +From Roland Smeenk, "Attached is a fix for the Collada plugin. A PositionAttitudeTransform wrote its place elements in the wrong order." -2008-06-16 13:20 robert +Fri, 9 Jan 2009 12:17:40 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, fixes for Solaris build - * Added mutex to serialize access to the trpager +Thu, 8 Jan 2009 14:52:11 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "Here the updated osganimationskinning.cpp that works as before" -2008-06-16 09:32 robert +Thu, 8 Jan 2009 12:47:20 +0000 +Checked in by : Robert OSFIELD +Added missing *. - * Checking in missing header changes +Thu, 8 Jan 2009 11:35:57 +0000 +Checked in by : Robert OSFIELD +Commented out the warning disabling block -2008-06-12 16:33 robert +Thu, 8 Jan 2009 11:28:04 +0000 +Checked in by : Robert OSFIELD +From Mattias Helsing, added back in missing wd entries. - * Refactored the management of the request queues so that the - appropraite mutex is locked when DatabaseRequest objects are - modified +Thu, 8 Jan 2009 11:26:16 +0000 +Checked in by : Robert OSFIELD +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 -2008-06-06 19:57 robert +For apple we first required min cmake version 2.6.0 and then had code +warning about using 2.4.x" - * Updated wrappers, authors and readme for 2.5.2 dev release -2008-06-06 19:41 robert - * Updated ChangeLog +Thu, 8 Jan 2009 11:19:21 +0000 +Checked in by : Robert OSFIELD +Added checked from the ARG version of glDraw*Instanced(). -2008-06-06 17:45 robert +Thu, 8 Jan 2009 11:18:54 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate file - * Updated versions for 2.5.2 dev release +Thu, 8 Jan 2009 11:16:56 +0000 +Checked in by : Robert OSFIELD +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." -2008-06-06 16:45 robert +Thu, 8 Jan 2009 11:15:14 +0000 +Checked in by : Robert OSFIELD +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." - * 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. - " +Thu, 8 Jan 2009 10:34:05 +0000 +Checked in by : Robert OSFIELD +Moved supression of VS warning C4706 from the include/osg/Export header into the CMake options list. Added suppression of C4127 as well. -2008-06-06 16:41 robert +Wed, 7 Jan 2009 15:35:28 +0000 +Checked in by : Robert OSFIELD +Fixed assingment operator - * From Stephane Lamoliatte, "fix to reading of DatabasePath - property" +Wed, 7 Jan 2009 15:33:24 +0000 +Checked in by : Robert OSFIELD +Added supression VS warning "C4706: assignment within conditional expression" thanks gets spat out even for perfectly valid if ((variable=expression)) {} usage. -2008-06-06 16:28 robert +Wed, 7 Jan 2009 14:49:04 +0000 +Checked in by : Robert OSFIELD +Added handling of when a View isn't yet assigned to a Viewer to avoid associated crash - * 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." +Wed, 7 Jan 2009 13:16:38 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-06-06 16:25 robert +Wed, 7 Jan 2009 12:27:45 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * 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." +Wed, 7 Jan 2009 11:24:47 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-06-06 14:59 robert +Wed, 7 Jan 2009 10:32:59 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * 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." +Wed, 7 Jan 2009 09:49:49 +0000 +Checked in by : Robert OSFIELD +Added a protected = operator -2008-06-06 14:10 robert +Tue, 6 Jan 2009 19:09:50 +0000 +Checked in by : Robert OSFIELD +Removed the usage of assert to prevent associated compile warnings and to clean up code - * Cleaned up implementation to only use simple structure +Tue, 6 Jan 2009 19:08:34 +0000 +Checked in by : Robert OSFIELD +Updated path to reflect where the new button images are located. -2008-06-06 13:21 robert +Tue, 6 Jan 2009 16:45:35 +0000 +Checked in by : Robert OSFIELD +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. - * Renamed _rendergraph to _stateGraph to better reflect its - function +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. -2008-06-06 13:21 robert +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. - * Introduce a lower overhead data structure for leaves. +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. +" -2008-06-06 10:51 robert - * 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. -2008-06-06 09:08 robert +Tue, 6 Jan 2009 16:35:38 +0000 +Checked in by : Robert OSFIELD +From Ewe Woesnner, "the Inventor loader crashes when a texture could not be loaded.Please find attached a small fix which solves this issue." - * Quitened down the release context message -2008-06-06 08:42 robert - * Added OSGDB_EXPORT +Tue, 6 Jan 2009 16:16:03 +0000 +Checked in by : Robert OSFIELD +From Sergey Leontyev, "Some minor(but important) bug fixes for osgWidget:1. In WindowManager.cpp childRemoved method the second parameter "end" is misleading and -2008-06-05 18:52 robert +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. - * Added timing code + -2008-06-05 17:28 robert +replaced this: - * Basic implementation of kdtree generation based on vertices + -2008-06-05 13:46 robert +void WindowManager::childRemoved(unsigned int start, unsigned int end) { + while(start < end) { + Window* window = getByIndex(start); - * Added accep(Shape&) + if(!window) continue; -2008-06-04 17:59 robert + if(_remove(window)) { + window->_index = -1; - * Further work on fleshing out basic classes + window->unmanaged(this); + } -2008-06-04 16:53 robert + start++; + } +} - * Updated wrappers + -2008-06-04 16:46 robert +with this: - * 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. +void WindowManager::childRemoved(unsigned int start, unsigned int numChildren) { + for (unsigned int i = start; i < start+numChildren; i++) + { + Window* window = getByIndex(i); -2008-06-03 17:29 robert + if(!window) continue; - * Fleshed out some basic kd-tree data structures. + if(_remove(window)) { + window->_index = -1; -2008-06-03 16:13 robert + window->unmanaged(this); + } + } +} - * 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 +2. in Input.cpp - * Added missing updateBlock() + -2008-06-03 13:07 robert +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. - * From Mario Valle, fixed warnings +in method positioned() -2008-06-03 13:06 robert +replaced this: - * Ran merge to get rid of tabs + _cursor->setOrigin(x + xoffset + 1.0f, y - _cursor->getHeight() + 1.0f); -2008-06-03 11:31 robert + - * 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. +with this: -2008-06-03 11:28 robert + _cursor->setOrigin(x + xoffset + 1.0f, y + 1.0f); - * Added unit test to smoke out a thread issue with using - ofstream("/dev/null") inside - osg::notify() + -2008-06-02 17:34 robert +Now it is placed correctly. - * 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 - * Changed FIND_PACKAGE(PkgConfig) to INCLUDE(FindPkgConfig - OPTIONAL) as per - suggestion from Philip Lowman. -2008-05-30 21:23 robert +Tue, 6 Jan 2009 15:41:29 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated authors and version file for 2.5.1 dev release +Tue, 6 Jan 2009 15:11:54 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, example demonstating new draw instanced primitive funcitonality. -2008-05-30 21:12 robert +Tue, 6 Jan 2009 14:55:49 +0000 +Checked in by : Robert OSFIELD +Added support for primitive instancing - * Updated ChangeLog +Mon, 5 Jan 2009 18:07:31 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, changed VS aggressive warnings setting to just /W4. -2008-05-30 21:08 robert +Mon, 5 Jan 2009 17:52:41 +0000 +Checked in by : Robert OSFIELD +From Don Leich, build fix for OSX. - * Added version check on FIND_PACKAGE(PkgConfig) to attempt to fix - build with older versions of CMake +Mon, 5 Jan 2009 17:35:26 +0000 +Checked in by : Robert OSFIELD +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." -2008-05-30 20:15 robert - * Added applyMaskAction(CLEAR_COLOR) to Camera::setClearColor() to - enable proper inheritance -2008-05-30 17:03 robert +Mon, 5 Jan 2009 17:06:09 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, added --points option for forcing points rendering of polygonal models - * Updated ChangeLog +Mon, 5 Jan 2009 16:53:29 +0000 +Checked in by : Robert OSFIELD +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?" -2008-05-30 16:53 robert - * 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. - " -2008-05-30 12:59 robert +Mon, 5 Jan 2009 12:21:58 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Luc Frauciel, Added support for - osgTerrain::ValidDataOperator. - - From Robert Osfield, added versioning to the above. +Mon, 5 Jan 2009 11:58:08 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, Correction to Timer method comment. -2008-05-30 11:44 robert +Mon, 5 Jan 2009 11:31:38 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, added non const getText() method - * Updated packgage number for 2.5.1 developer release +Mon, 5 Jan 2009 11:26:26 +0000 +Checked in by : Robert OSFIELD +Introduced osgVolume::Layer and Locator classes mirrroring similar classes in osgTerrain. -2008-05-30 11:43 robert +Mon, 5 Jan 2009 10:13:04 +0000 +Checked in by : Robert OSFIELD +Change the aggressive warning level under VS to /W3 - * Fixed cirular reference in DatabaseRequest +Wed, 24 Dec 2008 11:05:22 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-05-29 13:54 robert +Wed, 24 Dec 2008 10:30:21 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Moved enum to public scope and rebuilt wrappers to fix wrapper - build error +Mon, 22 Dec 2008 21:17:03 +0000 +Checked in by : Robert OSFIELD +Made aggressive warnings the default. -2008-05-29 11:45 robert +Mon, 22 Dec 2008 21:16:40 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Added code to catch erroneous Dof axis settings +Mon, 22 Dec 2008 18:30:52 +0000 +Checked in by : Robert OSFIELD +Build fix -2008-05-29 11:13 robert +Mon, 22 Dec 2008 08:26:16 +0000 +Checked in by : Robert OSFIELD +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." - * Improved the NaN depth detection within CullVisitor and debug - output. -2008-05-29 11:09 robert - * Improved the NaN error detection and reporting. +Sun, 21 Dec 2008 20:42:29 +0000 +Checked in by : Robert OSFIELD +Changed VolumeTile::setImage(Image*) to setImage(uint i, Image*) to allow multiple images to be attached to single tile -2008-05-28 17:56 robert +Sun, 21 Dec 2008 20:24:56 +0000 +Checked in by : Robert OSFIELD +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." - * Added catch for NaN depth values +Sat, 20 Dec 2008 20:55:21 +0000 +Checked in by : Robert OSFIELD +Renamed osgVolume::Brick to osgVolume::VolumeTile -2008-05-28 16:14 robert - - * 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 - - * Updated wrappers - -2008-05-28 14:11 robert - - * From Adrian Egli, improvements to ParallelSplitShadowMap - implementation - -2008-05-28 13:51 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2008-05-28 11:19 robert - - * 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 - - * 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 - - * 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 - - * From Lars Nilson, bug fix to Sector::computeMatrix() - -2008-05-27 16:32 robert - - * Added handling of \ within srings by using \\ - -2008-05-27 15:42 robert - - * Updated wrappers - -2008-05-27 15:30 robert - - * 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 - - * 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 - - * 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 - - * Updated version numbers in prep for 2.5.1 release - -2008-05-27 12:06 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Fixed copyright notice typo - -2008-05-26 21:33 robert - - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2008-05-26 21:09 robert - - * 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" +Sat, 20 Dec 2008 20:30:08 +0000 +Checked in by : Robert OSFIELD +Changed the scale from 0.03 to 0.0254 as the Q3 bsp files are in inches. -2008-05-26 21:04 robert +Sat, 20 Dec 2008 13:35:49 +0000 +Checked in by : Robert OSFIELD +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. - * 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." +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. -2008-05-26 20:46 robert +osgPlugins/bsp: +This contains all of the changes needed to load props along with the basic map geometry. There are also +several bugs fixed. - * Added debug block to output the location of the master camera for - each View in a Viewer. +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. -2008-05-26 17:30 robert +I tested all of this code on RHEL 5.2 (32-bit), and Fedora 9 (64-bit). I'll be testing on Windows soon. - * Added continuous recording of the animation path to the - RecordAnimationPathHandler +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: -2008-05-26 16:25 robert + osgviewer models/props_junk/gascan001a.mdl" - * Introduce --pbuffer-only width height option, and added fps - reporting to stats output -2008-05-26 15:41 robert - * Added basic --pbuffer width height support +Sat, 20 Dec 2008 12:52:16 +0000 +Checked in by : Robert OSFIELD +Added OPTIONAL into INCLUDE(FindPkgConfig) -2008-05-26 14:30 robert +Fri, 19 Dec 2008 19:04:45 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 2.7.8 dev release - * Added better stats reporting +Fri, 19 Dec 2008 18:37:23 +0000 +Checked in by : Robert OSFIELD +Added osgversion into dynamic build path -2008-05-26 12:01 robert +Fri, 19 Dec 2008 18:02:18 +0000 +Checked in by : Robert OSFIELD +Removed debug message - * Added feedback of pixel format chosen for read back +Fri, 19 Dec 2008 17:50:58 +0000 +Checked in by : Robert OSFIELD +Moved main setSceneData methods in osgViewer::View::setSceneData() -2008-05-26 11:59 robert +Fri, 19 Dec 2008 17:15:56 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added automatic selection of the pixel type according to the - window type +Fri, 19 Dec 2008 17:15:10 +0000 +Checked in by : Robert OSFIELD +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. -2008-05-26 11:53 robert +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."" - * Added option for doing triple buffering, and set the default read - format - to GL_RGBA -2008-05-25 22:06 robert - * Switch to using an inital draw callback when use --start-frame +Fri, 19 Dec 2008 16:59:10 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-05-25 21:52 robert +Fri, 19 Dec 2008 16:35:45 +0000 +Checked in by : Robert OSFIELD +Fixed compile error during debug build - * Added option for setting whether the front or back buffer should - be read using - --front and --back command line options. +Fri, 19 Dec 2008 16:13:19 +0000 +Checked in by : Robert OSFIELD +Added support for user defined clipping of the precipitation effect, to test use: osgpreciptation lz.osg --clip 20 + -2008-05-25 21:35 robert - * 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. -2008-05-25 11:21 robert +Fri, 19 Dec 2008 16:12:40 +0000 +Checked in by : Robert OSFIELD +Added setting of the gl_ClipVertex to enable clip planes to affect preciptation - * Added check for pkg-config so that build only use related package - checks when - it's supported +Fri, 19 Dec 2008 15:29:59 +0000 +Checked in by : Robert OSFIELD +Added ClipNode::set/getReferenceFrame(); -2008-05-24 11:05 robert +Fri, 19 Dec 2008 14:30:03 +0000 +Checked in by : Robert OSFIELD +Removed MATH_LIBRARY and FREETYPE library reference. - * Added #define's for PixelBufferObject extensions. - - Added docs for Camera::DrawCallback +Fri, 19 Dec 2008 12:58:50 +0000 +Checked in by : Robert OSFIELD +Fixed warning & error -2008-05-24 09:24 robert +Fri, 19 Dec 2008 12:50:33 +0000 +Checked in by : Robert OSFIELD +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. - * Added RenderStage::setClear*() methods from Camera::getClear*() - sources +Fri, 19 Dec 2008 12:46:21 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-05-24 08:13 robert +Fri, 19 Dec 2008 12:29:18 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Changed default format to GL_BGR +Fri, 19 Dec 2008 12:28:53 +0000 +Checked in by : Robert OSFIELD +Added StandardShadowMap to list to test cases -2008-05-23 16:26 robert +Fri, 19 Dec 2008 11:36:26 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added single buffered and double buffered PBO support, and - --no-pbo, - --single-pbo and --double-pbo command line parameters +Fri, 19 Dec 2008 11:04:35 +0000 +Checked in by : Robert OSFIELD +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-05-22 17:50 robert +Fri, 19 Dec 2008 10:20:23 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added basic glReadPixels code +Thu, 18 Dec 2008 17:40:13 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2008-05-22 15:43 robert +Thu, 18 Dec 2008 17:09:12 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, "minor tweak to the cmake root file to handle debug correctly on os x." - * Added camera final callback attachment code. +Thu, 18 Dec 2008 17:01:21 +0000 +Checked in by : Robert OSFIELD +Refactored the handling of particle rotation -2008-05-22 13:11 robert +Thu, 18 Dec 2008 16:10:12 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Fixed name of source file +Thu, 18 Dec 2008 15:49:44 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-05-22 13:10 robert +Thu, 18 Dec 2008 14:18:22 +0000 +Checked in by : Robert OSFIELD +Added MATH_LIBRARY to link list - * Added new osgscreencapture example folder, implementation to - follow +Thu, 18 Dec 2008 13:56:30 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-05-22 12:38 robert +Thu, 18 Dec 2008 13:23:48 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Reorginaized the DatabaseQueue's to avoid warnings under Windows +Thu, 18 Dec 2008 12:29:17 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-05-22 11:21 robert +Thu, 18 Dec 2008 12:27:34 +0000 +Checked in by : Robert OSFIELD +Quitened down debug messages - * Fixed warning by adding in missing return +Thu, 18 Dec 2008 12:26:14 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-05-22 08:31 robert +Thu, 18 Dec 2008 12:25:51 +0000 +Checked in by : Robert OSFIELD +Quitened down debug message - * Checking in missed header +Thu, 18 Dec 2008 11:54:34 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-05-21 21:09 robert +Thu, 18 Dec 2008 11:06:57 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * 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. +Wed, 17 Dec 2008 22:52:36 +0000 +Checked in by : Robert OSFIELD +Improved the effectiveness of the new max target number PageLOD's -2008-05-20 09:28 robert +Wed, 17 Dec 2008 17:23:17 +0000 +Checked in by : Robert OSFIELD +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." - * Moved the compile to after the updateSceneView -2008-05-14 20:22 robert - * Updated wrappers +Wed, 17 Dec 2008 17:11:13 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-05-14 17:03 robert +Wed, 17 Dec 2008 16:58:23 +0000 +Checked in by : Robert OSFIELD +Fixed inactive PagedLOD removal code - * 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 - +Wed, 17 Dec 2008 16:13:23 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-05-14 14:59 robert +Wed, 17 Dec 2008 16:02:42 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Moved the cache file writing into StreamObject so that the cache - file is only - created once data is being read. +Wed, 17 Dec 2008 15:36:59 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-05-14 13:16 robert +Wed, 17 Dec 2008 15:32:35 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Introduced a thread safe map which manages a single EasyCurl - object per thread. +Wed, 17 Dec 2008 14:56:40 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-05-14 12:47 robert +Wed, 17 Dec 2008 13:14:17 +0000 +Checked in by : Robert OSFIELD +Warning fixes - * Refactor curl usage so that a new EasyCurl class wraps up the - curl handle and - reading from curl. +Wed, 17 Dec 2008 12:13:15 +0000 +Checked in by : Robert OSFIELD +Introduce NodeVisitor::className and libraryName() -2008-05-13 18:28 robert +Wed, 17 Dec 2008 11:00:16 +0000 +Checked in by : Robert OSFIELD +Warning fixes - * Fixed lat/long ordering +Wed, 17 Dec 2008 10:34:09 +0000 +Checked in by : Robert OSFIELD +From Sekender, fixed warnins -2008-05-13 17:27 robert +Wed, 17 Dec 2008 10:33:39 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Added support for -e level minX minY maxX maxY extents controls +Wed, 17 Dec 2008 10:01:52 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, added missing export -2008-05-13 14:08 robert +Tue, 16 Dec 2008 21:16:06 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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. +Tue, 16 Dec 2008 20:49:12 +0000 +Checked in by : Robert OSFIELD +Build fixes for when the implict ref_ptr<> cast is not enabled -2008-05-13 12:36 robert +Tue, 16 Dec 2008 20:29:00 +0000 +Checked in by : Robert OSFIELD +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). - * Further work on computing of lat/long range of PagedLOD subgraphs -2008-05-13 10:56 robert - * 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. - " +Tue, 16 Dec 2008 19:49:09 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, build fixes. -2008-05-12 16:59 robert +Tue, 16 Dec 2008 16:36:33 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for 2.8.8 dev release - * Added signal handling code, and prelimary lat/long computation +Tue, 16 Dec 2008 15:58:42 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-05-12 15:42 robert +Tue, 16 Dec 2008 15:21:17 +0000 +Checked in by : Robert OSFIELD +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. - * Added missing getBound() method +Thus this patch based on rev 9358 removes that additional unlock in the win32 +mutex implementations destructor." -2008-05-12 12:16 robert - * Update ChangeLog and wrappers for 2.5.0 dev release -2008-05-12 12:16 robert +Tue, 16 Dec 2008 15:08:04 +0000 +Checked in by : Robert OSFIELD +From Sukender and Robert Osfield, introduced GraphicsContext::ScreenSettings & WindowingSystemInterface::enumerateScreenSettings. - * Updated AUTHORS for 2.5.0 release +Tue, 16 Dec 2008 12:38:10 +0000 +Checked in by : Robert OSFIELD +From Peter Hrenka, "Fix counting number of new arrays and avoid building free-list when not needed (saves a handfull of mallocs/frees). " -2008-05-12 11:39 robert +Tue, 16 Dec 2008 12:23:30 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * From Mathias Froehlich, Fixed FrameBufferObject attachement code - to handle cases - where no texture or image is attached +Tue, 16 Dec 2008 12:20:19 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-05-12 11:01 robert +Tue, 16 Dec 2008 11:43:28 +0000 +Checked in by : Robert OSFIELD +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" - * Updated version number for 2.5.0 dev release -2008-05-12 10:55 robert - * 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. -2008-05-12 10:18 robert +Mon, 15 Dec 2008 22:18:40 +0000 +Checked in by : Robert OSFIELD +Added support for a Terrain::s/getTerrainTechniquePrototype() - * 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" +Mon, 15 Dec 2008 20:38:40 +0000 +Checked in by : Robert OSFIELD +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. -2008-05-12 10:16 robert +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). - * From Mathias Froehlich, fixed typo +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-05-11 14:26 robert - * Added CARIO_FOUND into svg plugins checks -2008-05-11 14:23 robert +Mon, 15 Dec 2008 20:32:15 +0000 +Checked in by : Robert OSFIELD +Limited the static build to just osversion and osgstaticviewer - * From Miguel Escriva, Here you will find a SVG Image Reader. It - renders a SVG file as an osg::Image using cairo and rsvg. +Mon, 15 Dec 2008 19:37:14 +0000 +Checked in by : Robert OSFIELD +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-05-10 17:25 robert - * 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 +Mon, 15 Dec 2008 16:46:13 +0000 +Checked in by : Robert OSFIELD +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." - * 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." +Mon, 15 Dec 2008 16:42:22 +0000 +Checked in by : Robert OSFIELD +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). -2008-05-10 17:04 robert - * 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. +This fixes the overwriting issue that I showed in my posting +"Bug in VertexBufferObject::compileBuffer" on OSG-Users. +" -2008-05-09 17:22 robert - * Added --file-cache command line option to compliment -c -2008-05-09 17:08 robert +Mon, 15 Dec 2008 16:41:34 +0000 +Checked in by : Robert OSFIELD +Reduced the default number _targetMaximumNumberOfPageLOD to 300 to keep the memory consumption on large databases a bit lower. - * Initial cut of file cache population app +Mon, 15 Dec 2008 16:10:26 +0000 +Checked in by : Robert OSFIELD +Added deprecated messages to get/set methods of outgoing expiry schemes. -2008-05-09 11:54 robert +Mon, 15 Dec 2008 14:07:29 +0000 +Checked in by : Robert OSFIELD +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. - * 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. +CMakers will not get options for selecting compression format. TGZ +goes for all platforms (on win32 I use 7zip) -2008-05-09 11:27 robert +The wrappers is now given the COMPONENT name +libopenscenegraph-wrappers. Feel free to change the name. - * 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 - - * From Jeremy Moles, fixed window resize problem - -2008-05-08 17:02 robert - - * Added missing check against handling invalid bounding sphere's - -2008-05-08 16:48 robert - - * 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 - - * 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 - - * From Jeremy Moles, osgviewerGTK example - -2008-05-08 15:17 robert - - * 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 - - * Updated ChangeLog and osgversion to catch Raymond de Vries name - correctly - -2008-05-08 14:00 robert - - * 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 - - * 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 - - * Updated wrappers - -2008-05-08 13:22 robert - - * From Roland Smeenk, "Small typo and implementation fix for - setInitialDrawCallback." - -2008-05-08 12:55 robert - - * 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 - - * From Garrett Potts and Robert Osfield, changes to build against - Collada DOM 2.x +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. -2008-05-08 09:16 robert +stop - * Updated the doxygen docs to explain the deprecated status of - SceneView +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-05-07 17:06 robert - * Commented out checking of DISPLAY env var -2008-05-07 14:32 robert +Mon, 15 Dec 2008 13:56:38 +0000 +Checked in by : Robert OSFIELD +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. - * Updated wrappers +Set DatabasePager DoPreCompile to OFF by default. -2008-05-07 14:30 robert - * From Bob Kuehne, Added doxygen docs clarification of ReadResult - enum values -2008-05-07 14:24 robert - * From Donald Cipperly, "This is a fix to eliminate >> errors in VS - 7.1" +Mon, 15 Dec 2008 12:16:31 +0000 +Checked in by : Robert OSFIELD +Removed buildMipmaps method that had no implementation. -2008-05-07 14:17 robert +Fri, 12 Dec 2008 22:28:22 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * 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. - " +Fri, 12 Dec 2008 19:19:01 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and READER for 2.7.7 dev release -2008-05-07 13:49 robert +Fri, 12 Dec 2008 19:12:38 +0000 +Checked in by : Robert OSFIELD +Updated change log - * From Terry Welsh, fixed typo of getEnd() +Fri, 12 Dec 2008 18:47:30 +0000 +Checked in by : Robert OSFIELD +Where possible moved redundent C header includes from headers to source files -2008-05-07 13:46 robert +Fri, 12 Dec 2008 14:54:22 +0000 +Checked in by : Robert OSFIELD +Changed the libopenscenegraph-core to be part of libopenscenegraph, and changed libopenscenegraph-examples to be part of openscenegraph-examples - * 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. - " +Fri, 12 Dec 2008 14:16:11 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-05-07 13:42 robert +Fri, 12 Dec 2008 13:41:39 +0000 +Checked in by : Robert OSFIELD +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." - * From Farshid Lashkari, "I've added hardware mipmap support to - Texture3D." +Fri, 12 Dec 2008 11:01:09 +0000 +Checked in by : Robert OSFIELD +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/Packaging2) 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.). -2008-05-07 11:59 robert +I have temporariliy uploaded some examples to +http://www.openscenegraph.org/projects/osg/wiki/Community/People/MattiasHelsing - * Added doxygen comments for attach +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-04-26 11:13 robert - * Updated package numbers for OSG-2.4, OT-2.2.1 release -2008-04-25 13:10 robert +Fri, 12 Dec 2008 10:20:05 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Update AUTHORS file for 2.4 release +Fri, 12 Dec 2008 10:19:19 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.7.7 release -2008-04-25 12:58 robert +Thu, 11 Dec 2008 17:00:40 +0000 +Checked in by : Robert OSFIELD +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. " - * Updated ChangeLog for 2.4 release +Wed, 10 Dec 2008 17:08:21 +0000 +Checked in by : Robert OSFIELD +Cleaned up layout -2008-04-25 12:40 robert +Wed, 10 Dec 2008 16:26:02 +0000 +Checked in by : Robert OSFIELD +Added mechanism for registering proxy objects in the .osg plugin in a way that is compatible with static linking. - * Update NEWS and README to 2.4 stable release +Wed, 10 Dec 2008 15:01:49 +0000 +Checked in by : Robert OSFIELD +Removed #if 0'd out reference to osgDB -2008-04-25 09:46 robert +Wed, 10 Dec 2008 12:50:40 +0000 +Checked in by : Robert OSFIELD +Fixed link line - * Updated Version number for 2.4 stable release +Wed, 10 Dec 2008 11:12:37 +0000 +Checked in by : Robert OSFIELD +Refactored computeIntersections() float x,float y, const osg::NodePath& nodePath. -2008-04-25 09:35 robert +Wed, 10 Dec 2008 10:13:58 +0000 +Checked in by : Robert OSFIELD +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)." - * From Stephane Lamoliatte, "Here is the fix of a very little typed - error in BoundingBox : I replace "doulbe" by "double"." +Wed, 10 Dec 2008 10:10:45 +0000 +Checked in by : Robert OSFIELD +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-04-25 08:34 robert - * Added cast to avoid warning -2008-04-24 16:50 robert +Wed, 10 Dec 2008 09:34:45 +0000 +Checked in by : Robert OSFIELD +Added return - * Updated date of 2.4 release +Tue, 9 Dec 2008 16:43:38 +0000 +Checked in by : Robert OSFIELD +From Sukender, added missing inline keywords -2008-04-24 16:49 robert +Tue, 9 Dec 2008 14:07:59 +0000 +Checked in by : Robert OSFIELD +Fixed cull callback usage to ensure that the lazy updating of the browser image functions automatically. - * Updated AUTHORS file for release +Tue, 9 Dec 2008 11:05:04 +0000 +Checked in by : Robert OSFIELD +Cleaned up osgWidget::VncClient and osgWidget::Browser so that their implementations are all more consitent with the osgWidget::PdfReader. -2008-04-24 16:48 robert +Tue, 9 Dec 2008 09:26:51 +0000 +Checked in by : Robert OSFIELD +Added support for setting background colour of Pdf document. - * Updated ChangeLog for 2.3.11 release +Tue, 9 Dec 2008 09:25:12 +0000 +Checked in by : Robert OSFIELD +Added setImageToColour function -2008-04-24 16:24 robert +Tue, 9 Dec 2008 09:24:47 +0000 +Checked in by : Robert OSFIELD +Added asSwitch and asGeode convinience methods to Node - * From Wojchiech Lewandowski, add missing setDataVariance(DYNAMIC) - and extra event handlers +Sun, 7 Dec 2008 17:37:26 +0000 +Checked in by : Robert OSFIELD +Added ability to customize keyboard events for controlling osgWidget::PdfImage/PdfReader -2008-04-24 14:46 robert +Sun, 7 Dec 2008 17:02:30 +0000 +Checked in by : Robert OSFIELD +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. - * From Colin Dunlop, added alias for .live to quicktime plugin - mapping. -2008-04-24 11:34 robert - * Reverted the changes for ill fated tweaks for Apple build +Sat, 6 Dec 2008 11:03:32 +0000 +Checked in by : Robert OSFIELD +Fixed build problem -2008-04-24 10:09 robert +Fri, 5 Dec 2008 16:41:12 +0000 +Checked in by : Robert OSFIELD +Added GL_ABGR_EXT to fix windows build - * 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." +Thu, 4 Dec 2008 10:27:29 +0000 +Checked in by : Robert OSFIELD +From Jason Daly, added support for reading Valve's texture format files -2008-04-23 21:07 robert +Wed, 3 Dec 2008 14:13:59 +0000 +Checked in by : Robert OSFIELD +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); - * Updated authors file for 2.3.11 release +/** 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); -2008-04-23 21:07 robert +... and the same for Event and Cull callbacks methods." - * Updated ChangeLog -2008-04-23 20:54 robert - * Updated version number 2.3.11 +Wed, 3 Dec 2008 12:09:21 +0000 +Checked in by : Robert OSFIELD +From Ferdi Smit, "Image.cpp didn't handle the integer data types correctly in the function:unsigned int Image::computeNumComponents(GLenum pixelFormat) -2008-04-23 20:50 robert +so I added these types to the switch statement: - * Refactored the inclusion of the headers in the ADD_LIBRARY so - that they aren't - added under OSX. + 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; -2008-04-23 20:49 robert +That's all... now it computes the number of components and, thus, the image size +correctly." - * Removed the mutable from the _image variable -2008-04-23 14:10 robert - * Added mutex to object creation to avoid a race condition when - using threaded multiple graphics context +Tue, 2 Dec 2008 10:42:58 +0000 +Checked in by : Robert OSFIELD +Revised the DYNAMIC vs STATIC library setup of COLLADA. -2008-04-22 14:31 robert +Tue, 2 Dec 2008 09:00:53 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, build fix - * Added return. +Mon, 1 Dec 2008 15:46:50 +0000 +Checked in by : Robert OSFIELD +Fixed wrappers -2008-04-22 14:15 robert +Mon, 1 Dec 2008 14:07:20 +0000 +Checked in by : Robert OSFIELD +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. - * From Stephan Huber, "the support for the new mightymouse and new - touchpads was incomplete in GraphicsWindowCarbon. Attached is a - fixed version." +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-04-22 13:00 robert - * Updated AUTHORS file -2008-04-22 12:52 robert +Mon, 1 Dec 2008 13:47:48 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated ChangeLog, NEWS and READE for 2.3.10 pre release of 2.4. +Mon, 1 Dec 2008 13:28:13 +0000 +Checked in by : Robert OSFIELD +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: -2008-04-22 11:47 robert +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. - * Updated version number for 2.3.10 dev release -2008-04-22 11:41 robert +-------------------------------------------- +Compatibility: - * Updated wrappers +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. -2008-04-22 11:39 robert +-------------------------------------------- +Testing: - * Removed hardware down sampling hack from GeoemtryTechnique and - replaced with Terrain::g/setSampleRatio() - usage. +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 ;) ) -2008-04-22 10:10 robert - * Updated authors +-------------------------------------------- +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-04-22 09:43 robert - * Fixed name -2008-04-21 16:31 robert +Mon, 1 Dec 2008 11:19:11 +0000 +Checked in by : Robert OSFIELD +Added OpenThreads to link lists - * Updated NEWS for 2.4 release +Sun, 30 Nov 2008 16:33:55 +0000 +Checked in by : Robert OSFIELD +Changed OPENEXR_LIBRARY to OPENEXR_LIBRARIES to pick up on Ulrich's changes to the FindOpenEXR.cmake -2008-04-21 14:51 robert +Sun, 30 Nov 2008 16:33:11 +0000 +Checked in by : Robert OSFIELD +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. - * 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 +Also attached are some typo fixes for CMakeModules. -2008-04-18 16:21 robert +Cheers," - * Updated AUTHORS file for release -2008-04-18 16:20 robert - * Updated ChangeLog +Sun, 30 Nov 2008 15:56:47 +0000 +Checked in by : Robert OSFIELD +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-04-18 15:52 robert +Sat, 29 Nov 2008 12:16:04 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, and AUTHORS lists for 2.7.6 dev release - * Updated date on readem +Sat, 29 Nov 2008 11:35:03 +0000 +Checked in by : Robert OSFIELD +Build fix for when implicit conversion in ref_ptr<> is switched off. -2008-04-18 15:01 robert +Sat, 29 Nov 2008 11:10:56 +0000 +Checked in by : Robert OSFIELD +Fixed build for when ref_ptr<> impicit cast is not built - * Updated wrappers +Fri, 28 Nov 2008 17:18:08 +0000 +Checked in by : Robert OSFIELD +Removed cmath include as it was causing build problems under Cgwin -2008-04-18 14:57 robert +Fri, 28 Nov 2008 14:37:58 +0000 +Checked in by : Robert OSFIELD +Added new examples - * Added support for COLOR_BUFFER entries up to 15 +Fri, 28 Nov 2008 14:37:16 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, updates to osganimation examples.Merged by Robert Osfield, from OpenSceneGraph-osgWidget-dev -2008-04-18 14:51 robert - * Updated BufferComponent enum to list COLOR_BUFFERi entries up to - 15. -2008-04-18 14:33 robert +Fri, 28 Nov 2008 14:36:39 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, updates to osgwidget examples.Merged by Robert Osfield from OpenSceneGraph-osgWidget-dev - * Fixed bug in FBO colour attachement code -2008-04-18 14:14 robert - * Added optional compiled in debugging output to - CullVisitor::apply(osg::Camera&) +Fri, 28 Nov 2008 14:35:47 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-04-18 13:57 robert +Fri, 28 Nov 2008 14:35:33 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, updates to osgWidgetMerged my Robert Osfield from OpenSceneGraph-osgWidget-dev. - * Added write(ostream&) method to allow one to print out the - current state -2008-04-18 13:25 robert - * 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 +Fri, 28 Nov 2008 14:34:38 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, updates toosgAnimation.Merged by Robert Osfield, from OpenSceneGraph-osgWidget-dev. - * 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 - * 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 :)" -2008-04-17 11:12 robert +Thu, 27 Nov 2008 17:31:49 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "updated the CMakelist.txt of curl plugin to compile with the static library of curl. I added the external dependency wldap32" - * From John Shue, build fix for QT 3.x +Thu, 27 Nov 2008 17:30:14 +0000 +Checked in by : Robert OSFIELD +Updated SO version number for 2.5.6 release -2008-04-17 09:04 shuber +Thu, 27 Nov 2008 17:29:12 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * updated XCode project +Thu, 27 Nov 2008 16:58:43 +0000 +Checked in by : Stephan Maximilian HUBER +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-04-16 18:13 robert +Thu, 27 Nov 2008 14:05:30 +0000 +Checked in by : Robert OSFIELD +Changed unsigned long to unsigned int to avoid 64bit portability issue. - * Added new computation of time to allocate to flushing deleted and - compiling OpenGL objects per frame. +Thu, 27 Nov 2008 09:45:41 +0000 +Checked in by : Robert OSFIELD +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-04-16 15:23 robert +Thu, 27 Nov 2008 09:36:35 +0000 +Checked in by : Robert OSFIELD +Enabled the build of exr plugin - * 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. - " +Thu, 27 Nov 2008 09:36:18 +0000 +Checked in by : Robert OSFIELD +Build fixes -2008-04-16 15:22 robert +Thu, 27 Nov 2008 09:33:06 +0000 +Checked in by : Robert OSFIELD +Removed the use of = operator. - * Updated version number for nex dev release +Wed, 26 Nov 2008 16:40:01 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-04-16 10:01 robert +Wed, 26 Nov 2008 16:39:52 +0000 +Checked in by : Robert OSFIELD +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. " - * From Jason Beverage, cursor inheritance support +Wed, 26 Nov 2008 16:00:27 +0000 +Checked in by : Robert OSFIELD +added workaround of compile issues with templated version of BoundingBox -2008-04-15 20:27 robert +Wed, 26 Nov 2008 13:18:54 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated AUTHORS.txt for release +Wed, 26 Nov 2008 12:50:12 +0000 +Checked in by : Robert OSFIELD +From Andy Preece,"To reproduce the bug: -2008-04-15 20:16 robert + 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: - * Updated ChangeLog + dynamic_cast(templateNode -> clone( osg::CopyOp( (osg::CopyOp::CopyFlags)osg::CopyOp::DEEP_COPY_NODES ) ) ) -2008-04-15 19:46 robert + 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. - * 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." + -2008-04-15 19:36 robert +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?" - * 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 - * Updated wrappers +Wed, 26 Nov 2008 12:35:49 +0000 +Checked in by : Robert OSFIELD +Added searching for OpenEXR -2008-04-15 11:50 robert +Wed, 26 Nov 2008 12:35:25 +0000 +Checked in by : Robert OSFIELD +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. - * From Tim Moore, compile fix for gcc 4.3 +I have only tested it on windows XP 32 machine. So there might be some work making it work on other platforms. -2008-04-14 10:38 robert +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. - * Added docs explaining units +When reading an exr file it automatically removes Alfa channel if it didn't store any information." -2008-04-13 19:31 robert +-- - * Added subdivision of Goedes +From Robert Osfield, started work on ported it to other platforms, but could fix some problems relating to error: -2008-04-13 14:32 robert + ?Imf::OStream::OStream(const Imf::OStream&)? is private - * 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) - { - .." +I'm checking in now so that others can have a bash at completing the port. -2008-04-13 14:29 robert - * From Paul Martz, added osgocclussionquery and osgthirdpersonview - examples -2008-04-12 10:02 robert - - * Changed bias parameter to scale - -2008-04-11 14:52 robert - - * Updadated authors file for dev release -2008-04-11 14:43 robert +Wed, 26 Nov 2008 12:07:03 +0000 +Checked in by : Robert OSFIELD +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." - * Updated wrappers, and version numbers in prep for next release -2008-04-11 14:33 robert - * Fixed J.P. Delports name +Wed, 26 Nov 2008 11:45:33 +0000 +Checked in by : Robert OSFIELD +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. -2008-04-11 14:14 robert +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." - * Added --unit entry for controlling which texture unit the overlay - works on. -2008-04-11 13:43 robert - * 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 - - * 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 - - * Added reference to osgstereomatch example to - osgmultiplerendertargets. - - Added usage example use OpenSceneGraph-Data/Images examples - -2008-04-11 13:03 robert - - * 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 - - * From Jose Delport, a MRT example implementing stereo matching. - -2008-04-11 11:19 robert - - * Updated wrappers - -2008-04-11 11:10 robert - - * 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 - - * 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 - - * From Colin McDonald, fixed typo. - -2008-04-11 10:30 robert - - * 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 - - * 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 - - * Added --mouse option to enable mouse tracking, and fixed bug in - assumption - that nv is not null. - -2008-04-03 18:36 robert - - * 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 - - * 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." +Wed, 26 Nov 2008 11:23:06 +0000 +Checked in by : Robert OSFIELD +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-04-03 10:26 robert +Wed, 26 Nov 2008 11:12:19 +0000 +Checked in by : Robert OSFIELD +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 - * 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 - * From Jose Delport, added support for MRT via glDrawBuffers +Tue, 25 Nov 2008 16:24:50 +0000 +Checked in by : Robert OSFIELD +From Piotr Rak, "added bool conversion for ref_ptr, when no implicit conversion to T* is used." -2008-04-02 13:57 robert +Tue, 25 Nov 2008 15:57:27 +0000 +Checked in by : Robert OSFIELD +Fix for build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off - * 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. +Tue, 25 Nov 2008 15:38:11 +0000 +Checked in by : Robert OSFIELD +Fixed build for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is off -2008-04-02 13:55 robert +Tue, 25 Nov 2008 14:40:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated to reflect new COLOR_BUFFER0 value +Tue, 25 Nov 2008 14:31:19 +0000 +Checked in by : Robert OSFIELD +From Joakim Simmonsson, fix for handling of billboards in FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS -2008-04-02 13:48 robert +Tue, 25 Nov 2008 14:15:55 +0000 +Checked in by : Robert OSFIELD +Added support for unsigned int uniforms - * From Jose Delport, introduced osgmultiplerendertargets example +Tue, 25 Nov 2008 14:15:35 +0000 +Checked in by : Robert OSFIELD +From Ferdi Smit, added support for unsigned int typed uniforms -2008-04-02 13:47 robert +Tue, 25 Nov 2008 13:45:27 +0000 +Checked in by : Robert OSFIELD +From Urlich Hertlein, "Attached is a patched version that replaces calls to atof() with osg::asciiToFloat()." - * 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. +Tue, 25 Nov 2008 12:22:33 +0000 +Checked in by : Robert OSFIELD +Fixed warning and some unitialized variables. -2008-04-02 11:28 robert +Tue, 25 Nov 2008 11:09:40 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * From Jose Delport, typo fixes +Tue, 25 Nov 2008 10:57:14 +0000 +Checked in by : Robert OSFIELD +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. -2008-04-01 17:22 robert +There is also new example with using multisampled FBO." - * Updated ChangeLog, osgversion and AUTHOR.txt for 2.3.7 dev - release -2008-04-01 14:52 robert - * Removed svn:externals property +Mon, 24 Nov 2008 16:32:52 +0000 +Checked in by : Robert OSFIELD +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. -2008-04-01 14:28 robert +Modified files: - * Updated data for 2.3.7 dev release +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-04-01 11:03 robert - * 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, 24 Nov 2008 16:26:15 +0000 +Checked in by : Robert OSFIELD +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." - * 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. +Mon, 24 Nov 2008 16:09:43 +0000 +Checked in by : Robert OSFIELD +From Alberto Luaces, removed #include as it was cause a build problem under Cygwin. -2008-04-01 10:33 robert +Mon, 24 Nov 2008 16:02:20 +0000 +Checked in by : Robert OSFIELD +Improved the set of the master + slave cameras - * Updated version numbers for 2.3.7 dev release +Mon, 24 Nov 2008 15:27:19 +0000 +Checked in by : Robert OSFIELD +From Rolad Smeenk, "Forgot a call to uniqify when generating an Id based on osg::Node name." -2008-04-01 10:11 robert +Mon, 24 Nov 2008 14:37:15 +0000 +Checked in by : Robert OSFIELD +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" + - * 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 - * From Tatsuhiro Nishioka and Stephan Huber, bug fixes and - enhancement of cursor suppoort. +Mon, 24 Nov 2008 14:26:04 +0000 +Checked in by : Robert OSFIELD +From Roland Smeenk, "Overview of the Collada/dae plugin changesNew 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-03-31 16:23 robert - * Added checks for a valid scene graph before doing various ops on - it. -2008-03-31 14:00 robert +Mon, 24 Nov 2008 13:50:28 +0000 +Checked in by : Robert OSFIELD +Replaced usage atof to asciiToFloat. - * From Andy Skinner, build fix for Solaris +Mon, 24 Nov 2008 13:19:01 +0000 +Checked in by : Robert OSFIELD +Converted OpenGL version number code to using osg::asciiToFloat to avoid issues with conversion using locale senstive atof function -2008-03-31 11:44 robert +Mon, 24 Nov 2008 11:39:02 +0000 +Checked in by : Robert OSFIELD +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." - * Added Camera::s/getClearAccum, s/getClearStencil and - s/getClearDepth. +This plugin has been integrated with the pre-exisiting bsp plugin. -2008-03-31 09:43 robert - * Updated wrappers -2008-03-29 09:59 robert - * 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 +Mon, 24 Nov 2008 10:28:19 +0000 +Checked in by : Robert OSFIELD +Renamig of files in prep of merge of valve bsp support - * From Paul Martz, "Some small changes and code cleanup. Biggest - change is an improvement to the WriteResult return." +Mon, 24 Nov 2008 10:16:03 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, "the GraphicsWindowX11 code was not correctly calling GraphicsContext::resized when the window was not mapped with the requested geometry." -2008-03-28 18:42 robert +Mon, 24 Nov 2008 10:13:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Set Texture::setMaxAnisotropy() to 16.0f for better quality - terrain when looking at shallow angle. +Sun, 23 Nov 2008 17:28:13 +0000 +Checked in by : Robert OSFIELD +Added mechnism for tracking when a VncImage is inactive or not. -2008-03-28 17:53 robert +Sun, 23 Nov 2008 15:51:43 +0000 +Checked in by : Robert OSFIELD +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. - * Improved the error capture and reporting +Sun, 23 Nov 2008 11:35:43 +0000 +Checked in by : Robert OSFIELD +Introduce osg::asciiToDouble/asciiToFloat function. -2008-03-28 15:52 robert +Sun, 23 Nov 2008 10:20:50 +0000 +Checked in by : Robert OSFIELD +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. - * 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; } +Attached is my re-implementation for review. -2008-03-28 15:31 robert +I've checked it against the test images from http://wvnvaxa.wvnet.edu/vmswww/bmp.html and models that use BMP files. +" - * Introduced mutex into Terrain node to manage the tile system data - structures -2008-03-28 15:28 robert - * Reordered set up of scene and event handlers to prevent warning -2008-03-28 13:22 robert +Sun, 23 Nov 2008 09:57:41 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, added missing export - * Removed old lower case versions +Sat, 22 Nov 2008 14:30:21 +0000 +Checked in by : Robert OSFIELD +Removed the optional build for osgWidget and plugins as these are options that are appropriate for building all the time -2008-03-28 12:44 robert +Sat, 22 Nov 2008 12:14:19 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, Pulled in osgAnimation from OpenSceneGraph-osgWidget-dev into svn/trunk. - * 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. - +Fri, 21 Nov 2008 18:16:43 +0000 +Checked in by : Robert OSFIELD +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: -2008-03-27 13:21 robert +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 - * Removed TileSystem class, and added support for TerrainTile's - automatically - registering and unregistering themseles with the enclosing - Terrain node. +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. -2008-03-27 11:56 robert +Just inversing these steps fixes the problem: - * Added wrapper for TerrainTile +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. -2008-03-27 11:55 robert +Now, the eventState will refer to the correct graphics context in both cases. - * Renamed osgTerrain::TerrainSystem to osgTerrain::Terrain +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-03-27 10:55 robert - * Renamed Terrain to TerrainTile -2008-03-26 20:06 robert +Fri, 21 Nov 2008 17:44:16 +0000 +Checked in by : Robert OSFIELD +Added handling of View::LightingMode - * Introduce TerrainSystem node which decorates a complete terrain - model made up of Terrain tiles. +Fri, 21 Nov 2008 17:10:41 +0000 +Checked in by : Robert OSFIELD +Build fix -2008-03-26 20:03 robert +Fri, 21 Nov 2008 16:09:28 +0000 +Checked in by : Robert OSFIELD +Added exports - * 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." +Fri, 21 Nov 2008 13:23:55 +0000 +Checked in by : Robert OSFIELD +From David Spilling, better support for multitexture in obj loader. -2008-03-26 20:01 robert +Fri, 21 Nov 2008 12:38:22 +0000 +Checked in by : Robert OSFIELD +From Jaromir Vitek, osgpackeddepthstencil example as a test case. - * From Carlo Comporesi, adding support of finding libcurl in 3rd - party dependencies +Fri, 21 Nov 2008 12:31:28 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-03-25 15:21 robert +Fri, 21 Nov 2008 12:30:12 +0000 +Checked in by : Robert OSFIELD +Made the ParticleSystemUpdate::addParticleSystem, removeParticleSystem, replaceParticleSystem and setParticleSystem methods all virtual to allow them to be overriden. - * 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..." +Fri, 21 Nov 2008 12:15:16 +0000 +Checked in by : Robert OSFIELD +From Mario Valle, "Attached two small correction to remove the following warnings from MINGW build." -2008-03-25 13:14 robert +Fri, 21 Nov 2008 12:10:27 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "The _pluginData member variable is not properly copied when using the copy constructor for ReaderWriter::Options." - * Moved include of c headers to top, and remove using std::strlen - in an attempt to solve gcc4.3 compile problems +Fri, 21 Nov 2008 12:05:03 +0000 +Checked in by : Robert OSFIELD +From Joakim Simonsson, fixed warning. -2008-03-25 13:06 robert +Fri, 21 Nov 2008 11:52:48 +0000 +Checked in by : Robert OSFIELD +From Gordon Tomlinson, "Find enclosed fix for a leak in the Tessellator::reset(), were the new verts were not being deleted, only the container wasWe have confirmed the leak while running things through Purify," - * Added limits.h to try and avoid gcc 4.3 compile problems +Small code tweaks by Robert Osfield to streamline the code. -2008-03-25 13:01 robert - * Added #include to fix gcc 4.3 build problem -2008-03-25 12:26 robert +Fri, 21 Nov 2008 11:27:11 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Fixed LessGeode operator. +Fri, 21 Nov 2008 11:23:21 +0000 +Checked in by : Robert OSFIELD +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-03-25 11:50 robert +Fri, 21 Nov 2008 11:09:11 +0000 +Checked in by : Robert OSFIELD +Replaced tabs - * 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." +Fri, 21 Nov 2008 10:27:31 +0000 +Checked in by : Robert OSFIELD +Added handling of case when there is so scene graph attached to a view. -2008-03-24 18:06 robert +Thu, 20 Nov 2008 17:27:21 +0000 +Checked in by : Robert OSFIELD +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." - * Added sampling down to 32x32 mesh for 64x64 height fields as a - workaround to - memory consumption issues with high res whole earth paged - databases. +Thu, 20 Nov 2008 13:07:21 +0000 +Checked in by : Robert OSFIELD +Added readNodeFile support the gecko plugin. -2008-03-24 18:03 robert +Thu, 20 Nov 2008 12:03:21 +0000 +Checked in by : Robert OSFIELD +Added DisplaySettings::s/getApplication() to help with gecko plugin initialization when it requires the application name - * Added mutex to prevent multiple cull threads changing the - MultiTextureControl at one time. +Thu, 20 Nov 2008 11:47:38 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-03-24 10:53 robert +Thu, 20 Nov 2008 11:28:20 +0000 +Checked in by : Robert OSFIELD +Clean up osgbrowser after moving browser implementation into gecko plugin - * Added full range of cameras manipulators to - osgmultitexturecontrol example +Thu, 20 Nov 2008 11:27:36 +0000 +Checked in by : Robert OSFIELD +Moved browser code from osgbrowser example into gecko plugin to make the browser functionality accessible to other OSG applications -2008-03-23 18:28 robert +Wed, 19 Nov 2008 20:34:53 +0000 +Checked in by : Robert OSFIELD +Reverted Kyle Centers mistaken patch that removed a _currentContext->valid() that was actually required. - * Added < and > key bindings to allow the speed to be animation - speed to be increased or decreased. +Wed, 19 Nov 2008 17:16:29 +0000 +Checked in by : Robert OSFIELD +Moved Browser.h and Browser.cpp from osgbrowser into osgWidget. -2008-03-21 18:35 robert +Wed, 19 Nov 2008 17:04:02 +0000 +Checked in by : Robert OSFIELD +Added XUL_DIR searching - * Added preliminary file cache support. Enabled by setting the - OSG_FILE_CACHE variable. +Wed, 19 Nov 2008 17:02:45 +0000 +Checked in by : Robert OSFIELD +Fixed component directory path handling. -2008-03-21 18:31 robert +Wed, 19 Nov 2008 16:58:32 +0000 +Checked in by : Robert OSFIELD +Refactored browser classes so that there is now a base class and reader writer. - * Added missing break; at end of each case entry. +Tue, 18 Nov 2008 23:38:18 +0000 +Checked in by : Robert OSFIELD +Changed osgbrowser example to use a local CMakeModules/FindXUL.cmake script, and specialization of GTK dependencies to only non Windows/OSX platforms. -2008-03-21 15:43 robert +Tue, 18 Nov 2008 17:20:45 +0000 +Checked in by : Robert OSFIELD +Removed debug output - * Fixed push/popping of filepath, removed verbose debug messages +Tue, 18 Nov 2008 15:18:34 +0000 +Checked in by : Robert OSFIELD +Added optional bool keep to BarrierOperation to make it more resuable -2008-03-21 13:20 robert +Tue, 18 Nov 2008 14:46:02 +0000 +Checked in by : Robert OSFIELD +Moved update functionality into from UBrowserImage into update. - * Added better detection and error reporting of files without - proper server address +Tue, 18 Nov 2008 13:36:47 +0000 +Checked in by : Robert OSFIELD +Added support for running all ubrowser operataions in a background thread. -2008-03-21 13:08 robert +Mon, 17 Nov 2008 19:15:12 +0000 +Checked in by : Robert OSFIELD +Fixed key mapping - * Added initial cut of libcurl based plugin +Mon, 17 Nov 2008 17:58:59 +0000 +Checked in by : Robert OSFIELD +Refactored the UBrowser functionality so a UBrowserThread singlton class takes over more responsibility of integratation with llmozlib. -2008-03-20 10:24 robert +Mon, 17 Nov 2008 15:53:04 +0000 +Checked in by : Robert OSFIELD +Removed dependency on GLUT. - * Updated date for 2.4.6 release +Mon, 17 Nov 2008 15:49:24 +0000 +Checked in by : Robert OSFIELD +Ported example to using OSG objects for rendering rather than GLUT -2008-03-19 21:05 robert +Mon, 17 Nov 2008 10:36:55 +0000 +Checked in by : Robert OSFIELD +Introduced xulrunner extensions from llmozlib2, and got things working under linux - * 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, 14 Nov 2008 20:50:40 +0000 +Checked in by : Robert OSFIELD +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." -2008-03-19 17:11 robert - * Update AUTHOR file -2008-03-19 17:10 robert - * Updated version and ChangeLog for 2.3.6 dev release. +Fri, 14 Nov 2008 20:31:28 +0000 +Checked in by : Robert OSFIELD +Added definition of std::wstring as a work around to a lack of wstring under Cygwin. -2008-03-19 12:30 robert +Fri, 14 Nov 2008 18:22:01 +0000 +Checked in by : Robert OSFIELD +From Simon Hammett, moved VS #prgama warning disabling from include/osg/Export to CMakeList.txt. - * Updated wrappers +Fri, 14 Nov 2008 18:15:12 +0000 +Checked in by : Robert OSFIELD +Removed reduncent #includes -2008-03-19 12:09 robert +Fri, 14 Nov 2008 17:03:59 +0000 +Checked in by : Robert OSFIELD +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." - * From Sebastian Messerschimdt, Added polygon offset controls +Fri, 14 Nov 2008 16:54:07 +0000 +Checked in by : Robert OSFIELD +Added GTK and GLUT guards to osgbrowser include -2008-03-19 11:41 robert +Fri, 14 Nov 2008 16:48:07 +0000 +Checked in by : Robert OSFIELD +Further work on experiment llmozlib/geko based embedded web browser - * Updated wrappers +Thu, 13 Nov 2008 15:35:08 +0000 +Checked in by : Robert OSFIELD +An "attempt" at using LLMozLib sources as a base for a gecko based embedded browser. -2008-03-19 11:41 robert +Thu, 13 Nov 2008 10:49:33 +0000 +Checked in by : Robert OSFIELD +Updated version number in prep for 2.5.6 dev release - * 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&) +Wed, 12 Nov 2008 22:54:12 +0000 +Checked in by : Robert OSFIELD +Moved Poppler-glib check into root CMakeList.txt -2008-03-19 11:40 robert +Wed, 12 Nov 2008 14:57:30 +0000 +Checked in by : Robert OSFIELD +Improved filepath handling, and increased the image resolution for better rendering quality - * 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. +Wed, 12 Nov 2008 14:21:05 +0000 +Checked in by : Robert OSFIELD +Introduced new osgpdf example that use Cario + Poppler libraries to provide a means of rendering a pdf document to an osg::Image. -2008-03-18 17:44 robert +Wed, 12 Nov 2008 14:20:15 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Set the CullSettings::InhertianceMask to 0x0 as temporary measure - till we - work out the best scheme to use w.r.t inhertiance of CullSettins. +Wed, 12 Nov 2008 10:30:17 +0000 +Checked in by : Robert OSFIELD +Added osgViewerGetVersion() into context creation code as a means of forcing windows to link in osgViewer properly. -2008-03-18 15:48 robert +Tue, 11 Nov 2008 17:59:35 +0000 +Checked in by : Robert OSFIELD +Improved naming - * Updated wrappers +Tue, 11 Nov 2008 17:30:11 +0000 +Checked in by : Robert OSFIELD +Tweaked comment -2008-03-18 15:37 robert +Tue, 11 Nov 2008 17:29:48 +0000 +Checked in by : Robert OSFIELD +Added default fallback of a window context is none is otherwise specified. - * 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. +Tue, 11 Nov 2008 16:59:58 +0000 +Checked in by : Robert OSFIELD +Added command line argument docs and support for -h/--help command line options -2008-03-18 10:45 robert +Tue, 11 Nov 2008 16:59:12 +0000 +Checked in by : Robert OSFIELD +Removed the redundent prepending of application name. - * Added example code showing how to set the minimum and maximum - scales +Tue, 11 Nov 2008 16:21:04 +0000 +Checked in by : Robert OSFIELD +Added timing stats -2008-03-18 09:17 robert +Tue, 11 Nov 2008 16:13:37 +0000 +Checked in by : Robert OSFIELD +Added --geometry, --geometry-vbo and --geometry-va command line options and associated geometry test codes - * Added ObjectRecordData to include list +Tue, 11 Nov 2008 15:00:29 +0000 +Checked in by : Robert OSFIELD +Added --delay option that is run between each OpenGL object apply, defaults to 0 -2008-03-17 15:22 robert +Tue, 11 Nov 2008 12:50:51 +0000 +Checked in by : Robert OSFIELD +Added support for fbo testing. - * Added minimum and maximum scale support to osg::AutoTransform +Mon, 10 Nov 2008 20:06:27 +0000 +Checked in by : Robert OSFIELD +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. -2008-03-17 12:23 robert +Mon, 10 Nov 2008 13:56:59 +0000 +Checked in by : Robert OSFIELD +Added commented out flt entry for compiling the old deprecated flight plugin (useful for testing purposes). - * 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. +Mon, 10 Nov 2008 13:48:36 +0000 +Checked in by : Robert OSFIELD +Fix to traversal of children of an LOD - based on a suggestion from Katharina Plugge. -2008-03-17 12:13 robert +Sun, 9 Nov 2008 11:56:02 +0000 +Checked in by : Robert OSFIELD +Added support for Camera::PACKED_DEPTH_STENCIL_BUFFER to .osg and .ive formats - * Updated wrappers +Sun, 9 Nov 2008 11:55:11 +0000 +Checked in by : Robert OSFIELD +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." -2008-03-17 12:11 robert +Sat, 8 Nov 2008 17:53:51 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, replaced M_PI with osg::PI. - * Added doxygen docs +Fri, 7 Nov 2008 18:02:05 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 2.7.5 release -2008-03-17 12:09 robert +Fri, 7 Nov 2008 17:40:25 +0000 +Checked in by : Robert OSFIELD +From Csaba Halasz, fix for hang when running in CullThreadPerCameraDrawThreadPerContext threading model. - * 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. +Fri, 7 Nov 2008 17:23:55 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2008-03-17 10:29 robert +Fri, 7 Nov 2008 17:07:43 +0000 +Checked in by : Robert OSFIELD +Fixed build under gcc 4.3.2 - * Added fire effect, enabled by --fire command line option. The new - fire effect - has been introduced to reproduce the scaling of paricle effects +Fri, 7 Nov 2008 16:26:46 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and version number for 2.7.5 release -2008-03-15 19:27 robert +Fri, 7 Nov 2008 16:14:49 +0000 +Checked in by : Robert OSFIELD +Removed fstream for wrapper due to problems with wrapping. - * Added better error reporting +Fri, 7 Nov 2008 16:03:37 +0000 +Checked in by : Robert OSFIELD +Removed due to problems with build -2008-03-14 16:51 robert +Fri, 7 Nov 2008 15:38:40 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Paul Melis, "typo fix : NVidea -> NVidia (including option - --Nvidea)" +Fri, 7 Nov 2008 15:08:08 +0000 +Checked in by : Robert OSFIELD +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-03-14 16:24 robert +Fri, 7 Nov 2008 15:01:15 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces - * Update ChangeLog and AUTHORS.txt file for 2.3.5 release +Fri, 7 Nov 2008 13:18:40 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, removed redundent forward declartion of BoundingBox and BoundingSphere -2008-03-14 15:33 robert +Fri, 7 Nov 2008 10:23:57 +0000 +Checked in by : Robert OSFIELD +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" - * Updated wrappers +Thu, 6 Nov 2008 16:48:55 +0000 +Checked in by : Robert OSFIELD +Changed to using stdio.h. -2008-03-14 15:33 robert +Thu, 6 Nov 2008 14:56:31 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added utilty script for cleaning up build files/directories. +Thu, 6 Nov 2008 14:46:11 +0000 +Checked in by : Robert OSFIELD +Fixed constness of getTexture/getRenderBuffer() const and added non cost version. -2008-03-14 15:32 robert +Thu, 6 Nov 2008 14:29:35 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "I've added functions to get the texture, renderbuffer and other properties from a FrameBufferAttachment." - * Fixed indenting +Thu, 6 Nov 2008 14:17:12 +0000 +Checked in by : Robert OSFIELD +From Kyle Centers, removed redundent check to _currentContext.valid(). -2008-03-14 15:13 robert +Thu, 6 Nov 2008 14:04:26 +0000 +Checked in by : Robert OSFIELD +From Csaba Halasz, adding missing export directives - * 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.) - " +Thu, 6 Nov 2008 13:57:14 +0000 +Checked in by : Robert OSFIELD +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-03-14 15:00 robert +Thu, 6 Nov 2008 13:40:35 +0000 +Checked in by : Robert OSFIELD +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. " - * Missing checkin +Thu, 6 Nov 2008 13:38:11 +0000 +Checked in by : Robert OSFIELD +Fixed IntersectionVisitor::accept(Camera) handling of relative Cameras. -2008-03-14 14:35 robert +Thu, 6 Nov 2008 13:36:25 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, added transform to cube to test picking fixes - * Added iostream include +Wed, 5 Nov 2008 16:06:25 +0000 +Checked in by : Robert OSFIELD +Removed redundent static ImageStream pointer -2008-03-14 13:21 robert +Wed, 5 Nov 2008 15:59:48 +0000 +Checked in by : Robert OSFIELD +Added --no-rescale, --rescale (default) and --shift-min-to-zero command line options for controlling how the pixel data is managed. - * 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. +Wed, 5 Nov 2008 15:04:38 +0000 +Checked in by : Robert OSFIELD +Added --replace-rgb-with-luminance option -2008-03-14 12:03 robert +Wed, 5 Nov 2008 15:04:11 +0000 +Checked in by : Robert OSFIELD +Added support for different pixel formats and datatypes in copyImage() method - * Converted static const unsigned int definitio to enum. +Wed, 5 Nov 2008 11:56:44 +0000 +Checked in by : Robert OSFIELD +Fixed return value of ArgumentParser::find() for when the search string is not found, the correct value is now -1. -2008-03-14 11:53 robert +Wed, 5 Nov 2008 10:29:45 +0000 +Checked in by : Robert OSFIELD +Added extra data types info to debug message - * Updated version/author type fixes, authors, readme and changelog - for 2.3.5 dev release +Wed, 5 Nov 2008 10:27:49 +0000 +Checked in by : Robert OSFIELD +Added Thread::Init() to CurrentThread -2008-03-14 11:07 robert +Tue, 4 Nov 2008 16:31:47 +0000 +Checked in by : Robert OSFIELD +Compiled fix for gcc 4.3.2 - * Updated wrappers +Tue, 4 Nov 2008 12:57:30 +0000 +Checked in by : Robert OSFIELD +Fixed --images commandline parsing -2008-03-14 11:06 robert +Mon, 3 Nov 2008 16:55:06 +0000 +Checked in by : Robert OSFIELD +Added GPL copyright notice - * Improved the indenting +Mon, 3 Nov 2008 16:31:44 +0000 +Checked in by : Robert OSFIELD +Added handling of texture matrices and texture rectangles in InteractiveImageHandler -2008-03-14 11:06 robert +Mon, 3 Nov 2008 15:58:02 +0000 +Checked in by : Robert OSFIELD +Refactored osgvnc example to utilise the new vnc plugin - * Changed the const get(), operator*() and operator->() methods to - return non const T versions +Mon, 3 Nov 2008 15:57:21 +0000 +Checked in by : Robert OSFIELD +Added vnc plugin. -2008-03-14 11:01 robert +Mon, 3 Nov 2008 15:08:04 +0000 +Checked in by : Robert OSFIELD +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. - * From Andy Skinner, build fix for Solaris +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 -2008-03-13 19:48 robert - * Fixed doc comment -2008-03-13 19:44 robert - * Removed gl and glu prefixes from SceneGraphBuilder methods to - avoid problems under Solaris +Mon, 3 Nov 2008 15:03:49 +0000 +Checked in by : Robert OSFIELD +Changed version number to 2.7.5 in prep for dev release -2008-03-13 16:40 robert +Mon, 3 Nov 2008 10:17:26 +0000 +Checked in by : Robert OSFIELD +Changed Tiff plugin to link to TIFF_LIBRARIES to handle case where JPEG and ZLIB are dependencies. - * 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 - - * 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 - - * 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." +Fri, 31 Oct 2008 16:48:19 +0000 +Checked in by : Robert OSFIELD +Wrapped up the various client streaming methods + thread into VncImage classes. -2008-03-13 16:18 robert +Fri, 31 Oct 2008 13:59:32 +0000 +Checked in by : Robert OSFIELD +Implemented keyboard and mouse dispatch from vnc client to vnc server. - * 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) - - " +Fri, 31 Oct 2008 12:03:44 +0000 +Checked in by : Robert OSFIELD +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. -2008-03-13 16:12 robert +Thu, 30 Oct 2008 13:05:08 +0000 +Checked in by : Robert OSFIELD +Removed renduent osgDB::Registry DatabasePager methods - * From Melchoir Franz, Caps lock support under X11 +Wed, 29 Oct 2008 12:04:11 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, AUTHORS.txt and README.txt for 2.4.7 release -2008-03-13 16:05 robert +Wed, 29 Oct 2008 11:51:47 +0000 +Checked in by : Robert OSFIELD +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)." - * Added double versions of intersect methods +Wed, 29 Oct 2008 11:15:33 +0000 +Checked in by : Robert OSFIELD +Warning fixes -2008-03-13 16:05 robert +Wed, 29 Oct 2008 11:09:08 +0000 +Checked in by : Robert OSFIELD +Added missing implementations - * Updated wrappers +Wed, 29 Oct 2008 10:56:40 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS.txt for 2.7.4 release -2008-03-13 15:23 robert - - * 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 +Wed, 29 Oct 2008 10:38:55 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Paul Martz, files for adding ObjectRecordData support into - OpenFlight +Wed, 29 Oct 2008 10:25:24 +0000 +Checked in by : Robert OSFIELD +From Lukas Diduch, added a multithread compsite viewer path, accessible using: osgviewerQT --MTCompositeViewer --QOSGWidget cow.osg -2008-03-13 14:09 robert - * 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. -2008-03-13 13:44 robert - * Added support for assigning state to created drawables, - implemented gluDisk. +Wed, 29 Oct 2008 10:12:02 +0000 +Checked in by : Robert OSFIELD +From James Moliere, fixed display of axis -2008-03-13 13:43 robert +Tue, 28 Oct 2008 17:28:14 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagrade, "I've replaced readsome by read+gcount."From Robert Osfeld, added throw on uncompress error. - * 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 - * Updated wrappers +Mon, 27 Oct 2008 19:59:05 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, changed nested Camera intersection test so that it requires the command line --relative-camera-scene to enable it -2008-03-12 20:15 robert +Mon, 27 Oct 2008 17:42:04 +0000 +Checked in by : Robert OSFIELD +Added --help-env docs for OSG_MAX_PAGEDLOD - * Added extra constructors - -2008-03-12 20:15 robert - - * Added proper implementations of OpenGL 1.0 calls to OSG object - representation methods in SceneGraphBuilder. - -2008-03-12 15:28 robert - - * Fixed bug in output of ProxyLayer's MinLevel/MaxLevel - -2008-03-11 13:29 robert - - * Added default implementations of new SceneGraphBuilder class - -2008-03-11 13:23 robert - - * 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 - - * From Jose Delport, added support for finding and using GDAL 1.5 - -2008-03-11 12:10 robert - - * Added extra event handlers to make viewer more functional - -2008-03-10 20:30 robert - - * Added commandline help options - -2008-03-05 13:54 robert - - * From Andreas Ekstrand and Lars Nilsson, fix for reading Texture - Attribute file - -2008-03-05 12:05 robert - - * Updated wrappers - -2008-03-05 11:52 robert - - * From Atr Trevs, added missinging initializers - -2008-03-05 11:33 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Refactored the way that the camera settings are inhertied - -2008-03-04 15:29 robert - - * 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 - - * 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." +Mon, 27 Oct 2008 17:11:01 +0000 +Checked in by : Robert OSFIELD +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-03-04 14:19 robert +Mon, 27 Oct 2008 17:09:36 +0000 +Checked in by : Robert OSFIELD +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. " - * 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. +Mon, 27 Oct 2008 16:16:28 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, default scene that tests the use of in scene graph Camera which has a RELATIVE_RF ReferenceFrame. -2008-03-04 14:04 robert +Mon, 27 Oct 2008 16:06:24 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, fixed support of in scene graph osg::Camera's with ReferenceFrame of RELATIVE_RF. - * From Art Trevs, add support for saving external shader files. - From Robert Osfield, adding missing member variable initializes - and Output::getShaderFileNameForOutput() implementation +Mon, 27 Oct 2008 15:26:53 +0000 +Checked in by : Robert OSFIELD +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 ): -2008-03-04 13:30 robert +Line 423 in file expPrimaryRecords.cpp has to be changed from - * From Paul Martz, a third person view CompositeViewer example +const ParentPools* pp = static_cast(proxy.getUserData() ); -2008-03-04 11:53 robert +to - * Change the setViewAsLookAt method to use Vec3d rather than Vec3 - for better precision +const ParentPools* pp = dynamic_cast(proxy.getUserData() ); +" -2008-03-04 11:52 robert - * 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 +Mon, 27 Oct 2008 13:09:43 +0000 +Checked in by : Robert OSFIELD +Various warning fixes - * Removed single threaded setting +Mon, 27 Oct 2008 11:49:31 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-03-03 18:12 robert +Mon, 27 Oct 2008 11:08:54 +0000 +Checked in by : Robert OSFIELD +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." - * Implemented fade between layers using MultiTextureControl node +Mon, 27 Oct 2008 10:42:58 +0000 +Checked in by : Robert OSFIELD +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: -2008-03-03 14:17 robert +"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." - * Added beginings of new osgmultitexturecontrol example +And another post from Blasius on this topic: -2008-03-01 13:42 robert +"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. - * Updated wrappers +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)) -2008-03-01 13:40 robert +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)) - * Added OSG_EXPORT +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. -2008-03-01 12:50 robert - * Fixed typo -2008-03-01 12:29 robert + Why is the OT_LIBRARY_STATIC added to the config file? It is not needed anywhere. - * Fixed naming +OT_LIBRARY_STATIC is needed if you are doing static-builds on Windows. See my previous post on that. +" -2008-02-29 16:09 robert - * Disabled the resizing of Camera's with FBO's -2008-02-29 15:25 robert - * Added Camera::g/setIntialDrawCallback and - g/setFinalDrawCallback(), and added - screen snapshot example code to osghud. +Mon, 27 Oct 2008 10:40:13 +0000 +Checked in by : Robert OSFIELD +Fixed positioning of wings -2008-02-28 20:02 robert +Mon, 27 Oct 2008 09:48:34 +0000 +Checked in by : Robert OSFIELD +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." - * Added LODScaleHandler +Mon, 27 Oct 2008 09:44:49 +0000 +Checked in by : Robert OSFIELD +From Alberto Lucas, fixed typo -2008-02-28 18:08 robert +Sun, 26 Oct 2008 22:22:38 +0000 +Checked in by : Robert OSFIELD +Improved the support for no pre compile, and configuring the number of threads in the DatabasePager. - * Added OSG_EXPIRY_DELAY env var option. +Sun, 26 Oct 2008 22:21:09 +0000 +Checked in by : Robert OSFIELD +Improved the error reporting -2008-02-28 17:59 robert +Sat, 25 Oct 2008 13:17:22 +0000 +Checked in by : Robert OSFIELD +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. - * Moved the delete operations to before of the compile operations - to ensure that - delete operations don't get pushed out by allocations +- 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. -2008-02-28 10:56 robert +- If VRML textures have names, the name is now copied to - * From He Sicong, "fixed shader calculation of ray tracing" +-- -2008-02-27 12:11 robert +Form Robert Osfild, changed SbString to std::string usage - * From Wojciech Lewandowski and Robert Osfield, Support from - LightPointNode::s/getPointSprite parameter. -2008-02-27 11:46 robert +M Inventor/ConvertFromInventor.h +M Inventor/ConvertFromInventor.cpp - * 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 - * From Paul Martz, fixed get/set methods API +Fri, 24 Oct 2008 11:38:40 +0000 +Checked in by : Robert OSFIELD +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-02-27 11:43 robert +Fri, 24 Oct 2008 10:02:13 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Added debug message to track cache usage +Fri, 24 Oct 2008 09:59:12 +0000 +Checked in by : Robert OSFIELD +Add osgParticle:: qualifiers in front of Program entries to avoid issues when combining osg::Program and osgParticle::Program in a single app -2008-02-25 17:30 robert +Fri, 24 Oct 2008 09:49:55 +0000 +Checked in by : Robert OSFIELD +Changed timing stats to osg::INFO level - * From Melchior Franz, fixed handling of modified keys when - entering/leaving window +Fri, 24 Oct 2008 08:09:36 +0000 +Checked in by : Robert OSFIELD +Removed debugging test. -2008-02-25 16:50 robert +Thu, 23 Oct 2008 16:33:14 +0000 +Checked in by : Robert OSFIELD +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. - * 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 - - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2008-02-25 15:07 robert - - * 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 - - * Changed method parameter to use const & - -2008-02-25 14:15 robert - - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2008-02-25 13:07 robert - - * Reverted back to previous version of osgtext - -2008-02-25 12:54 robert - - * Refactored the mutex usage in osgText and freetype plugin to - prevent multi-thread crash - -2008-02-22 18:38 robert - - * 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 - - * 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 - - * Added TextureUnit entry to osg::TransferFunction and - osgTerrain::Layer - -2008-02-19 16:02 robert - - * Removed erroneous ; - -2008-02-19 12:26 robert - - * 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 - - * 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 - - * From Philip Lowman, workaround for gcc 3.2.3 bug - -2008-02-18 15:30 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2008-02-18 14:51 robert - - * 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 - - * From Bob Kuehne, build fix for OSX/gcc 4.0.1 - -2008-02-18 13:52 robert - - * 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 - * From Bryan Thrall, "moved the prints to a higher notify level - (DEBUG_FP) so they are only printed at the most verbose level." +Tue, 21 Oct 2008 16:39:24 +0000 +Checked in by : Robert OSFIELD +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. -2008-02-18 13:44 robert +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. - * 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." +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-02-15 14:09 robert - * Changed constructors to take const pointers -2008-01-29 22:14 robert +Tue, 21 Oct 2008 16:32:55 +0000 +Checked in by : Robert OSFIELD +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." - * Update AUTHORS list for release +Tue, 21 Oct 2008 16:31:01 +0000 +Checked in by : Robert OSFIELD +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-01-29 21:34 robert +Tue, 21 Oct 2008 16:27:22 +0000 +Checked in by : Robert OSFIELD +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. " - * Updated logs for release +Tue, 21 Oct 2008 15:51:56 +0000 +Checked in by : Robert OSFIELD +#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-01-29 20:45 robert +Tue, 21 Oct 2008 09:50:07 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Mon, 20 Oct 2008 16:24:57 +0000 +Checked in by : Robert OSFIELD +Introduce osgDB::FileCache, and updated osgfilecache and DatabasePager to use it. -2008-01-29 12:24 robert +Mon, 20 Oct 2008 08:43:25 +0000 +Checked in by : Robert OSFIELD +Introduced support for controlling mipmapping of osgTerrain::ImageLayer and compression of osgTerrain::HeightFieldLayer. - * Reorganized the static vector used for buffering extensions to - prevent an crash on exit. +Fri, 17 Oct 2008 09:16:02 +0000 +Checked in by : Robert OSFIELD +From Paul Melis, fixed typo -2008-01-29 10:28 robert +Wed, 15 Oct 2008 10:07:21 +0000 +Checked in by : Robert OSFIELD +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 ); +///////////////////////////////////////" - * Updated versions for OSG-2.3.4 release -2008-01-28 20:54 robert - * 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." +Tue, 14 Oct 2008 17:20:58 +0000 +Checked in by : Robert OSFIELD +Changed erroneous ZLIB_INCLUDE_DIRS to ZLIB_INCLUDE_DIR -2008-01-28 20:52 robert +Tue, 14 Oct 2008 16:57:37 +0000 +Checked in by : Robert OSFIELD +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. - * From Mike Weiblen, "an aesthetic enhancement for displaying - important version information." +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. -2008-01-28 20:31 robert +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." - * From Roger James, "A small fix for compiling with - OSG_USE_FLOAT_MATRIX" -2008-01-28 20:27 robert - * From Rainer Oder, removed duplicate conditional +Tue, 14 Oct 2008 16:44:14 +0000 +Checked in by : Robert OSFIELD +Converted M_PI* usage across to osg::PI -2008-01-28 19:54 robert +Tue, 14 Oct 2008 16:35:03 +0000 +Checked in by : Robert OSFIELD +From Ricard Schmidt, dot writer plugin. - * Fixed BUILD_REF_DOCS_SEARCHENGINE conditional +Tue, 14 Oct 2008 15:24:39 +0000 +Checked in by : Robert OSFIELD +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-01-28 19:42 robert +Tue, 14 Oct 2008 15:10:10 +0000 +Checked in by : Robert OSFIELD +Removed geomoflife_frag.cpp experiement from CMakeList.txt file - * Added explict casts to double to prevent VS compiler error +Tue, 14 Oct 2008 14:58:10 +0000 +Checked in by : Robert OSFIELD +From J.P Delport, game of life example that demonstrates ping pong render to texture rendering -2008-01-28 18:29 robert +Tue, 14 Oct 2008 14:37:11 +0000 +Checked in by : Robert OSFIELD +Added zlib support to curl and ive plugins - * From Jean-Christophe Lombardo and Robert Osfield, added - BUILD_REF_DOCS_SEARCHENGINE and BUILD_REF_DOCS_TAGFILE options - for being - doxygen docs. +Tue, 14 Oct 2008 14:36:24 +0000 +Checked in by : Robert OSFIELD +Added debug timing code -2008-01-28 17:00 robert +Tue, 14 Oct 2008 14:27:41 +0000 +Checked in by : Robert OSFIELD +Added a Refrenced::getGlobalReferencedMutex, and OpenThreads::ScopedPointerLock() and use of this in add/removeParent() codes to avoid threading problems when using atomic ref counting. - * 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" +Tue, 14 Oct 2008 14:25:54 +0000 +Checked in by : Robert OSFIELD +UPdated version numbers -2008-01-28 16:38 robert +Fri, 10 Oct 2008 12:01:54 +0000 +Checked in by : Robert OSFIELD +Moved compress/uncompress code across to using gzip compatible methods - * From Stephan Huber, added support for double click event for OSX. +Thu, 9 Oct 2008 18:46:49 +0000 +Checked in by : Robert OSFIELD +Added initial cut of gz compress/uncompress plugin -2008-01-28 16:13 robert +Thu, 9 Oct 2008 17:02:16 +0000 +Checked in by : Robert OSFIELD +Initial cut of zlib based compress/uncompress plugin - * From Cedric Pinson, "default white behaviour : osgviewerd -e ogr - yourFile - randomize color by feature: osgviewerd -e ogr -O - UseRandomColorByFeature - yourFile" +Thu, 9 Oct 2008 13:16:49 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project, added osgVolume-lib -2008-01-28 15:41 robert +Thu, 9 Oct 2008 08:52:14 +0000 +Checked in by : Robert OSFIELD +Fixed the frame rate reporting so that it handles the case when animation is slowed or speeded up - * 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. +Wed, 8 Oct 2008 13:19:16 +0000 +Checked in by : Robert OSFIELD +Updated date -2008-01-28 15:36 robert +Wed, 8 Oct 2008 13:18:14 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS.txt for 2.7.3 dev release - * Added include RenderLeaf to make sure #define's are defined - correctly +Wed, 8 Oct 2008 12:54:45 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-01-26 20:03 shuber +Wed, 8 Oct 2008 12:29:43 +0000 +Checked in by : Robert OSFIELD +Added friend struct ViewData to try and avoid compile issues under HP-UX - * From Stephan Huber: updated XCode project +Wed, 8 Oct 2008 11:30:18 +0000 +Checked in by : Robert OSFIELD +Added Texture1D(Image*) and Texture3D(Image*) constructors -2008-01-24 10:04 robert +Wed, 8 Oct 2008 10:55:20 +0000 +Checked in by : Robert OSFIELD +Replaced std::vector::insert with std::copy + back_inserter to avoid member template problems with sunos. - * Removed duplicate declaration of DeleteHandlerPointer +Wed, 8 Oct 2008 10:10:34 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, fixes for HP-UX, SGI and Solaris build -2008-01-22 11:13 robert +Tue, 7 Oct 2008 15:59:10 +0000 +Checked in by : Robert OSFIELD +Moved OSG_FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL into src/osg/CMakeLists.txt - * Updated ChangeLog, Authors and readme for 2.3.3 release +Tue, 7 Oct 2008 15:58:07 +0000 +Checked in by : Robert OSFIELD +Made line graph solid (alpha = 1.0) -2008-01-22 10:28 robert +Tue, 7 Oct 2008 15:41:47 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay and Robert Osfield, added setDataVariance(osg::DYNAMIC) to avoid problems to optimization. - * Added missing checks for null pointers +Tue, 7 Oct 2008 15:21:12 +0000 +Checked in by : Robert OSFIELD +Added osgText to link line -2008-01-21 18:06 robert +Tue, 7 Oct 2008 15:19:48 +0000 +Checked in by : Robert OSFIELD +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. - * From Jean-Sebastien Guay, notes on how to enable syntax - highlighting in VS. +Tue, 7 Oct 2008 15:16:37 +0000 +Checked in by : Robert OSFIELD +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-01-21 17:04 robert +Tue, 7 Oct 2008 14:36:46 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski and Robert Osfield, add CMake build option for controlling the Windows/NVidia multi-monitor workaround. - * Fixed debug build of Inventor plugin +Tue, 7 Oct 2008 14:25:09 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-01-21 14:42 robert +Tue, 7 Oct 2008 14:19:28 +0000 +Checked in by : Robert OSFIELD +Replaced IntersectVisitor usage with IntersectionVisitor - * 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." +Tue, 7 Oct 2008 14:01:14 +0000 +Checked in by : Robert OSFIELD +Replaced usage of depreacted IntersectVisitor with IntersectionVisitor -2008-01-21 14:41 robert +Tue, 7 Oct 2008 13:37:04 +0000 +Checked in by : Robert OSFIELD +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. - * Introduced BUILD_REFERENCE_DOCS option to make it a bit clearer - how to enable and build the DoxygenDocs +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!). -2008-01-21 12:01 robert +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: - * 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 - " +* 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) -2008-01-21 12:00 robert +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. - * Fixed Geometry::removePrimitiveSet method so that it no longer - emits a warning when - removing 0 elements form an empty primtive set list. +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. -2008-01-21 11:47 robert +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." - * From Mike Weiblen, restructured GL2Extensions so that they now - live in their own GL2Extensions.cpp file rather than in - Program.cpp -2008-01-21 11:40 robert - * Updated version number for 2.3.3 release +Tue, 7 Oct 2008 13:06:53 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "Attached is an update to the dxf plugin which adds rudimentary support for text entities. " -2008-01-21 11:39 robert +Tue, 7 Oct 2008 12:31:42 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, build fixes - * Updated wrappers +Tue, 7 Oct 2008 11:35:41 +0000 +Checked in by : Robert OSFIELD +Added the ability to release OpenGL objects in PagedLOD subgrphs that are no longer being rendered. -2008-01-21 11:37 robert +Mon, 6 Oct 2008 17:15:16 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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 +Mon, 6 Oct 2008 17:03:32 +0000 +Checked in by : Robert OSFIELD +Improved the ImageSequence::setLength() settting. -2008-01-21 11:36 robert +Mon, 6 Oct 2008 17:02:56 +0000 +Checked in by : Robert OSFIELD +Updated to reflect changes in NodeVistor::ImageRequestHandler. - * Removed redundental vertex buffer object flush methods +Mon, 6 Oct 2008 17:02:20 +0000 +Checked in by : Robert OSFIELD +Refactored ImageSequence to provided a cleaner and more robust implementation -2008-01-21 11:27 robert +Mon, 6 Oct 2008 14:18:27 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, build fixes for handling Matrix::value_type == float - * Moved useful elements of the old VisualStudio directory into a - new PlatformSpecifics/Windows directory +Mon, 6 Oct 2008 14:15:27 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix -2008-01-19 18:26 robert +Mon, 6 Oct 2008 09:39:43 +0000 +Checked in by : Robert OSFIELD +From Glenn Waldron, "osgTerrain::Locator::setTransformAsExtents() does not update the _inverse member. Fix attached. " - * Added thread safe debugging checking of allocation/deallocations +Mon, 6 Oct 2008 08:58:50 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces -2008-01-19 18:25 robert +Mon, 6 Oct 2008 08:53:54 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix on headers - * Added use of ref_ptr<> throughout geometry setup code to prevent - memory leaks +Mon, 6 Oct 2008 08:53:25 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix on new shadow implemenations -2008-01-19 13:41 robert +Mon, 6 Oct 2008 08:48:44 +0000 +Checked in by : Robert OSFIELD +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()." - * 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. +Fri, 3 Oct 2008 16:57:01 +0000 +Checked in by : Robert OSFIELD +Added include to take advantage of OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION -2008-01-19 13:31 robert +Fri, 3 Oct 2008 15:36:34 +0000 +Checked in by : Robert OSFIELD +Moved the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION definition into the Config.in rather use of -D define - * Disabled the default enabling of update traversal on - osgTerrain::Terrain as this was preventing PagedLOD subgraphs - from expiring inactive subgraphs +Fri, 3 Oct 2008 15:15:33 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-01-18 21:29 robert +Fri, 3 Oct 2008 15:15:04 +0000 +Checked in by : Robert OSFIELD +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. - * Updated wrappers +Fri, 3 Oct 2008 15:13:11 +0000 +Checked in by : Robert OSFIELD +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-01-18 21:08 robert - * Removed erroneous const in method parameter -2008-01-18 21:07 robert - * From Andy Skinner, build fixes for Solaris. +Fri, 3 Oct 2008 13:38:55 +0000 +Checked in by : Robert OSFIELD +Compile fix required when using ref_ptr<> implicit output conversion -2008-01-18 21:01 robert +Fri, 3 Oct 2008 13:34:32 +0000 +Checked in by : Robert OSFIELD +From Neil Groves, added intrusive_ptr_add_ref and intrusive_ptr_release methods to enable usage of boost::intrusive_ptr<> with osg::Referenced objects. - * Moved the setting of _clipPlaneNum from the {} body to the - intializer list to - avoid reading from an unitialized variable. +Fri, 3 Oct 2008 11:04:23 +0000 +Checked in by : Robert OSFIELD +From Bryan Thrall, fixed typos in exception strings. -2008-01-18 20:55 robert +Fri, 3 Oct 2008 11:02:13 +0000 +Checked in by : Robert OSFIELD +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" - * 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." +Fri, 3 Oct 2008 09:55:20 +0000 +Checked in by : Robert OSFIELD +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. -2008-01-18 16:36 robert +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. - * Added support for rendering skirts into - osgTerrain::GeometryTechinque +I have made the change using the latest release version (2.6) as the base. The full file is attached. -2008-01-18 09:17 robert +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." - * Added getNumOperationsInQueue() method -2008-01-17 22:26 robert - * Commented out debug message +Fri, 3 Oct 2008 09:22:40 +0000 +Checked in by : Robert OSFIELD +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: -2008-01-17 22:25 robert + 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. - * Added computation of skirt height for osgTerrain::Terrain height - fields. + 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. -2008-01-17 17:10 robert + 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. - * Added call to ClusterCullingCallback to determine if the Terrain - node is culled - by cluster culling. + 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-01-17 16:41 robert +" - * Added Node to Terrain serialization -2008-01-17 15:37 robert - * Fixed the computation of terrain bounding volume so that it - properly accounts for - elevation layers +Fri, 3 Oct 2008 09:19:53 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, removed now redundent setEventQueue method -2008-01-16 15:05 robert +Fri, 3 Oct 2008 09:02:23 +0000 +Checked in by : Robert OSFIELD +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."" - * Changed the Texture clamp mode to CLAMP_TO_EDGE -2008-01-14 14:53 robert - * Updated wrappers +Fri, 3 Oct 2008 08:35:59 +0000 +Checked in by : Robert OSFIELD +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-01-14 14:53 robert - * 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 +Fri, 3 Oct 2008 08:33:17 +0000 +Checked in by : Robert OSFIELD +Added missing dirtyBound() calls - * Added back in checks for various verions of gdal +Thu, 2 Oct 2008 15:45:08 +0000 +Checked in by : Robert OSFIELD +Various improvements to the dicom loader to be able to handle a broader range of dicom files -2008-01-14 12:14 robert +Mon, 29 Sep 2008 18:30:17 +0000 +Checked in by : Robert OSFIELD +Updated shaders - * Updated AUTHORS file and osgversion for 2.3.2 release +Mon, 29 Sep 2008 17:00:38 +0000 +Checked in by : Robert OSFIELD +Improved the dicom plugins handling of different slice positions -2008-01-14 11:44 robert +Mon, 29 Sep 2008 13:22:12 +0000 +Checked in by : Robert OSFIELD +Turned off the yaw mode on the FlightManipilator to make it easier to navigate in volumes - * Added geometry shader extension supported check to geometry - shader parameter calls +Mon, 29 Sep 2008 11:00:42 +0000 +Checked in by : Robert OSFIELD +From Mathieu Marache, support for CDash -2008-01-14 11:30 robert +Mon, 29 Sep 2008 10:59:54 +0000 +Checked in by : Robert OSFIELD +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 - * 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." +A quick review of the code revealed a piece of code that was clearly wrong, possibly due to a copy-and-paste error. -2008-01-14 11:22 robert + " - * Updated ChangeLog, date and version number for 2.6.2 release -2008-01-14 11:07 robert - * Updated wrappers +Mon, 29 Sep 2008 10:56:42 +0000 +Checked in by : Robert OSFIELD +Added support for using ImageSequence to animate volumes -2008-01-14 10:14 robert +Sun, 28 Sep 2008 15:16:13 +0000 +Checked in by : Robert OSFIELD +Improved the isosurface shaders, and mde GLSL usage the default - * 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. - " +Fri, 26 Sep 2008 15:47:31 +0000 +Checked in by : Robert OSFIELD +Improved GLSL isosurface support when using a transfer function -2008-01-11 12:16 robert +Fri, 26 Sep 2008 14:50:41 +0000 +Checked in by : Robert OSFIELD +Added setting of various filters and setResizeNonPowerOfTwoHint(false) on normals maps etc. - * From Adrian Egli, made the getHandled() functionality consistent - with the rest of the osgGA::MatrixManipulators +Fri, 26 Sep 2008 13:51:49 +0000 +Checked in by : Robert OSFIELD +Added docs for read-threads command line options -2008-01-10 11:08 robert +Fri, 26 Sep 2008 13:51:18 +0000 +Checked in by : Robert OSFIELD +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 - * From Jean-Sebastien Guay, added OSGUTIL_EXPORT for Windows build +Fri, 26 Sep 2008 11:29:00 +0000 +Checked in by : Robert OSFIELD +Added --isosurface and --mip paths into osgvolume example, and added associted shaders -2008-01-10 11:02 robert +Fri, 26 Sep 2008 11:19:59 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "for the rand functions stdlib.h is required ..." - * 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." +Fri, 26 Sep 2008 10:59:28 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, "Here is a correction on DatabasePager::FindCompileableGLObjectsVisitorThe apply(osg::Drawable *) method doesn't update the _drawableSet and +the isCompiled test was inversed." -2008-01-09 21:17 robert - * Indentation/bracket fixes and change of default size -2008-01-09 21:00 robert +Fri, 26 Sep 2008 10:43:18 +0000 +Checked in by : Robert OSFIELD +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." - * Simplified the image reading/writing +Thu, 25 Sep 2008 15:20:20 +0000 +Checked in by : Robert OSFIELD +From Mathieu Marache, added support for CDash -2008-01-09 16:56 robert +Thu, 25 Sep 2008 15:19:42 +0000 +Checked in by : Robert OSFIELD +Removed unused methods - * Adding missing files +Thu, 25 Sep 2008 15:04:05 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-01-09 16:35 robert +Thu, 25 Sep 2008 14:41:27 +0000 +Checked in by : Robert OSFIELD +Added osg2cpp example into build - * Added support for reading and writing osgTerrain objects +Thu, 25 Sep 2008 14:41:06 +0000 +Checked in by : Robert OSFIELD +Added convinience methods for parse shader source files -2008-01-09 14:22 robert +Thu, 25 Sep 2008 14:39:57 +0000 +Checked in by : Robert OSFIELD +Created new osg2cpp utility that creates .cpp files from source shaders that can be included directly in application code, see osgvolume for an example. - * Added setting of UpdateVisitor's FrameStamp and TraversalNumber - in updateTraversal() +Thu, 25 Sep 2008 14:39:08 +0000 +Checked in by : Robert OSFIELD +Moved shaders into .cpp, with the shaders created by the new osg2cpp utility -2008-01-09 11:42 robert +Thu, 25 Sep 2008 10:21:44 +0000 +Checked in by : Robert OSFIELD +Added .vert and .frag to list of accepted extension in the GLSL plugin - * From Mike Weiblen, build fix for VS8. +Wed, 24 Sep 2008 16:03:47 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastian Guay, fixed windows build -2008-01-08 23:20 ewing +Wed, 24 Sep 2008 16:00:45 +0000 +Checked in by : Robert OSFIELD +From Riccardo Corsi, Added 3gp file extension to supported list in quicktime plugin - * 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. +Wed, 24 Sep 2008 15:59:55 +0000 +Checked in by : Robert OSFIELD +Added 3gp extension alias for quicktime -2008-01-08 18:13 robert +Wed, 24 Sep 2008 10:45:15 +0000 +Checked in by : Robert OSFIELD +Added shader based transfer function, enabled via --gpu-tf - * From Colin McDonald, build fixes for Solaris. +Wed, 24 Sep 2008 10:20:23 +0000 +Checked in by : Robert OSFIELD +Fixed transfer function parsing -2008-01-08 17:18 robert +Tue, 23 Sep 2008 17:29:28 +0000 +Checked in by : Robert OSFIELD +Added mutex usage to protect access to plugin and readerwriter containers - * From Jean-Sebastien Guay, Warning fixes +Tue, 23 Sep 2008 15:41:49 +0000 +Checked in by : Robert OSFIELD +Added "serialize" and plugin "preload" options in the "read-threads" code path. -2008-01-08 16:09 robert +Tue, 23 Sep 2008 13:58:49 +0000 +Checked in by : Robert OSFIELD +Added read-threads command line and read thread test back end - * Added support for reading and writing the Terrain's Locator +Tue, 23 Sep 2008 09:59:23 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lweandowski, added support for noew LispSM shadow technique (use --lispsm on CmdLine) and added IslandScene database (use -4 on CmdLine). -2008-01-08 15:20 robert +Mon, 22 Sep 2008 17:24:26 +0000 +Checked in by : Robert OSFIELD +Added support for reading raw data and transfer function from a volume header - * Added writing and reading of inlined HeightField +Mon, 22 Sep 2008 16:18:02 +0000 +Checked in by : Robert OSFIELD +Added --page-and-discard, --page-and-retain, --preload and --length command line options -2008-01-08 14:38 robert +Mon, 22 Sep 2008 16:17:28 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Removed non standard and redundent /*EOF*/ +Mon, 22 Sep 2008 15:56:22 +0000 +Checked in by : Robert OSFIELD +Added stats handler -2008-01-08 14:37 robert +Mon, 22 Sep 2008 15:01:25 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, fixes for OSX build - * Updated wrappers +Mon, 22 Sep 2008 14:58:35 +0000 +Checked in by : Robert OSFIELD +Changed OSG_DEBUG_POSTFIX to use ADDQUOTES in the .cpp rather than trying to add quotes via CMakeLists.txt -2008-01-08 14:29 robert +Mon, 22 Sep 2008 14:55:19 +0000 +Checked in by : Robert OSFIELD +From Ralf Habacker and Robert Osfield, added search for plugins with OS specific file plugin extensions - * From Mike Weiblen, support for geometry shaders, and - osgeometryshaders example to demonstrate them. +Mon, 22 Sep 2008 14:46:54 +0000 +Checked in by : Robert OSFIELD +Added getExtensionIncludingDot to provide more efficient handling of extensions -2008-01-08 14:22 robert +Mon, 22 Sep 2008 13:16:29 +0000 +Checked in by : Robert OSFIELD +Changed the macro usage so that the quotes are now added inside the .cpp - * Fixed warning +Mon, 22 Sep 2008 11:13:50 +0000 +Checked in by : Robert OSFIELD +Added readNode implementation that creates an osgVolume::Volume for the specified dicom file. -2008-01-08 13:56 robert +Sun, 21 Sep 2008 11:12:31 +0000 +Checked in by : Robert OSFIELD +Added Volume wrappers, and updated terrain wrappers - * Added support for MinLevel and MaxLevel for ProxyLayer +Sun, 21 Sep 2008 11:05:03 +0000 +Checked in by : Robert OSFIELD +Create initial class placeholders for main volume rendering classes -2008-01-08 13:24 robert +Sat, 20 Sep 2008 15:43:38 +0000 +Checked in by : Robert OSFIELD +Change TileID::layer to TileID::level - * 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. +Sat, 20 Sep 2008 10:34:47 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, changed gluGetErrorString to using osg::State::checkGLErrors() to avoid null pointer dereference -2008-01-08 13:22 robert +Sat, 20 Sep 2008 10:09:56 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, added catch for GL_COLOR_MATERIAL mode being set. - * Removed debug info +Sat, 20 Sep 2008 10:05:31 +0000 +Checked in by : Robert OSFIELD +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." -2008-01-08 13:10 robert - * Reorganised the .osg support for osgTerrain NodeKit to make it - more extensible -2008-01-07 09:47 robert +Fri, 19 Sep 2008 19:51:57 +0000 +Checked in by : Robert OSFIELD +Added wrapper support for new osgShadow classes - * Added OSGUTIL_EXPORTs +Fri, 19 Sep 2008 19:51:27 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, a range of new ShadowMap implementations include View Dependent Shadow Maps - LispSMFrom Robert Osfield, refactored Wojciech's submission to integrated with osgShadow and use coding sytle more consistent with rest of OSG. + + + +Fri, 19 Sep 2008 12:49:22 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, added support for search in the installed directories for plugins + +Fri, 19 Sep 2008 08:16:41 +0000 +Checked in by : Robert OSFIELD +From Richard Schmidt, fixed the handling of user data so that it uses ref_ptr<> to avoid data getting deleted. -2008-01-06 17:53 robert +Thu, 18 Sep 2008 16:48:21 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Added missing #include +Thu, 18 Sep 2008 16:03:34 +0000 +Checked in by : Robert OSFIELD +Added Serializer wrappers -2008-01-06 10:52 robert +Thu, 18 Sep 2008 15:50:22 +0000 +Checked in by : Robert OSFIELD +Moved Serializer header from VPB into osgDB. - * Added exports for Windows build +Thu, 18 Sep 2008 15:44:21 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-01-04 20:03 robert +Thu, 18 Sep 2008 15:18:59 +0000 +Checked in by : Robert OSFIELD +refactored the getWindows(..) and getContexts(..) methods so that they produce consistent ordering based on the order Camera/slave camera ordering. - * Fixed date +Thu, 18 Sep 2008 15:16:57 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Attached one namespace/scope lookup problem which shows up on irix." -2008-01-04 20:00 robert +Thu, 18 Sep 2008 14:48:28 +0000 +Checked in by : Robert OSFIELD +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." - * 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. - " +Thu, 18 Sep 2008 13:54:22 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2008-01-04 15:33 robert +Thu, 18 Sep 2008 13:54:13 +0000 +Checked in by : Robert OSFIELD +From Alan Dickinson, change methods to virtual. - * 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" +Thu, 18 Sep 2008 13:18:12 +0000 +Checked in by : Robert OSFIELD +From John Argentieri, added missing _stripTextureFilePath( false ) initializer. -2008-01-04 15:30 robert +Thu, 18 Sep 2008 13:09:21 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, added missing ccopy of polyOffset in copy constructor - * From Paul Martz, "Correction to size of reserved filed in .attr - file, Spec says "149*4" bytes, not "149"" +Thu, 18 Sep 2008 13:05:24 +0000 +Checked in by : Robert OSFIELD +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); -2008-01-04 15:15 robert +_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); - * Updated wrappers +_camera->setViewMatrixAsLookAt(position,position+lightDir,osg::Vec3(0.0f,1.0f,0.0f)); + } -2008-01-04 13:57 robert +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. +" - * Added catch for handling cases where undefined settings for - dislayNum and screenNum are used -2008-01-04 12:03 robert - * Updated data on readme -2008-01-04 12:03 robert +Thu, 18 Sep 2008 12:57:15 +0000 +Checked in by : Robert OSFIELD +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 +> +> - * Updated AUTHORS file for 2.3.1 release -2008-01-04 11:45 robert - * Updated version number for 2.3.1 release -2008-01-04 11:44 robert - * Updated logs for 2.3.1 releae +Thu, 18 Sep 2008 12:50:20 +0000 +Checked in by : Robert OSFIELD +From Robert Osfield and Christophe Loustaunau, fixes for support for 16bit and 32bit tiff images -2008-01-04 11:26 robert +Thu, 18 Sep 2008 10:52:35 +0000 +Checked in by : Robert OSFIELD +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 ..." - * From Brede Johansen, support for contiuation records. +Thu, 18 Sep 2008 10:49:18 +0000 +Checked in by : Robert OSFIELD +From Mathieu Marache, "This is an addition for osgSim reader/writer for the osg ascii file format adding osgSim::OverlayNode support. " -2008-01-04 11:14 robert +Thu, 18 Sep 2008 10:39:37 +0000 +Checked in by : Robert OSFIELD +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 - * From Paul Martz, completion of .ive and .osg support for - OcclusionQueryNode -2007-12-26 22:00 robert - * 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." +Thu, 18 Sep 2008 10:38:18 +0000 +Checked in by : Robert OSFIELD +Improved the constness of parameters the Node::getWorldMatrices(..) method.Added Drawable::getWorldMatrices(const Node*) method. -2007-12-26 21:43 robert - * Updated wrappers -2007-12-26 21:39 robert +Wed, 17 Sep 2008 20:02:39 +0000 +Checked in by : Robert OSFIELD +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 " - * From David Callu, further work in support of shapefile support in - VirtualPlanetBuilder +Wed, 17 Sep 2008 19:51:35 +0000 +Checked in by : Robert OSFIELD +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. +} -2007-12-26 21:38 robert - * Suppressed reflection of problem templates/typedefs +// 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); +} -2007-12-25 21:11 robert +and i further removed an unnecessary setColorMask." - * Replaced values.h with float.h is avoid Windows compile issues -2007-12-24 15:37 robert - * Updated wrappers +Wed, 17 Sep 2008 19:25:40 +0000 +Checked in by : Robert OSFIELD +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. -2007-12-24 15:32 robert +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." - * Fom Brede Johansen, "I have added the OSGPL license to the - OpenFlight source files" -2007-12-24 15:19 robert +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 +" - * From Sid Byce, fixes for compiling with gcc 4.3 -2007-12-24 14:47 robert - * 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 +Wed, 17 Sep 2008 18:56:59 +0000 +Checked in by : Robert OSFIELD +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: - * 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)." +IF(CYGWIN OR UNIX AND NOT WIN32 AND NOT APPLE) -2007-12-24 12:56 robert +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." - * Based on Suggestions from "Harald A" fixed CMake setup of Doxygen - docs -2007-12-23 18:15 robert - * 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. +Wed, 17 Sep 2008 18:54:23 +0000 +Checked in by : Robert OSFIELD +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 -2007-12-23 13:45 robert +div: 6 - * Moved Font code across to using FontSizePair internally and on - Font methods, but - still using original implemetations. +of course a better one would be + 1 2 1 + 2 4 2 + 1 2 1 -2007-12-23 13:18 robert +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. - * 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 +testet on NVidia Quatro 570M and on ATI Radeon X1600 - * Fixed indentation +" -2007-12-21 17:56 robert - * From Jean-Sebastien Guay, added new version of feetype into - search list -2007-12-21 17:33 robert +Wed, 17 Sep 2008 18:51:17 +0000 +Checked in by : Robert OSFIELD +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 " - * Added copyright notice and tweaked genwrapper +Wed, 17 Sep 2008 18:42:52 +0000 +Checked in by : Robert OSFIELD +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(); + ^^^ ^^^ + } +}; -2007-12-21 17:26 robert +Corrected code attached." - * Updated wrappers -2007-12-21 16:18 robert - * From Paul Martz, "added include to prevent VS8 compile - error" -2007-12-21 15:54 robert - * Removed OperationArrayFunctor for wrappers to avoid compile - errors assocaited with them +Wed, 17 Sep 2008 17:25:39 +0000 +Checked in by : Robert OSFIELD +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 ! -2007-12-21 15:46 robert +It's because you have to use keywords in and out. - * Removed inappropriate inline +extract from : http://www.opengl.org/registry/specs/EXT/geometry_shader4.txt : -2007-12-21 15:04 robert +in - for function parameters passed into a function or for input varying +variables (geometry only) - * Updated wrappers +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). -2007-12-21 14:49 robert +Then for a geometry shader, a varying must be an array : +extract from : http://www.opengl.org/registry/specs/EXT/geometry_shader4.txt : - * From Paul Martz, .osg support for OcclusionQueryNode +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. -2007-12-21 14:45 robert - * From Paul Martz, Introduced osg::OcclusionQueryNode with support - for OpenGL occlusion query extension +Here is a patch based on the svn version of osg that correct that. +" -2007-12-21 14:21 robert - * From Bryan Thrall, "UFOManipulator ignores any attached - CoordinateFrameCallback; the - attached files fix this (based on 2.2 release). - " -2007-12-21 14:16 robert +Wed, 17 Sep 2008 17:13:13 +0000 +Checked in by : Robert OSFIELD +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 - * From Mathias Froehlich, "Something to extend the texture - subloading blacklist. - ... we have problems with that on solaris." +if (!win || (win->getVisibilityMode() == Window::VM_PARTIAL) && !win->isPointerXYWithinVisible(x, y))) + continue; -2007-12-21 14:13 robert +The effect of the bug is to segfault if a non-osgWidgets::Window node hasn't been excluded from picking via NodeMask." - * 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 - * 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. - " +Wed, 17 Sep 2008 17:07:52 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-12-21 13:31 robert +Wed, 17 Sep 2008 16:14:28 +0000 +Checked in by : Robert OSFIELD +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. - * Added return +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. -2007-12-21 13:18 robert +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. - * 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." +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 ... +" -2007-12-21 13:07 robert - * From David Callu, various classes in support of - VirtualPlanetBuilder -2007-12-21 12:36 robert +Wed, 17 Sep 2008 14:23:25 +0000 +Checked in by : Robert OSFIELD +Updated osgwidget examples to use the new osg::clone() methods - * From David Callue, added support for reading/writing Vec*dArray - to .ive plugin +Wed, 17 Sep 2008 14:23:05 +0000 +Checked in by : Robert OSFIELD +Updated wrappers of osgWidget -2007-12-20 17:30 robert +Wed, 17 Sep 2008 14:21:47 +0000 +Checked in by : Robert OSFIELD +Tweaks to facilitate osgWrapper build - * Updated wrappers +Wed, 17 Sep 2008 14:21:19 +0000 +Checked in by : Robert OSFIELD +Introduce new templated clone(..) methods that return the correct type of object cloned. -2007-12-20 15:51 robert +Wed, 17 Sep 2008 11:43:14 +0000 +Checked in by : Robert OSFIELD +Added support for finding DCMTK-3.5.4 installed lib/include placement - * Added support for min to max level ranges for Layers in support - of VirtualPlanetBuilder usage of this. +Tue, 16 Sep 2008 18:41:13 +0000 +Checked in by : Robert OSFIELD +Added osgVolume to docs and wrappers -2007-12-20 15:50 robert +Tue, 16 Sep 2008 15:32:23 +0000 +Checked in by : Robert OSFIELD +Introduced beginings of osgVolume NodeKit. - * 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. +Tue, 16 Sep 2008 15:31:47 +0000 +Checked in by : Robert OSFIELD +Complted the first pass at the DCMTK based dicom loader -2007-12-20 15:40 robert - - * Reset the the _lineSpacing to 0.0f to fix the line spacing when - word wrapping takes place - -2007-12-20 14:40 robert - - * 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 - - * Reorder includes in an attempt to avoid compile problems under - Cygwin. - -2007-12-17 21:52 robert - - * Updated AUTHORS files - -2007-12-17 21:35 robert - - * Updated ChangeLog for 2.3.0 release - -2007-12-17 21:08 robert - - * Updated version number for 2.3.0 dev release - -2007-12-17 18:38 robert - - * 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 - - * From David Cullu, added various mathematical operators - -2007-12-17 10:24 robert - - * 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 - - * Updated wrappers - -2007-12-17 09:58 robert - - * 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 - - * 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 - - * Added check to make set up a sequencegroup only happen when - required. - -2007-12-16 17:46 robert - - * 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 +Tue, 16 Sep 2008 09:31:29 +0000 +Checked in by : Robert OSFIELD +Change the GLSL textureRec and texture2D parameters to use .st to make sure they only use 2D coords.Add setResizeNonPowerOfTwoHint to false for Texture2D. - * 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 - * Fixed HeightField coordinates set up +Mon, 15 Sep 2008 19:59:12 +0000 +Checked in by : Robert OSFIELD +Added optional usage of DCMTK in the dicom plugin -2007-12-16 17:01 robert +Mon, 15 Sep 2008 11:27:30 +0000 +Checked in by : Robert OSFIELD +From Ralf Habacker, removed redundent SwitchLayer::clear() - * Added intializers. +Sun, 14 Sep 2008 10:31:27 +0000 +Checked in by : Robert OSFIELD +Introduced Geometry::containsSharedArrays() and Geometry::duplicateSharedArrays() to support a fix to the osgUtil::Simplifier that couldn't handle shared arrays -2007-12-16 16:18 robert +Sat, 13 Sep 2008 13:38:06 +0000 +Checked in by : Robert OSFIELD +Added reading of whole directories of images - * Added support for automatically setting the coordinate system of - a shapefile by reading associate .prj file +Sat, 13 Sep 2008 09:09:51 +0000 +Checked in by : Robert OSFIELD +Introduced TransferFunction1D::assign(ValueMap&). -2007-12-16 13:29 robert +Fri, 12 Sep 2008 15:41:30 +0000 +Checked in by : Robert OSFIELD +Removed use of ints and reading from gl_FragColor in shader - * Added parsing of parameters to Viewer constructor. +Thu, 11 Sep 2008 16:11:51 +0000 +Checked in by : Robert OSFIELD +Updated version numbers in prep for up comming dev release -2007-12-16 13:25 robert +Thu, 11 Sep 2008 16:06:37 +0000 +Checked in by : Robert OSFIELD +Added an svn update into the make ChangeLog entry. - * Added StateSetManipulator for testing purposes, and fixed typo +Thu, 11 Sep 2008 16:01:17 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-12-16 13:20 robert +Thu, 11 Sep 2008 14:28:42 +0000 +Checked in by : Robert OSFIELD +Refinements to SwitchLayer and WhiteListTileLoadedCallback - * Removed used of ref_ptr<>'s internally to avoid ciricular calls - on destruction. +Thu, 11 Sep 2008 14:27:50 +0000 +Checked in by : Robert OSFIELD +Added support for SwitchLayer into GeometryTechnique -2007-12-16 12:36 robert +Thu, 11 Sep 2008 13:21:58 +0000 +Checked in by : Robert OSFIELD +Introduced osgTerrain::WhiteListTileLoadedCallback for the management of options terrain layers - * Added initilizers of variables to FreeTypeFont3D constructors. - - Removed unused FreeTypeFontBase class +Thu, 11 Sep 2008 10:40:48 +0000 +Checked in by : Robert OSFIELD +First cut of WhiteListTileLoadedCallback -2007-12-15 17:16 robert +Thu, 11 Sep 2008 09:26:14 +0000 +Checked in by : Robert OSFIELD +Changed the createGeodeFromImage code to use the non power of two extension, and disabled mipmapping - * Fixed handling of DISPLAY variable, and mapped the rest of - Producer config settings +Thu, 11 Sep 2008 09:05:16 +0000 +Checked in by : Robert OSFIELD +Added support for reading source image file names from the command line. -2007-12-15 17:15 robert +Wed, 10 Sep 2008 18:11:54 +0000 +Checked in by : Robert OSFIELD +Introduced TerrainTile::TileLoadedCallback - * Commented out rendendent warnings +Wed, 10 Sep 2008 16:17:17 +0000 +Checked in by : Robert OSFIELD +Removed unneccessary compound name usage -2007-12-15 17:15 robert +Wed, 10 Sep 2008 11:38:49 +0000 +Checked in by : Robert OSFIELD +Removed debugging output - * commented out rendudent warning +Wed, 10 Sep 2008 11:28:47 +0000 +Checked in by : Robert OSFIELD +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. -2007-12-15 15:22 robert +Wed, 10 Sep 2008 11:27:45 +0000 +Checked in by : Robert OSFIELD +Changed the path management so that the node path is prepended on the database path list, rather than replacing it. - * Added setting of ambient bias uniform +Wed, 10 Sep 2008 11:27:00 +0000 +Checked in by : Robert OSFIELD +Added playing of the imagesequence on creation of the imagesequence -2007-12-15 15:19 robert +Wed, 10 Sep 2008 11:26:30 +0000 +Checked in by : Robert OSFIELD +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. - * Added separate unform variable to keep track of abmient - contribution. +Thu, 4 Sep 2008 17:30:56 +0000 +Checked in by : Robert OSFIELD +Fix for when looping is is disabled -2007-12-15 15:17 robert +Thu, 4 Sep 2008 14:23:29 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project - * 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. +Tue, 2 Sep 2008 16:13:54 +0000 +Checked in by : Robert OSFIELD +Added acceptance of .ogv extensions in xine-lib plugin -2007-12-14 17:40 robert +Tue, 2 Sep 2008 12:55:26 +0000 +Checked in by : Robert OSFIELD +Added setSetName/getSetName() methods - * Refectored the loading of Locator out into its own separate file +Mon, 1 Sep 2008 16:28:02 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog -2007-12-13 17:51 robert +Mon, 1 Sep 2008 15:29:22 +0000 +Checked in by : Robert OSFIELD +Replaced uint with unsigned int - * Added Locator::s/getTransformScaledByResolution(bool) to assist - with VPB integration +Mon, 1 Sep 2008 15:27:35 +0000 +Checked in by : Robert OSFIELD +Introduced a OSG_MAINTAINER section of cmake build to help support making tags and branches -2007-12-13 16:06 robert +Mon, 1 Sep 2008 14:05:40 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Warning fixes +Mon, 1 Sep 2008 14:03:41 +0000 +Checked in by : Robert OSFIELD +Changed curr and min to current and minimum respectively, to avoid compile problems under Windows + +Mon, 1 Sep 2008 12:40:33 +0000 +Checked in by : Robert OSFIELD +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 + +Mon, 1 Sep 2008 12:39:19 +0000 +Checked in by : Robert OSFIELD +From John Vidar Larring, initial cut of .ive support for ShapeAttributeList user data + +Mon, 1 Sep 2008 11:09:03 +0000 +Checked in by : Robert OSFIELD +Updated version for 2.7.2 dev release -2007-12-13 15:24 robert +Mon, 1 Sep 2008 10:49:22 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Andy Skinner, build fixes for Solaris +Mon, 1 Sep 2008 10:48:28 +0000 +Checked in by : Robert OSFIELD +Added call to free in setValue methods to prevent potential memory leak -2007-12-13 15:23 robert +Mon, 1 Sep 2008 10:46:50 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehilch,"Current include/osgSim/ShapeAttribute also misses string.h include because of strdup. Attached is the changed file." - * Convert tabs to four spaces +Mon, 1 Sep 2008 10:22:06 +0000 +Checked in by : Robert OSFIELD +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. " -2007-12-13 14:26 robert +Mon, 1 Sep 2008 10:19:06 +0000 +Checked in by : Robert OSFIELD +Removed std:: from in front of strcmp and added a string.h - * Fixed memory leak +Mon, 1 Sep 2008 10:06:19 +0000 +Checked in by : Robert OSFIELD +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. " -2007-12-13 14:16 robert +Mon, 1 Sep 2008 09:57:35 +0000 +Checked in by : Robert OSFIELD +Build fixes for Windows - * Updated the shapefile attribute IO so that its more streamlined. +Fri, 29 Aug 2008 09:28:28 +0000 +Checked in by : Robert OSFIELD +Added CompositeLayer::addLayer(setname,filename) convinience function -2007-12-13 12:30 robert +Fri, 29 Aug 2008 09:26:07 +0000 +Checked in by : Robert OSFIELD +From Michael Guerrero, "I've attached the files with the new addition of the "registered = true" flag set." - * Added copy operator to ShapeAttribute to prevent problems when - assigned them or use within a vector +Thu, 28 Aug 2008 16:15:57 +0000 +Checked in by : Robert OSFIELD +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. -2007-12-12 17:59 robert +Thu, 28 Aug 2008 09:43:00 +0000 +Checked in by : Robert OSFIELD +Converted AutoTransform to use doubles. - * Added a osgViewer::setSceneData(ref_ptr) method. +Wed, 27 Aug 2008 10:13:30 +0000 +Checked in by : Robert OSFIELD +Introduced SwitchLayer which will form the basis of provided support for varients -2007-12-12 17:48 robert +Tue, 26 Aug 2008 17:40:04 +0000 +Checked in by : Robert OSFIELD +Improved the GLSL implementation. - * Added new setFont(ref_ptr<>) variants to Text and Text3D +Tue, 26 Aug 2008 12:55:26 +0000 +Checked in by : Robert OSFIELD +Added ChangeLog target for updating the ChangeLog, and updated the ChangeLog and AUTHORS files -2007-12-12 17:04 robert +Tue, 26 Aug 2008 12:05:24 +0000 +Checked in by : Robert OSFIELD +Added wrapper build target for generating the osgWrappers - * From Serge Lages, introduce readRef*File() methods which pass - back ref_ptr<> rather than C pointers. +Tue, 26 Aug 2008 09:39:45 +0000 +Checked in by : Robert OSFIELD +Added provisional block in computePositions() -2007-12-12 16:56 robert +Tue, 26 Aug 2008 08:41:30 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, attached is a small fix for a mismatched function signature - * Updated copyright notices +Mon, 25 Aug 2008 16:44:48 +0000 +Checked in by : Robert OSFIELD +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 -2007-12-12 16:55 robert +Mon, 25 Aug 2008 16:43:40 +0000 +Checked in by : Robert OSFIELD +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: - * From Andy Skinner, build fixes for Solaris. +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. -2007-12-12 11:57 robert +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. - * Added std:: infront of sort call +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." -2007-12-12 10:47 robert - * Added const to operators. -2007-12-12 10:35 robert +Mon, 25 Aug 2008 15:57:17 +0000 +Checked in by : Robert OSFIELD +From Liang Aibin, added support for : osgFX::Effect osgFX::AnisotropicLighting osgFX::BumpMapping osgFX::Cartoon osgFX::Scribe osgFX::SpecularHighlights. - * Added std:: in front of find enties +Mon, 25 Aug 2008 15:37:48 +0000 +Checked in by : Robert OSFIELD +From Liang Aibin, removed redundent spaces -2007-12-12 09:48 robert +Mon, 25 Aug 2008 15:20:42 +0000 +Checked in by : Robert OSFIELD +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. - * 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." +Mon, 25 Aug 2008 15:03:31 +0000 +Checked in by : Robert OSFIELD +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. -2007-12-12 09:45 robert - * From Paul Martz, "Function declaration returns a bool, function - body was returning a pointer. Changed body to return (pointer != - NULL)." -2007-12-11 17:19 robert +Mon, 25 Aug 2008 14:59:06 +0000 +Checked in by : Robert OSFIELD +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. " - * From Cyril Brulebois, removed redundent typedef. +Mon, 25 Aug 2008 14:54:11 +0000 +Checked in by : Robert OSFIELD +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." -2007-12-11 17:01 robert +Mon, 25 Aug 2008 11:37:53 +0000 +Checked in by : Robert OSFIELD +Added testing of max texture size using a realize operation - * Updated wrappers +Mon, 25 Aug 2008 10:38:39 +0000 +Checked in by : Robert OSFIELD +Added support for event handler for non shader path, enable alpha func -2007-12-11 16:42 robert +Mon, 25 Aug 2008 10:38:07 +0000 +Checked in by : Robert OSFIELD +Removed debug info - * From Brede Johnansen, support for continuation records. +Mon, 25 Aug 2008 10:20:20 +0000 +Checked in by : Robert OSFIELD +Moved _stateset = new StateSet instances to setStateSet(new StateSet) to make sure the wiring up of the StateSet parents is done consistently -2007-12-11 16:34 robert +Mon, 25 Aug 2008 09:53:24 +0000 +Checked in by : Robert OSFIELD +Added command line arguments to Viewer constructor, and added meaningful error message when no 3d image is provided - * From Karl Heijdenberg, moved set/getFrameStamp() from - osgViewer::View to osg::View. +Fri, 22 Aug 2008 16:39:17 +0000 +Checked in by : Robert OSFIELD +Introduced initial cut of a dicom loader, which uses ITK to do the loading. -2007-12-11 15:55 robert +Fri, 22 Aug 2008 16:37:56 +0000 +Checked in by : Robert OSFIELD +Added warning message - * 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." +Fri, 22 Aug 2008 16:35:49 +0000 +Checked in by : Robert OSFIELD +Added support for reading the image transform from UserData in the form of a Matrix. -2007-12-11 14:48 robert +Tue, 19 Aug 2008 17:41:55 +0000 +Checked in by : Robert OSFIELD +Added checked against an empty _kdNodes list before commensing with intersection - * Added missing copyright notices +Mon, 18 Aug 2008 15:08:04 +0000 +Checked in by : Robert OSFIELD +Added --mip command line option which enables Maximum Intensity Projection filtering -2007-12-11 14:39 robert +Mon, 18 Aug 2008 15:06:41 +0000 +Checked in by : Robert OSFIELD +Added .ive support for BlendEquation - * 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. - " +Mon, 18 Aug 2008 14:49:16 +0000 +Checked in by : Robert OSFIELD +Added BlendEquation .osg support -2007-12-11 14:06 robert +Mon, 18 Aug 2008 12:39:18 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for 2.7.0 release - * 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 - - * Updated wrappers - -2007-12-11 12:32 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2007-12-10 20:33 robert - - * From Richard Schmidt, fix on ordering to be standard OpenGL way. - -2007-12-10 20:30 robert - - * 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 - - * 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 - - * From David Callu, IO support for Text3D - -2007-12-10 19:49 robert - - * From David Callu, Text3D - -2007-12-10 17:30 robert - - * From Roland Smeenk, "Attached you will find a large set of small - typo fixes (mainly in the comments)." - -2007-12-10 16:21 robert - - * Updated wrappers - -2007-12-10 16:14 robert - - * Added osgViewerGetVersion() usage to force Windows to link - osgViewer. +Mon, 18 Aug 2008 11:55:17 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 2.7.0 release -2007-12-10 15:15 robert +Mon, 18 Aug 2008 11:48:07 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From David Callu, added support of 3D text to osgText and - associated plugins. +Mon, 18 Aug 2008 11:21:41 +0000 +Checked in by : Robert OSFIELD +From Sergey Leontyev, "1. In StyleManagerwhen applying styles to a Label element the code below runs in a infinite loop. -2007-12-10 12:45 robert +The reason for this is that nothing increments the Reader "r" in the case when applying a style to label, - * From David Callu, added support for automatically reading - associate dbase files +so I advance the reader when no match was found. -2007-12-10 12:00 robert +( To replicate the error apply style to any label) - * Char char[] to char* with new allocation. + -2007-12-10 11:34 robert +replaced this: - * Refactored record allocation to fix build errors under Windows. + while(!r.eof()) if(_styles[style]->applyStyle(t, r)) inc = true; -2007-12-10 11:20 robert + - * Added export macro for windows build +with this: -2007-12-10 10:16 robert + while(!r.eof()) - * Added include to fix compile errors under gcc 4.3 + { -2007-12-09 16:38 robert + if(_styles[style]->applyStyle(t, r)) - * From Gustavo Wagner, fixed bugs in reading M records from - shapefile - -2007-12-09 16:29 robert - - * 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. - " + inc = true; -2007-12-09 16:23 robert + else - * Removed redundent OpenFlightOptimizer + r.advanceOverCurrentFieldOrBlock(); -2007-12-09 16:14 robert + } - * From Ralf Karn, fixed "invalid enumerant" warning on - TEXTURE_2D_ARRAY_EXT initialization + -2007-12-09 16:06 robert + - * 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 - - * Updated wrappers - -2007-12-09 15:43 robert - - * From David Callu, added DBase attribute support for shapefiles - -2007-12-09 14:54 robert - - * Updated wrappers - -2007-12-09 12:19 robert - - * From Aderian Egli, changed the window dimension clamping code to - work independantly for width and height. - -2007-12-08 17:10 robert - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * From Paul Martz, minor typo fixes in notify messages - -2007-12-06 17:53 robert - - * From Bob Kuehne, added extra event handlers - -2007-12-06 17:44 robert - - * 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 - - * 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. - " +I tested it and it works well for me, I did not find any problems with it. -2007-12-06 17:31 robert + - * 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 +2. Added style support for Canvas element, event though there is no styles to apply yet. - * From Cedric Pinson, fixes for toggle fullscreen on gnome desktop +It is usefull for someone who inherits from Canvas class to develop another element. -2007-12-06 17:07 robert + If applyStyle(Canvas) does not exist - * From Mathias Froehlich, "n examples/osgfadetext/CMakeLists.txt - osgSim as dependency is missing." +there is no way to apply style to the element that inherited from Canvas element. -2007-12-06 17:03 robert + - * From Mathias Froehlich, "Add missing includes. Fails on hp-ux." +Added virtual -2007-12-06 17:01 robert + bool applyStyle(Canvas). - * 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 +and in added call to apply style if the Object is of type Canvas: - * From Wojiech Leandowski, fixed the hardwiring of archive - extensions to 4 charaters +StyleManager::_applyStyleToObject(osg::Object* obj, const std::string& style) { -2007-12-06 10:04 robert +... - * 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 +else if(!std::string("Canvas").compare(c)) - * From Ulrich Hertlein, added osgViewer dependency for OSX build +return _coerceAndApply(obj,style,c); -2007-12-05 18:32 robert + " - * Changed WIN32 guard to _WIN32_IMPLEMENTATION to attempt to avoid - Win32 build error -2007-12-05 11:29 robert - * Removed debugging line. +Mon, 18 Aug 2008 11:17:44 +0000 +Checked in by : Robert OSFIELD +Ran fixtabs to enforce four space tabs -2007-12-05 11:23 robert +Mon, 18 Aug 2008 11:00:40 +0000 +Checked in by : Robert OSFIELD +From Erik van Dekker,"I made several modifications: - * From Cedric Pinson, first cut at Producer .cfg camera - configuration file support. + -2007-12-04 14:46 robert + * 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. - * Added support for new double Vec*Array classes in various - functors. + -2007-12-04 14:46 robert + * 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). - * 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 + * 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?) - * Added support for double Vec*Array objects + -2007-12-04 14:44 robert + * Fixed two warnings I received about unexpected end-of-list-markers in \u2018osg\AnimationPath and \u2018osgUtil\CullVisitor due to excess trailing points in comments. - * Added double Vec*Array support + -2007-12-04 14:43 robert + * Fixed a warning in osgWidget\StyleInterface due to an #include directive (strangely) placed inside a namespace. - * Added testPolytope entry + -2007-12-01 15:30 robert + * Fixed a warning in osg\Camera due to the META_Object macro that confused doxygen. Adding a semi-colon fixed this. - * Fixed the Polytop::setFrustum and setBoundingBox method + -2007-11-21 10:18 robert + * Removed auto_Mainpage from the INCLUDE option, because I am positive that this file does not belong there; It never generated useful documentation anyway. - * Added a check against the makeCurrent() return type to make sure - that OpenGL - calls are only made if the makeCurrent() is successful. + -2007-11-17 11:50 robert + * 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). - * From Colin Dunlop, add --devices support. + -2007-11-13 17:03 robert + * 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. - * Added support for filename only setup of CompositeLayer on - reading/writing. + -2007-11-10 03:43 ewing + * Changed option SHOW_DIRECTORIES to yes, which is a case of preference I guess. - * Added missing files for qt plugin + " -2007-11-09 20:04 ewing - * 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. -2007-11-09 13:16 ewing +Mon, 18 Aug 2008 10:47:43 +0000 +Checked in by : Robert OSFIELD +Removed todo entry - * OpenThreads Version header was mistakenly in Resources. - - osg Texture2DArray header was mistakenly in Resources. +Sun, 17 Aug 2008 16:52:35 +0000 +Checked in by : Robert OSFIELD +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. -2007-11-09 02:21 ewing +New attribute PagedLOD::PerRangeData::_ +frameNumber contains frame number of last cull traversal. - * Lots of Leopard information added. +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. -2007-11-08 10:30 robert +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. - * From Colin Dunlop, added missing header (note from Robert - Osfield, this submission was extracted from an inline submission - so may be prone to errors). +Two interface changes are made: -2007-11-08 10:30 ewing +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. - * For Leopard freetype, path is $(SDKROOT)/usr/X11/lib not X11R6. +PagedLOD::removeExpiredChildren(double expiryTime, NodeList &removedChildren) is deprecated (warning is printed), when subclassing use PagedLOD::removeExpiredChildren(double expiryTime, int expiryFrame, NodeList &removedChildren) instead. " -2007-11-06 12:07 robert - * From Colin Dunlop, add live video stream support -2007-11-04 16:08 robert - * 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 +Sun, 17 Aug 2008 16:45:09 +0000 +Checked in by : Robert OSFIELD +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." -2007-11-04 15:21 robert - * Changed the include definition so that it works under Cygwin. -2007-11-03 10:32 robert +Fri, 15 Aug 2008 17:35:04 +0000 +Checked in by : Robert OSFIELD +From Paul Palumbo, "Fixes a typo in coverage antialiasing code... Without this fix, get incorrect antialiasing results. " - * Fixed bug in addSlave +Fri, 15 Aug 2008 17:32:26 +0000 +Checked in by : Robert OSFIELD +From Jutta Sauer, "We added a raise window method to GraphicsWindow. And added two implementations for Win32 and X11." -2007-10-31 12:55 robert - * Changed the spherical display intensity map set up to use colours - rather than - a second texture unit. -2007-10-31 12:55 robert +Fri, 15 Aug 2008 17:26:06 +0000 +Checked in by : Robert OSFIELD +Updated version numbers in prep for next dev release - * Added getColor method to allow easy reading of individual pixels. +Fri, 15 Aug 2008 17:25:42 +0000 +Checked in by : Robert OSFIELD +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." -2007-10-31 11:06 robert - * Fixed wrap mode for panoramic display. -2007-10-30 14:17 robert +Fri, 15 Aug 2008 17:18:10 +0000 +Checked in by : Robert OSFIELD +Added support for geometry shader attributes - * Changed debug message from NOTICE to INFO. +Fri, 15 Aug 2008 16:43:56 +0000 +Checked in by : Robert OSFIELD +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. -2007-10-29 00:36 ewing - * Fix for freetype plugin to be aware of SDKs (i.e. use SDKROOT). -2007-10-25 09:00 robert +Fri, 15 Aug 2008 16:21:44 +0000 +Checked in by : Robert OSFIELD +Changed osg::ImageSequence::set/getDuration to set/getLength() to be in keeping with the osg::ImageStream's getLength(). - * Fixed the capitilization of the osgdb_osgfx plugin +Fri, 15 Aug 2008 13:07:04 +0000 +Checked in by : Robert OSFIELD +Fixed the name of _playToggle -2007-10-19 09:58 robert +Fri, 15 Aug 2008 13:06:18 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Fixed errors is setup of VBO/EBO's. +Fri, 15 Aug 2008 12:45:20 +0000 +Checked in by : Robert OSFIELD +Further work on osg::ImageSequence, improving pause functionality, and introducing new seek(double time) method -2007-10-19 08:42 robert +Thu, 14 Aug 2008 16:29:12 +0000 +Checked in by : Robert OSFIELD +Added initial looping and pause play support - * Fix for setting scene data after slaves have been added. +Thu, 14 Aug 2008 16:28:45 +0000 +Checked in by : Robert OSFIELD +Added event handler to toggling looping and play/pause -2007-10-19 08:39 robert +Thu, 14 Aug 2008 14:22:39 +0000 +Checked in by : Robert OSFIELD +Implemented a reference eye point and associated methods in support of intersecting billboards - * Fixed getOrCreateVertexBufferObject(). +Tue, 5 Aug 2008 20:05:25 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowski, added OSX release notes to READEME -2007-10-17 19:01 robert +Tue, 5 Aug 2008 20:05:07 +0000 +Checked in by : Robert OSFIELD +Added osgWidget to doc building - * Removed redundent X11/Intrinsic include +Tue, 5 Aug 2008 19:17:09 +0000 +Checked in by : Robert OSFIELD +Improved the doxygen docs over the various namespaces -2007-10-16 19:04 robert +Tue, 5 Aug 2008 16:05:59 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowki, disabled default build of 64bit under OSX to prevent build problems - * Added flv to accepted list video format for the quicktime and - xine-lib plugins +Tue, 5 Aug 2008 15:27:37 +0000 +Checked in by : Robert OSFIELD +Merged from OpenSceneGraph-2.6 branch -2007-10-16 19:03 robert +Tue, 5 Aug 2008 15:11:47 +0000 +Checked in by : Robert OSFIELD +Added NullStream class that automatically creates and delete the NullStreamBuffer, thus fixing a memory leak - * Added flv to accepted list of formats +Tue, 5 Aug 2008 15:06:22 +0000 +Checked in by : Robert OSFIELD +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" -2007-10-16 19:01 robert +Tue, 5 Aug 2008 11:17:48 +0000 +Checked in by : Robert OSFIELD +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 . - * Added flv to the list of accepted movie types -2007-10-05 11:48 ewing - * Forgot to bump version numbers to 2.2.0. +Mon, 4 Aug 2008 20:48:46 +0000 +Checked in by : Robert OSFIELD +Added -losgWidget to the list of libs -2007-10-05 11:28 ewing +Mon, 4 Aug 2008 17:08:28 +0000 +Checked in by : Robert OSFIELD +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." - * Needed to remove dead header from precompiled header file. - Minor fixes to readme. +Mon, 4 Aug 2008 15:09:16 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file -2007-10-05 10:46 robert +Mon, 4 Aug 2008 15:08:39 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * From Mathias Froehlich, "since we patched our hp to an other - patchlevel, I need the following to - include/osg/Texture" +Mon, 4 Aug 2008 15:08:24 +0000 +Checked in by : Robert OSFIELD +Updated news for 2.6.0 release rc2 -2007-10-05 09:10 robert +Mon, 4 Aug 2008 14:01:42 +0000 +Checked in by : Robert OSFIELD +From Philip Lowman, workaround of Centos 5's missing definition of GL_MAX_SAMPLES_EXT. - * From Andy Skinner, build fixes for Solaris. +Mon, 4 Aug 2008 12:47:14 +0000 +Checked in by : Robert OSFIELD +Moved initial drawable setup to within the mutex locked section to avoid multi-threaded crash on startup. -2007-10-05 09:03 robert +Mon, 4 Aug 2008 12:27:22 +0000 +Checked in by : Robert OSFIELD +Removed debug info - * Changed the threading model to single threaded. +Mon, 4 Aug 2008 09:05:29 +0000 +Checked in by : Robert OSFIELD +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!"" -2007-10-04 11:24 robert - * Updated ChangeLog for 2.2 release -2007-10-04 11:20 robert +Mon, 4 Aug 2008 08:45:08 +0000 +Checked in by : Robert OSFIELD +Added a small epsilon expansion of the bounding box being clipped/intersected against, to avoid numberic errors causing problems. - * Added asView() method to GUIActionAdapter to help out with .NET - wrappers. Updated wrappers +Sun, 3 Aug 2008 20:35:45 +0000 +Checked in by : Robert OSFIELD +Improved the terrain intersection code so that it produces more stable terrain movements. -2007-10-04 10:05 robert +Sun, 3 Aug 2008 16:57:09 +0000 +Checked in by : Robert OSFIELD +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 . - * Updated version for 2.2 release +Sun, 3 Aug 2008 16:48:12 +0000 +Checked in by : Robert OSFIELD +Moved bb expansion out of loop. -2007-10-04 08:54 robert +Fri, 25 Jul 2008 21:09:37 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS.txt file for relese candidate - * From Trajce Nikolov, added support for extract a region for - geospatial imagery +Fri, 25 Jul 2008 21:01:57 +0000 +Checked in by : Robert OSFIELD +Updated version numbers to 2.6.0 -2007-10-03 23:44 robert +Fri, 25 Jul 2008 21:00:12 +0000 +Checked in by : Robert OSFIELD +Updated REAME and NEWS for 2.6 branch - * Updated ChangeLog, NEWS and AUTHORS file for 2.1.15 release +Fri, 25 Jul 2008 20:50:59 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-10-03 23:27 robert +Fri, 25 Jul 2008 20:50:42 +0000 +Checked in by : Robert OSFIELD +Renamed enums in osgWidget from ALLCAPITALS to normal OSG conventional of AllCapital - * Updated version for 2.1.15 dev release +Fri, 25 Jul 2008 20:49:17 +0000 +Checked in by : Robert OSFIELD +Added PluginQuery function to wrappers -2007-10-03 23:03 robert +Fri, 25 Jul 2008 20:04:41 +0000 +Checked in by : Robert OSFIELD +Added OSGPL Copyright notices - * 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." +Fri, 25 Jul 2008 19:57:17 +0000 +Checked in by : Robert OSFIELD +Restructured classes to better fit with style of the rest of the OSG. -2007-10-03 23:01 robert +Fri, 25 Jul 2008 19:53:18 +0000 +Checked in by : Robert OSFIELD +Added include to help wrapper building - * 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 - +Fri, 25 Jul 2008 18:44:13 +0000 +Checked in by : Robert OSFIELD +Improved handling of PAGE_AND_RETAIN_IMAGES -2007-10-03 21:12 shuber +Fri, 25 Jul 2008 17:42:37 +0000 +Checked in by : Robert OSFIELD +Reverted back to using std::list - * updated XCode projects +Fri, 25 Jul 2008 16:23:00 +0000 +Checked in by : Robert OSFIELD +Added Mode support -2007-10-03 20:21 robert +Fri, 25 Jul 2008 16:11:51 +0000 +Checked in by : Robert OSFIELD +Updated wrappers, and further refined the ImageSequence API - * 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. +Fri, 25 Jul 2008 15:45:40 +0000 +Checked in by : Robert OSFIELD +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/ -2007-10-03 19:54 robert +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." - * Removed double return error -2007-10-03 12:49 robert - * Updated version, authors and change log for the 2.1.14 release +Fri, 25 Jul 2008 15:38:12 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project -2007-10-03 12:48 robert +Fri, 25 Jul 2008 13:45:07 +0000 +Checked in by : Robert OSFIELD +Added ImageSequence to .ive plugin, added support for multiple ImageThreads in osgDB::ImagePager - * From Mahai Radu, improvements to handling of spotlights +Fri, 25 Jul 2008 10:18:36 +0000 +Checked in by : Robert OSFIELD +Moved PluginQuery from osgconv into osgDB -2007-10-03 12:04 robert +Fri, 25 Jul 2008 10:18:14 +0000 +Checked in by : Robert OSFIELD +Added extension docs - * Refactored the plugin and library naming to fix Cygwin plugin - loaded issues. +Fri, 25 Jul 2008 09:46:05 +0000 +Checked in by : Robert OSFIELD +Added option docs -2007-10-03 10:38 robert +Thu, 24 Jul 2008 17:38:50 +0000 +Checked in by : Robert OSFIELD +Added missing returns - * Added preliminary press release +Thu, 24 Jul 2008 13:25:49 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Not sure about the descriptions, so I left those blank. But at least "osgconv --formats" will display the .ive options now." -2007-10-03 10:36 robert +Thu, 24 Jul 2008 12:48:25 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Alberto Luaces, build fix for Cygwin. +Thu, 24 Jul 2008 12:47:55 +0000 +Checked in by : Robert OSFIELD +Added getCurrentCamera/getCurrentRenderStage methods -2007-10-03 08:34 robert +Thu, 24 Jul 2008 12:18:49 +0000 +Checked in by : Robert OSFIELD +Added a getCurrentRenderStage() and getCurrentCamera() convninience methods, and converted the CullVisitor::apply(OcclusionQueryNode&) implementation to use the new getCurrentCamera method. - * Added return 0 to fix warning +Thu, 24 Jul 2008 12:06:05 +0000 +Checked in by : Robert OSFIELD +Improved the feedback for when a plugin isn't available. -2007-10-02 21:45 robert +Thu, 24 Jul 2008 12:01:45 +0000 +Checked in by : Robert OSFIELD +Added supportOptions() entry docs - * Updated wrappers +Thu, 24 Jul 2008 12:01:23 +0000 +Checked in by : Robert OSFIELD +Added --format extname and --plugin pluginname extensions, and improved formating -2007-10-02 21:45 robert +Thu, 24 Jul 2008 11:22:43 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, "fix for filenames that have spaces within their name."Note form Robert, changed std::cout to osg::notify(osg::INFO) - * 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." -2007-10-02 21:28 robert - * Updated wrappers +Wed, 23 Jul 2008 22:19:37 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-10-02 21:26 robert +Wed, 23 Jul 2008 22:19:29 +0000 +Checked in by : Robert OSFIELD +Refactored OverlayData so that its possible to subclass OverlayNode/OverlayData. - * 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. +Wed, 23 Jul 2008 21:52:03 +0000 +Checked in by : Robert OSFIELD +Added wrappers -2007-10-02 21:24 robert +Wed, 23 Jul 2008 21:49:07 +0000 +Checked in by : Robert OSFIELD +Moved helper classes into Protected section - * Updated to reflect new CompositeViewer threading models +Wed, 23 Jul 2008 21:25:09 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, typo fixes -2007-10-02 21:23 robert +Wed, 23 Jul 2008 19:06:14 +0000 +Checked in by : Robert OSFIELD +Applied filename fix suggested by Andrew Bettison. - * 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 +Wed, 23 Jul 2008 19:04:46 +0000 +Checked in by : Robert OSFIELD +Implemented ImagePager internals -2007-10-02 20:56 robert +Wed, 23 Jul 2008 15:42:02 +0000 +Checked in by : Robert OSFIELD +Fixed unitialized variable - * Changed the search for Qt version to prevent problems when having - both Qt3 and Qt4 installed on one machine. +Tue, 22 Jul 2008 20:20:16 +0000 +Checked in by : Robert OSFIELD +Further work on ImageSequence -2007-10-02 20:55 robert +Tue, 22 Jul 2008 16:44:49 +0000 +Checked in by : Robert OSFIELD +Added support for pruning old images, recording the Duration in the .osg file, and -o filename output support in osgimagesequence. - * 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. +Tue, 22 Jul 2008 15:58:40 +0000 +Checked in by : Robert OSFIELD +Improved position when multiple videos are provided -2007-10-02 20:54 robert +Tue, 22 Jul 2008 15:21:24 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Changed the GLU_TESS_CALLBACK in an attempt to avoid compile - problems under OSX. +Tue, 22 Jul 2008 14:47:59 +0000 +Checked in by : Robert OSFIELD +Fixed handling of TextureCubeMap's with mipmapped/ImageSequence/PBO's. -2007-10-02 20:45 robert +Tue, 22 Jul 2008 12:40:02 +0000 +Checked in by : Robert OSFIELD +Added ImageSequence IO support in Texture classes - * From Andy Skinner, changes the library linkage to just include - osg and OpenThreads +Tue, 22 Jul 2008 12:28:46 +0000 +Checked in by : Robert OSFIELD +Added support for ImageSequence to all Texture classes -2007-10-01 15:11 robert +Tue, 22 Jul 2008 10:13:57 +0000 +Checked in by : Robert OSFIELD +Disabled the setting of Texture::setUnrefImageOnApply(true) when the imagery is an ImageStream. - * Removed redundent malloc. +Tue, 22 Jul 2008 09:02:44 +0000 +Checked in by : Robert OSFIELD +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..." -2007-10-01 11:02 robert +Mon, 21 Jul 2008 23:42:59 +0000 +Checked in by : Robert OSFIELD +Moved osgViewer::ScreenCaptureHandler's WindowCaptureCallback from head into .cpp to clean up headers and avoid wrapper build issues.Updated wrappers - * From David Callu, various fixes for window inheritance -2007-10-01 10:23 robert - * Updated AUTHORS for 2.1.13 release +Mon, 21 Jul 2008 22:38:11 +0000 +Checked in by : Robert OSFIELD +Removed the reducent non const get methods -2007-10-01 10:21 robert +Mon, 21 Jul 2008 21:28:48 +0000 +Checked in by : Robert OSFIELD +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"))); - * Updated Version number for 2.1.13 and updated ChangeLog. +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. -2007-10-01 09:41 robert +(The attached also clarifies some notify messages, and corrects the comment when adding the handler in osgviewer.cpp) - * Changed requestWarpPointer to use _eventDislay to avoid crash in - osghanglide example due - to async usage. +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. -2007-10-01 08:50 robert +" - * Removed log2 and replaced the places where is was used with a new - Image::computeNumberOfMipmapLevels method. -2007-09-30 20:16 shuber - * updated XCode-projects +Mon, 21 Jul 2008 21:20:21 +0000 +Checked in by : Robert OSFIELD +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 Tessellatorerror: type qualifiers ignored on function return type -2007-09-30 19:56 robert +The errors belong all to a INLINE function definition. Find attached my +modified version." - * Updated wrappers -2007-09-30 19:53 robert - * 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, 21 Jul 2008 21:17:05 +0000 +Checked in by : Robert OSFIELD +From Mario Valle, signed/unsgined warning fix -2007-09-30 19:39 robert +Mon, 21 Jul 2008 21:00:57 +0000 +Checked in by : Robert OSFIELD +Further work on osg::ImageSequence/osgDB::ImagePager - * Updated wrappers +Mon, 21 Jul 2008 20:44:37 +0000 +Checked in by : Robert OSFIELD +Upated version number for dev release -2007-09-30 19:27 robert +Mon, 21 Jul 2008 19:23:03 +0000 +Checked in by : Robert OSFIELD +Moved the ~Record body into the .cpp to avoid a MipsPro compile error (due to a compiler bug) - * Added support for CompositeViewer to WindowSizeHandler, - ThreadingHandler, RecordCameraPathManipulator and HelpHandler. +Mon, 21 Jul 2008 17:45:28 +0000 +Checked in by : Robert OSFIELD +Added call to OpenThreads::Thread::cancel(); -2007-09-30 19:15 robert +Mon, 21 Jul 2008 17:39:55 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Changed HelpHandler so it supports use with CompositeViewer and - Viewer +Mon, 21 Jul 2008 17:28:22 +0000 +Checked in by : Robert OSFIELD +Added basic image sequencing -2007-09-30 18:43 robert +Mon, 21 Jul 2008 17:27:59 +0000 +Checked in by : Robert OSFIELD +Added non const getAuthenticationMap(). - * Added hdwriter to CMake build +Mon, 21 Jul 2008 16:17:41 +0000 +Checked in by : Robert OSFIELD +Moved the if (!buffer) check to infront of the memory initialization -2007-09-30 18:42 robert +Mon, 21 Jul 2008 15:05:08 +0000 +Checked in by : Robert OSFIELD +Added --login http authentication. - * 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." +Mon, 21 Jul 2008 15:04:19 +0000 +Checked in by : Robert OSFIELD +Added --login url username password http authentication option -2007-09-30 18:33 robert +Mon, 21 Jul 2008 10:57:06 +0000 +Checked in by : Robert OSFIELD +Initial cut of osgimagesequence example - * From Jan Peciva, "I am submitting improved Inventor (iv) writer. - - List of changes: - - added support for Billboards and LOD - - improved Material handling - " +Mon, 21 Jul 2008 10:48:14 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project -2007-09-30 16:24 shuber +Mon, 21 Jul 2008 10:10:01 +0000 +Checked in by : Robert OSFIELD +Added ImagePager first cut, and updated wrappers - * updated xcode-projects +Mon, 21 Jul 2008 09:55:15 +0000 +Checked in by : Robert OSFIELD +Added first cut of ImageStream IO wrapper -2007-09-30 15:24 robert +Mon, 21 Jul 2008 09:47:39 +0000 +Checked in by : Robert OSFIELD +First cut of osgDB::ImagePager for updating osg::ImageSequence - * Updated wrappers +Mon, 21 Jul 2008 09:46:53 +0000 +Checked in by : Robert OSFIELD +First cut of osg::ImageSequence class -2007-09-30 15:07 robert +Fri, 18 Jul 2008 21:17:35 +0000 +Checked in by : Robert OSFIELD +From Adrain Elgi, added osgGA to link list - * Updated wrappers +Fri, 18 Jul 2008 11:39:06 +0000 +Checked in by : Robert OSFIELD +Introduce a custom atof function that always assumes data comes in form 10.10 with the full stop used as a decimal place. -2007-09-30 15:06 robert +Thu, 17 Jul 2008 16:12:39 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay and Robert Osfiled, osgViewer::ScreenCaptureHandler for taking screenshots - * 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." +Thu, 17 Jul 2008 14:25:04 +0000 +Checked in by : Robert OSFIELD +Updated version and AUTHORS.txt for 2.5.5 release -2007-09-30 11:37 robert +Thu, 17 Jul 2008 14:18:59 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 2.5.5 release - * Moved ViewerBase class out into its own header and source file. - - Improved the support for stats collection in - CompositeViewer/StatsHandler. +Thu, 17 Jul 2008 14:13:13 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-09-29 16:46 robert - - * Refactor Viewer/CompositeViewer so the both inherit from the a - ViewerBase class - -2007-09-29 11:41 robert +Thu, 17 Jul 2008 13:51:14 +0000 +Checked in by : Robert OSFIELD +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 +" - * From Stephan Huber, add basic support for CompositeViewer in - StatsHandler -2007-09-29 11:12 robert - * 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." +Thu, 17 Jul 2008 13:32:47 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2007-09-28 13:42 robert +Thu, 17 Jul 2008 13:23:43 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * Fixed SphericalDisplay set up codes to properly manage display - host/num +Thu, 17 Jul 2008 12:26:42 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-09-28 13:38 robert +Thu, 17 Jul 2008 12:13:04 +0000 +Checked in by : Robert OSFIELD +Moved AuthenticalMap/AuthenticationDetails out in their own files - * From Mathias Froehlich, "I had a chance to look into the remote - display problems. - The screen resolution was queried for the wrong display." +Thu, 17 Jul 2008 11:55:55 +0000 +Checked in by : Robert OSFIELD +Added osgDB::AuthenticationMap/Details to osgDB and curl plugin to add the ability to authenticate http transfers -2007-09-28 13:35 robert +Wed, 16 Jul 2008 19:07:01 +0000 +Checked in by : Robert OSFIELD +Removed net plugin for Xcode projects - * From Mattias Linde, "I've attached a modified ReaderWriter header - which has some additions - to osgDB::ReaderWriter::Options to handle PluginData." +Wed, 16 Jul 2008 16:19:54 +0000 +Checked in by : Robert OSFIELD +Moved .net plugin out into Deprecated section of osg svn repostitory -2007-09-28 08:53 robert +Wed, 16 Jul 2008 16:19:19 +0000 +Checked in by : Robert OSFIELD +Fixed path to font - * 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." +Wed, 16 Jul 2008 16:05:43 +0000 +Checked in by : Robert OSFIELD +Set the default setting of LineWidth to 2.0 to ensure that old default behavior is maintained. -2007-09-28 08:52 robert +Wed, 16 Jul 2008 16:04:27 +0000 +Checked in by : Robert OSFIELD +From Vincent Bourdier, removed line with setWidth(2.0) as this code prevents user settings of line with. - * Added record path manipulator +Wed, 16 Jul 2008 15:58:51 +0000 +Checked in by : Robert OSFIELD +Cleaned up the updateStateSet code -2007-09-27 13:49 robert +Wed, 16 Jul 2008 15:58:15 +0000 +Checked in by : Robert OSFIELD +Refactored the MultiTextureControl node callback so that the update is now done as an update callback, with the elevation aquired via a cull callback - * Changed across to using a GraphicsOperation as the base class for - the RealizeOperation. +Wed, 16 Jul 2008 13:29:35 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-09-27 12:47 robert +Wed, 16 Jul 2008 13:26:06 +0000 +Checked in by : Robert OSFIELD +Changed int's to unsigned int's to avoid warnings - * 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" +Wed, 16 Jul 2008 13:23:58 +0000 +Checked in by : Robert OSFIELD +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.) -2007-09-27 12:15 robert +Wed, 16 Jul 2008 12:53:58 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project, included osgWidget-Framework - * From Mathias Froehlich, compile fix for HP-UX without large file - support +Wed, 16 Jul 2008 11:40:01 +0000 +Checked in by : Robert OSFIELD +Removed a division by precomputing the associated values -2007-09-27 10:47 robert +Tue, 15 Jul 2008 22:30:51 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, Updated file references to reflect new data in OpenSceneGraph-Data - * From Mathias Froehlich, "Some more file that needs some - adjustment because of missing member templates - in suns stl." +Tue, 15 Jul 2008 22:13:35 +0000 +Checked in by : Robert OSFIELD +Added osgWidget wrappers -2007-09-27 10:42 robert +Tue, 15 Jul 2008 22:03:59 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces - * Changed copy constrcutor to a default constrcutor and std::copy - to avoid - problems with dodge Sun compiler. +Tue, 15 Jul 2008 21:28:22 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2007-09-27 10:22 robert +Tue, 15 Jul 2008 20:30:56 +0000 +Checked in by : Robert OSFIELD +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. - * Added support for selecting internal texture format via the - internalFormat entry in the .osg file +Tue, 15 Jul 2008 19:42:49 +0000 +Checked in by : Robert OSFIELD +Fixed name of lib -2007-09-26 16:17 shuber +Tue, 15 Jul 2008 19:28:30 +0000 +Checked in by : Robert OSFIELD +Changed IMPORT to "Import option", and "EXPORT:" to "Export option:" in supportsOptions() docs make it a little more friendly and understandable - * updated XCode project-files +Tue, 15 Jul 2008 19:26:20 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Here's documentation for the export options of the FLT plugin. I also labeled the import options as such." -2007-09-26 14:44 robert +Tue, 15 Jul 2008 19:24:48 +0000 +Checked in by : Robert OSFIELD +Updated version number to 2.5.5 in prep for dev release - * 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, 15 Jul 2008 19:24:22 +0000 +Checked in by : Robert OSFIELD +Changed the version setup code to be consistent with the rest of the OSG -2007-09-26 14:31 robert +Tue, 15 Jul 2008 19:23:48 +0000 +Checked in by : Robert OSFIELD +Removed now redundent example - * Updated wrappers +Tue, 15 Jul 2008 19:02:20 +0000 +Checked in by : Robert OSFIELD +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. " -2007-09-26 14:02 robert +Tue, 15 Jul 2008 18:53:16 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastian Guay, "Here are the CMakeLists.txt files for the osgWidget examples, changed to use SETUP_EXAMPLE like the other examples." - * Added IntensityMap reading in .view files +Tue, 15 Jul 2008 18:12:17 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2007-09-26 11:32 robert +Tue, 15 Jul 2008 17:21:25 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, import of the osgWidget NodeKit, sourced from the original http://osgwidget.googlecode.com/svn/trunkNotes 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 - * Tweaked the wrapping of osgViewer::Scene to fix build problems -2007-09-26 10:58 robert - * 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" -2007-09-26 10:46 robert +Tue, 15 Jul 2008 14:24:46 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added suprression of the reflection of osgViewer::Scene to avoid - build - issues associated with the class. +Tue, 15 Jul 2008 14:24:21 +0000 +Checked in by : Robert OSFIELD +From Art Trevs, Removed GLeunm version setAttachment() to avoid ambigiuity with whether to enable MRT. -2007-09-26 09:59 robert +Tue, 15 Jul 2008 14:15:42 +0000 +Checked in by : Robert OSFIELD +Renamed Archive::ArchiveStatus to ReaderWriter::ArchiveStatus - * Updated wrappers +Tue, 15 Jul 2008 10:45:07 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-09-26 09:50 robert +Tue, 15 Jul 2008 09:55:33 +0000 +Checked in by : Robert OSFIELD +Missing check-ins - * From David Callu, adding support for GraphicsWindowX11 window - inhertance and - setWindowName() method. +Mon, 14 Jul 2008 20:22:38 +0000 +Checked in by : Robert OSFIELD +Added --plugins and --formats query support into osgconv to help with querying the available plugins and the file formats/protocols they support -2007-09-25 19:14 robert +Mon, 14 Jul 2008 20:11:37 +0000 +Checked in by : Robert OSFIELD +Added missing ac3d supportsExtensions() constructor - * Added support for intensityMap and fix naming of --panoramic-sd - and --3d-sd command line arguments +Mon, 14 Jul 2008 08:48:49 +0000 +Checked in by : Robert OSFIELD +Added initial cut at plugin query code -2007-09-25 17:02 robert +Sun, 13 Jul 2008 22:18:59 +0000 +Checked in by : Robert OSFIELD +Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods to help enable better querying of supported features - * Added --flip argument docs. +Sun, 13 Jul 2008 15:24:45 +0000 +Checked in by : Robert OSFIELD +Added new ReaderWriter methods for recording what protocols, extensions and options are support by ReaderWriters -2007-09-25 17:01 robert +Sun, 13 Jul 2008 12:34:06 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, removed uneccessary libraries from link line - * Added --flip option to allow one to flip the source data about - the x axis. +Sat, 12 Jul 2008 17:44:51 +0000 +Checked in by : Robert OSFIELD +Updated date for 2.5.4 release -2007-09-25 15:01 robert +Sat, 12 Jul 2008 17:30:17 +0000 +Checked in by : Robert OSFIELD +Added an OSG_EXPORT - * 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. +Sat, 12 Jul 2008 16:11:14 +0000 +Checked in by : Robert OSFIELD +Updated Authors for dev release -2007-09-25 13:51 robert +Sat, 12 Jul 2008 15:29:30 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for dev release - * Preliminary PanoramicSphericalScreen support +Sat, 12 Jul 2008 12:00:58 +0000 +Checked in by : Robert OSFIELD +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: -2007-09-25 12:34 robert +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 - * Added --major/minor/path-number support +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" -2007-09-25 11:26 robert - * Fixed version number -2007-09-25 10:18 robert +Sat, 12 Jul 2008 11:19:25 +0000 +Checked in by : Robert OSFIELD +Cleaned up osgkdtree example - * Added thread unit test to test the create, start and destruction - of threads +Fri, 11 Jul 2008 20:01:12 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for dev release -2007-09-24 16:34 robert +Fri, 11 Jul 2008 19:52:25 +0000 +Checked in by : Robert OSFIELD +From Adrain Egli, "i added a default scene with 7 different draggers attached. it's more easy to test the draggers." - * Updated Version and AUTHORS for 2.1.12 dev release +Fri, 11 Jul 2008 19:43:01 +0000 +Checked in by : Robert OSFIELD +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." -2007-09-24 16:30 robert +Fri, 11 Jul 2008 19:23:49 +0000 +Checked in by : Robert OSFIELD +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. + " - * Renamed packaging directory to pkgconfig -2007-09-24 16:28 robert - * Updated ChangeLog for release -2007-09-24 16:25 robert +Fri, 11 Jul 2008 17:46:30 +0000 +Checked in by : Robert OSFIELD +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." - * Updated wrappers -2007-09-24 15:24 robert - * From Adrian Egli, further work on PSSM implementation. -2007-09-24 10:36 robert +Fri, 11 Jul 2008 17:41:50 +0000 +Checked in by : Robert OSFIELD +From Joakim Simmonsson, fixed various spelling typos in comments - * From Alberto Luaces, fixed typo of valid() in warning message +Fri, 11 Jul 2008 17:35:13 +0000 +Checked in by : Robert OSFIELD +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. " -2007-09-24 10:31 robert +Fri, 11 Jul 2008 17:07:05 +0000 +Checked in by : Robert OSFIELD +Increased the buffer and fixed the buffer calculation when moving backwards into objects - * Changed iterator name to avoid warning +Fri, 11 Jul 2008 16:51:11 +0000 +Checked in by : Robert OSFIELD +Updated KdTree code to refect new cleaned up API -2007-09-24 09:39 robert +Fri, 11 Jul 2008 16:50:43 +0000 +Checked in by : Robert OSFIELD +Tweaked the KdTree intersection performance testing code block - * 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." +Fri, 11 Jul 2008 16:48:55 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-09-24 09:35 robert +Fri, 11 Jul 2008 16:48:39 +0000 +Checked in by : Robert OSFIELD +Moved the building and intersecting of the KdTree into the .cpp, and cleaned up the header to ready it for wider usage - * 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." +Thu, 10 Jul 2008 15:50:10 +0000 +Checked in by : Robert OSFIELD +Streamlined KdTree implementation -2007-09-24 09:26 robert +Wed, 9 Jul 2008 19:43:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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;" +Wed, 9 Jul 2008 19:42:15 +0000 +Checked in by : Robert OSFIELD +Cleaned up KdTree implementation -2007-09-24 09:05 robert +Wed, 9 Jul 2008 19:41:36 +0000 +Checked in by : Robert OSFIELD +Reordered KdLeaf/KdNode so that the first element to be accessed is first in the data structure - * Made ReaderWriter and ReaderWriter::Options use thread safe ref - counting. +Wed, 9 Jul 2008 19:40:10 +0000 +Checked in by : Robert OSFIELD +Introduced code for doing dummy test traversals - used for benchmarking KdTree code. -2007-09-22 17:39 robert +Wed, 9 Jul 2008 19:28:00 +0000 +Checked in by : Robert OSFIELD +Added range of camera manipulators and a center of screen test intersection that is insticated by pressing 'c' key - * Improved the handling of OSG_CONFIG_FILE support. +Wed, 9 Jul 2008 19:26:40 +0000 +Checked in by : Robert OSFIELD +Introduce a intersecion performance testing code path, #if def'd out for now. -2007-09-22 16:50 robert +Wed, 9 Jul 2008 12:37:59 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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. +Tue, 8 Jul 2008 18:02:09 +0000 +Checked in by : Robert OSFIELD +Fixed set method -2007-09-22 16:46 robert +Tue, 8 Jul 2008 17:35:10 +0000 +Checked in by : Robert OSFIELD +Added optional control of whether to use KdTrees for intersections - * From Adrian Egli, update to ParallelSplitShadowMap. +Mon, 7 Jul 2008 20:27:56 +0000 +Checked in by : Robert OSFIELD +Implement hierachy culling in KdTree::intersect(..) -2007-09-22 13:06 robert +Mon, 7 Jul 2008 14:27:58 +0000 +Checked in by : Robert OSFIELD +Improved the handling of KdTree intersections - * Added EXPORT +Mon, 7 Jul 2008 13:21:37 +0000 +Checked in by : Robert OSFIELD +Implemented intial KdTree triangle intersection code, but without culling implemented -2007-09-21 19:43 robert +Mon, 7 Jul 2008 10:46:22 +0000 +Checked in by : Robert OSFIELD +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. - * From David Callu, added findSlaveIndexForCamera method +Mon, 7 Jul 2008 09:40:30 +0000 +Checked in by : Robert OSFIELD +Changed types to avoid warnings under Windows -2007-09-21 19:04 robert +Sun, 6 Jul 2008 18:27:10 +0000 +Checked in by : Robert OSFIELD +Changed the DatabasePager so that it bypasses the Registry::readNode() method and calls readNodeImplementation() directly to avoid calling the KdTreeBuilder.Updated wrappers. - * Added return -2007-09-21 15:34 robert - * Added support for basic viewer configuration files -2007-09-21 13:30 robert +Sun, 6 Jul 2008 12:14:19 +0000 +Checked in by : Robert OSFIELD +Moved KdTree build code into osg::KdTree - * Further steps towards reading coniguration files. +Sat, 5 Jul 2008 17:29:07 +0000 +Checked in by : Robert OSFIELD +Added handling of co-incident start and end points. -2007-09-21 09:02 robert +Sat, 5 Jul 2008 16:39:28 +0000 +Checked in by : Robert OSFIELD +Ported intersection code to use new osgUtil::LineSegmentIntersector/IntersectionVisitor. - * 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) - " +Fri, 4 Jul 2008 19:16:19 +0000 +Checked in by : Robert OSFIELD +Converted TerrainManipulator to use osgUtil::InterectionVisitor rather than the old IntersectVisitor -2007-09-20 10:14 robert +Fri, 4 Jul 2008 17:02:02 +0000 +Checked in by : Robert OSFIELD +Added KdTree intersection support into LineSegmentIntersector - * Updated wrappers +Fri, 4 Jul 2008 15:57:48 +0000 +Checked in by : Robert OSFIELD +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. -2007-09-20 10:12 robert +Fri, 4 Jul 2008 11:51:55 +0000 +Checked in by : Robert OSFIELD +Moved vertex indicies method into a single block with deprecated doc lines - * From Anders Backman, added bias and texture size methods. - - From Robert Osfield, tweaks to the above for method parameters - and indenting. +Thu, 3 Jul 2008 17:18:14 +0000 +Checked in by : Robert OSFIELD +Introduced bounding boxes to KDLeaf and KDNode structs -2007-09-19 16:53 robert +Thu, 3 Jul 2008 15:49:28 +0000 +Checked in by : Robert OSFIELD +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. - * Added supoort for OSG_WRITE_OUT_DEFAULT_VALUES env var +Thu, 3 Jul 2008 15:01:04 +0000 +Checked in by : Robert OSFIELD +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" -2007-09-19 15:29 robert - * Added support for bool in ArgumentParser::Parameter. - - Added support for using Input::read(...) methods using - ArgumentParser::Paramter - to adapter to multiple paramter types. -2007-09-19 11:56 robert +Thu, 3 Jul 2008 14:59:07 +0000 +Checked in by : Robert OSFIELD +From Mario Valle, removed extraneous spaces - * From Adrian Egli, ParallelSplitShadowMap implmentation. - - Changes by Robert Osfield - CMakeLists.txt and name change to - ParallelSplitShadowMap. +Thu, 3 Jul 2008 11:23:44 +0000 +Checked in by : Robert OSFIELD +Added header guards -2007-09-19 10:14 robert +Thu, 3 Jul 2008 11:22:23 +0000 +Checked in by : Robert OSFIELD +Refactored example so that the example will be able to run different kdtree data strucutres/algorithms. - * Changed the simplifier so that it produces deterministic results, - no longer - using memory pointers for sorting. +Thu, 3 Jul 2008 11:07:59 +0000 +Checked in by : Robert OSFIELD +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." -2007-09-19 09:00 robert +Thu, 3 Jul 2008 10:24:20 +0000 +Checked in by : Robert OSFIELD +Implement an experiemental triangle kdtree building support - * Removed check for shaders/overlay_perspective_main.vert +Thu, 3 Jul 2008 10:03:06 +0000 +Checked in by : Robert OSFIELD +Set the DataVariance on FadeText to DYNAMIC to reflect their nature -2007-09-18 16:00 robert +Wed, 2 Jul 2008 10:00:09 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Commented out herror() as its not called anywhere in the code. +Wed, 2 Jul 2008 09:25:08 +0000 +Checked in by : Robert OSFIELD +Introduced support for UNSCPECIFIED and STATIC DataVariance of StateSet/Textures -2007-09-17 09:33 robert +Tue, 1 Jul 2008 19:04:29 +0000 +Checked in by : Robert OSFIELD +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." - * Updated ChangeLog, AUTHORS and README for 2.1.11 release +Tue, 1 Jul 2008 18:37:13 +0000 +Checked in by : Robert OSFIELD +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." -2007-09-17 09:26 robert - * Updated version numbers for 2.1.11 dev release -2007-09-16 17:48 robert +Tue, 1 Jul 2008 13:56:02 +0000 +Checked in by : Robert OSFIELD +Added Vec3Array arrange pointer to avoid dynamic cast - * Fixed Locator::setTransform method so it takes a const Matrixd&, - and improved - the setting of Locator in the gdal plugin. +Tue, 1 Jul 2008 09:40:06 +0000 +Checked in by : Robert OSFIELD +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 ..." -2007-09-16 17:46 robert +Mon, 30 Jun 2008 16:53:06 +0000 +Checked in by : Robert OSFIELD +Added guards against FBO not being supported/setup - * Setting for new option for hinting whether to write out default - values +Sun, 29 Jun 2008 13:41:07 +0000 +Checked in by : Robert OSFIELD +Updated README date for 2.5.3 dev release -2007-09-16 17:45 robert +Sun, 29 Jun 2008 12:22:50 +0000 +Checked in by : Robert OSFIELD +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. - * Added option for controlling whether output code should write out - default values +Sat, 28 Jun 2008 16:59:26 +0000 +Checked in by : Robert OSFIELD +Added realize of new graphics contexts to handle new views being added with unrealized windows -2007-09-16 17:43 robert +Fri, 27 Jun 2008 19:40:52 +0000 +Checked in by : Robert OSFIELD +Changed back to use an std::vector<> rather than a std::list for RequestQueue to avoid member template problems under Solaris. - * Fixed warning +Fri, 27 Jun 2008 18:59:27 +0000 +Checked in by : Robert OSFIELD +Refactored the sort of the requestQueue so that there is single code path for doing the sort. -2007-09-16 07:55 robert +Fri, 27 Jun 2008 16:47:43 +0000 +Checked in by : Robert OSFIELD +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. +" - * From Loic Dachary, pkg_config files -2007-09-15 17:40 robert - * Introduced the use of a ReentrantMutex to avoid problems with - findFontFile. +Fri, 27 Jun 2008 12:44:41 +0000 +Checked in by : Robert OSFIELD +Simplified the MixinVector class so that it no longer supports custom allocators, instead just uses std::vector<>'s default allocators. -2007-09-15 17:36 robert +Fri, 27 Jun 2008 12:35:56 +0000 +Checked in by : Robert OSFIELD +Moved the apply(&) default implementations from the header into the NodeVisitor.cpp, and changed the casts to use static_cast<>. - * 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, 27 Jun 2008 11:47:06 +0000 +Checked in by : Stephan Maximilian HUBER +from Stephan Huber: updated XCode project -2007-09-14 11:26 robert +Fri, 27 Jun 2008 10:17:38 +0000 +Checked in by : Robert OSFIELD +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. " - * Updated wrappers +Thu, 26 Jun 2008 19:51:24 +0000 +Checked in by : Robert OSFIELD +Updated authors and osgversion -2007-09-14 11:06 robert +Thu, 26 Jun 2008 19:47:00 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * From Andy Skinner, added support for ot-soversion-OpenThreads.dll - dll naming under Windows +Thu, 26 Jun 2008 19:21:54 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-09-14 11:02 robert +Thu, 26 Jun 2008 18:34:01 +0000 +Checked in by : Robert OSFIELD +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. + " - * Updated wrappers -2007-09-14 11:01 robert - * Added TemplateRegisterDotOsgWrapperProxy. +Thu, 26 Jun 2008 18:06:24 +0000 +Checked in by : Robert OSFIELD +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." -2007-09-14 11:00 robert - * Ran conversion of tabs to four spaces -2007-09-14 10:44 robert +Thu, 26 Jun 2008 16:45:50 +0000 +Checked in by : Robert OSFIELD +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. - * 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 - * From Ole-Morten Duesund, added IgnoreUsedEventsMask. +Thu, 26 Jun 2008 15:06:44 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, updated CMakeLists.txt to build the Atomic.cpp -2007-09-14 10:00 robert +Thu, 26 Jun 2008 13:09:54 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowski, added enforcement of CMake 2.6.0 under OSX. - * Added _hudText->setDataVariance(osg::Object::DYNAMIC); to prevent - from the - text being updated at the same time as being rendered. +Thu, 26 Jun 2008 13:08:24 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowski, Cmake support for osgviewerCocoa -2007-09-13 11:00 robert +Thu, 26 Jun 2008 12:08:37 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, build fixes for various unices - * Fix for build error during aggressive warning build +Thu, 26 Jun 2008 10:33:47 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, added do not edit comments to Config.in so that the autogenerated Config files have an appropriate warning notice -2007-09-13 10:42 robert +Thu, 26 Jun 2008 10:27:16 +0000 +Checked in by : Robert OSFIELD +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." - * Fixed warning in wrappers -2007-09-13 10:38 robert - * Fixed warnigns +Mon, 23 Jun 2008 15:11:37 +0000 +Checked in by : Robert OSFIELD +Fixed pedantic warning -2007-09-13 10:33 robert +Mon, 23 Jun 2008 14:51:34 +0000 +Checked in by : Robert OSFIELD +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. " - * Updated wrappers and READEME +Mon, 23 Jun 2008 11:14:06 +0000 +Checked in by : Robert OSFIELD +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 -2007-09-13 10:32 robert +The error was in compiling osgDB/Registry.cpp +" - * From Paul Martsz, changed the Texture clamping mode to - CLAMP_TO_EDGE -2007-09-13 10:21 robert - * From Blake Williams, warning fixes +Mon, 23 Jun 2008 10:18:04 +0000 +Checked in by : Robert OSFIELD +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. -2007-09-13 10:21 robert +Mon, 23 Jun 2008 09:57:45 +0000 +Checked in by : Robert OSFIELD +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)" - * Add static_cast to fix warning. -2007-09-13 10:16 robert - * Removed unncessary typedefs +Mon, 23 Jun 2008 08:06:07 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: added missing config files and updated xcode-project -2007-09-13 10:15 robert +Sat, 21 Jun 2008 17:56:38 +0000 +Checked in by : Robert OSFIELD +Quietened down debug info - * Fixed warnings of casting void* by refactoring the type and - extensiosn setup. +Sat, 21 Jun 2008 17:50:58 +0000 +Checked in by : Robert OSFIELD +Added support for X11's overrideRedirect functionality -2007-09-13 10:10 robert +Sat, 21 Jun 2008 11:34:01 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces - * Fixed uint/int comparison warning. +Fri, 20 Jun 2008 19:52:14 +0000 +Checked in by : Robert OSFIELD +Changed the include/osg/Config and include/OpenThreads/Config references to use the assocaited CMake variable for these headers -2007-09-13 09:30 robert +Fri, 20 Jun 2008 19:51:21 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Created two PixelBufferX11::closeImplementation() one the real - implementation and - a second non op one for GLX <1.3. +Fri, 20 Jun 2008 17:32:27 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, added missing MixinVector header -2007-09-12 17:01 robert +Fri, 20 Jun 2008 16:57:22 +0000 +Checked in by : Robert OSFIELD +Added OSG_WINDOWING_SYSTEM cmake option string to allow toggling between X11 and Carbon under OSX. - * Added preliminary handling of cases where GLX version < 1.3 +Fri, 20 Jun 2008 15:50:53 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, moved optional config variables into include/osg/Config file that is automatically created by cmake according to its own settings. -2007-09-12 17:01 robert +Fri, 20 Jun 2008 15:49:15 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Removed debug messages +Fri, 20 Jun 2008 15:28:38 +0000 +Checked in by : Robert OSFIELD +Changed const double* to const Matrix::value_type* to ensure changes in Matrix type don't break the build -2007-09-12 16:28 robert +Fri, 20 Jun 2008 13:16:35 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, new flatten static transforms visitor that duplicates subgraphs that are shared beneath differnt static transformsFrom 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. - * Moved the linking of OpenThreads from osgversion/CMakeLists.txt - into applications/CMakeLists.txt -2007-09-12 16:20 robert - * Rejigged the casting to avoid warnings under Windows +Fri, 20 Jun 2008 11:16:06 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, made the include of bin directory for include/OpenThreads/Config only used when doing out of source builds -2007-09-12 10:43 robert +Fri, 20 Jun 2008 11:11:47 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for dev releases - * Updated version, ChangeLog and AUTHORS file for 2.1.10 release +Fri, 20 Jun 2008 10:46:33 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Fixes a compile of src/osgSim/ShapeAttribute.cpp on suse 10.2." -2007-09-12 10:04 robert +Fri, 20 Jun 2008 09:46:45 +0000 +Checked in by : Robert OSFIELD +From Melchior Franz, fixed typo on variable name - * From Jan Peciva, build fix +Fri, 20 Jun 2008 09:42:57 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, add search path to enable out of source builds to find include/OpenThreads/Config. -2007-09-11 20:54 robert +Thu, 19 Jun 2008 20:42:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added log2(int) and log2(uint) methods +Thu, 19 Jun 2008 20:38:38 +0000 +Checked in by : Robert OSFIELD +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. -2007-09-11 20:24 robert +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. - * Removed int version of log2 to avoid possible errors in assuming - log2(10) should ~= log2(10.0) +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" -2007-09-11 17:10 robert - * Added OpenThreads to target libraries -2007-09-11 17:08 robert - * From Art Tevs, Added log2 function. -2007-09-11 16:59 robert +Thu, 19 Jun 2008 17:35:45 +0000 +Checked in by : Robert OSFIELD +From Mathieu Marache, "submission for inclusion to support mpg and avi files when using the quicktime plugin on windows" - * From Art Tevs, build fix. +Thu, 19 Jun 2008 17:30:38 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, added support for using OpenThreads::Atomic for thread safe ref/unref. -2007-09-11 16:56 robert +Thu, 19 Jun 2008 14:57:36 +0000 +Checked in by : Robert OSFIELD +from Andrew Bettison, LineStipple support for .ive - * Replaced allocateMipmap code with warning message as mipmaps - aren't support for TextureRectangle. +Thu, 19 Jun 2008 14:45:54 +0000 +Checked in by : Robert OSFIELD +From Adrian Egli, "Improvements to the PSSM implementation" -2007-09-11 13:47 robert +Thu, 19 Jun 2008 14:35:18 +0000 +Checked in by : Robert OSFIELD +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). - * 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. +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. -2007-09-11 13:42 robert +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." - * Updated wrappers -2007-09-11 13:39 robert - * 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. - " +Thu, 19 Jun 2008 14:29:38 +0000 +Checked in by : Robert OSFIELD +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." -2007-09-11 13:34 robert - * 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 +Thu, 19 Jun 2008 14:14:20 +0000 +Checked in by : Robert OSFIELD +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." - * Seperated out GeometryTechnique .osg support. +Thu, 19 Jun 2008 13:49:36 +0000 +Checked in by : Robert OSFIELD +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. " -2007-09-11 12:28 robert +Thu, 19 Jun 2008 13:28:33 +0000 +Checked in by : Robert OSFIELD +Updated wrappers to fix OpenThreads::Atomic build issues. - * Changed the isTextureIntegerSupported method so that it no longer - has the EXT entry in it - for forward compatability reasons. +Thu, 19 Jun 2008 12:02:20 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, fixed typo error in renderbin assignment -2007-09-11 12:04 robert +Thu, 19 Jun 2008 11:58:34 +0000 +Checked in by : Robert OSFIELD +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. - * 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 - - * 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 - - * 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 - - * Maded versioning under Windows the default. - -2007-09-10 15:19 robert - - * 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 - - * Flesh out a bit more of the view IO support - -2007-09-08 07:04 robert - - * Fixed typo - -2007-09-07 15:03 robert - - * From David Callu, warning fixes - -2007-09-07 13:54 robert - - * Removed warning type not support by gcc 4.1.x - -2007-09-07 13:37 robert - - * Updated wrappers for new Texture2DArray class - -2007-09-07 13:25 robert - - * Moved defined from Texture2DArray into Texture - -2007-09-07 11:21 robert - - * 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." +Thu, 19 Jun 2008 11:09:20 +0000 +Checked in by : Robert OSFIELD +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. -2007-09-07 10:50 robert +Wed, 18 Jun 2008 20:27:06 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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..." +Wed, 18 Jun 2008 20:24:12 +0000 +Checked in by : Robert OSFIELD +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 + +Wed, 18 Jun 2008 20:17:13 +0000 +Checked in by : Robert OSFIELD +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. +" -2007-09-07 10:15 robert - * 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 +Wed, 18 Jun 2008 16:46:38 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Maria Ten, fix lat/long usage. +Wed, 18 Jun 2008 16:45:21 +0000 +Checked in by : Robert OSFIELD +Added a wrapString(const char*) which automatically handles null strings. -2007-09-07 09:49 robert +Wed, 18 Jun 2008 16:28:52 +0000 +Checked in by : Robert OSFIELD +Convert string handling to use strdup and free rather then awkward new char[] code paths - * 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." +Wed, 18 Jun 2008 14:21:22 +0000 +Checked in by : Robert OSFIELD +Added --fbo-samples value and --color-samples value command line paramters for enabling fbo multisampling -2007-09-06 08:23 robert +Wed, 18 Jun 2008 14:09:11 +0000 +Checked in by : Robert OSFIELD +From Michael Platings and Paul Palumbo, multi-sample FBO support - * Added osg lib +Wed, 18 Jun 2008 12:01:52 +0000 +Checked in by : Robert OSFIELD +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. +" -2007-09-05 17:12 robert - * From David Callu, improved consistency of Version strings and add - version support - for osgIntrospection and osgManipulator. -2007-09-05 17:03 robert +Wed, 18 Jun 2008 11:56:50 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, "added multi-texture support (alpha/trans images)" - * Changed tabs to four spaces to make merges more straight forward +Wed, 18 Jun 2008 11:51:22 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-09-05 16:47 robert +Wed, 18 Jun 2008 11:13:51 +0000 +Checked in by : Robert OSFIELD +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. - * Added automatic removal of .qt extension that allows one to - automatically select - the quicktime plugin. -2007-09-05 16:36 robert - * Added setting of locator source +Wed, 18 Jun 2008 10:51:02 +0000 +Checked in by : Robert OSFIELD +From Gino van den Bergen, "Added support for vrml primitive caching" + +Wed, 18 Jun 2008 10:46:05 +0000 +Checked in by : Robert OSFIELD +From David Callu, "fixed bounding box bug" + +Tue, 17 Jun 2008 17:43:59 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, OpenThreads::Atomic support + +Mon, 16 Jun 2008 20:22:16 +0000 +Checked in by : Robert OSFIELD +Added overriding of CullSettings::inheritCullSettings() into osg::Camera to properly inherit the clear colour. + +Mon, 16 Jun 2008 16:06:01 +0000 +Checked in by : Robert OSFIELD +Changed class to struct + +Mon, 16 Jun 2008 13:20:51 +0000 +Checked in by : Robert OSFIELD +Added mutex to serialize access to the trpager + +Mon, 16 Jun 2008 09:32:22 +0000 +Checked in by : Robert OSFIELD +Checking in missing header changes + +Thu, 12 Jun 2008 16:33:24 +0000 +Checked in by : Robert OSFIELD +Refactored the management of the request queues so that the appropraite mutex is locked when DatabaseRequest objects are modified + +Fri, 6 Jun 2008 19:57:56 +0000 +Checked in by : Robert OSFIELD +Updated wrappers, authors and readme for 2.5.2 dev release -2007-09-05 14:15 robert +Fri, 6 Jun 2008 19:41:28 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Added option to Locator to help specify here the locator value - was defined from. - - Update wrappers and Gdal plugin to use this new parameter +Fri, 6 Jun 2008 17:45:33 +0000 +Checked in by : Robert OSFIELD +Updated versions for 2.5.2 dev release -2007-09-04 14:00 robert +Fri, 6 Jun 2008 16:45:07 +0000 +Checked in by : Robert OSFIELD +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. " - * Improved Terrain IO +Fri, 6 Jun 2008 16:41:24 +0000 +Checked in by : Robert OSFIELD +From Stephane Lamoliatte, "fix to reading of DatabasePath property" -2007-09-04 12:38 robert +Fri, 6 Jun 2008 16:28:27 +0000 +Checked in by : Robert OSFIELD +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." - * Added mutex to DefaultFont::instance(). -2007-09-04 12:32 robert - * Added mutex into osgText::Font::GlphTexture to marshel adding to - and reading - from glyph list +Fri, 6 Jun 2008 16:25:14 +0000 +Checked in by : Robert OSFIELD +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." -2007-09-04 09:00 robert +Fri, 6 Jun 2008 14:59:17 +0000 +Checked in by : Robert OSFIELD +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." - * Rearrange _stateset member variable to avoid compile warning +Fri, 6 Jun 2008 14:10:20 +0000 +Checked in by : Robert OSFIELD +Cleaned up implementation to only use simple structure -2007-09-03 16:04 robert +Fri, 6 Jun 2008 13:21:57 +0000 +Checked in by : Robert OSFIELD +Renamed _rendergraph to _stateGraph to better reflect its function - * Updated AUTHORS and README to 2.1.9 dev release +Fri, 6 Jun 2008 13:21:27 +0000 +Checked in by : Robert OSFIELD +Introduce a lower overhead data structure for leaves. -2007-09-03 16:02 robert +Fri, 6 Jun 2008 10:51:23 +0000 +Checked in by : Robert OSFIELD +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. - * Updated ChangeLog +Fri, 6 Jun 2008 09:08:16 +0000 +Checked in by : Robert OSFIELD +Quitened down the release context message -2007-09-03 15:47 robert +Fri, 6 Jun 2008 08:42:37 +0000 +Checked in by : Robert OSFIELD +Added OSGDB_EXPORT - * Updated wrappers +Thu, 5 Jun 2008 18:52:29 +0000 +Checked in by : Robert OSFIELD +Added timing code -2007-09-03 15:43 robert +Thu, 5 Jun 2008 17:28:06 +0000 +Checked in by : Robert OSFIELD +Basic implementation of kdtree generation based on vertices - * From Sherman Wilcox, added extension checking support for - compressed texture subloading. +Thu, 5 Jun 2008 13:46:19 +0000 +Checked in by : Robert OSFIELD +Added accep(Shape&) -2007-09-03 15:22 robert +Wed, 4 Jun 2008 17:59:39 +0000 +Checked in by : Robert OSFIELD +Further work on fleshing out basic classes - * From Jan Peciva, build fix +Wed, 4 Jun 2008 16:53:17 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-09-03 14:05 robert +Wed, 4 Jun 2008 16:46:14 +0000 +Checked in by : Robert OSFIELD +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. - * Updated version number for 2.1.9 dev release +Tue, 3 Jun 2008 17:29:27 +0000 +Checked in by : Robert OSFIELD +Fleshed out some basic kd-tree data structures. -2007-09-03 13:59 robert +Tue, 3 Jun 2008 16:13:49 +0000 +Checked in by : Robert OSFIELD +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. - * From Jan Peciva, improvement to the FindInventor. +Tue, 3 Jun 2008 15:49:59 +0000 +Checked in by : Robert OSFIELD +Added missing updateBlock() -2007-09-03 13:52 robert +Tue, 3 Jun 2008 13:07:40 +0000 +Checked in by : Robert OSFIELD +From Mario Valle, fixed warnings - * 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. +Tue, 3 Jun 2008 13:06:54 +0000 +Checked in by : Robert OSFIELD +Ran merge to get rid of tabs -2007-09-03 12:27 robert +Tue, 3 Jun 2008 11:31:42 +0000 +Checked in by : Robert OSFIELD +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. - * Added osgdepthpeeling example +Tue, 3 Jun 2008 11:28:16 +0000 +Checked in by : Robert OSFIELD +Added unit test to smoke out a thread issue with using ofstream("/dev/null") inside osg::notify() -2007-09-03 10:12 robert +Mon, 2 Jun 2008 17:34:47 +0000 +Checked in by : Robert OSFIELD +Added support for assigning GraphicsContext to individual GUIEventAdapter events, and use of this within osgViewer::View to better track the sources of events. - * 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." +Sat, 31 May 2008 08:47:15 +0000 +Checked in by : Robert OSFIELD +Changed FIND_PACKAGE(PkgConfig) to INCLUDE(FindPkgConfig OPTIONAL) as per suggestion from Philip Lowman. -2007-09-03 10:04 robert +Fri, 30 May 2008 21:23:49 +0000 +Checked in by : Robert OSFIELD +Updated authors and version file for 2.5.1 dev release - * 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... :-) +Fri, 30 May 2008 21:12:44 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2007-09-03 09:56 robert +Fri, 30 May 2008 21:08:28 +0000 +Checked in by : Robert OSFIELD +Added version check on FIND_PACKAGE(PkgConfig) to attempt to fix build with older versions of CMake - * 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. +Fri, 30 May 2008 20:15:31 +0000 +Checked in by : Robert OSFIELD +Added applyMaskAction(CLEAR_COLOR) to Camera::setClearColor() to enable proper inheritance -2007-09-03 09:54 robert +Fri, 30 May 2008 17:03:32 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Fixed spacing. +Fri, 30 May 2008 16:53:45 +0000 +Checked in by : Robert OSFIELD +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. " -2007-09-03 09:50 robert +Fri, 30 May 2008 12:59:49 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, Added support for osgTerrain::ValidDataOperator.From Robert Osfield, added versioning to the above. - * From Sherman Wilcox, "I modified texturerectangle.cpp to address - this issue. I used a DXT5 DDS - file to test the change." -2007-09-03 09:47 robert - * Updated wrapper +Fri, 30 May 2008 11:44:06 +0000 +Checked in by : Robert OSFIELD +Updated packgage number for 2.5.1 developer release -2007-09-03 09:43 robert +Fri, 30 May 2008 11:43:04 +0000 +Checked in by : Robert OSFIELD +Fixed cirular reference in DatabaseRequest - * Added default contructors to Operation +Thu, 29 May 2008 13:54:59 +0000 +Checked in by : Robert OSFIELD +Moved enum to public scope and rebuilt wrappers to fix wrapper build error -2007-09-02 22:31 robert +Thu, 29 May 2008 11:45:31 +0000 +Checked in by : Robert OSFIELD +Added code to catch erroneous Dof axis settings - * Fixed cancel loop. +Thu, 29 May 2008 11:13:29 +0000 +Checked in by : Robert OSFIELD +Improved the NaN depth detection within CullVisitor and debug output. -2007-09-01 16:56 robert +Thu, 29 May 2008 11:09:56 +0000 +Checked in by : Robert OSFIELD +Improved the NaN error detection and reporting. - * Added convinience methods for setting up 3d spherical displays. +Wed, 28 May 2008 17:56:22 +0000 +Checked in by : Robert OSFIELD +Added catch for NaN depth values -2007-09-01 15:24 robert +Wed, 28 May 2008 16:14:08 +0000 +Checked in by : Robert OSFIELD +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. - * 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 - * Changed mutex reference to a mutex pointer to avoid problems with - wrappers +Wed, 28 May 2008 14:37:50 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-08-31 20:21 robert +Wed, 28 May 2008 14:11:22 +0000 +Checked in by : Robert OSFIELD +From Adrian Egli, improvements to ParallelSplitShadowMap implementation - * Updated wrappers +Wed, 28 May 2008 13:51:56 +0000 +Checked in by : Robert OSFIELD +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. +" -2007-08-31 20:16 robert - * 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. -2007-08-31 20:14 robert +Wed, 28 May 2008 13:45:40 +0000 +Checked in by : Robert OSFIELD +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. +" - * Added mutex locking add addParents/removeParents in Drawable, - Node and StateSet. -2007-08-31 18:56 robert - * Added mutex to protect the readFontFile calls +Wed, 28 May 2008 13:01:44 +0000 +Checked in by : Robert OSFIELD +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. -2007-08-31 16:59 robert +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"). +" - * Added support for running multiple text generation threads -2007-08-31 16:05 robert - * Changed RenderLeaf and StateGraph so that they use ref_ptr<> by - default for Drawable and StateSet. +Wed, 28 May 2008 12:49:47 +0000 +Checked in by : Robert OSFIELD +From Mathieu Marache,first post: -2007-08-31 15:49 robert +"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." - * From Luigi Calori, fixed Windows install of wrappers +follow up post: -2007-08-31 12:14 robert +"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. - * Added export for Windows build +MinGW, cygwin and Apple are still left out this proposal." -2007-08-31 11:04 robert - * From Luigi Calori, added support for Win32 versioning/new buid - placement. +Notes from Robert Osfield, completed the work in change d entries to use OSG_DEBUG_POSTFIX -2007-08-30 19:26 robert - * Further work on osgTerrain::Locator and GDAL plugin -2007-08-30 12:18 robert - * From Luigi Calori, add osgText to geo plugin build +Wed, 28 May 2008 11:58:46 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-08-30 10:41 robert +Wed, 28 May 2008 11:19:41 +0000 +Checked in by : Robert OSFIELD +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. - * From Luigi Calori, introduction of versioning of dll's and - placement of dll and plugins into bin directory during build. -2007-08-30 10:17 robert - * Updated wrappers -2007-08-30 10:15 robert +Tue, 27 May 2008 20:53:43 +0000 +Checked in by : Robert OSFIELD +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. - * Further refinement of ProxyLayer API + -2007-08-29 16:29 robert +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. - * Further work on new ProxyLayer + -2007-08-29 12:18 robert +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(). - * Added ProxyLayer support into osgTerrain plugin + -2007-08-29 11:51 robert +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. - * Added support for post fixing filenames with .gdal to force use - of gdal plugin. + -2007-08-29 10:52 robert +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." - * Added preliminary ProxLayer and DataSetLayer in GDAL plugin to - aid integration - of GDAL reading into osgTerrain. -2007-08-28 16:12 robert - * Changed the error code reporting to use hex to match up with - freetype headers +Tue, 27 May 2008 17:42:56 +0000 +Checked in by : Robert OSFIELD +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")" -2007-08-28 15:35 robert - * Improved formatting. -2007-08-28 15:35 robert +Tue, 27 May 2008 17:32:26 +0000 +Checked in by : Robert OSFIELD +From Lars Nilson, bug fix to Sector::computeMatrix() - * Removed the OSG_INCLUDE +Tue, 27 May 2008 16:32:17 +0000 +Checked in by : Robert OSFIELD +Added handling of \ within srings by using \\ -2007-08-28 15:31 robert +Tue, 27 May 2008 15:42:40 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Tweeked settings +Tue, 27 May 2008 15:30:20 +0000 +Checked in by : Robert OSFIELD +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. -2007-08-28 14:02 robert +Tue, 27 May 2008 15:28:39 +0000 +Checked in by : Robert OSFIELD +Introduced a TerrainHandler that adjust the sameple ratio and vertical scale of terrain interactively using the 'r','R' and 'v','V' keys respecitvely. - * Added multi-threaded test path +Tue, 27 May 2008 13:11:47 +0000 +Checked in by : Robert OSFIELD +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()); +" -2007-08-27 16:59 robert - * Replaced CartesianLocator and EllipsoidLocator by a single - general purpose - Locator class -2007-08-27 13:33 robert +Tue, 27 May 2008 12:07:58 +0000 +Checked in by : Robert OSFIELD +Updated version numbers in prep for 2.5.1 release - * From Brandon Hamm, changed WxWindows example to use double - buffering +Tue, 27 May 2008 12:06:50 +0000 +Checked in by : Robert OSFIELD +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 functionosg::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. + " -2007-08-27 13:29 robert - * Added support for controlling the draw order on Cameras on each - GraphcisContext - via the Camera::setRenderOrder parameters -2007-08-27 10:37 robert +Tue, 27 May 2008 11:13:16 +0000 +Checked in by : Robert OSFIELD +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" - * Updated ChangeLog and AUTHORS file for release -2007-08-27 10:29 robert - * Updated date on READEME +Tue, 27 May 2008 11:07:52 +0000 +Checked in by : Robert OSFIELD +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)) -2007-08-27 10:28 robert +Solution: change to: + if (fr[0].matchWord("pattern") && fr[1].getUInt(mask))" - * Updated version numbers for 2.1.8 dev release -2007-08-27 10:00 robert - * Cleaned up the getRotate implementation selection using #defines, - and made the - COMPILE_getRotate_David_Spillings_Mk1 the default. +Tue, 27 May 2008 11:04:52 +0000 +Checked in by : Robert OSFIELD +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. +" -2007-08-27 09:51 robert - * From David Spilling, tweaked quat tests to reproduce getRotate - errors. -2007-08-26 10:27 robert +Tue, 27 May 2008 10:50:26 +0000 +Checked in by : Robert OSFIELD +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." - * From Jan Ciger, warning fixes -2007-08-26 10:24 robert - * From Jean-Sebastien Guay, fixed comment +Mon, 26 May 2008 22:36:58 +0000 +Checked in by : Robert OSFIELD +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) -2007-08-26 10:19 robert +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. - * 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. +src/OpenThreads/pthreads/CMakeLists.txt: +* Eliminates warning when compiling on Linux about spaces in link line (CMake 2.6.x fix) -2007-08-26 09:59 robert +CMakeModules/OsgMacroUtils.cmake: +* Tweaks to make the macros behave properly under CMake 2.6.0 (doesn't change behavior under CMake 2.4.x) - * Change char* to const char* to fix warnings +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) +" -2007-08-26 09:46 robert +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." - * Updated wrappers, and change Renderer so that private: to - proteccted:. +post 3: -2007-08-26 09:45 robert +"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." - * Updated links -2007-08-24 19:16 robert - * Changed debug comments to output to notify level and tweaked the - handling of the .terrain file. -2007-08-24 19:16 robert - * 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 +Mon, 26 May 2008 22:34:06 +0000 +Checked in by : Robert OSFIELD +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.daeExamination 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." -2007-08-24 18:48 robert - * Added writing out of Terrain, Layer and Locators, and reading in - of .terrain string. -2007-08-24 16:16 robert +Mon, 26 May 2008 21:53:57 +0000 +Checked in by : Robert OSFIELD +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) - * Set the debug out to info notification level -2007-08-24 16:12 robert +Patch is tested and seems to work fine. It shouldn't break any other functionality. It should go into include/osg and src/osg +" - * Added better handling of OSG_TEXT_INCREMENTAL_SUBLOADING env var. -2007-08-24 16:10 robert - * Added default disabling of incremental subload for ATI cards. +Mon, 26 May 2008 21:44:14 +0000 +Checked in by : Robert OSFIELD +Fixed copyright notice typo -2007-08-24 14:00 robert +Mon, 26 May 2008 21:33:41 +0000 +Checked in by : Robert OSFIELD +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." - * Added support for setting DatabasePager thread priority via - OSG_DATABASE_PAGER_PRIORITY. -2007-08-24 13:33 robert - * Cleaned up the thread priority management in DatabasePager and - added - support for paging stats. +Mon, 26 May 2008 21:32:05 +0000 +Checked in by : Robert OSFIELD +From Gino, "According to the 1.4.1 COLLADA spec (2nd ed) the standard behavior for fx_sampler_wrap_common is as followsCLAMP ->GL_CLAMP_TO_EDGE +NONE->GL_CLAMP_TO_BORDER -2007-08-24 10:58 robert +The current 2.5.0 daePlugin assumes the following binding - * Added setting of block into the ThreadSafeQueue's contructor. +CLAMP ->GL_CLAMP +NONE->GL_REPEAT -2007-08-24 09:45 robert +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. +" - * Disable the escape sets done on the viewer -2007-08-24 09:42 robert - * 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." +Mon, 26 May 2008 21:18:41 +0000 +Checked in by : Robert OSFIELD +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. " -2007-08-23 16:56 robert +Mon, 26 May 2008 21:10:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Made plugin build names lowercase +Mon, 26 May 2008 21:09:54 +0000 +Checked in by : Robert OSFIELD +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" -2007-08-23 16:33 robert +Mon, 26 May 2008 21:04:47 +0000 +Checked in by : Robert OSFIELD +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." - * Changed the plugin name to openflight instead of OpenFlight to - avoid problems - with osgDB looking for just lower case plugin names +Mon, 26 May 2008 20:46:21 +0000 +Checked in by : Robert OSFIELD +Added debug block to output the location of the master camera for each View in a Viewer. -2007-08-23 15:36 robert +Mon, 26 May 2008 17:30:43 +0000 +Checked in by : Robert OSFIELD +Added continuous recording of the animation path to the RecordAnimationPathHandler - * Updated for 2.1.7 dev release +Mon, 26 May 2008 16:25:31 +0000 +Checked in by : Robert OSFIELD +Introduce --pbuffer-only width height option, and added fps reporting to stats output -2007-08-23 14:35 robert +Mon, 26 May 2008 15:41:54 +0000 +Checked in by : Robert OSFIELD +Added basic --pbuffer width height support - * From Stephan Huber, fix for crash on exit +Mon, 26 May 2008 14:30:48 +0000 +Checked in by : Robert OSFIELD +Added better stats reporting -2007-08-23 14:31 robert +Mon, 26 May 2008 12:01:24 +0000 +Checked in by : Robert OSFIELD +Added feedback of pixel format chosen for read back - * 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? - " +Mon, 26 May 2008 11:59:25 +0000 +Checked in by : Robert OSFIELD +Added automatic selection of the pixel type according to the window type -2007-08-23 14:10 robert +Mon, 26 May 2008 11:53:51 +0000 +Checked in by : Robert OSFIELD +Added option for doing triple buffering, and set the default read format to GL_RGBA - * 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. - " +Sun, 25 May 2008 22:06:41 +0000 +Checked in by : Robert OSFIELD +Switch to using an inital draw callback when use --start-frame -2007-08-23 11:06 robert +Sun, 25 May 2008 21:52:32 +0000 +Checked in by : Robert OSFIELD +Added option for setting whether the front or back buffer should be read using --front and --back command line options. - * Updated wrappers +Sun, 25 May 2008 21:35:39 +0000 +Checked in by : Robert OSFIELD +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. -2007-08-23 11:00 robert +Sun, 25 May 2008 11:21:40 +0000 +Checked in by : Robert OSFIELD +Added check for pkg-config so that build only use related package checks when it's supported - * Addd control for serializing draw dispatch. +Sat, 24 May 2008 11:05:10 +0000 +Checked in by : Robert OSFIELD +Added #define's for PixelBufferObject extensions.Added docs for Camera::DrawCallback -2007-08-22 19:31 robert - * 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) - " -2007-08-22 19:26 robert +Sat, 24 May 2008 09:24:37 +0000 +Checked in by : Robert OSFIELD +Added RenderStage::setClear*() methods from Camera::getClear*() sources - * Updated wrappers +Sat, 24 May 2008 08:13:55 +0000 +Checked in by : Robert OSFIELD +Changed default format to GL_BGR -2007-08-22 17:18 robert +Fri, 23 May 2008 16:26:03 +0000 +Checked in by : Robert OSFIELD +Added single buffered and double buffered PBO support, and --no-pbo, --single-pbo and --double-pbo command line parameters - * Updated wrappers +Thu, 22 May 2008 17:50:22 +0000 +Checked in by : Robert OSFIELD +Added basic glReadPixels code -2007-08-22 17:17 robert +Thu, 22 May 2008 15:43:01 +0000 +Checked in by : Robert OSFIELD +Added camera final callback attachment code. - * Refactored the implementation of cull/draw for - DrawThreadPerContex and CullThreadPerCameraDrawThreadPerContex - and added an experimental draw serialization. +Thu, 22 May 2008 13:11:23 +0000 +Checked in by : Robert OSFIELD +Fixed name of source file -2007-08-22 14:32 ewing +Thu, 22 May 2008 13:10:40 +0000 +Checked in by : Robert OSFIELD +Added new osgscreencapture example folder, implementation to follow - * Documentation updates. +Thu, 22 May 2008 12:38:36 +0000 +Checked in by : Robert OSFIELD +Reorginaized the DatabaseQueue's to avoid warnings under Windows -2007-08-22 12:33 robert +Thu, 22 May 2008 11:21:04 +0000 +Checked in by : Robert OSFIELD +Fixed warning by adding in missing return - * Updated wrappers +Thu, 22 May 2008 08:31:56 +0000 +Checked in by : Robert OSFIELD +Checking in missed header -2007-08-22 12:21 robert +Wed, 21 May 2008 21:09:45 +0000 +Checked in by : Robert OSFIELD +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. - * Cleaned up the thread setup and fixed the - CullThreadPerCameraDrawThreadPerContext path +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. -2007-08-22 12:14 robert - * Added thread safe ref/unref by default. -2007-08-22 11:04 ewing - * 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. +Tue, 20 May 2008 09:28:44 +0000 +Checked in by : Robert OSFIELD +Moved the compile to after the updateSceneView -2007-08-22 10:56 ewing +Wed, 14 May 2008 20:22:01 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Removed missing shadow examples from Xcode project. +Wed, 14 May 2008 17:03:57 +0000 +Checked in by : Robert OSFIELD +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. -2007-08-22 10:34 robert + 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 + - * Set main scene graph elements to use thread safe ref/unref by - default -2007-08-22 09:50 robert - * Cleaned up copy constructor and switched on thread safe - ref/unref. +Wed, 14 May 2008 14:59:50 +0000 +Checked in by : Robert OSFIELD +Moved the cache file writing into StreamObject so that the cache file is only created once data is being read. -2007-08-22 09:48 robert +Wed, 14 May 2008 13:16:36 +0000 +Checked in by : Robert OSFIELD +Introduced a thread safe map which manages a single EasyCurl object per thread. - * Added debug ENFORCE_THREADSAFE paths into osg::Referenced, these - are off by default. +Wed, 14 May 2008 12:47:26 +0000 +Checked in by : Robert OSFIELD +Refactor curl usage so that a new EasyCurl class wraps up the curl handle and reading from curl. -2007-08-22 09:46 robert +Tue, 13 May 2008 18:28:26 +0000 +Checked in by : Robert OSFIELD +Fixed lat/long ordering - * Simplified the thread set up. +Tue, 13 May 2008 17:27:29 +0000 +Checked in by : Robert OSFIELD +Added support for -e level minX minY maxX maxY extents controls -2007-08-22 09:45 robert +Tue, 13 May 2008 14:08:32 +0000 +Checked in by : Robert OSFIELD +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. - * Added thread safe ref/unref +Tue, 13 May 2008 12:36:39 +0000 +Checked in by : Robert OSFIELD +Further work on computing of lat/long range of PagedLOD subgraphs -2007-08-22 09:44 robert +Tue, 13 May 2008 10:56:10 +0000 +Checked in by : Robert OSFIELD +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 - * Added debug message to destructor +You would get an error message: -2007-08-22 09:43 robert +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". - * Added setting of thread safe ref/unref. +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. +" -2007-08-22 09:42 robert - * Added default setting of use of thread safe ref/unref. -2007-08-22 09:05 robert +Mon, 12 May 2008 16:59:04 +0000 +Checked in by : Robert OSFIELD +Added signal handling code, and prelimary lat/long computation - * Changed ReadFileCallback and WriteFileCallback to use virtual - inhertinace. +Mon, 12 May 2008 15:42:20 +0000 +Checked in by : Robert OSFIELD +Added missing getBound() method -2007-08-21 09:32 robert +Mon, 12 May 2008 12:16:58 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog and wrappers for 2.5.0 dev release - * Added missing clear() implementation +Mon, 12 May 2008 12:16:14 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS for 2.5.0 release -2007-08-20 13:09 robert +Mon, 12 May 2008 11:39:02 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, Fixed FrameBufferObject attachement code to handle cases where no texture or image is attached - * Fixed the install path of plugins under Windows. +Mon, 12 May 2008 11:01:54 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.5.0 dev release -2007-08-20 10:15 robert +Mon, 12 May 2008 10:55:55 +0000 +Checked in by : Robert OSFIELD +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. - * Updated README date +Mon, 12 May 2008 10:18:41 +0000 +Checked in by : Robert OSFIELD +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" -2007-08-20 10:14 robert - * Updated AUTHORS file for 2.1.6 release -2007-08-20 10:06 robert +Mon, 12 May 2008 10:16:40 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, fixed typo - * Updated ChangeLog +Sun, 11 May 2008 14:26:27 +0000 +Checked in by : Robert OSFIELD +Added CARIO_FOUND into svg plugins checks -2007-08-20 09:28 robert +Sun, 11 May 2008 14:23:19 +0000 +Checked in by : Robert OSFIELD +From Miguel Escriva, Here you will find a SVG Image Reader. It renders a SVG file as an osg::Image using cairo and rsvg. - * Updated version number for 2.1.6 release and updated wrappers +Sat, 10 May 2008 17:25:42 +0000 +Checked in by : Robert OSFIELD +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&)." -2007-08-20 09:27 robert - * Removed Makefile as this is autogenerated. -2007-08-19 19:22 robert +Sat, 10 May 2008 17:23:12 +0000 +Checked in by : Robert OSFIELD +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." - * From Antione Hue and Robert Osfield, moved prepend in front of - lib entry. -2007-08-17 16:10 robert - * Fixed zfar setting +Sat, 10 May 2008 17:04:02 +0000 +Checked in by : Robert OSFIELD +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. -2007-08-17 09:37 robert - * Changed ++_modifedCount cases to dirty(). -2007-08-16 18:49 robert +Fri, 9 May 2008 17:22:49 +0000 +Checked in by : Robert OSFIELD +Added --file-cache command line option to compliment -c - * Changed the tolower of the file extension into the plugin name - construction code. - - Added support for CompositeLayer. +Fri, 9 May 2008 17:08:31 +0000 +Checked in by : Robert OSFIELD +Initial cut of file cache population app -2007-08-16 15:29 robert +Fri, 9 May 2008 11:54:24 +0000 +Checked in by : Robert OSFIELD +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. - * Updated wrappers +Fri, 9 May 2008 11:27:03 +0000 +Checked in by : Robert OSFIELD +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." -2007-08-16 14:13 robert - * 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 +Fri, 9 May 2008 10:27:59 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, fixed window resize problem - * From Jan Ciger, "I am attaching a little hack from Jean-Sebastien - Guay which allows - absolute paths to work on Windows." +Thu, 8 May 2008 17:02:08 +0000 +Checked in by : Robert OSFIELD +Added missing check against handling invalid bounding sphere's -2007-08-15 15:07 robert +Thu, 8 May 2008 16:48:49 +0000 +Checked in by : Robert OSFIELD +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." - * 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." +Thu, 8 May 2008 16:45:59 +0000 +Checked in by : Robert OSFIELD +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) -2007-08-15 15:03 robert +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. - * 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." +Files changed: + src/osgViewer/GraphicsWindowX11.cpp + include/osgViewer/api/X11/GraphicsWindowX11" -2007-08-14 17:13 robert - * Changed the plugin name to lower case to be consistent with the - way that osgDB::Registry - searches for only lower case plugin names. -2007-08-14 17:04 robert +Thu, 8 May 2008 16:39:10 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, osgviewerGTK example - * Added string to keyword map parser. +Thu, 8 May 2008 15:17:53 +0000 +Checked in by : Robert OSFIELD +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. -2007-08-14 13:08 shuber +" - * From Stephan Huber: updating the XCode-project-files -2007-08-14 12:47 robert - * Added Ben van Basten to list of authors. +Thu, 8 May 2008 15:14:13 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and osgversion to catch Raymond de Vries name correctly -2007-08-14 08:41 robert +Thu, 8 May 2008 14:00:00 +0000 +Checked in by : Robert OSFIELD +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 - * Replaced uint with unsigned int +if (!_particleSizeUniform) -2007-08-13 14:02 robert +to - * Removed osgdepthshadow and osgshadowtexture from build list +if (!_particleColorUniform) +" -2007-08-13 11:59 robert - * Updated ChangeLog, AUTHORS and README files -2007-08-13 11:45 robert +Thu, 8 May 2008 13:56:28 +0000 +Checked in by : Robert OSFIELD +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." - * Updated version for 2.1.5 dev release -2007-08-13 10:31 robert - * 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." +Thu, 8 May 2008 13:46:58 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-08-13 10:27 robert +Thu, 8 May 2008 13:22:52 +0000 +Checked in by : Robert OSFIELD +From Roland Smeenk, "Small typo and implementation fix for setInitialDrawCallback." - * 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." +Thu, 8 May 2008 12:55:01 +0000 +Checked in by : Robert OSFIELD +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." -2007-08-13 10:20 robert +Thu, 8 May 2008 12:36:07 +0000 +Checked in by : Robert OSFIELD +From Garrett Potts and Robert Osfield, changes to build against Collada DOM 2.x - * From J.P. Delport, fix of GDAL location search +Thu, 8 May 2008 09:16:24 +0000 +Checked in by : Robert OSFIELD +Updated the doxygen docs to explain the deprecated status of SceneView -2007-08-13 10:17 robert +Wed, 7 May 2008 17:06:36 +0000 +Checked in by : Robert OSFIELD +Commented out checking of DISPLAY env var - * 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." +Wed, 7 May 2008 14:32:39 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-08-13 09:13 robert +Wed, 7 May 2008 14:30:58 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, Added doxygen docs clarification of ReadResult enum values - * Added gdal/gdal.h to header search path, and gdal1.4.1 to the lib - search path. +Wed, 7 May 2008 14:24:14 +0000 +Checked in by : Robert OSFIELD +From Donald Cipperly, "This is a fix to eliminate >> errors in VS 7.1" -2007-08-12 13:30 robert +Wed, 7 May 2008 14:17:15 +0000 +Checked in by : Robert OSFIELD +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. - * Updated wrappers +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") -2007-08-12 13:18 robert +Other arguments you can use to control the 3D effect are: - * Added getStart()/getEnd() +--wow-content + This value defines the kind of content that can be: + 0: No depth + 1: Signage + 2: Movie + 3: CGI + 4: Still -2007-08-12 13:17 robert +--wow-factor + Percentage of the display recommended depth value. Default 64, Range [0-255] - * From Jean-Sebastien Guay, "adds - osgUtil::LineSegmentIntersector::setStart(osg::Vec3d) and - setEnd(osg::Vec3d)." +--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. + " -2007-08-12 13:10 robert - * Removed now redundent osgshadowtexture and osgdepthshadow - examples -2007-08-12 12:15 robert +Wed, 7 May 2008 13:49:32 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, fixed typo of getEnd() - * Added support for SoftShadowMap into osgshadow example +Wed, 7 May 2008 13:46:24 +0000 +Checked in by : Robert OSFIELD +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. " -2007-08-12 12:15 robert +Wed, 7 May 2008 13:42:29 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've added hardware mipmap support to Texture3D." - * Added fix for typo of name in submission +Wed, 7 May 2008 11:59:15 +0000 +Checked in by : Robert OSFIELD +Added doxygen comments for attach -2007-08-12 12:12 robert +Sat, 26 Apr 2008 11:13:08 +0000 +Checked in by : Robert OSFIELD +Updated package numbers for OSG-2.4, OT-2.2.1 release - * 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)." +Fri, 25 Apr 2008 13:10:05 +0000 +Checked in by : Robert OSFIELD +Update AUTHORS file for 2.4 release -2007-08-11 17:44 robert +Fri, 25 Apr 2008 12:58:07 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 2.4 release - * Added preprending of osgPlugins-version to plugin names +Fri, 25 Apr 2008 12:40:14 +0000 +Checked in by : Robert OSFIELD +Update NEWS and README to 2.4 stable release -2007-08-11 14:49 robert +Fri, 25 Apr 2008 09:46:25 +0000 +Checked in by : Robert OSFIELD +Updated Version number for 2.4 stable release - * 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. +Fri, 25 Apr 2008 09:35:51 +0000 +Checked in by : Robert OSFIELD +From Stephane Lamoliatte, "Here is the fix of a very little typed error in BoundingBox : I replace "doulbe" by "double"." -2007-08-11 12:43 robert +Fri, 25 Apr 2008 08:34:54 +0000 +Checked in by : Robert OSFIELD +Added cast to avoid warning - * 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(). +Thu, 24 Apr 2008 16:50:17 +0000 +Checked in by : Robert OSFIELD +Updated date of 2.4 release -2007-08-11 10:28 robert +Thu, 24 Apr 2008 16:49:52 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for release - * 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. +Thu, 24 Apr 2008 16:48:59 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 2.3.11 release -2007-08-10 17:44 robert +Thu, 24 Apr 2008 16:24:16 +0000 +Checked in by : Robert OSFIELD +From Wojchiech Lewandowski, add missing setDataVariance(DYNAMIC) and extra event handlers - * Updated wrappers +Thu, 24 Apr 2008 14:46:21 +0000 +Checked in by : Robert OSFIELD +From Colin Dunlop, added alias for .live to quicktime plugin mapping. -2007-08-10 10:58 robert +Thu, 24 Apr 2008 11:34:43 +0000 +Checked in by : Robert OSFIELD +Reverted the changes for ill fated tweaks for Apple build - * Updated wrappers +Thu, 24 Apr 2008 10:09:04 +0000 +Checked in by : Robert OSFIELD +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." -2007-08-10 10:57 robert - * Added View::setDatabasePager(..) -2007-08-10 10:52 robert +Wed, 23 Apr 2008 21:07:54 +0000 +Checked in by : Robert OSFIELD +Updated authors file for 2.3.11 release - * Refactored the way the Scene is used in Viewer and - CompositeViewer to ensure - that only on Scene exists per scene graph. +Wed, 23 Apr 2008 21:07:16 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2007-08-09 08:19 robert +Wed, 23 Apr 2008 20:54:28 +0000 +Checked in by : Robert OSFIELD +Updated version number 2.3.11 - * Compile fix +Wed, 23 Apr 2008 20:50:53 +0000 +Checked in by : Robert OSFIELD +Refactored the inclusion of the headers in the ADD_LIBRARY so that they aren't added under OSX. -2007-08-09 08:15 robert +Wed, 23 Apr 2008 20:49:19 +0000 +Checked in by : Robert OSFIELD +Removed the mutable from the _image variable - * Removed now redundent ReaderWriterTerrain.cpp +Wed, 23 Apr 2008 14:10:41 +0000 +Checked in by : Robert OSFIELD +Added mutex to object creation to avoid a race condition when using threaded multiple graphics context -2007-08-08 09:12 robert +Tue, 22 Apr 2008 14:31:30 +0000 +Checked in by : Robert OSFIELD +Added return. - * Updated wrappers +Tue, 22 Apr 2008 14:15:24 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "the support for the new mightymouse and new touchpads was incomplete in GraphicsWindowCarbon. Attached is a fixed version." -2007-08-08 08:10 robert +Tue, 22 Apr 2008 13:00:52 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file - * Added new statc prototype() and create() methods to CullVisitor - and DatabasePager to allow overriding of the default - implementations +Tue, 22 Apr 2008 12:52:35 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, NEWS and READE for 2.3.10 pre release of 2.4. -2007-08-08 05:59 robert +Tue, 22 Apr 2008 11:47:17 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.3.10 dev release - * Removed unneeeded includes +Tue, 22 Apr 2008 11:41:03 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-08-07 22:56 robert +Tue, 22 Apr 2008 11:39:47 +0000 +Checked in by : Robert OSFIELD +Removed hardware down sampling hack from GeoemtryTechnique and replaced with Terrain::g/setSampleRatio() usage. - * Updated wrappers +Tue, 22 Apr 2008 10:10:24 +0000 +Checked in by : Robert OSFIELD +Updated authors -2007-08-07 22:31 robert +Tue, 22 Apr 2008 09:43:55 +0000 +Checked in by : Robert OSFIELD +Fixed name - * Updated CMakeLists.txt to reflect renaming of TerrainNode. +Mon, 21 Apr 2008 16:31:54 +0000 +Checked in by : Robert OSFIELD +Updated NEWS for 2.4 release -2007-08-07 19:53 robert +Mon, 21 Apr 2008 14:51:47 +0000 +Checked in by : Robert OSFIELD +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 - * Renamed osgTerrain::TerrainNode to osgTerrain::Terrain and - introduced basic - .osg read support for osgTerrain::Terrain. - +Fri, 18 Apr 2008 16:21:12 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for release -2007-08-07 15:51 robert +Fri, 18 Apr 2008 16:20:08 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Removed TerrainNode.cpp from CMakeLists.txt +Fri, 18 Apr 2008 15:52:14 +0000 +Checked in by : Robert OSFIELD +Updated date on readem -2007-08-07 15:30 robert +Fri, 18 Apr 2008 15:01:49 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added preliminary shell of osgTerrain plugin +Fri, 18 Apr 2008 14:57:43 +0000 +Checked in by : Robert OSFIELD +Added support for COLOR_BUFFER entries up to 15 -2007-08-07 14:49 robert +Fri, 18 Apr 2008 14:51:21 +0000 +Checked in by : Robert OSFIELD +Updated BufferComponent enum to list COLOR_BUFFERi entries up to 15. - * 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, 18 Apr 2008 14:33:14 +0000 +Checked in by : Robert OSFIELD +Fixed bug in FBO colour attachement code -2007-08-07 10:37 robert +Fri, 18 Apr 2008 14:14:33 +0000 +Checked in by : Robert OSFIELD +Added optional compiled in debugging output to CullVisitor::apply(osg::Camera&) - * Re-introduceed GDAL plugin +Fri, 18 Apr 2008 13:57:08 +0000 +Checked in by : Robert OSFIELD +Added write(ostream&) method to allow one to print out the current state -2007-08-07 10:33 robert +Fri, 18 Apr 2008 13:25:14 +0000 +Checked in by : Robert OSFIELD +Changed the FrameBufferObject::setAttachment() methods so it now use osg::Camera::BufferComponent to enable it to distinguish between MRT and non MRT paths - * Re-introduced GDAL plugin. +Fri, 18 Apr 2008 11:09:54 +0000 +Checked in by : Robert OSFIELD +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 + + -2007-08-07 10:31 robert - * Added preliminary code to allow build specification of glu - tesscallback with ... parameter -2007-08-07 08:18 robert +Thu, 17 Apr 2008 15:30:35 +0000 +Checked in by : Robert OSFIELD +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 :)" - * 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 - * Updated README +Thu, 17 Apr 2008 11:12:21 +0000 +Checked in by : Robert OSFIELD +From John Shue, build fix for QT 3.x -2007-08-06 11:50 robert +Thu, 17 Apr 2008 09:04:29 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode project - * Updated ChangeLog, and AUTHORS file for release +Wed, 16 Apr 2008 18:13:41 +0000 +Checked in by : Robert OSFIELD +Added new computation of time to allocate to flushing deleted and compiling OpenGL objects per frame. -2007-08-06 11:24 robert +Wed, 16 Apr 2008 15:23:12 +0000 +Checked in by : Robert OSFIELD +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, - * Updated version numbers for release +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. +" -2007-08-06 09:28 robert - * Changed debug message to INFO level -2007-08-05 17:06 robert +Wed, 16 Apr 2008 15:22:03 +0000 +Checked in by : Robert OSFIELD +Updated version number for nex dev release - * Added support for enabling the stencil buffer when horizontal and - vertical split stereo are used. +Wed, 16 Apr 2008 10:01:16 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, cursor inheritance support -2007-08-05 14:59 robert +Tue, 15 Apr 2008 20:27:49 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS.txt for release - * 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." +Tue, 15 Apr 2008 20:16:57 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2007-08-05 14:51 robert +Tue, 15 Apr 2008 19:46:29 +0000 +Checked in by : Robert OSFIELD +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." - * From Andy Skinner, fixes for avoiding warnings about mixing c and - c++ versions of c libs. +Tue, 15 Apr 2008 19:36:40 +0000 +Checked in by : Robert OSFIELD +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. -2007-08-04 17:04 robert - * Disable the selection of CullPerCameraDrawPerContext until I am - able to fix this - threading model -2007-08-04 10:30 robert +Tue, 15 Apr 2008 12:52:47 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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, 15 Apr 2008 11:50:34 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, compile fix for gcc 4.3 -2007-08-03 16:08 robert +Mon, 14 Apr 2008 10:38:37 +0000 +Checked in by : Robert OSFIELD +Added docs explaining units - * Updated wrappers +Sun, 13 Apr 2008 19:31:09 +0000 +Checked in by : Robert OSFIELD +Added subdivision of Goedes -2007-08-03 14:50 robert +Sun, 13 Apr 2008 14:32:13 +0000 +Checked in by : Robert OSFIELD +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; + } - * Added perlimnary support for reading the DISPLAY variable. + if (itr!=_text.end()) + { + // skip over spaces and return. + while (*itr==' ') ++itr; // New + if (*itr=='\n') ++itr; + } -2007-08-02 16:23 robert + // move to new line. + switch(_layout) + { + .." - * Changed the projection matrix resize policy. -2007-08-02 12:36 robert - * From Martin Lavery, XCode updates for the new Renderer class +Sun, 13 Apr 2008 14:29:22 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, added osgocclussionquery and osgthirdpersonview examples -2007-08-02 12:27 robert +Sat, 12 Apr 2008 10:02:28 +0000 +Checked in by : Robert OSFIELD +Changed bias parameter to scale - * Added return 0; +Fri, 11 Apr 2008 14:52:35 +0000 +Checked in by : Robert OSFIELD +Updadated authors file for dev release -2007-08-02 11:02 robert +Fri, 11 Apr 2008 14:43:22 +0000 +Checked in by : Robert OSFIELD +Updated wrappers, and version numbers in prep for next release - * Introduce new osgViewer::Renderer class for implementing of the - rendering - of cameras in viewers +Fri, 11 Apr 2008 14:33:24 +0000 +Checked in by : Robert OSFIELD +Fixed J.P. Delports name -2007-08-02 08:50 robert +Fri, 11 Apr 2008 14:14:28 +0000 +Checked in by : Robert OSFIELD +Added --unit entry for controlling which texture unit the overlay works on. - * Added save and restoring of the cull mask to Camera handling code +Fri, 11 Apr 2008 13:43:11 +0000 +Checked in by : Robert OSFIELD +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." -2007-07-31 17:28 robert - * From Andy Skinner,adding c includes to avoid problems with mixing - c and c++ versions - of c functions. -2007-07-30 16:02 robert +Fri, 11 Apr 2008 13:28:09 +0000 +Checked in by : Robert OSFIELD +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 +" - * Updated AUTHORS file for release -2007-07-30 15:56 robert - * Updated ChangeLog for release +Fri, 11 Apr 2008 13:04:21 +0000 +Checked in by : Robert OSFIELD +Added reference to osgstereomatch example to osgmultiplerendertargets.Added usage example use OpenSceneGraph-Data/Images examples -2007-07-30 15:25 robert - * Updated version number for 2.1.3 dev release -2007-07-30 10:52 robert +Fri, 11 Apr 2008 13:03:02 +0000 +Checked in by : Robert OSFIELD +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." - * 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. +Fri, 11 Apr 2008 11:58:27 +0000 +Checked in by : Robert OSFIELD +From Jose Delport, a MRT example implementing stereo matching. -2007-07-28 10:44 robert +Fri, 11 Apr 2008 11:19:58 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Andy Skinner, adding C includes to avoid issues when mixing - C and C++ standard includes +Fri, 11 Apr 2008 11:10:12 +0000 +Checked in by : Robert OSFIELD +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. -2007-07-28 10:28 robert - * Introduce Camera::s/getRenderer(). +I'm aware that this might not be supported on all systems/keyboards +out of the box, but decided to submit it anyway because: -2007-07-27 17:16 robert +- 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.) - * 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 - - " +- even if someone relies on Hyper/Super in distributed software, + this is easy to fix and doesn't create lock-in conditions -2007-07-27 17:14 robert +- while the names Hyper/Super may only be common on X11, they are + just symbol names and not OS-specific - * From Bryan Thrall, added copying of boundingbox callback to copy - constructor. +- 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 -2007-07-27 17:07 robert +- 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" - * From Stephan Huber, added reset of _currentContext when graphics - context is closed. -2007-07-27 16:48 robert - * From Stephan Huber, "attached you'll find a fix for the dead - locks when closing a window - under OS X." +Fri, 11 Apr 2008 10:58:28 +0000 +Checked in by : Robert OSFIELD +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." -2007-07-27 15:26 robert +Fri, 11 Apr 2008 10:31:49 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, fixed typo. - * Updated svn::externals +Fri, 11 Apr 2008 10:30:00 +0000 +Checked in by : Robert OSFIELD +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." -2007-07-26 19:31 robert +Fri, 11 Apr 2008 10:16:38 +0000 +Checked in by : Robert OSFIELD +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" - * 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." +Fri, 11 Apr 2008 10:10:40 +0000 +Checked in by : Robert OSFIELD +Added --mouse option to enable mouse tracking, and fixed bug in assumption that nv is not null. -2007-07-25 10:12 robert +Thu, 3 Apr 2008 18:36:50 +0000 +Checked in by : Robert OSFIELD +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. - * 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. - " +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. -2007-07-24 14:52 robert - * Updated AUTHORS -2007-07-24 14:47 robert - * Updated ChangeLog -2007-07-24 14:43 robert +Thu, 3 Apr 2008 18:06:09 +0000 +Checked in by : Robert OSFIELD +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." - * Updated version for dev release -2007-07-24 14:30 robert - * Fixed warning +Thu, 3 Apr 2008 10:26:18 +0000 +Checked in by : Robert OSFIELD +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." -2007-07-24 14:02 robert +Wed, 2 Apr 2008 17:08:40 +0000 +Checked in by : Robert OSFIELD +From Jose Delport, added support for MRT via glDrawBuffers - * From Alexandre Amalric, Fox example - - From Robert Osfield, CMake build support for FOX example +Wed, 2 Apr 2008 13:57:26 +0000 +Checked in by : Robert OSFIELD +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. -2007-07-23 20:37 robert - * 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 - * From Andy Skinner, addition of standard c library includes to - avoid issues with using STLport on some platforms. +Wed, 2 Apr 2008 13:55:50 +0000 +Checked in by : Robert OSFIELD +Updated to reflect new COLOR_BUFFER0 value -2007-07-23 20:08 robert +Wed, 2 Apr 2008 13:48:41 +0000 +Checked in by : Robert OSFIELD +From Jose Delport, introduced osgmultiplerendertargets example - * Converted tabs to four spaces +Wed, 2 Apr 2008 13:47:45 +0000 +Checked in by : Robert OSFIELD +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. -2007-07-23 18:19 robert +Wed, 2 Apr 2008 11:28:10 +0000 +Checked in by : Robert OSFIELD +From Jose Delport, typo fixes - * Updated wrappers +Tue, 1 Apr 2008 17:22:08 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, osgversion and AUTHOR.txt for 2.3.7 dev release -2007-07-23 18:13 robert +Tue, 1 Apr 2008 14:52:49 +0000 +Checked in by : Robert OSFIELD +Removed svn:externals property - * From Mathias Froehlich, compile fix for OSX. +Tue, 1 Apr 2008 14:28:55 +0000 +Checked in by : Robert OSFIELD +Updated data for 2.3.7 dev release -2007-07-23 16:42 robert +Tue, 1 Apr 2008 11:03:45 +0000 +Checked in by : Robert OSFIELD +Updated OpenThreads version to 2.2.1 with the switch of sources/svn:externals from OpenThreads to OpenSceneGraph. - * Added FlushDeletedGLObjectsOperation. +Tue, 1 Apr 2008 10:49:53 +0000 +Checked in by : Robert OSFIELD +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. -2007-07-22 20:33 robert - * Added support for using the CompileContext to do GL object - deletion. -2007-07-21 20:11 robert - * Converted usleep call to OpenThreads::Thread::microSleep() to - avoid VS build problems +Tue, 1 Apr 2008 10:33:01 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for 2.3.7 dev release -2007-07-19 18:59 robert +Tue, 1 Apr 2008 10:11:22 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Two changes: - Handle DrawArrays first/count correctly (fixes problem reported by Jason Daly) - Display warning if non-Geometry Drawable is encountered." - * Added reset it to set block correctly before use. +Tue, 1 Apr 2008 10:00:39 +0000 +Checked in by : Robert OSFIELD +From Tatsuhiro Nishioka and Stephan Huber, bug fixes and enhancement of cursor suppoort. -2007-07-19 17:02 robert +Mon, 31 Mar 2008 16:23:52 +0000 +Checked in by : Robert OSFIELD +Added checks for a valid scene graph before doing various ops on it. - * Improved the filtering of changes to master file to prevent using - reading from - files that are still under going changes. +Mon, 31 Mar 2008 14:00:42 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, build fix for Solaris -2007-07-19 16:42 robert +Mon, 31 Mar 2008 11:44:31 +0000 +Checked in by : Robert OSFIELD +Added Camera::s/getClearAccum, s/getClearStencil and s/getClearDepth. - * Updated wrappers +Mon, 31 Mar 2008 09:43:14 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-07-19 15:24 robert +Sat, 29 Mar 2008 09:59:23 +0000 +Checked in by : Robert OSFIELD +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. - * Added osg::RefBlockCount subclassed from the new - OpenThreads::BlockCount and used it into osgterrain example +Fri, 28 Mar 2008 19:56:25 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Some small changes and code cleanup. Biggest change is an improvement to the WriteResult return." -2007-07-19 12:09 robert +Fri, 28 Mar 2008 18:42:03 +0000 +Checked in by : Robert OSFIELD +Set Texture::setMaxAnisotropy() to 16.0f for better quality terrain when looking at shallow angle. - * Added support for using multiple load threads as a thread pool - used by the MasterOperation +Fri, 28 Mar 2008 17:53:58 +0000 +Checked in by : Robert OSFIELD +Improved the error capture and reporting -2007-07-18 16:48 robert +Fri, 28 Mar 2008 15:52:10 +0000 +Checked in by : Robert OSFIELD +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. - * Added setting of ThreadSafeRefUnref to true. +The rewritten method no longer uses the the MaximumNumOfRemovedChildPagedLODs +and MinimumNumOfInactivePagedLODs variables so these and associated methods +for accessing them have been removed. -2007-07-18 16:17 robert +- /** 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; } - * 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. -2007-07-18 16:14 robert - * Commented out debug messages -2007-07-18 14:54 robert +Fri, 28 Mar 2008 15:31:46 +0000 +Checked in by : Robert OSFIELD +Introduced mutex into Terrain node to manage the tile system data structures - * Added call to State::initializeExtensionsProcs() to prevent - crashes before - these variables are initialized. +Fri, 28 Mar 2008 15:28:03 +0000 +Checked in by : Robert OSFIELD +Reordered set up of scene and event handlers to prevent warning -2007-07-18 09:05 robert +Fri, 28 Mar 2008 13:22:30 +0000 +Checked in by : Robert OSFIELD +Removed old lower case versions - * Added missing export symbol. +Fri, 28 Mar 2008 12:44:33 +0000 +Checked in by : Robert OSFIELD +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. + -2007-07-17 17:36 robert - * Added traverse method implementation into GeometryTechnique. -2007-07-17 16:18 robert +Thu, 27 Mar 2008 13:21:36 +0000 +Checked in by : Robert OSFIELD +Removed TileSystem class, and added support for TerrainTile's automatically registering and unregistering themseles with the enclosing Terrain node. - * Merged the new master operation/operation thread code with older - standard - terrain set up code. +Thu, 27 Mar 2008 11:56:35 +0000 +Checked in by : Robert OSFIELD +Added wrapper for TerrainTile -2007-07-17 10:54 robert +Thu, 27 Mar 2008 11:55:03 +0000 +Checked in by : Robert OSFIELD +Renamed osgTerrain::TerrainSystem to osgTerrain::Terrain - * 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. +Thu, 27 Mar 2008 10:55:39 +0000 +Checked in by : Robert OSFIELD +Renamed Terrain to TerrainTile -2007-07-17 09:15 robert +Wed, 26 Mar 2008 20:06:54 +0000 +Checked in by : Robert OSFIELD +Introduce TerrainSystem node which decorates a complete terrain model made up of Terrain tiles. - * Fixed typo +Wed, 26 Mar 2008 20:03:53 +0000 +Checked in by : Robert OSFIELD +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." -2007-07-16 21:39 robert +Wed, 26 Mar 2008 20:01:45 +0000 +Checked in by : Robert OSFIELD +From Carlo Comporesi, adding support of finding libcurl in 3rd party dependencies - * Work in progress on support for dynamically reading a master file - in a background thread +Tue, 25 Mar 2008 15:21:14 +0000 +Checked in by : Robert OSFIELD +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 -2007-07-16 17:40 robert +-- - * Added MasterOperation to do file querry and loading and - background thread. +And Later post: -2007-07-16 15:47 robert +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..." - * Added custom colour support to TransferFunction setup. -2007-07-16 15:13 robert - * Improvements to the .terrain file support +Tue, 25 Mar 2008 13:14:14 +0000 +Checked in by : Robert OSFIELD +Moved include of c headers to top, and remove using std::strlen in an attempt to solve gcc4.3 compile problems -2007-07-16 12:37 robert +Tue, 25 Mar 2008 13:06:57 +0000 +Checked in by : Robert OSFIELD +Added limits.h to try and avoid gcc 4.3 compile problems - * First steps at provide a .terrain file format to experiment with - file - definitions of terrain subgraphs +Tue, 25 Mar 2008 13:01:40 +0000 +Checked in by : Robert OSFIELD +Added #include to fix gcc 4.3 build problem -2007-07-14 17:16 robert +Tue, 25 Mar 2008 12:26:43 +0000 +Checked in by : Robert OSFIELD +Fixed LessGeode operator. - * Updated wrappers +Tue, 25 Mar 2008 11:50:28 +0000 +Checked in by : Robert OSFIELD +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." -2007-07-14 17:07 robert - * 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 +Mon, 24 Mar 2008 18:06:40 +0000 +Checked in by : Robert OSFIELD +Added sampling down to 32x32 mesh for 64x64 height fields as a workaround to memory consumption issues with high res whole earth paged databases. - * Changed BarrierOperation so that it isn't limited to jut working - within GraphicsContexts. +Mon, 24 Mar 2008 18:03:19 +0000 +Checked in by : Robert OSFIELD +Added mutex to prevent multiple cull threads changing the MultiTextureControl at one time. -2007-07-13 19:24 robert +Mon, 24 Mar 2008 10:53:14 +0000 +Checked in by : Robert OSFIELD +Added full range of cameras manipulators to osgmultitexturecontrol example - * Converted Operations to GraphicsOperations where apporpriate. +Sun, 23 Mar 2008 18:28:49 +0000 +Checked in by : Robert OSFIELD +Added < and > key bindings to allow the speed to be animation speed to be increased or decreased. -2007-07-13 19:22 robert +Fri, 21 Mar 2008 18:35:29 +0000 +Checked in by : Robert OSFIELD +Added preliminary file cache support. Enabled by setting the OSG_FILE_CACHE variable. - * Removed all the plugins BUILD_OSG_* options as these just get in - the way of - browsing standard CMake options. +Fri, 21 Mar 2008 18:31:56 +0000 +Checked in by : Robert OSFIELD +Added missing break; at end of each case entry. -2007-07-13 17:25 robert +Fri, 21 Mar 2008 15:43:53 +0000 +Checked in by : Robert OSFIELD +Fixed push/popping of filepath, removed verbose debug messages - * Introduce GraphicsOperation subclass from osg::Operation, and - osgUtil::GLObjectOperation - for compiling subgraphs. +Fri, 21 Mar 2008 13:20:07 +0000 +Checked in by : Robert OSFIELD +Added better detection and error reporting of files without proper server address -2007-07-13 11:49 robert +Fri, 21 Mar 2008 13:08:02 +0000 +Checked in by : Robert OSFIELD +Added initial cut of libcurl based plugin - * Updated wrappers +Thu, 20 Mar 2008 10:24:26 +0000 +Checked in by : Robert OSFIELD +Updated date for 2.4.6 release -2007-07-13 11:42 robert +Wed, 19 Mar 2008 21:05:38 +0000 +Checked in by : Robert OSFIELD +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. - * 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." +Changed files: + ./include/osgViewer/api/X11/GraphicsWindowX11 + ./src/osgViewer/GraphicsWindowX11.cpp -2007-07-13 11:39 robert +" - * 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 - * Added setCurrentEventState method +Wed, 19 Mar 2008 17:11:20 +0000 +Checked in by : Robert OSFIELD +Update AUTHOR file -2007-07-13 11:22 robert +Wed, 19 Mar 2008 17:10:38 +0000 +Checked in by : Robert OSFIELD +Updated version and ChangeLog for 2.3.6 dev release. - * Updated wrappers +Wed, 19 Mar 2008 12:30:50 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-07-13 11:17 robert +Wed, 19 Mar 2008 12:09:20 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messerschimdt, Added polygon offset controls - * 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. +Wed, 19 Mar 2008 11:41:37 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-07-12 20:12 robert +Wed, 19 Mar 2008 11:41:21 +0000 +Checked in by : Robert OSFIELD +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&) - * 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. +Wed, 19 Mar 2008 11:40:08 +0000 +Checked in by : Robert OSFIELD +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. -2007-07-12 20:10 robert +Tue, 18 Mar 2008 17:44:21 +0000 +Checked in by : Robert OSFIELD +Set the CullSettings::InhertianceMask to 0x0 as temporary measure till we work out the best scheme to use w.r.t inhertiance of CullSettins. - * Fixed spelling of cartesian. +Tue, 18 Mar 2008 15:48:48 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-07-12 16:37 robert +Tue, 18 Mar 2008 15:37:38 +0000 +Checked in by : Robert OSFIELD +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. - * From Martin Lavery, updates to Xcode projects +Tue, 18 Mar 2008 10:45:47 +0000 +Checked in by : Robert OSFIELD +Added example code showing how to set the minimum and maximum scales -2007-07-12 15:54 robert +Tue, 18 Mar 2008 09:17:52 +0000 +Checked in by : Robert OSFIELD +Added ObjectRecordData to include list - * 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. +Mon, 17 Mar 2008 15:22:03 +0000 +Checked in by : Robert OSFIELD +Added minimum and maximum scale support to osg::AutoTransform -2007-07-12 12:15 robert +Mon, 17 Mar 2008 12:23:06 +0000 +Checked in by : Robert OSFIELD +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. - * Renamed OperationsThread to OperationThread and add two way link - between OperationQueue and OperationThread +Mon, 17 Mar 2008 12:13:20 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-07-12 09:03 robert +Mon, 17 Mar 2008 12:11:39 +0000 +Checked in by : Robert OSFIELD +Added doxygen docs - * From Martin Lavery, Update to Packaging files for Xcode build +Mon, 17 Mar 2008 12:09:05 +0000 +Checked in by : Robert OSFIELD +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. -2007-07-12 08:29 robert +Mon, 17 Mar 2008 10:29:23 +0000 +Checked in by : Robert OSFIELD +Added fire effect, enabled by --fire command line option. The new fire effect has been introduced to reproduce the scaling of paricle effects - * Added better description of TransferFunction. +Sat, 15 Mar 2008 19:27:35 +0000 +Checked in by : Robert OSFIELD +Added better error reporting -2007-07-11 16:06 robert +Fri, 14 Mar 2008 16:51:39 +0000 +Checked in by : Robert OSFIELD +From Paul Melis, "typo fix : NVidea -> NVidia (including option --Nvidea)" - * Updated wrappers +Fri, 14 Mar 2008 16:24:36 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog and AUTHORS.txt file for 2.3.5 release -2007-07-11 16:06 robert +Fri, 14 Mar 2008 15:33:59 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Fixed typo +Fri, 14 Mar 2008 15:33:47 +0000 +Checked in by : Robert OSFIELD +Added utilty script for cleaning up build files/directories. -2007-07-11 15:51 robert +Fri, 14 Mar 2008 15:32:56 +0000 +Checked in by : Robert OSFIELD +Fixed indenting - * From Paul Melis, fixes to spelling mistakes/typos. +Fri, 14 Mar 2008 15:13:08 +0000 +Checked in by : Robert OSFIELD +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.) " -2007-07-11 15:50 robert +Fri, 14 Mar 2008 15:00:37 +0000 +Checked in by : Robert OSFIELD +Missing checkin - * Updated version number in prep for 2.1.1 dev release +Fri, 14 Mar 2008 14:35:15 +0000 +Checked in by : Robert OSFIELD +Added iostream include -2007-07-11 15:30 robert +Fri, 14 Mar 2008 13:21:35 +0000 +Checked in by : Robert OSFIELD +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. - * From Andre Garneau, minor warning fixes +Fri, 14 Mar 2008 12:03:11 +0000 +Checked in by : Robert OSFIELD +Converted static const unsigned int definitio to enum. -2007-07-11 14:16 robert +Fri, 14 Mar 2008 11:53:44 +0000 +Checked in by : Robert OSFIELD +Updated version/author type fixes, authors, readme and changelog for 2.3.5 dev release - * Added support for --sky-light and headlight with local position - at 0,0,0 +Fri, 14 Mar 2008 11:07:03 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-07-11 13:48 robert +Fri, 14 Mar 2008 11:06:54 +0000 +Checked in by : Robert OSFIELD +Improved the indenting - * Added setting of the Scene's FrameStamp on each - CompositeViewer::updateTraversal() call to fix animation path - issue. +Fri, 14 Mar 2008 11:06:35 +0000 +Checked in by : Robert OSFIELD +Changed the const get(), operator*() and operator->() methods to return non const T versions -2007-07-11 09:00 robert +Fri, 14 Mar 2008 11:01:54 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, build fix for Solaris - * From Martin Lavery, update of Xcode projects to meet the latest - SVN revision +Thu, 13 Mar 2008 19:48:16 +0000 +Checked in by : Robert OSFIELD +Fixed doc comment -2007-07-10 19:29 robert +Thu, 13 Mar 2008 19:44:10 +0000 +Checked in by : Robert OSFIELD +Removed gl and glu prefixes from SceneGraphBuilder methods to avoid problems under Solaris - * Added OperationsThread +Thu, 13 Mar 2008 16:40:45 +0000 +Checked in by : Robert OSFIELD +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". -2007-07-10 17:36 robert +2) The last primitive defined in "coordIndex" is now added if the +"coordIndex" is not terminated by -1. - * Added test code path which stress tests new thread pool support - in OperationsThread +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. -2007-07-10 17:36 robert +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. - * Wired up OperationsThread to use the new OperationQueue and - thereby support - thread pooling where multiple OperationsThreads share a single - OperationsQueue +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? -2007-07-09 19:04 robert +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." - * Separated OperationsThread out from the GraphicsThread header and - introduced - new OperationQueue class. -2007-07-09 15:02 robert - * Fixed unitialized variables. +Thu, 13 Mar 2008 16:38:05 +0000 +Checked in by : Robert OSFIELD +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. " -2007-07-09 11:37 robert +Thu, 13 Mar 2008 16:22:07 +0000 +Checked in by : Robert OSFIELD +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." - * Updated ChangeLog, osgversion and AUTHORS.txt for 2.1 dev release +Thu, 13 Mar 2008 16:18:03 +0000 +Checked in by : Robert OSFIELD +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: -2007-07-09 11:05 robert + (1) A:\\foo\\bar.png -> bar.png (as before) + (2) /foo/bar.png -> bar.png (as before) - * Updated version number for 2.1.0 dev release + (3) foo/bar.png -> foo/bar.png (new) + (4) ../foo/bar.png -> ../foo/bar.png (new) -2007-07-09 11:05 robert +" - * Added OpertionQueue -2007-07-09 11:03 robert - * Added OperationQueue class for future work on support thread - pools that share - a single OpeationQueue. +Thu, 13 Mar 2008 16:12:46 +0000 +Checked in by : Robert OSFIELD +From Melchoir Franz, Caps lock support under X11 -2007-07-09 10:48 robert +Thu, 13 Mar 2008 16:05:40 +0000 +Checked in by : Robert OSFIELD +Added double versions of intersect methods - * Updated wrappers +Thu, 13 Mar 2008 16:05:20 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-07-09 10:47 robert +Thu, 13 Mar 2008 15:23:24 +0000 +Checked in by : Robert OSFIELD +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()." - * Improved the consistency of setting of rotation and auto rotate - modes in setAxisAlingment method +Thu, 13 Mar 2008 15:21:34 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, files for adding ObjectRecordData support into OpenFlight -2007-07-09 10:12 robert +Thu, 13 Mar 2008 14:09:11 +0000 +Checked in by : Robert OSFIELD +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." - * Fixed missinged intialization of the _threadsRunning variable. +From Robert Osfield, made the OpenFlight read object record data optional via the -O readObjectRecordData ReaderWriter option. -2007-07-07 16:05 robert - * From Jean-Sebastien Guay and Jan Ciger, added search path can - improved handling of backslashes/forward slashes -2007-07-06 20:00 robert +Thu, 13 Mar 2008 13:44:34 +0000 +Checked in by : Robert OSFIELD +Added support for assigning state to created drawables, implemented gluDisk. - * Updared wrappers +Thu, 13 Mar 2008 13:43:22 +0000 +Checked in by : Robert OSFIELD +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. " -2007-07-06 16:54 robert +Wed, 12 Mar 2008 20:20:55 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added include of DeleteHandler +Wed, 12 Mar 2008 20:15:45 +0000 +Checked in by : Robert OSFIELD +Added extra constructors + +Wed, 12 Mar 2008 20:15:28 +0000 +Checked in by : Robert OSFIELD +Added proper implementations of OpenGL 1.0 calls to OSG object representation methods in SceneGraphBuilder. + +Wed, 12 Mar 2008 15:28:26 +0000 +Checked in by : Robert OSFIELD +Fixed bug in output of ProxyLayer's MinLevel/MaxLevel -2007-07-06 16:47 robert +Tue, 11 Mar 2008 13:29:12 +0000 +Checked in by : Robert OSFIELD +Added default implementations of new SceneGraphBuilder class - * 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 +Tue, 11 Mar 2008 13:23:49 +0000 +Checked in by : Robert OSFIELD +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." + +Tue, 11 Mar 2008 13:19:08 +0000 +Checked in by : Robert OSFIELD +From Jose Delport, added support for finding and using GDAL 1.5 -2007-07-06 14:07 robert +Tue, 11 Mar 2008 12:10:09 +0000 +Checked in by : Robert OSFIELD +Added extra event handlers to make viewer more functional - * From Jea-Sebastien Guay and Robert Osfield, build fixes for - Windows +Mon, 10 Mar 2008 20:30:56 +0000 +Checked in by : Robert OSFIELD +Added commandline help options -2007-07-06 13:54 robert +Wed, 5 Mar 2008 13:54:52 +0000 +Checked in by : Robert OSFIELD +From Andreas Ekstrand and Lars Nilsson, fix for reading Texture Attribute file - * 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)." +Wed, 5 Mar 2008 12:05:55 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-07-06 13:33 robert +Wed, 5 Mar 2008 11:52:56 +0000 +Checked in by : Robert OSFIELD +From Atr Trevs, added missinging initializers - * From Brede Johansen, "Attached is a fix that returns a default - color (white) if an invalid - index to the color palette is used." +Wed, 5 Mar 2008 11:33:55 +0000 +Checked in by : Robert OSFIELD +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." -2007-07-06 13:08 robert +Tue, 4 Mar 2008 17:57:06 +0000 +Checked in by : Robert OSFIELD +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. " - * 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. +Tue, 4 Mar 2008 16:39:44 +0000 +Checked in by : Robert OSFIELD +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. -2007-07-06 09:06 robert +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. - * Added #include +Unrelated fix - an uninitialised variable in +osg::GraphicsThread::FlushDeletedGLObjectsOperation(). +" + + + +Tue, 4 Mar 2008 16:22:47 +0000 +Checked in by : Robert OSFIELD +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." + + + +Tue, 4 Mar 2008 16:03:37 +0000 +Checked in by : Robert OSFIELD +Refactored the way that the camera settings are inhertied + +Tue, 4 Mar 2008 15:29:47 +0000 +Checked in by : Robert OSFIELD +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/ +" + + + +Tue, 4 Mar 2008 15:10:22 +0000 +Checked in by : Robert OSFIELD +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." + +Tue, 4 Mar 2008 14:19:03 +0000 +Checked in by : Robert OSFIELD +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. + +Tue, 4 Mar 2008 14:04:48 +0000 +Checked in by : Robert OSFIELD +From Art Trevs, add support for saving external shader files. From Robert Osfield, adding missing member variable initializes and Output::getShaderFileNameForOutput() implementation + +Tue, 4 Mar 2008 13:30:41 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, a third person view CompositeViewer example + +Tue, 4 Mar 2008 11:53:09 +0000 +Checked in by : Robert OSFIELD +Change the setViewAsLookAt method to use Vec3d rather than Vec3 for better precision + +Tue, 4 Mar 2008 11:52:21 +0000 +Checked in by : Robert OSFIELD +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. + +Tue, 4 Mar 2008 11:50:35 +0000 +Checked in by : Robert OSFIELD +Removed single threaded setting + +Mon, 3 Mar 2008 18:12:21 +0000 +Checked in by : Robert OSFIELD +Implemented fade between layers using MultiTextureControl node + +Mon, 3 Mar 2008 14:17:56 +0000 +Checked in by : Robert OSFIELD +Added beginings of new osgmultitexturecontrol example -2007-07-05 18:41 robert +Sat, 1 Mar 2008 13:42:07 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers. +Sat, 1 Mar 2008 13:40:57 +0000 +Checked in by : Robert OSFIELD +Added OSG_EXPORT -2007-07-05 18:33 robert +Sat, 1 Mar 2008 12:50:54 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Added support for managing a CompileContext. Rearranged the - DeleteHandler::flushAll call. +Sat, 1 Mar 2008 12:29:49 +0000 +Checked in by : Robert OSFIELD +Fixed naming -2007-07-05 18:32 robert +Fri, 29 Feb 2008 16:09:48 +0000 +Checked in by : Robert OSFIELD +Disabled the resizing of Camera's with FBO's - * Added debug messages to catch key modified state +Fri, 29 Feb 2008 15:25:57 +0000 +Checked in by : Robert OSFIELD +Added Camera::g/setIntialDrawCallback and g/setFinalDrawCallback(), and added screen snapshot example code to osghud. -2007-07-05 18:30 robert +Thu, 28 Feb 2008 20:02:43 +0000 +Checked in by : Robert OSFIELD +Added LODScaleHandler - * Improved the computation of the side vector +Thu, 28 Feb 2008 18:08:32 +0000 +Checked in by : Robert OSFIELD +Added OSG_EXPIRY_DELAY env var option. -2007-07-05 18:30 robert +Thu, 28 Feb 2008 17:59:44 +0000 +Checked in by : Robert OSFIELD +Moved the delete operations to before of the compile operations to ensure that delete operations don't get pushed out by allocations - * Improved the mapping of update and cull traversal +Thu, 28 Feb 2008 10:56:03 +0000 +Checked in by : Robert OSFIELD +From He Sicong, "fixed shader calculation of ray tracing" -2007-07-05 10:57 robert +Wed, 27 Feb 2008 12:11:02 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski and Robert Osfield, Support from LightPointNode::s/getPointSprite parameter. - * 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). " +Wed, 27 Feb 2008 11:46:05 +0000 +Checked in by : Robert OSFIELD +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." -2007-07-05 10:51 robert +Wed, 27 Feb 2008 11:43:58 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, fixed get/set methods API - * Commented out "fix" that explictly sets the key modifier state as - this change - actually broke the key modifier state management. +Wed, 27 Feb 2008 11:43:06 +0000 +Checked in by : Robert OSFIELD +Added debug message to track cache usage -2007-07-03 17:32 robert +Mon, 25 Feb 2008 17:30:30 +0000 +Checked in by : Robert OSFIELD +From Melchior Franz, fixed handling of modified keys when entering/leaving window - * 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"." +Mon, 25 Feb 2008 16:50:28 +0000 +Checked in by : Robert OSFIELD +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" + + + +Mon, 25 Feb 2008 16:26:30 +0000 +Checked in by : Robert OSFIELD +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." + + + +Mon, 25 Feb 2008 16:05:53 +0000 +Checked in by : Robert OSFIELD +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." -2007-07-03 13:26 robert +Mon, 25 Feb 2008 15:09:56 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "This change adds "GL_NORMALIZE" and "GL_RESCALE_NORMAL" to .osg IO in place of the hex equivalents." - * Added checking of GUIEventAdpter::getHandled(). +Mon, 25 Feb 2008 15:08:45 +0000 +Checked in by : Robert OSFIELD +Updated wrappers + +Mon, 25 Feb 2008 15:07:35 +0000 +Checked in by : Robert OSFIELD +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 + +Mon, 25 Feb 2008 14:27:57 +0000 +Checked in by : Robert OSFIELD +Changed method parameter to use const & + +Mon, 25 Feb 2008 14:15:27 +0000 +Checked in by : Robert OSFIELD +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" -2007-07-03 10:00 robert - * From Roger James, added GL_NORMALIZE mode to scaled models -2007-07-02 13:17 robert +Mon, 25 Feb 2008 13:25:42 +0000 +Checked in by : Robert OSFIELD +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." - * Changed the way that computeNearFar is computed to avoid - inconsistencies when in stereo mode +Mon, 25 Feb 2008 13:17:30 +0000 +Checked in by : Robert OSFIELD +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. " -2007-07-02 13:16 robert +Mon, 25 Feb 2008 13:16:36 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Mon, 25 Feb 2008 13:07:37 +0000 +Checked in by : Robert OSFIELD +Reverted back to previous version of osgtext -2007-07-02 12:43 robert +Mon, 25 Feb 2008 12:54:54 +0000 +Checked in by : Robert OSFIELD +Refactored the mutex usage in osgText and freetype plugin to prevent multi-thread crash - * From Csaba Halasz, support reading "monochrome" option string and - use of monocrhome FreetType support +Fri, 22 Feb 2008 18:38:30 +0000 +Checked in by : Robert OSFIELD +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. " -2007-07-02 12:30 robert +Fri, 22 Feb 2008 11:52:23 +0000 +Checked in by : Robert OSFIELD +Refactored osgTerrain so that the interface for setting up layer is more straight forward, and added support into GeometryTechnique for handling multiple layers - * From Csaba Halasz and Robert Osfield, support for passing in - ReaderWriter::Options object into readFontFile - -2007-06-30 16:19 robert - - * 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 - - * 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 - - * Updated wrappers - -2007-06-30 14:30 robert - - * Added s/getUsage() method - -2007-06-30 14:30 robert - - * Added balancing of stack size on entry/exit from rendering nested - camera. - -2007-06-30 14:28 robert - - * Added debug path that creates the viewer on the heap. - -2007-06-30 14:21 robert - - * 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 - - * From Sherman Wilcox, added check for Drawable cull callbck into - apply(Billboard) - -2007-06-30 07:09 robert - - * Removed the old references to files now removed - -2007-06-29 17:01 robert - - * Added Point::Extension::isPointSpriteCoordOriginSupported() - method - -2007-06-29 16:37 robert - - * From Sherman Wilcox, added serach for freetype234 - -2007-06-29 16:10 robert - - * 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 - - * Fixed indenting to use 4 spaces instead of tabs - -2007-06-29 16:06 robert - - * 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: - " +Wed, 20 Feb 2008 12:34:13 +0000 +Checked in by : Robert OSFIELD +Added TextureUnit entry to osg::TransferFunction and osgTerrain::Layer -2007-06-29 16:00 robert +Tue, 19 Feb 2008 16:02:03 +0000 +Checked in by : Robert OSFIELD +Removed erroneous ; - * From Roger James, bug fix to counting of number geode with - drawables +Tue, 19 Feb 2008 12:26:19 +0000 +Checked in by : Robert OSFIELD +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. -2007-06-28 20:56 robert +Tue, 19 Feb 2008 11:30:39 +0000 +Checked in by : Robert OSFIELD +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 - * From Brad Colbert, get/setVolume methods +Tue, 19 Feb 2008 09:49:12 +0000 +Checked in by : Robert OSFIELD +From Philip Lowman, workaround for gcc 3.2.3 bug -2007-06-28 14:19 robert +Mon, 18 Feb 2008 15:30:55 +0000 +Checked in by : Robert OSFIELD +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) - * From Brad Colbert with ammendments by Robert Osfield, add - set/getVolume support -2007-06-28 12:59 robert - * From Trajce Nikolov, fixes to pbuffer setup -2007-06-28 09:51 robert +Mon, 18 Feb 2008 15:26:46 +0000 +Checked in by : Robert OSFIELD +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). - * From Nikolaus Hanekamp, added support for osg::Multisample + 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. + " -2007-06-27 20:44 robert - * 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 +Mon, 18 Feb 2008 15:17:42 +0000 +Checked in by : Robert OSFIELD +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 - * 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. +and then that caused failures in the load later: -2007-06-27 20:34 robert + FindFileInPath() : trying /Users/rpk/Downloads/ +FR_PARIS_ESPACE_UNESCO_S.MTL ... - * Added temporary reset of the RenderLeaf pointer for any internal - calls to other graphics contexts. +this fix simply strips whitespace around that filename before passing +it on to the remainder of the loader." -2007-06-27 19:51 ewing +Changes from Robert Osfield, change std::cout to osg::notify(osg::INFO) - * Minor build fixes. Changed/fixed GraphicsWindowCarbon to go into - api/Carbon instead of just api/ -2007-06-27 17:01 robert - * From Andy Skinner, fixed return value. +Mon, 18 Feb 2008 15:10:30 +0000 +Checked in by : Robert OSFIELD +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). -2007-06-27 11:14 robert +Attached is the modified FreeTypeLibrary.cpp file." - * Updated wrappers -2007-06-27 10:37 robert - * From Rajce Nickolov, improvements to PixelBufferWin32 and - GraphicsWindowWin32 +Mon, 18 Feb 2008 15:02:01 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-27 10:12 robert +Mon, 18 Feb 2008 14:51:05 +0000 +Checked in by : Robert OSFIELD +Introduced typedef vec_type and value_type into LineSemgment class to allow easier switching between double and float versions. - * Added texture format into Traits. +Mon, 18 Feb 2008 14:14:08 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, build fix for OSX/gcc 4.0.1 -2007-06-27 09:44 robert +Mon, 18 Feb 2008 13:52:26 +0000 +Checked in by : Robert OSFIELD +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. - * Fixed target setting bug in PixelBuffer RTT set up. +Thanks to Terry for the help to find and fix the bug and test the changes." -2007-06-26 17:12 robert - * Added missing cmake macros -2007-06-26 11:31 robert +Mon, 18 Feb 2008 13:47:38 +0000 +Checked in by : Robert OSFIELD +From Bryan Thrall, "moved the prints to a higher notify level (DEBUG_FP) so they are only printed at the most verbose level." - * Reverted to using non silhouette computation. +Mon, 18 Feb 2008 13:44:30 +0000 +Checked in by : Robert OSFIELD +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." -2007-06-25 13:48 robert +Fri, 15 Feb 2008 14:09:44 +0000 +Checked in by : Robert OSFIELD +Changed constructors to take const pointers - * Changed the RTT Camera so that it doesn't automatically recompute - the near and far planes +Tue, 29 Jan 2008 22:14:26 +0000 +Checked in by : Robert OSFIELD +Update AUTHORS list for release -2007-06-25 11:32 robert +Tue, 29 Jan 2008 21:34:38 +0000 +Checked in by : Robert OSFIELD +Updated logs for release - * From Trajce Nickolov, improvements to PixelBufferWin32. +Tue, 29 Jan 2008 20:45:51 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-25 08:35 robert +Tue, 29 Jan 2008 12:24:47 +0000 +Checked in by : Robert OSFIELD +Reorganized the static vector used for buffering extensions to prevent an crash on exit. - * Set the eol style on CMake .txt files to native +Tue, 29 Jan 2008 10:28:56 +0000 +Checked in by : Robert OSFIELD +Updated versions for OSG-2.3.4 release -2007-06-24 10:55 robert +Mon, 28 Jan 2008 20:54:14 +0000 +Checked in by : Robert OSFIELD +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." - * Updated wrappers +Mon, 28 Jan 2008 20:52:31 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, "an aesthetic enhancement for displaying important version information." -2007-06-24 10:18 robert +Mon, 28 Jan 2008 20:31:48 +0000 +Checked in by : Robert OSFIELD +From Roger James, "A small fix for compiling with OSG_USE_FLOAT_MATRIX" - * From Trajce Nikolov, PixelBufferWin32 implementation +Mon, 28 Jan 2008 20:27:33 +0000 +Checked in by : Robert OSFIELD +From Rainer Oder, removed duplicate conditional -2007-06-23 21:55 robert +Mon, 28 Jan 2008 19:54:27 +0000 +Checked in by : Robert OSFIELD +Fixed BUILD_REF_DOCS_SEARCHENGINE conditional - * Simplified decoration code and added support for reading - Traits::supportsResize +Mon, 28 Jan 2008 19:42:16 +0000 +Checked in by : Robert OSFIELD +Added explict casts to double to prevent VS compiler error -2007-06-23 21:54 robert +Mon, 28 Jan 2008 18:29:38 +0000 +Checked in by : Robert OSFIELD +From Jean-Christophe Lombardo and Robert Osfield, added BUILD_REF_DOCS_SEARCHENGINE and BUILD_REF_DOCS_TAGFILE options for being doxygen docs. - * Set the Traits::supportsResize flag to true in default - constructor. +Mon, 28 Jan 2008 17:00:19 +0000 +Checked in by : Robert OSFIELD +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" -2007-06-23 11:24 robert - * Reorder the setProjectionMatrix.. mathod -2007-06-23 11:21 robert - * Added setting of the Camera's projection matrix to fit the - windowing aspect ratio. +Mon, 28 Jan 2008 16:38:39 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, added support for double click event for OSX. -2007-06-22 14:48 robert +Mon, 28 Jan 2008 16:13:42 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "default white behaviour : osgviewerd -e ogr yourFile randomize color by feature: osgviewerd -e ogr -O UseRandomColorByFeature yourFile" - * Added optional set up of pbuffers for background compilation of - the OpenGL objects - when database paging. +Mon, 28 Jan 2008 15:41:42 +0000 +Checked in by : Robert OSFIELD +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. -2007-06-22 14:48 robert +Mon, 28 Jan 2008 15:36:28 +0000 +Checked in by : Robert OSFIELD +Added include RenderLeaf to make sure #define's are defined correctly - * Added ability to compile OpenGL objects via pbuffers in the - DatabasePager/Viewer +Sat, 26 Jan 2008 20:03:12 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2007-06-21 16:14 robert +Thu, 24 Jan 2008 10:04:33 +0000 +Checked in by : Robert OSFIELD +Removed duplicate declaration of DeleteHandlerPointer - * Added explicit setting of updateText to have DYNAMIC data - variance. +Tue, 22 Jan 2008 11:13:07 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, Authors and readme for 2.3.3 release -2007-06-21 11:20 robert +Tue, 22 Jan 2008 10:28:48 +0000 +Checked in by : Robert OSFIELD +Added missing checks for null pointers - * From Trajce Nikolov, windows build fixes +Mon, 21 Jan 2008 18:06:47 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, notes on how to enable syntax highlighting in VS. -2007-06-20 12:34 robert +Mon, 21 Jan 2008 17:04:33 +0000 +Checked in by : Robert OSFIELD +Fixed debug build of Inventor plugin - * Added dummy init method +Mon, 21 Jan 2008 14:42:52 +0000 +Checked in by : Robert OSFIELD +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." -2007-06-20 12:29 robert +Mon, 21 Jan 2008 14:41:58 +0000 +Checked in by : Robert OSFIELD +Introduced BUILD_REFERENCE_DOCS option to make it a bit clearer how to enable and build the DoxygenDocs - * Added placeholder for PixelBufferWin32 +Mon, 21 Jan 2008 12:01:55 +0000 +Checked in by : Robert OSFIELD +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 +" -2007-06-20 12:01 robert - * Corrected graphics context creation message -2007-06-20 12:00 robert +Mon, 21 Jan 2008 12:00:10 +0000 +Checked in by : Robert OSFIELD +Fixed Geometry::removePrimitiveSet method so that it no longer emits a warning when removing 0 elements form an empty primtive set list. - * Added code of support for contouring shaders +Mon, 21 Jan 2008 11:47:40 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, restructured GL2Extensions so that they now live in their own GL2Extensions.cpp file rather than in Program.cpp -2007-06-20 11:59 robert +Mon, 21 Jan 2008 11:40:27 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.3.3 release - * Updated wrappers +Mon, 21 Jan 2008 11:39:00 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-20 11:59 robert +Mon, 21 Jan 2008 11:37:55 +0000 +Checked in by : Robert OSFIELD +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 - * Completed implementation of PixelBufferX11. +Mon, 21 Jan 2008 11:36:54 +0000 +Checked in by : Robert OSFIELD +Removed redundental vertex buffer object flush methods -2007-06-19 17:12 robert +Mon, 21 Jan 2008 11:27:57 +0000 +Checked in by : Robert OSFIELD +Moved useful elements of the old VisualStudio directory into a new PlatformSpecifics/Windows directory - * Added beginnings of osgViewer::PixelBufferX11 +Sat, 19 Jan 2008 18:26:41 +0000 +Checked in by : Robert OSFIELD +Added thread safe debugging checking of allocation/deallocations -2007-06-19 16:19 robert +Sat, 19 Jan 2008 18:25:45 +0000 +Checked in by : Robert OSFIELD +Added use of ref_ptr<> throughout geometry setup code to prevent memory leaks - * Added passing of arguments into constructor. +Sat, 19 Jan 2008 13:41:43 +0000 +Checked in by : Robert OSFIELD +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. -2007-06-19 09:16 robert +Sat, 19 Jan 2008 13:31:12 +0000 +Checked in by : Robert OSFIELD +Disabled the default enabling of update traversal on osgTerrain::Terrain as this was preventing PagedLOD subgraphs from expiring inactive subgraphs - * Removed OSGVIEWER_EXPORT +Fri, 18 Jan 2008 21:29:00 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-18 12:10 robert +Fri, 18 Jan 2008 21:08:42 +0000 +Checked in by : Robert OSFIELD +Removed erroneous const in method parameter - * Added use of GLSL filters +Fri, 18 Jan 2008 21:07:03 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, build fixes for Solaris. -2007-06-15 17:47 robert +Fri, 18 Jan 2008 21:01:18 +0000 +Checked in by : Robert OSFIELD +Moved the setting of _clipPlaneNum from the {} body to the intializer list to avoid reading from an unitialized variable. - * From Martin Lavery, Updates to Packages +Fri, 18 Jan 2008 20:55:16 +0000 +Checked in by : Robert OSFIELD +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." -2007-06-15 16:17 robert +Fri, 18 Jan 2008 16:36:05 +0000 +Checked in by : Robert OSFIELD +Added support for rendering skirts into osgTerrain::GeometryTechinque - * Updated ChangeLog +Fri, 18 Jan 2008 09:17:32 +0000 +Checked in by : Robert OSFIELD +Added getNumOperationsInQueue() method -2007-06-15 16:08 robert +Thu, 17 Jan 2008 22:26:29 +0000 +Checked in by : Robert OSFIELD +Commented out debug message - * Fixed namespace +Thu, 17 Jan 2008 22:25:41 +0000 +Checked in by : Robert OSFIELD +Added computation of skirt height for osgTerrain::Terrain height fields. -2007-06-15 14:57 robert +Thu, 17 Jan 2008 17:10:12 +0000 +Checked in by : Robert OSFIELD +Added call to ClusterCullingCallback to determine if the Terrain node is culled by cluster culling. - * Added default values for ambientBias +Thu, 17 Jan 2008 16:41:46 +0000 +Checked in by : Robert OSFIELD +Added Node to Terrain serialization -2007-06-15 14:26 robert +Thu, 17 Jan 2008 15:37:35 +0000 +Checked in by : Robert OSFIELD +Fixed the computation of terrain bounding volume so that it properly accounts for elevation layers - * From Martin Lavery, Update to Packaging +Wed, 16 Jan 2008 15:05:04 +0000 +Checked in by : Robert OSFIELD +Changed the Texture clamp mode to CLAMP_TO_EDGE -2007-06-15 14:02 robert +Mon, 14 Jan 2008 14:53:57 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Removed now redundent file +Mon, 14 Jan 2008 14:53:49 +0000 +Checked in by : Robert OSFIELD +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. -2007-06-15 13:43 robert +Mon, 14 Jan 2008 13:14:38 +0000 +Checked in by : Robert OSFIELD +Added back in checks for various verions of gdal - * For Win32 added BUILD_MFC_EXAMPLE option, default to OFF to try - and avoid - issues with users without MFC installed. - --This line, and +Mon, 14 Jan 2008 12:14:38 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file and osgversion for 2.3.2 release -2007-06-15 13:12 robert +Mon, 14 Jan 2008 11:44:04 +0000 +Checked in by : Robert OSFIELD +Added geometry shader extension supported check to geometry shader parameter calls - * Fixed handling of cases when no matrix is attached to - intersections +Mon, 14 Jan 2008 11:30:39 +0000 +Checked in by : Robert OSFIELD +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." -2007-06-15 12:59 robert +Mon, 14 Jan 2008 11:22:23 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, date and version number for 2.6.2 release - * Added ShadowMap::s/getAmbientBias, updated NEWS and wrappers +Mon, 14 Jan 2008 11:07:30 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-15 12:48 robert +Mon, 14 Jan 2008 10:14:32 +0000 +Checked in by : Robert OSFIELD +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. +" - * Updated README. -2007-06-15 12:41 robert - * Changed the version format. +Fri, 11 Jan 2008 12:16:19 +0000 +Checked in by : Robert OSFIELD +From Adrian Egli, made the getHandled() functionality consistent with the rest of the osgGA::MatrixManipulators -2007-06-15 10:15 robert +Thu, 10 Jan 2008 11:08:11 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, added OSGUTIL_EXPORT for Windows build - * Updated version numbers for 2.0 release +Thu, 10 Jan 2008 11:02:21 +0000 +Checked in by : Robert OSFIELD +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." -2007-06-15 10:12 robert +Wed, 9 Jan 2008 21:17:10 +0000 +Checked in by : Robert OSFIELD +Indentation/bracket fixes and change of default size - * 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, 9 Jan 2008 21:00:38 +0000 +Checked in by : Robert OSFIELD +Simplified the image reading/writing -2007-06-15 09:29 robert +Wed, 9 Jan 2008 16:56:31 +0000 +Checked in by : Robert OSFIELD +Adding missing files - * Fixed null pointer derefence bug +Wed, 9 Jan 2008 16:35:55 +0000 +Checked in by : Robert OSFIELD +Added support for reading and writing osgTerrain objects -2007-06-15 08:36 robert +Wed, 9 Jan 2008 14:22:44 +0000 +Checked in by : Robert OSFIELD +Added setting of UpdateVisitor's FrameStamp and TraversalNumber in updateTraversal() - * Addded missing namespace +Wed, 9 Jan 2008 11:42:19 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, build fix for VS8. -2007-06-14 22:22 robert +Tue, 8 Jan 2008 23:20:30 +0000 +Checked in by : Eric WING +Updates to resync Xcode project with current state of repository.Added several missing plugins (e.g. osgdb_osgShadow, osgdb_osgViewer, osgdb_Terrain). - * From Martin Lavery, Packaging Update +Added dependency information hoping that the Xcode 3 parallel target building will work now. -2007-06-14 21:03 robert - * Updated wrappers +Tue, 8 Jan 2008 18:13:06 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, build fixes for Solaris. -2007-06-14 20:58 robert +Tue, 8 Jan 2008 17:18:11 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, Warning fixes - * Included shaders directly into source, added support for toggle - lighting on/off +Tue, 8 Jan 2008 16:09:01 +0000 +Checked in by : Robert OSFIELD +Added support for reading and writing the Terrain's Locator -2007-06-14 20:49 robert +Tue, 8 Jan 2008 15:20:02 +0000 +Checked in by : Robert OSFIELD +Added writing and reading of inlined HeightField - * From Martin Lavery, Packaging Updates +Tue, 8 Jan 2008 14:38:58 +0000 +Checked in by : Robert OSFIELD +Removed non standard and redundent /*EOF*/ -2007-06-14 20:48 robert +Tue, 8 Jan 2008 14:37:09 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Martin Lavery, Packaging Updates +Tue, 8 Jan 2008 14:29:44 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, support for geometry shaders, and osgeometryshaders example to demonstrate them. -2007-06-14 20:22 robert +Tue, 8 Jan 2008 14:22:59 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * From Martin Lavery, Install script for the Xcode build +Tue, 8 Jan 2008 13:56:21 +0000 +Checked in by : Robert OSFIELD +Added support for MinLevel and MaxLevel for ProxyLayer -2007-06-14 19:17 robert +Tue, 8 Jan 2008 13:24:29 +0000 +Checked in by : Robert OSFIELD +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. - * Fixed typo +Tue, 8 Jan 2008 13:22:55 +0000 +Checked in by : Robert OSFIELD +Removed debug info -2007-06-14 16:09 robert +Tue, 8 Jan 2008 13:10:59 +0000 +Checked in by : Robert OSFIELD +Reorganised the .osg support for osgTerrain NodeKit to make it more extensible - * From Martin Lavery, Fix to packaging +Mon, 7 Jan 2008 09:47:36 +0000 +Checked in by : Robert OSFIELD +Added OSGUTIL_EXPORTs -2007-06-14 15:51 robert +Sun, 6 Jan 2008 17:53:21 +0000 +Checked in by : Robert OSFIELD +Added missing #include - * From Martin Lavery, addition of Packaging directory +Sun, 6 Jan 2008 10:52:23 +0000 +Checked in by : Robert OSFIELD +Added exports for Windows build -2007-06-13 21:15 robert +Fri, 4 Jan 2008 20:03:35 +0000 +Checked in by : Robert OSFIELD +Fixed date - * Updated wrapers, changelog, README and AUTHORS files for 1.9.9 - release +Fri, 4 Jan 2008 20:00:18 +0000 +Checked in by : Robert OSFIELD +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.) -2007-06-13 21:00 robert +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. - * Updated wrappers and Version numbers for 1.9.9 release +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. +" -2007-06-13 20:56 robert - * 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... - - " -2007-06-13 20:52 robert +Fri, 4 Jan 2008 15:33:21 +0000 +Checked in by : Robert OSFIELD +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" - * Added ability to set the keyboard bindings in the - RecordaAnimationPathHandler +Fri, 4 Jan 2008 15:30:49 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Correction to size of reserved filed in .attr file, Spec says "149*4" bytes, not "149"" -2007-06-13 20:34 robert +Fri, 4 Jan 2008 15:15:48 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Jeremy Moles & Robert Osfield, Added support for playback of - animation paths using 'Z' key +Fri, 4 Jan 2008 13:57:36 +0000 +Checked in by : Robert OSFIELD +Added catch for handling cases where undefined settings for dislayNum and screenNum are used -2007-06-13 19:54 robert +Fri, 4 Jan 2008 12:03:54 +0000 +Checked in by : Robert OSFIELD +Updated data on readme - * Added clear() +Fri, 4 Jan 2008 12:03:24 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for 2.3.1 release -2007-06-13 19:53 robert +Fri, 4 Jan 2008 11:45:25 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.3.1 release - * Added new shader support +Fri, 4 Jan 2008 11:44:35 +0000 +Checked in by : Robert OSFIELD +Updated logs for 2.3.1 releae -2007-06-13 19:44 robert +Fri, 4 Jan 2008 11:26:21 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, support for contiuation records. - * From John Shue, fixed typo in CMakeLists.txt +Fri, 4 Jan 2008 11:14:11 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, completion of .ive and .osg support for OcclusionQueryNode -2007-06-13 15:32 robert +Wed, 26 Dec 2007 22:00:28 +0000 +Checked in by : Robert OSFIELD +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." - * Added passing of arugments into viewer constructor +Wed, 26 Dec 2007 21:43:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-13 14:42 robert +Wed, 26 Dec 2007 21:39:29 +0000 +Checked in by : Robert OSFIELD +From David Callu, further work in support of shapefile support in VirtualPlanetBuilder - * Removed SunOS hack as it didn't work.. +Wed, 26 Dec 2007 21:38:11 +0000 +Checked in by : Robert OSFIELD +Suppressed reflection of problem templates/typedefs -2007-06-13 14:05 robert +Tue, 25 Dec 2007 21:11:27 +0000 +Checked in by : Robert OSFIELD +Replaced values.h with float.h is avoid Windows compile issues - * Wired up new shaders +Mon, 24 Dec 2007 15:37:15 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-13 13:41 robert +Mon, 24 Dec 2007 15:32:15 +0000 +Checked in by : Robert OSFIELD +Fom Brede Johansen, "I have added the OSGPL license to the OpenFlight source files" - * Added better handling of 0,0,0 values +Mon, 24 Dec 2007 15:19:52 +0000 +Checked in by : Robert OSFIELD +From Sid Byce, fixes for compiling with gcc 4.3 -2007-06-13 11:09 robert +Mon, 24 Dec 2007 14:47:49 +0000 +Checked in by : Robert OSFIELD +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. " - * Added OSG_SCREEN and OSG_WINDOW env var checking in the - Viewer::realize() +Mon, 24 Dec 2007 14:45:31 +0000 +Checked in by : Robert OSFIELD +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-06-13 10:45 robert +Mon, 24 Dec 2007 12:56:19 +0000 +Checked in by : Robert OSFIELD +Based on Suggestions from "Harald A" fixed CMake setup of Doxygen docs - * Updated wrappers +Sun, 23 Dec 2007 18:15:54 +0000 +Checked in by : Robert OSFIELD +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-06-13 10:38 robert +Sun, 23 Dec 2007 13:45:37 +0000 +Checked in by : Robert OSFIELD +Moved Font code across to using FontSizePair internally and on Font methods, but still using original implemetations. - * 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. +Sun, 23 Dec 2007 13:18:40 +0000 +Checked in by : Robert OSFIELD +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-06-13 10:31 robert - * From Martin Lavery, osgShadow plugin added to Xcode project. -2007-06-13 10:12 robert +Sun, 23 Dec 2007 13:08:14 +0000 +Checked in by : Robert OSFIELD +Fixed indentation - * Fixed versioning +Fri, 21 Dec 2007 17:56:41 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, added new version of feetype into search list -2007-06-13 09:56 robert +Fri, 21 Dec 2007 17:33:00 +0000 +Checked in by : Robert OSFIELD +Added copyright notice and tweaked genwrapper - * Removed ParallelSplitShadowMap as its currently a non op. +Fri, 21 Dec 2007 17:26:19 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-13 08:56 robert +Fri, 21 Dec 2007 16:18:54 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "added include to prevent VS8 compile error" - * Added -lrt in for SunOS build +Fri, 21 Dec 2007 15:54:14 +0000 +Checked in by : Robert OSFIELD +Removed OperationArrayFunctor for wrappers to avoid compile errors assocaited with them -2007-06-12 19:46 robert +Fri, 21 Dec 2007 15:46:50 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate inline - * Updated wrappers +Fri, 21 Dec 2007 15:04:56 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-12 18:58 robert +Fri, 21 Dec 2007 14:49:49 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, .osg support for OcclusionQueryNode - * Added StatsHandler +Fri, 21 Dec 2007 14:45:16 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, Introduced osg::OcclusionQueryNode with support for OpenGL occlusion query extension -2007-06-12 18:56 robert +Fri, 21 Dec 2007 14:21:21 +0000 +Checked in by : Robert OSFIELD +From Bryan Thrall, "UFOManipulator ignores any attached CoordinateFrameCallback; the attached files fix this (based on 2.2 release). " - * Refactored the dome correction code to support movie flipping. +Fri, 21 Dec 2007 14:16:40 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Something to extend the texture subloading blacklist. ... we have problems with that on solaris." -2007-06-12 16:55 robert +Fri, 21 Dec 2007 14:13:40 +0000 +Checked in by : Robert OSFIELD +From John Kelso,"Attached is the ive reader/writer for the 2.x version of the osg::Sequence node. " - * 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. +Fri, 21 Dec 2007 13:32:13 +0000 +Checked in by : Robert OSFIELD +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-06-12 15:57 robert +Fri, 21 Dec 2007 13:31:25 +0000 +Checked in by : Robert OSFIELD +Added return - * Added in QT4 keyboard event adaption +Fri, 21 Dec 2007 13:18:13 +0000 +Checked in by : Robert OSFIELD +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. -2007-06-12 15:52 robert +This is a simple fix for that, which updates the _now time regardless +of the mode the sequence is in." - * UPdated wrappers -2007-06-12 15:38 robert - * 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. - " +Fri, 21 Dec 2007 13:07:54 +0000 +Checked in by : Robert OSFIELD +From David Callu, various classes in support of VirtualPlanetBuilder -2007-06-12 15:32 robert +Fri, 21 Dec 2007 12:36:40 +0000 +Checked in by : Robert OSFIELD +From David Callue, added support for reading/writing Vec*dArray to .ive plugin - * Moved the className, libraryName and isSameAs into public. +Thu, 20 Dec 2007 17:30:31 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-12 14:43 robert +Thu, 20 Dec 2007 15:51:13 +0000 +Checked in by : Robert OSFIELD +Added support for min to max level ranges for Layers in support of VirtualPlanetBuilder usage of this. - * Changed _data to _movieData to avoid possible confusion +Thu, 20 Dec 2007 15:50:07 +0000 +Checked in by : Robert OSFIELD +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-06-12 14:20 robert +Thu, 20 Dec 2007 15:40:14 +0000 +Checked in by : Robert OSFIELD +Reset the the _lineSpacing to 0.0f to fix the line spacing when word wrapping takes place - * From Martin Lavery and Robert Osfield, Updated examples to use a - variation of the MIT License +Thu, 20 Dec 2007 14:40:28 +0000 +Checked in by : Robert OSFIELD +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. -2007-06-12 11:31 robert +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." - * From Martin Lavery, fix to Xcode Resources -2007-06-12 10:37 robert - * From Martin Lavery, Fix of OpenSceneGraph-Data linking +Thu, 20 Dec 2007 10:48:23 +0000 +Checked in by : Robert OSFIELD +Reorder includes in an attempt to avoid compile problems under Cygwin. -2007-06-12 10:19 robert +Mon, 17 Dec 2007 21:52:29 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS files - * Build fixes for QT4 +Mon, 17 Dec 2007 21:35:33 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 2.3.0 release -2007-06-12 09:55 robert +Mon, 17 Dec 2007 21:08:52 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.3.0 dev release - * Changed the throw dection time to 0.02 +Mon, 17 Dec 2007 18:38:21 +0000 +Checked in by : Robert OSFIELD +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}) -2007-06-12 08:30 robert +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. +" + + + +Mon, 17 Dec 2007 17:43:57 +0000 +Checked in by : Robert OSFIELD +From David Cullu, added various mathematical operators + +Mon, 17 Dec 2007 10:24:20 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find an updated carbon-implementation, which implements the missing functionality for setWindowName and useCursor " + +Mon, 17 Dec 2007 10:22:41 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Work in progress on perspective view dependant codes +Mon, 17 Dec 2007 09:58:55 +0000 +Checked in by : Robert OSFIELD +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). -2007-06-12 08:29 robert +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. - * Added screen number, and flip support into dome correction codes. +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. -2007-06-12 08:28 robert +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: - * From Stephan Huber, "the computation of the windowtitlebar-height - was wrong, attached you'll - find a fixed version for GraphicsWindowCarbon.cpp - " + OSGA_Archive::pos_type ARCHIVE_POS( const std::streampos & pos ); + std::streampos STREAM_POS( OSGA_Archive::pos_type & pos ); -2007-06-10 20:46 robert +Rest of the OSGA implementation code was modified to call these conversions +explicitly with seekp, seekg, tellp, tellg. - * Added support for specifying external overlay file. +--- +Problem 2: seekp and seekg have two variants. Only one of these variants is +actually 64 bit proof. -2007-06-10 20:12 robert +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. - * Updated wrappers +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 ). +--- -2007-06-10 19:53 robert +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. +" + + + +Sun, 16 Dec 2007 17:57:19 +0000 +Checked in by : Robert OSFIELD +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. +" + + + +Sun, 16 Dec 2007 17:53:16 +0000 +Checked in by : Robert OSFIELD +Added check to make set up a sequencegroup only happen when required. + +Sun, 16 Dec 2007 17:46:57 +0000 +Checked in by : Robert OSFIELD +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. +" + + + +Sun, 16 Dec 2007 17:41:46 +0000 +Checked in by : Robert OSFIELD +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. " + +Sun, 16 Dec 2007 17:33:05 +0000 +Checked in by : Robert OSFIELD +Fixed HeightField coordinates set up + +Sun, 16 Dec 2007 17:01:40 +0000 +Checked in by : Robert OSFIELD +Added intializers. + +Sun, 16 Dec 2007 16:18:58 +0000 +Checked in by : Robert OSFIELD +Added support for automatically setting the coordinate system of a shapefile by reading associate .prj file + +Sun, 16 Dec 2007 13:29:02 +0000 +Checked in by : Robert OSFIELD +Added parsing of parameters to Viewer constructor. + +Sun, 16 Dec 2007 13:25:40 +0000 +Checked in by : Robert OSFIELD +Added StateSetManipulator for testing purposes, and fixed typo + +Sun, 16 Dec 2007 13:20:38 +0000 +Checked in by : Robert OSFIELD +Removed used of ref_ptr<>'s internally to avoid ciricular calls on destruction. - * 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. +Sun, 16 Dec 2007 12:36:52 +0000 +Checked in by : Robert OSFIELD +Added initilizers of variables to FreeTypeFont3D constructors.Removed unused FreeTypeFontBase class -2007-06-10 19:22 robert - * 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 +Sat, 15 Dec 2007 17:16:11 +0000 +Checked in by : Robert OSFIELD +Fixed handling of DISPLAY variable, and mapped the rest of Producer config settings - * 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. - " +Sat, 15 Dec 2007 17:15:19 +0000 +Checked in by : Robert OSFIELD +Commented out rendendent warnings -2007-06-10 18:17 robert +Sat, 15 Dec 2007 17:15:05 +0000 +Checked in by : Robert OSFIELD +commented out rendudent warning - * From Olaf Flebbe, "support current zlib and libpng library names - for win32 3rdParty builds." +Sat, 15 Dec 2007 15:22:00 +0000 +Checked in by : Robert OSFIELD +Added setting of ambient bias uniform -2007-06-10 09:51 robert +Sat, 15 Dec 2007 15:19:18 +0000 +Checked in by : Robert OSFIELD +Added separate unform variable to keep track of abmient contribution. - * Improved the set up of static build, added freetype plugin to - plugins that support static usage +Sat, 15 Dec 2007 15:17:51 +0000 +Checked in by : Robert OSFIELD +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-06-09 19:18 robert +Fri, 14 Dec 2007 17:40:11 +0000 +Checked in by : Robert OSFIELD +Refectored the loading of Locator out into its own separate file - * Added default file in case no file arguments are provided. - Changed to use - standard ThreadingHandler by default. +Thu, 13 Dec 2007 17:51:43 +0000 +Checked in by : Robert OSFIELD +Added Locator::s/getTransformScaledByResolution(bool) to assist with VPB integration -2007-06-09 17:58 robert +Thu, 13 Dec 2007 16:06:02 +0000 +Checked in by : Robert OSFIELD +Warning fixes - * Improved the detection of throwing of the mouse. +Thu, 13 Dec 2007 15:24:42 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, build fixes for Solaris -2007-06-09 10:18 robert +Thu, 13 Dec 2007 15:23:21 +0000 +Checked in by : Robert OSFIELD +Convert tabs to four spaces - * Updated wrappers +Thu, 13 Dec 2007 14:26:03 +0000 +Checked in by : Robert OSFIELD +Fixed memory leak -2007-06-09 10:07 robert +Thu, 13 Dec 2007 14:16:51 +0000 +Checked in by : Robert OSFIELD +Updated the shapefile attribute IO so that its more streamlined. - * Removed the command line parameters form the examples that now - have a default - file built into them. - -2007-06-09 10:06 robert - - * 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 - - * Added debug code path that prints out font details. - -2007-06-08 16:47 robert - - * From Eric Wing, interface files - -2007-06-08 16:05 robert - - * Removed empty directory +Thu, 13 Dec 2007 12:30:31 +0000 +Checked in by : Robert OSFIELD +Added copy operator to ShapeAttribute to prevent problems when assigned them or use within a vector -2007-06-08 16:05 robert +Wed, 12 Dec 2007 17:59:06 +0000 +Checked in by : Robert OSFIELD +Added a osgViewer::setSceneData(ref_ptr) method. - * Removed empty directory +Wed, 12 Dec 2007 17:48:20 +0000 +Checked in by : Robert OSFIELD +Added new setFont(ref_ptr<>) variants to Text and Text3D -2007-06-08 15:37 robert +Wed, 12 Dec 2007 17:04:48 +0000 +Checked in by : Robert OSFIELD +From Serge Lages, introduce readRef*File() methods which pass back ref_ptr<> rather than C pointers. - * From Martin Lavery and Robert Osfield, added fallbacks for when - now command line args are provided. +Wed, 12 Dec 2007 16:56:28 +0000 +Checked in by : Robert OSFIELD +Updated copyright notices -2007-06-08 15:29 robert +Wed, 12 Dec 2007 16:55:13 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, build fixes for Solaris. - * Added fallback for when no command line args are provied. +Wed, 12 Dec 2007 11:57:03 +0000 +Checked in by : Robert OSFIELD +Added std:: infront of sort call -2007-06-08 15:11 robert +Wed, 12 Dec 2007 10:47:58 +0000 +Checked in by : Robert OSFIELD +Added const to operators. - * Added default file when no command line options are supplied. +Wed, 12 Dec 2007 10:35:47 +0000 +Checked in by : Robert OSFIELD +Added std:: in front of find enties -2007-06-08 15:06 robert +Wed, 12 Dec 2007 09:48:39 +0000 +Checked in by : Robert OSFIELD +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." - * Added fallback for when no command line args are passed in. +Wed, 12 Dec 2007 09:45:29 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Function declaration returns a bool, function body was returning a pointer. Changed body to return (pointer != NULL)." -2007-06-08 15:03 robert +Tue, 11 Dec 2007 17:19:40 +0000 +Checked in by : Robert OSFIELD +From Cyril Brulebois, removed redundent typedef. - * From Martin Lavery, Linking of example Data files for the Xcode - Projects +Tue, 11 Dec 2007 17:01:53 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-08 12:16 robert +Tue, 11 Dec 2007 16:42:10 +0000 +Checked in by : Robert OSFIELD +From Brede Johnansen, support for continuation records. - * Removed command line args for examples ported across to not need - them. +Tue, 11 Dec 2007 16:34:37 +0000 +Checked in by : Robert OSFIELD +From Karl Heijdenberg, moved set/getFrameStamp() from osgViewer::View to osg::View. -2007-06-08 12:15 robert +Tue, 11 Dec 2007 15:55:02 +0000 +Checked in by : Robert OSFIELD +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." - * Added default command line arg +Tue, 11 Dec 2007 14:48:51 +0000 +Checked in by : Robert OSFIELD +Added missing copyright notices -2007-06-08 12:13 robert +Tue, 11 Dec 2007 14:39:15 +0000 +Checked in by : Robert OSFIELD +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. +" - * Added default file load to avoid the need for command line - option. -2007-06-08 11:04 robert - * 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. - " +Tue, 11 Dec 2007 14:06:45 +0000 +Checked in by : Robert OSFIELD +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-06-08 10:58 robert +" - * 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 - - * From Eric Wing, build fix - -2007-06-08 10:43 robert - - * From Eric Wing, build fix - -2007-06-08 10:42 robert - - * Updated wrappers - -2007-06-08 10:22 robert - - * 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 - - * 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 - - * 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 - - * Added clean up of the view before destruction of the window - -2007-06-08 09:17 robert - - * Added const get*Matrix() methods - -2007-06-08 05:03 ewing - - * 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 - - * 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 - * Stephan Huber: fixed deploy-build for osgViewer +Tue, 11 Dec 2007 12:35:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-07 21:07 robert +Tue, 11 Dec 2007 12:32:31 +0000 +Checked in by : Robert OSFIELD +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: - * Updated wrappers + 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. -2007-06-07 20:26 robert + Move the sorting of the dataToCompile queue out of compileGLObjects + into the man pager run function. - * Commented out the Scene Stats entry as its not implemented yet. + Change the SharedStateManager to use maps instead of vectors." + -2007-06-07 20:22 robert - * From Martin Lavery, StatsHandler added to the ViewerCocoa example -2007-06-07 13:49 robert +Tue, 11 Dec 2007 11:57:32 +0000 +Checked in by : Robert OSFIELD +From Joseph Steel, "he change is to initializeExtensionProcs() to verify the version of the OpenGL implementation before attempting to get the MaxTextureCoords parameter." - * From Martin Lavery, update of *.nib files +Tue, 11 Dec 2007 11:55:15 +0000 +Checked in by : Robert OSFIELD +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-06-07 13:48 robert - * From Martin Lavery, update of *.nib files -2007-06-07 13:44 robert +Tue, 11 Dec 2007 11:42:02 +0000 +Checked in by : Robert OSFIELD +From Mathias Froechlich, "I have extended the StateSet api with aStateSet::removeAssociatedModes(const StateAttribute*) - * From Martin Lavery, update of *.nib files +and a -2007-06-07 13:31 robert +StateSet::removeAssociatedTextureModes(unsigned, const StateAttribute*) - * From Martin Lavery, update of *.nib files +call. These funktions are just missing for a complete api IMO." -2007-06-07 13:25 robert - * From Martin Lavery, update of *.nib files -2007-06-07 12:55 robert +Tue, 11 Dec 2007 11:37:03 +0000 +Checked in by : Robert OSFIELD +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." - * From Martin Lavery, port of ViewerCocoa and updates to Xcode - projects -2007-06-07 12:47 robert - * Removed the old SimpleView version of the Cocoa example +Tue, 11 Dec 2007 11:21:13 +0000 +Checked in by : Robert OSFIELD +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-06-07 12:46 robert +Mon, 10 Dec 2007 20:56:26 +0000 +Checked in by : Robert OSFIELD +From Sherman Wilcox, "In ESRIShapeParser.cpp, wasn't closing the file handle. Added: if(fd) + { + close(fd); + fd = 0; + } - * Removed now not need SimpleViewer -2007-06-07 12:23 robert +to the constructor." - * Added automatic stopping of animation when home() is called -2007-06-07 12:05 robert - * 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." -2007-06-07 11:19 robert +Mon, 10 Dec 2007 20:36:34 +0000 +Checked in by : Robert OSFIELD +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." - * Introduced a destruct method to help clean up the Registry. +Mon, 10 Dec 2007 20:35:50 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-06-07 11:06 robert +Mon, 10 Dec 2007 20:33:22 +0000 +Checked in by : Robert OSFIELD +From Richard Schmidt, fix on ordering to be standard OpenGL way. - * Revert the signOrZero cade path in the getRotate() to fix bugs. +Mon, 10 Dec 2007 20:30:05 +0000 +Checked in by : Robert OSFIELD +From Richard Schmidt, "attached you will find a set of small fixes and features.CullVisitor/SceneView: -2007-06-07 11:05 robert +*Feature: This version supports multiple clearnodes in the graph, one per renderstage. - * Added support for using quat_scaled sx sy sz for testing getting - quats from scaled - matrices. Removed broken Matrixd/quat test + -2007-06-07 09:58 robert +Text: - * Added View::home() method and updated wrappers +*Feature: Performance Enhancement when calling SetBackdropColor -2007-06-07 09:24 robert + - * Removed redundent files +Material: -2007-06-07 08:52 robert +*Fix: OpenGL calls are now made according to the OpenGL Standard - * Updated wrappers +" -2007-06-06 21:57 robert - * Updated ChangeLog, AUTHORES and README to 1.9.8 release -2007-06-06 21:43 robert +Mon, 10 Dec 2007 20:27:06 +0000 +Checked in by : Robert OSFIELD +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 " - * Updated version numbers for release +Mon, 10 Dec 2007 19:51:33 +0000 +Checked in by : Robert OSFIELD +From David Callu, IO support for Text3D -2007-06-06 17:01 robert +Mon, 10 Dec 2007 19:49:17 +0000 +Checked in by : Robert OSFIELD +From David Callu, Text3D - * Revert the setting of SingleThreaded under Windows in - suggestBestThreadingModel() +Mon, 10 Dec 2007 17:30:18 +0000 +Checked in by : Robert OSFIELD +From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)." -2007-06-06 16:27 robert +Mon, 10 Dec 2007 16:21:13 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added #include +Mon, 10 Dec 2007 16:14:21 +0000 +Checked in by : Robert OSFIELD +Added osgViewerGetVersion() usage to force Windows to link osgViewer. -2007-06-06 16:23 robert +Mon, 10 Dec 2007 15:15:56 +0000 +Checked in by : Robert OSFIELD +From David Callu, added support of 3D text to osgText and associated plugins. - * Fixed includes +Mon, 10 Dec 2007 12:45:16 +0000 +Checked in by : Robert OSFIELD +From David Callu, added support for automatically reading associate dbase files -2007-06-06 15:22 robert +Mon, 10 Dec 2007 12:00:09 +0000 +Checked in by : Robert OSFIELD +Char char[] to char* with new allocation. - * 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." +Mon, 10 Dec 2007 11:34:00 +0000 +Checked in by : Robert OSFIELD +Refactored record allocation to fix build errors under Windows. -2007-06-06 14:51 robert +Mon, 10 Dec 2007 11:20:22 +0000 +Checked in by : Robert OSFIELD +Added export macro for windows build - * Fixed includes +Mon, 10 Dec 2007 10:16:13 +0000 +Checked in by : Robert OSFIELD +Added include to fix compile errors under gcc 4.3 -2007-06-06 13:45 robert +Sun, 9 Dec 2007 16:38:33 +0000 +Checked in by : Robert OSFIELD +From Gustavo Wagner, fixed bugs in reading M records from shapefile - * From Martin Lavery, Updates to Xcode project +Sun, 9 Dec 2007 16:29:18 +0000 +Checked in by : Robert OSFIELD +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: -2007-06-06 11:34 robert +http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.2.0 - * 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." +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. -2007-06-06 11:28 robert +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. +" - * From Olaf Flebbe, "an implementation of GraphicsWindow::setCursor - for WIN32." -2007-06-06 11:21 robert - * Moved HelpHandler and StatsHandler classes into - ViewerEventHandlers header, removed HelpHandler and StatsHandler - headers +Sun, 9 Dec 2007 16:23:19 +0000 +Checked in by : Robert OSFIELD +Removed redundent OpenFlightOptimizer -2007-06-06 11:10 robert +Sun, 9 Dec 2007 16:14:07 +0000 +Checked in by : Robert OSFIELD +From Ralf Karn, fixed "invalid enumerant" warning on TEXTURE_2D_ARRAY_EXT initialization - * Updated wrappers +Sun, 9 Dec 2007 16:06:14 +0000 +Checked in by : Robert OSFIELD +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-06-06 10:58 robert +Sun, 9 Dec 2007 16:01:29 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Moved SimpleViewer from osgViewer into the osgviewerCocoa example - directory as this - is the only place in the OSG that now relies upon SimpleViewer. +Sun, 9 Dec 2007 15:43:49 +0000 +Checked in by : Robert OSFIELD +From David Callu, added DBase attribute support for shapefiles -2007-06-06 10:57 robert +Sun, 9 Dec 2007 14:54:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added support for passing in ArgumentParser in Viewer and - CompositeViewer constructor +Sun, 9 Dec 2007 12:19:06 +0000 +Checked in by : Robert OSFIELD +From Aderian Egli, changed the window dimension clamping code to work independantly for width and height. -2007-06-06 08:59 robert +Sat, 8 Dec 2007 17:10:07 +0000 +Checked in by : Robert OSFIELD +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." - * From Marin Lavery and Robert Osfield, XCode build fixes +Sat, 8 Dec 2007 17:04:52 +0000 +Checked in by : Robert OSFIELD +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-06-05 20:42 robert - * From Martin Lavery, XCode build fixes -2007-06-05 19:44 robert +Sat, 8 Dec 2007 17:00:38 +0000 +Checked in by : Robert OSFIELD +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." - * Renamed osgmultiplecameras to osgcompositeviewer +Sat, 8 Dec 2007 16:52:27 +0000 +Checked in by : Robert OSFIELD +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-06-05 19:41 robert - * Renamed osgmultiplecamrea to osgcompositeviewer -2007-06-05 19:40 robert - * Added CompositeViewer support into FLTK example +Sat, 8 Dec 2007 16:37:05 +0000 +Checked in by : Robert OSFIELD +From Peter Hrenka, "Due to popular demand I would like to submit this enhanced version of PolytopeIntersector.New features of PolytopeIntersector : -2007-06-05 19:36 shuber +* 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. - * from Stephan Huber: fixed build path for OpenThreads, so osg - builds cleanly +New memebers of PolytopeIntersector::Intersection : -2007-06-05 19:10 robert +* 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 - * Added support for CompositeViewer -2007-06-05 17:19 robert +I added some more output to the example osgkeyboardmouse." - * Improved the wording of CMake instructions -2007-06-05 17:18 robert - * From Martin Lavery, build fixes fo latest file additions +Sat, 8 Dec 2007 15:46:19 +0000 +Checked in by : Robert OSFIELD +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-06-05 14:37 robert - * Change interator to const_iterator to try and avoid Solaris build - failure -2007-06-05 11:18 robert - * From Per Fahlberg, "added use of the internal format specified in - the OpenFlight format attr files." +Sat, 8 Dec 2007 15:32:16 +0000 +Checked in by : Robert OSFIELD +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-06-04 21:31 robert +Fri, 7 Dec 2007 13:28:02 +0000 +Checked in by : Robert OSFIELD +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." - * Updated ChangeLog and AUTHORS.txt for 1.9.7 release -2007-06-04 21:02 robert - * Introduce OSG_BUILD_APPLICATION_BUNDLES option for OSX, - defaulting to OFF. +Fri, 7 Dec 2007 13:19:53 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, minor typo fixes in notify messages -2007-06-04 20:32 robert +Thu, 6 Dec 2007 17:53:22 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, added extra event handlers - * From Jeremy Moles and Rbert Osfeild, added extra details about - CMake build options. +Thu, 6 Dec 2007 17:44:56 +0000 +Checked in by : Robert OSFIELD +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-06-04 19:33 robert - * 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!!! -2007-06-04 17:11 robert +Thu, 6 Dec 2007 17:41:20 +0000 +Checked in by : Robert OSFIELD +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) +... - * Added control of threading model, setting default to - SingleThreaded to avoid crash - associated with mixing useCursor(false) and multi-threading. +does not cover this situation. In these situations clientRect.bottom = 0 +and clientRect.right > 0. -2007-06-04 16:20 robert +Quick fix to this is relax condition: + if (clientRect.bottom==0 || clientRect.right==0) - * Updated version for 1.9.7 release +Modified file is attached. -2007-06-04 15:11 robert +Tested with osgviewerMFC from 2.2.0 release (Windows XP sp2) - * Fixed stray control character +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 -2007-06-04 15:05 robert +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. +" - * Warning fix -2007-06-04 14:47 robert - * Cleaned up example +Thu, 6 Dec 2007 17:31:00 +0000 +Checked in by : Robert OSFIELD +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. -2007-06-04 14:46 robert +Corresponding environment variables have been added too. +The default values reproduce the previous DatabasePager behavior." - * From Martin Lavery and Robert Osfield, ported fltk example to - osgViewer::Viewer -2007-06-04 13:45 robert - * Added local FindFLTK.cmake to avoid problems with FLTK no being - found by standard - CMake FindFLTK.cmake. -2007-06-04 11:47 robert +Thu, 6 Dec 2007 17:28:29 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, fixes for toggle fullscreen on gnome desktop - * From Roger James, "Here are my fixes for transparency in the - Collada DAE reader." +Thu, 6 Dec 2007 17:07:04 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "n examples/osgfadetext/CMakeLists.txt osgSim as dependency is missing." -2007-06-04 11:14 robert +Thu, 6 Dec 2007 17:03:47 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Add missing includes. Fails on hp-ux." - * From Martin Lavery and Robert Osfield, added use of hardwarded - value kCGLCEMPEngine - to fix build failure on slightly older versions of OSX. +Thu, 6 Dec 2007 17:01:22 +0000 +Checked in by : Robert OSFIELD +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-06-04 10:56 robert +Thu, 6 Dec 2007 16:50:43 +0000 +Checked in by : Robert OSFIELD +From Wojiech Leandowski, fixed the hardwiring of archive extensions to 4 charaters - * Updated wrappers +Thu, 6 Dec 2007 10:04:25 +0000 +Checked in by : Robert OSFIELD +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-06-04 10:47 robert +Thu, 6 Dec 2007 09:22:41 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, added osgViewer dependency for OSX build - * Added osg::Hint class +Wed, 5 Dec 2007 18:32:15 +0000 +Checked in by : Robert OSFIELD +Changed WIN32 guard to _WIN32_IMPLEMENTATION to attempt to avoid Win32 build error -2007-06-04 08:38 robert +Wed, 5 Dec 2007 11:29:58 +0000 +Checked in by : Robert OSFIELD +Removed debugging line. - * Fixed spelling of Receives +Wed, 5 Dec 2007 11:23:27 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, first cut at Producer .cfg camera configuration file support. -2007-06-03 10:00 robert +Tue, 4 Dec 2007 14:46:46 +0000 +Checked in by : Robert OSFIELD +Added support for new double Vec*Array classes in various functors. - * Updated wrappers +Tue, 4 Dec 2007 14:46:08 +0000 +Checked in by : Robert OSFIELD +Added optional double support via new Vec3dArray support in osg::Geometry.To enable double usage set the option string "double" i.e. -2007-06-03 09:34 robert + osgviewer myshapefile.shf -O "double" + - * Added Viewer::setUpViewerAsEmbeddedInWindow convinience method -2007-06-03 09:11 robert - * Removed osgsimple example +Tue, 4 Dec 2007 14:44:49 +0000 +Checked in by : Robert OSFIELD +Added support for double Vec*Array objects -2007-06-03 09:09 robert +Tue, 4 Dec 2007 14:44:21 +0000 +Checked in by : Robert OSFIELD +Added double Vec*Array support - * Merged the osgviewerQT3 and QT4 examples into a single - osgviewerQT example, and - ported across from SimpleViewer to using Viewer +Tue, 4 Dec 2007 14:43:14 +0000 +Checked in by : Robert OSFIELD +Added testPolytope entry -2007-06-03 08:58 robert +Sat, 1 Dec 2007 15:30:35 +0000 +Checked in by : Robert OSFIELD +Fixed the Polytop::setFrustum and setBoundingBox method - * Changed external library specication +Wed, 21 Nov 2007 10:18:10 +0000 +Checked in by : Robert OSFIELD +Added a check against the makeCurrent() return type to make sure that OpenGL calls are only made if the makeCurrent() is successful. -2007-06-02 16:23 robert +Sat, 17 Nov 2007 11:50:13 +0000 +Checked in by : Robert OSFIELD +From Colin Dunlop, add --devices support. - * Ported across from SimpleViewer to using Viewer +Tue, 13 Nov 2007 17:03:36 +0000 +Checked in by : Robert OSFIELD +Added support for filename only setup of CompositeLayer on reading/writing. -2007-06-02 16:01 robert +Sat, 10 Nov 2007 03:43:23 +0000 +Checked in by : Eric WING +Added missing files for qt plugin - * Ported QT3 example across to use osgViewer::Viewer, and made it - possible to use the same source for both QT3 and QT4 +Fri, 9 Nov 2007 20:04:08 +0000 +Checked in by : Eric WING +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. -2007-06-02 15:31 robert +Fri, 9 Nov 2007 13:16:32 +0000 +Checked in by : Eric WING +OpenThreads Version header was mistakenly in Resources.osg Texture2DArray header was mistakenly in Resources. - * Added osgViewer::GraphicsWindowEmbedded and ported GLUT, SDL and - WX examples across from SimpleViewer to Viewer. -2007-06-02 12:03 robert +Fri, 9 Nov 2007 02:21:16 +0000 +Checked in by : Eric WING +Lots of Leopard information added. - * Ported GLUT example to using osgViewer::Viewer rather than - SimpleViewer by using - a local GraphicsWindowEmbedded class to help the adaption. +Thu, 8 Nov 2007 10:30:23 +0000 +Checked in by : Robert OSFIELD +From Colin Dunlop, added missing header (note from Robert Osfield, this submission was extracted from an inline submission so may be prone to errors). -2007-06-01 22:41 robert +Thu, 8 Nov 2007 10:30:06 +0000 +Checked in by : Eric WING +For Leopard freetype, path is $(SDKROOT)/usr/X11/lib not X11R6. - * Renamed all osgsimpleviewer* files to osgviewer* +Tue, 6 Nov 2007 12:07:23 +0000 +Checked in by : Robert OSFIELD +From Colin Dunlop, add live video stream support -2007-06-01 22:33 robert +Sun, 4 Nov 2007 16:08:05 +0000 +Checked in by : Robert OSFIELD +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 - * Renamed osgsimpleviewer* examples to osgviewer* in prep for - replacement of SimpleViewer by Viewer +Sun, 4 Nov 2007 15:21:48 +0000 +Checked in by : Robert OSFIELD +Changed the include definition so that it works under Cygwin. -2007-06-01 22:28 robert +Sat, 3 Nov 2007 10:32:18 +0000 +Checked in by : Robert OSFIELD +Fixed bug in addSlave - * updated wrapper +Wed, 31 Oct 2007 12:55:59 +0000 +Checked in by : Robert OSFIELD +Changed the spherical display intensity map set up to use colours rather than a second texture unit. -2007-06-01 21:38 robert +Wed, 31 Oct 2007 12:55:15 +0000 +Checked in by : Robert OSFIELD +Added getColor method to allow easy reading of individual pixels. - * 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 - - * 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 - - * 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 - - * Updated wrappers - -2007-06-01 19:45 robert - - * 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 - - * Updates to OverlayData - -2007-06-01 19:43 robert - - * 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 - - * Removed setViewUpOnScreen settings - -2007-06-01 19:19 robert - - * 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 - - * 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 - - * Removed the debug message for the ortho path. - -2007-06-01 19:01 robert - - * Improved the handling of the -p path option - -2007-06-01 18:27 robert - - * Work in progress on shaders support - -2007-06-01 16:14 robert +Wed, 31 Oct 2007 11:06:33 +0000 +Checked in by : Robert OSFIELD +Fixed wrap mode for panoramic display. - * From Paul Martz, added Win32 export +Tue, 30 Oct 2007 14:17:34 +0000 +Checked in by : Robert OSFIELD +Changed debug message from NOTICE to INFO. -2007-06-01 11:21 robert +Mon, 29 Oct 2007 00:36:47 +0000 +Checked in by : Eric WING +Fix for freetype plugin to be aware of SDKs (i.e. use SDKROOT). - * Added recording of camera paths +Thu, 25 Oct 2007 09:00:25 +0000 +Checked in by : Robert OSFIELD +Fixed the capitilization of the osgdb_osgfx plugin -2007-06-01 10:42 robert +Fri, 19 Oct 2007 09:58:11 +0000 +Checked in by : Robert OSFIELD +Fixed errors is setup of VBO/EBO's. - * Changed name of AnimationPathHandler to RecordCameraPathHandler +Fri, 19 Oct 2007 08:42:44 +0000 +Checked in by : Robert OSFIELD +Fix for setting scene data after slaves have been added. -2007-06-01 10:39 robert +Fri, 19 Oct 2007 08:39:07 +0000 +Checked in by : Robert OSFIELD +Fixed getOrCreateVertexBufferObject(). - * 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. +Wed, 17 Oct 2007 19:01:18 +0000 +Checked in by : Robert OSFIELD +Removed redundent X11/Intrinsic include -2007-05-30 17:56 robert +Tue, 16 Oct 2007 19:04:10 +0000 +Checked in by : Robert OSFIELD +Added flv to accepted list video format for the quicktime and xine-lib plugins - * Improved taper ratio computation +Tue, 16 Oct 2007 19:03:43 +0000 +Checked in by : Robert OSFIELD +Added flv to accepted list of formats -2007-05-30 16:36 robert +Tue, 16 Oct 2007 19:01:25 +0000 +Checked in by : Robert OSFIELD +Added flv to the list of accepted movie types - * Added set up of overlay stateset +Fri, 5 Oct 2007 11:48:41 +0000 +Checked in by : Eric WING +Forgot to bump version numbers to 2.2.0. -2007-05-30 14:18 robert +Fri, 5 Oct 2007 11:28:49 +0000 +Checked in by : Eric WING +Needed to remove dead header from precompiled header file. Minor fixes to readme. - * Added trapezodial fitting code +Fri, 5 Oct 2007 10:46:46 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "since we patched our hp to an other patchlevel, I need the following to include/osg/Texture" + +Fri, 5 Oct 2007 09:10:04 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, build fixes for Solaris. -2007-05-30 09:25 robert +Fri, 5 Oct 2007 09:03:51 +0000 +Checked in by : Robert OSFIELD +Changed the threading model to single threaded. - * Fixed case of when view==NULL +Thu, 4 Oct 2007 11:24:09 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 2.2 release -2007-05-29 18:39 ewing +Thu, 4 Oct 2007 11:20:18 +0000 +Checked in by : Robert OSFIELD +Added asView() method to GUIActionAdapter to help out with .NET wrappers. Updated wrappers - * Stephan Huber: Adding missing Xcode project file. +Thu, 4 Oct 2007 10:05:20 +0000 +Checked in by : Robert OSFIELD +Updated version for 2.2 release -2007-05-29 14:19 shuber +Thu, 4 Oct 2007 08:54:41 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, added support for extract a region for geospatial imagery - * From Stephan Huber, updated OpenThreads-XCode-project files +Wed, 3 Oct 2007 23:44:24 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, NEWS and AUTHORS file for 2.1.15 release -2007-05-29 13:28 robert +Wed, 3 Oct 2007 23:27:59 +0000 +Checked in by : Robert OSFIELD +Updated version for 2.1.15 dev release - * Added support for specifying which screen number to place the - window +Wed, 3 Oct 2007 23:03:13 +0000 +Checked in by : Robert OSFIELD +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-05-29 10:31 robert +Wed, 3 Oct 2007 23:01:33 +0000 +Checked in by : Robert OSFIELD +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. - * 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." + cmake . -DDDEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT=ON + -2007-05-29 10:01 robert - * 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." -2007-05-29 09:57 robert +Wed, 3 Oct 2007 21:12:32 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode projects - * From Olar Flebbe, "Visual Studio 2005 triggered a small glitch in - UnittestFramework.cpp - - Do not derefence it2 if it is at end()." +Wed, 3 Oct 2007 20:21:01 +0000 +Checked in by : Robert OSFIELD +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. -2007-05-29 07:25 robert +Wed, 3 Oct 2007 19:54:30 +0000 +Checked in by : Robert OSFIELD +Removed double return error - * Changed SHORT_NAMES = NO to SHORT_NAMES = YES to avoid crappy - Windows problems +Wed, 3 Oct 2007 12:49:02 +0000 +Checked in by : Robert OSFIELD +Updated version, authors and change log for the 2.1.14 release -2007-05-28 15:44 robert +Wed, 3 Oct 2007 12:48:23 +0000 +Checked in by : Robert OSFIELD +From Mahai Radu, improvements to handling of spotlights - * Added --object, --ortho and --persp OverlayNode options +Wed, 3 Oct 2007 12:04:47 +0000 +Checked in by : Robert OSFIELD +Refactored the plugin and library naming to fix Cygwin plugin loaded issues. -2007-05-28 15:27 robert +Wed, 3 Oct 2007 10:38:26 +0000 +Checked in by : Robert OSFIELD +Added preliminary press release - * Fixed handle on non ellipsoid models +Wed, 3 Oct 2007 10:36:59 +0000 +Checked in by : Robert OSFIELD +From Alberto Luaces, build fix for Cygwin. -2007-05-28 15:17 robert +Wed, 3 Oct 2007 08:34:51 +0000 +Checked in by : Robert OSFIELD +Added return 0 to fix warning - * Improved the accuracy of the overlaynode settings +Tue, 2 Oct 2007 21:45:55 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-05-28 13:56 robert +Tue, 2 Oct 2007 21:45:09 +0000 +Checked in by : Robert OSFIELD +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 shadowsThere 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." - * Added project down to base implementation. -2007-05-28 10:48 robert - * Updated ChangeLog and AUTHORS.txt for 1.9.6 release -2007-05-28 10:17 robert +Tue, 2 Oct 2007 21:28:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated version number, wrappers and readme for release +Tue, 2 Oct 2007 21:26:22 +0000 +Checked in by : Robert OSFIELD +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-05-28 10:14 robert +Tue, 2 Oct 2007 21:24:23 +0000 +Checked in by : Robert OSFIELD +Updated to reflect new CompositeViewer threading models - * 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." +Tue, 2 Oct 2007 21:23:58 +0000 +Checked in by : Robert OSFIELD +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-05-28 09:30 robert +Tue, 2 Oct 2007 20:56:56 +0000 +Checked in by : Robert OSFIELD +Changed the search for Qt version to prevent problems when having both Qt3 and Qt4 installed on one machine. - * Removed old ProgrammingGuide as this is now replaced by the - proper Quick Start Guide. +Tue, 2 Oct 2007 20:55:33 +0000 +Checked in by : Robert OSFIELD +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-05-27 19:35 robert +Tue, 2 Oct 2007 20:54:12 +0000 +Checked in by : Robert OSFIELD +Changed the GLU_TESS_CALLBACK in an attempt to avoid compile problems under OSX. - * Updated wrappers +Tue, 2 Oct 2007 20:45:44 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, changes the library linkage to just include osg and OpenThreads -2007-05-27 18:18 robert - - * Updated wrappers - -2007-05-27 17:29 robert - - * Added camera event callback support into osgViewer - -2007-05-27 15:24 robert - - * Updated calling of master camera's update callback - -2007-05-27 14:52 robert - - * Added testing to see if camera allows events before automatically - attaching a trackball manipulator - -2007-05-27 14:49 robert +Mon, 1 Oct 2007 15:11:54 +0000 +Checked in by : Robert OSFIELD +Removed redundent malloc. - * Added option for using the different overlay techniques. +Mon, 1 Oct 2007 11:02:02 +0000 +Checked in by : Robert OSFIELD +From David Callu, various fixes for window inheritance -2007-05-26 16:02 robert +Mon, 1 Oct 2007 10:23:11 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS for 2.1.13 release - * Updated wrappers +Mon, 1 Oct 2007 10:21:52 +0000 +Checked in by : Robert OSFIELD +Updated Version number for 2.1.13 and updated ChangeLog. -2007-05-26 15:55 robert +Mon, 1 Oct 2007 09:41:05 +0000 +Checked in by : Robert OSFIELD +Changed requestWarpPointer to use _eventDislay to avoid crash in osghanglide example due to async usage. - * Added a basic configure script to allow the setting of Release - build by default. +Mon, 1 Oct 2007 08:50:58 +0000 +Checked in by : Robert OSFIELD +Removed log2 and replaced the places where is was used with a new Image::computeNumberOfMipmapLevels method. -2007-05-26 15:49 robert +Sun, 30 Sep 2007 20:16:49 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode-projects - * Fixes to help C# binding dev. +Sun, 30 Sep 2007 19:56:46 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-05-26 15:47 robert +Sun, 30 Sep 2007 19:53:02 +0000 +Checked in by : Robert OSFIELD +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." - * 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 - * 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 +Sun, 30 Sep 2007 19:39:36 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added exclude of svn directories. +Sun, 30 Sep 2007 19:27:31 +0000 +Checked in by : Robert OSFIELD +Added support for CompositeViewer to WindowSizeHandler, ThreadingHandler, RecordCameraPathManipulator and HelpHandler. -2007-05-25 19:35 robert +Sun, 30 Sep 2007 19:15:32 +0000 +Checked in by : Robert OSFIELD +Changed HelpHandler so it supports use with CompositeViewer and Viewer - * 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. - " +Sun, 30 Sep 2007 18:43:42 +0000 +Checked in by : Robert OSFIELD +Added hdwriter to CMake build -2007-05-25 19:32 robert +Sun, 30 Sep 2007 18:42:20 +0000 +Checked in by : Robert OSFIELD +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." - * Comment out the setting of single threading. -2007-05-25 16:00 robert - * Added s/getOverlayBaseHeight methods -2007-05-25 15:57 robert +Sun, 30 Sep 2007 18:33:57 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, "I am submitting improved Inventor (iv) writer.List of changes: +- added support for Billboards and LOD +- improved Material handling +" - * Added some debug message to the set/getWindowSystemInterface - function -2007-05-25 15:27 robert - * Introduce C entry point support for plugin setup for better - static build support -2007-05-25 15:26 robert +Sun, 30 Sep 2007 16:24:00 +0000 +Checked in by : Stephan Maximilian HUBER +updated xcode-projects - * Added C entry point graphicswindow_X11() to help with static - build support +Sun, 30 Sep 2007 15:24:43 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-05-25 15:25 robert +Sun, 30 Sep 2007 15:07:17 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added osgstaticviewer example to demonstrate how to put a static - lib built viewer +Sun, 30 Sep 2007 15:06:59 +0000 +Checked in by : Robert OSFIELD +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. -2007-05-25 13:15 robert +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." - * From Luigi Calori, build fixes for Win32 build osg WxWidgets - example -2007-05-25 10:14 robert - * Implemnet clampping of ovleray polytope to base plane -2007-05-25 10:13 robert +Sun, 30 Sep 2007 11:37:00 +0000 +Checked in by : Robert OSFIELD +Moved ViewerBase class out into its own header and source file.Improved the support for stats collection in CompositeViewer/StatsHandler. - * Changed debug message to INFO -2007-05-24 16:11 robert - * 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." +Sat, 29 Sep 2007 16:46:08 +0000 +Checked in by : Robert OSFIELD +Refactor Viewer/CompositeViewer so the both inherit from the a ViewerBase class -2007-05-24 14:20 robert +Sat, 29 Sep 2007 11:41:57 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, add basic support for CompositeViewer in StatsHandler - * Improved the polytope cutting and project calculation +Sat, 29 Sep 2007 11:12:38 +0000 +Checked in by : Robert OSFIELD +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. -2007-05-24 10:15 robert +The stuff in daeReader.h and daeWriter.h are just cosmetic changes to get rid of a warning." - * From Peter Hrenka, fixes regarding line-strips and -loops. -2007-05-24 09:49 robert - * 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 - - * From Serge Lages, support for install api directories, with - tweaks from Robert Osfield - -2007-05-23 19:30 robert - - * Fixed brackets - -2007-05-23 19:25 robert - - * Added automatic building of plugins as static when dynamic build - is switch off. - -2007-05-23 15:24 robert - - * From Anders Backman, add -DJAS_WIN_MSVC_BUILD for Win32 build - -2007-05-23 15:14 robert +Fri, 28 Sep 2007 13:42:41 +0000 +Checked in by : Robert OSFIELD +Fixed SphericalDisplay set up codes to properly manage display host/num - * Made the local shaders definitions static const char to avoid - multiple definiations +Fri, 28 Sep 2007 13:38:32 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "I had a chance to look into the remote display problems. The screen resolution was queried for the wrong display." -2007-05-23 14:55 robert +Fri, 28 Sep 2007 13:35:51 +0000 +Checked in by : Robert OSFIELD +From Mattias Linde, "I've attached a modified ReaderWriter header which has some additions to osgDB::ReaderWriter::Options to handle PluginData." - * Added insertion of center point into object polytope +Fri, 28 Sep 2007 08:53:34 +0000 +Checked in by : Robert OSFIELD +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." -2007-05-23 13:26 robert +and - * Added angular sorting of the points on the plane intersecting the - cut plane. +"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-05-23 12:35 robert - * Updated wrappers -2007-05-23 12:21 robert - * Added platform specific GraphicsWindow* headers to public headers - listings -2007-05-23 11:05 robert - * 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 +Fri, 28 Sep 2007 08:52:00 +0000 +Checked in by : Robert OSFIELD +Added record path manipulator - * Added debug timing code +Thu, 27 Sep 2007 13:49:56 +0000 +Checked in by : Robert OSFIELD +Changed across to using a GraphicsOperation as the base class for the RealizeOperation. -2007-05-22 15:17 robert +Thu, 27 Sep 2007 12:47:34 +0000 +Checked in by : Robert OSFIELD +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 - * Added _firstTimeToInitEyePoint = true to the setAutoRotateMode to - force the AutoTransform - to recompute its position on next frame. +then i fixed the shadow map orientation, now screen x coordinate alinged which improve the quality" -2007-05-22 14:00 robert - - * 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 - - * Changed the way the the InputRange is adjusted on the event state - to fix bugs related to picking - -2007-05-22 09:32 robert - - * 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 - - * Added extra checks to make sure that graphics operations arn't - done on no longer valid graphics contexts - -2007-05-21 18:17 robert - - * Fixed Viewer::checkWindowStatus() to work correctly when running - single threaded -2007-05-21 13:15 robert - * Reverting Luigi's addition of argv[1] as it breaks the build. -2007-05-21 12:34 robert +Thu, 27 Sep 2007 12:15:39 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, compile fix for HP-UX without large file support - * Updated readme +Thu, 27 Sep 2007 10:47:15 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Some more file that needs some adjustment because of missing member templates in suns stl." -2007-05-21 12:30 robert +Thu, 27 Sep 2007 10:42:56 +0000 +Checked in by : Robert OSFIELD +Changed copy constrcutor to a default constrcutor and std::copy to avoid problems with dodge Sun compiler. - * From Luigi Calori, changed hardwired "cow.osg" paramter to - argv[1] +Thu, 27 Sep 2007 10:22:09 +0000 +Checked in by : Robert OSFIELD +Added support for selecting internal texture format via the internalFormat entry in the .osg file -2007-05-21 12:28 robert +Wed, 26 Sep 2007 16:17:46 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode project-files - * Converted tabs to 4 spaces +Wed, 26 Sep 2007 14:44:22 +0000 +Checked in by : Robert OSFIELD +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 ." -2007-05-21 12:26 robert +Wed, 26 Sep 2007 14:31:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated version file for 1.9.5 release +Wed, 26 Sep 2007 14:02:40 +0000 +Checked in by : Robert OSFIELD +Added IntensityMap reading in .view files -2007-05-21 11:49 robert +Wed, 26 Sep 2007 11:32:51 +0000 +Checked in by : Robert OSFIELD +Tweaked the wrapping of osgViewer::Scene to fix build problems - * Fixed const method type +Wed, 26 Sep 2007 10:58:29 +0000 +Checked in by : Robert OSFIELD +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" -2007-05-21 09:27 robert - * Updated version numbers for 1.9.5 release -2007-05-21 09:18 robert - * Updated ChangeLog +Wed, 26 Sep 2007 10:46:30 +0000 +Checked in by : Robert OSFIELD +Added suprression of the reflection of osgViewer::Scene to avoid build issues associated with the class. -2007-05-21 08:01 robert +Wed, 26 Sep 2007 09:59:59 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * 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." +Wed, 26 Sep 2007 09:50:32 +0000 +Checked in by : Robert OSFIELD +From David Callu, adding support for GraphicsWindowX11 window inhertance and setWindowName() method. -2007-05-21 07:54 robert +Tue, 25 Sep 2007 19:14:29 +0000 +Checked in by : Robert OSFIELD +Added support for intensityMap and fix naming of --panoramic-sd and --3d-sd command line arguments - * Added static build support to export macros +Tue, 25 Sep 2007 17:02:22 +0000 +Checked in by : Robert OSFIELD +Added --flip argument docs. -2007-05-21 06:57 robert +Tue, 25 Sep 2007 17:01:16 +0000 +Checked in by : Robert OSFIELD +Added --flip option to allow one to flip the source data about the x axis. - * Added istream:imbue(std::locale::classic()) setting to prevent - non classic locals - from being used when the .osg plugin reads and writes. +Tue, 25 Sep 2007 15:01:11 +0000 +Checked in by : Robert OSFIELD +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. -2007-05-20 17:38 robert - * Introduced VERSION and SOVERSION'ing of libraries. -2007-05-20 13:42 robert +Tue, 25 Sep 2007 13:51:03 +0000 +Checked in by : Robert OSFIELD +Preliminary PanoramicSphericalScreen support - * 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, 25 Sep 2007 12:34:01 +0000 +Checked in by : Robert OSFIELD +Added --major/minor/path-number support -2007-05-20 12:29 robert +Tue, 25 Sep 2007 11:26:16 +0000 +Checked in by : Robert OSFIELD +Fixed version number - * 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. +Tue, 25 Sep 2007 10:18:50 +0000 +Checked in by : Robert OSFIELD +Added thread unit test to test the create, start and destruction of threads -2007-05-20 11:45 robert +Mon, 24 Sep 2007 16:34:28 +0000 +Checked in by : Robert OSFIELD +Updated Version and AUTHORS for 2.1.12 dev release - * Added support for SG_USE_FLOAT_MATRIX and OSG_USE_FLOAT_PLANE in - CMake build and - include/osg/Matrix and include/osg/Plane. +Mon, 24 Sep 2007 16:30:59 +0000 +Checked in by : Robert OSFIELD +Renamed packaging directory to pkgconfig -2007-05-20 11:13 robert +Mon, 24 Sep 2007 16:28:58 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for release - * Fixed build error under float matrix build +Mon, 24 Sep 2007 16:25:55 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-05-20 09:55 robert +Mon, 24 Sep 2007 15:24:23 +0000 +Checked in by : Robert OSFIELD +From Adrian Egli, further work on PSSM implementation. - * From Lugi Calori, added control of lib postfix. +Mon, 24 Sep 2007 10:36:39 +0000 +Checked in by : Robert OSFIELD +From Alberto Luaces, fixed typo of valid() in warning message -2007-05-19 14:00 robert +Mon, 24 Sep 2007 10:31:35 +0000 +Checked in by : Robert OSFIELD +Changed iterator name to avoid warning - * 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, 24 Sep 2007 09:39:30 +0000 +Checked in by : Robert OSFIELD +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." -2007-05-19 13:43 robert +Mon, 24 Sep 2007 09:35:59 +0000 +Checked in by : Robert OSFIELD +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. - * Various additions to better support view dependent overlay node, - and updated wrappers +The attached file fixed the problem for me, but I'm not sure if it is +the best way to address the problem." -2007-05-19 13:39 robert - * From Rafa Giatan and Robert Osfield, added support for User - defined events, by adding - UserData to Events. -2007-05-19 13:38 robert +Mon, 24 Sep 2007 09:26:21 +0000 +Checked in by : Robert OSFIELD +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;" - * 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 - * 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 - - * From Lugi Calori, fix for Win32 build of osgsimpleviewerWX - -2007-05-19 07:08 robert - - * 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 - - * Updated wrappers - -2007-05-18 10:33 robert - - * Added support for tracking the CoordinateSystemNode path, and - passing this on to - camera manipulators. - -2007-05-18 09:49 robert - - * Added range of CameranManipulators to allow us to navigate the - scene freely - -2007-05-18 09:43 robert - - * Added -f/--fixed option to allow use to freeze the animation of - the cessna. - -2007-05-17 19:58 robert - - * Added support for View::setFustionDistance(..) - -2007-05-17 15:39 robert - - * Improved view dependent camera positioning - -2007-05-17 13:20 robert - - * Added saving and restoring of the near/far planes during Camera - setup - -2007-05-17 11:55 robert - - * 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 - - * 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 - - * 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 - - * From Andre Garneau, warnings fixes fo VC++ - -2007-05-17 10:33 robert - - * 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 - - * Futher work on view dependent OverlayNode - -2007-05-16 14:22 robert - - * Refactored the internals of OverlayNode - -2007-05-16 11:32 robert - - * Added code for computing the frustum dimensions in local coords - to the overlay node - -2007-05-15 19:45 robert - - * 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 - - * From Blasius Czink, "when creating windows with decorations - (titlebar) the mouse position - should be adjusted." - -2007-05-15 19:25 robert - - * 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 - - * Added code to better compute the view frustum that is appropriate - for a traversed - subgraph. - -2007-05-15 17:04 robert - - * Changed back to use find Qt3 and Qt4 separately to avoid QT error - reports - -2007-05-15 14:55 robert - - * 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 - - * Added -n/--no-overlay option - -2007-05-15 11:31 robert - - * 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. " +Mon, 24 Sep 2007 09:05:42 +0000 +Checked in by : Robert OSFIELD +Made ReaderWriter and ReaderWriter::Options use thread safe ref counting. -2007-05-15 11:25 robert +Sat, 22 Sep 2007 17:39:15 +0000 +Checked in by : Robert OSFIELD +Improved the handling of OSG_CONFIG_FILE support. - * 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 - " +Sat, 22 Sep 2007 16:50:45 +0000 +Checked in by : Robert OSFIELD +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. -2007-05-15 11:22 robert - * Futher work on new view dependent overlay node -2007-05-14 20:23 robert +Sat, 22 Sep 2007 16:46:38 +0000 +Checked in by : Robert OSFIELD +From Adrian Egli, update to ParallelSplitShadowMap. - * Set up new view dependent overlay technique control methods +Sat, 22 Sep 2007 13:06:07 +0000 +Checked in by : Robert OSFIELD +Added EXPORT -2007-05-14 17:01 robert +Fri, 21 Sep 2007 19:43:06 +0000 +Checked in by : Robert OSFIELD +From David Callu, added findSlaveIndexForCamera method - * Added include of GraphicsWindow to fix wrapper build error +Fri, 21 Sep 2007 19:04:02 +0000 +Checked in by : Robert OSFIELD +Added return -2007-05-14 16:17 robert +Fri, 21 Sep 2007 15:34:25 +0000 +Checked in by : Robert OSFIELD +Added support for basic viewer configuration files - * Removed redundent comment '.' +Fri, 21 Sep 2007 13:30:33 +0000 +Checked in by : Robert OSFIELD +Further steps towards reading coniguration files. -2007-05-14 16:16 robert +Fri, 21 Sep 2007 09:02:03 +0000 +Checked in by : Robert OSFIELD +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) " - * Fixed parameter name +Thu, 20 Sep 2007 10:14:08 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-05-14 16:14 robert +Thu, 20 Sep 2007 10:12:58 +0000 +Checked in by : Robert OSFIELD +From Anders Backman, added bias and texture size methods.From Robert Osfield, tweaks to the above for method parameters and indenting. - * Clean up comments and rebuilt wrappers. - - Added extra event handlers to osgsimulator example -2007-05-14 16:13 robert - * Replaced TARGET_ADD_LIBRARIES to TARGET_EXTERNAL_LIBRARIES for - WxWidgets to avoid debug - issues +Wed, 19 Sep 2007 16:53:40 +0000 +Checked in by : Robert OSFIELD +Added supoort for OSG_WRITE_OUT_DEFAULT_VALUES env var -2007-05-14 15:16 robert +Wed, 19 Sep 2007 15:29:57 +0000 +Checked in by : Robert OSFIELD +Added support for bool in ArgumentParser::Parameter.Added support for using Input::read(...) methods using ArgumentParser::Paramter +to adapter to multiple paramter types. - * Renamed ViewerEventHandler to ViewerEventHandlers -2007-05-14 15:07 robert - * 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. +Wed, 19 Sep 2007 11:56:44 +0000 +Checked in by : Robert OSFIELD +From Adrian Egli, ParallelSplitShadowMap implmentation.Changes by Robert Osfield - CMakeLists.txt and name change to ParallelSplitShadowMap. -2007-05-14 14:41 robert - * 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." -2007-05-14 14:36 robert +Wed, 19 Sep 2007 10:14:52 +0000 +Checked in by : Robert OSFIELD +Changed the simplifier so that it produces deterministic results, no longer using memory pointers for sorting. - * Changed tabs to four spaces +Wed, 19 Sep 2007 09:00:05 +0000 +Checked in by : Robert OSFIELD +Removed check for shaders/overlay_perspective_main.vert -2007-05-14 09:43 robert +Tue, 18 Sep 2007 16:00:21 +0000 +Checked in by : Robert OSFIELD +Commented out herror() as its not called anywhere in the code. - * Updated authors file +Mon, 17 Sep 2007 09:33:00 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, AUTHORS and README for 2.1.11 release -2007-05-14 09:33 robert +Mon, 17 Sep 2007 09:26:02 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for 2.1.11 dev release - * Updated wrappers and version numbers for 1.9.4 dev release +Sun, 16 Sep 2007 17:48:07 +0000 +Checked in by : Robert OSFIELD +Fixed Locator::setTransform method so it takes a const Matrixd&, and improved the setting of Locator in the gdal plugin. -2007-05-13 09:54 robert +Sun, 16 Sep 2007 17:46:33 +0000 +Checked in by : Robert OSFIELD +Setting for new option for hinting whether to write out default values - * Added TerrainNode::init() and - s/getTreatBoundariesToValidDataAsDefaultValue flag. +Sun, 16 Sep 2007 17:45:53 +0000 +Checked in by : Robert OSFIELD +Added option for controlling whether output code should write out default values -2007-05-11 20:16 robert +Sun, 16 Sep 2007 17:43:00 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Added include +Sun, 16 Sep 2007 07:55:58 +0000 +Checked in by : Robert OSFIELD +From Loic Dachary, pkg_config files -2007-05-11 19:28 robert +Sat, 15 Sep 2007 17:40:08 +0000 +Checked in by : Robert OSFIELD +Introduced the use of a ReentrantMutex to avoid problems with findFontFile. - * Updated wrappers +Sat, 15 Sep 2007 17:36:03 +0000 +Checked in by : Robert OSFIELD +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." -2007-05-11 19:25 robert +Fri, 14 Sep 2007 11:26:23 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added new areThreadsRunning() method to Viewer and - CompositeViewer. - - Added removeView(View*) method to CompositeViewer - - Added stopping/starting of threads in addView/removeView +Fri, 14 Sep 2007 11:06:12 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, added support for ot-soversion-OpenThreads.dll dll naming under Windows -2007-05-11 18:25 robert +Fri, 14 Sep 2007 11:02:06 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added ValidDataOperator base class and NoDataValue and ValidRange - subclasses, and - support for it in osgTerrain::Layer and GeometryTechniqnue. +Fri, 14 Sep 2007 11:01:48 +0000 +Checked in by : Robert OSFIELD +Added TemplateRegisterDotOsgWrapperProxy. -2007-05-11 13:45 robert +Fri, 14 Sep 2007 11:00:32 +0000 +Checked in by : Robert OSFIELD +Ran conversion of tabs to four spaces - * From Uwe Woessner, fixed handling of read/draw buffer in vertical - interlaced stereo +Fri, 14 Sep 2007 10:44:46 +0000 +Checked in by : Robert OSFIELD +Introduce GUIEventHandler::handleWithCheckAgainstIgnoreHandledEventsMask() methods to help make it easier to get event handles to ingore events that have already been handled. -2007-05-11 13:43 robert +Fri, 14 Sep 2007 10:26:14 +0000 +Checked in by : Robert OSFIELD +From Ole-Morten Duesund, added IgnoreUsedEventsMask. - * UPdated wrappers +Fri, 14 Sep 2007 10:00:28 +0000 +Checked in by : Robert OSFIELD +Added _hudText->setDataVariance(osg::Object::DYNAMIC); to prevent from the text being updated at the same time as being rendered. -2007-05-11 12:46 robert +Thu, 13 Sep 2007 11:00:12 +0000 +Checked in by : Robert OSFIELD +Fix for build error during aggressive warning build - * Fixed CMake support for osgsimpleviewWX +Thu, 13 Sep 2007 10:42:26 +0000 +Checked in by : Robert OSFIELD +Fixed warning in wrappers -2007-05-11 12:12 robert +Thu, 13 Sep 2007 10:38:38 +0000 +Checked in by : Robert OSFIELD +Fixed warnigns - * From Doug McCorkle, removed pfdb from link line +Thu, 13 Sep 2007 10:33:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers and READEME -2007-05-11 09:07 robert +Thu, 13 Sep 2007 10:32:05 +0000 +Checked in by : Robert OSFIELD +From Paul Martsz, changed the Texture clamping mode to CLAMP_TO_EDGE - * From Gian Lorenzetto, osgsimpleviewWX example, CMake support - added by Robert Osfield +Thu, 13 Sep 2007 10:21:47 +0000 +Checked in by : Robert OSFIELD +From Blake Williams, warning fixes -2007-05-11 09:05 robert +Thu, 13 Sep 2007 10:21:18 +0000 +Checked in by : Robert OSFIELD +Add static_cast to fix warning. - * Updated wrappers +Thu, 13 Sep 2007 10:16:19 +0000 +Checked in by : Robert OSFIELD +Removed unncessary typedefs -2007-05-11 08:30 robert +Thu, 13 Sep 2007 10:15:48 +0000 +Checked in by : Robert OSFIELD +Fixed warnings of casting void* by refactoring the type and extensiosn setup. - * From Brad Colbert, removed inappropriate rewind on non looping - code path. +Thu, 13 Sep 2007 10:10:35 +0000 +Checked in by : Robert OSFIELD +Fixed uint/int comparison warning. -2007-05-11 08:19 robert +Thu, 13 Sep 2007 09:30:30 +0000 +Checked in by : Robert OSFIELD +Created two PixelBufferX11::closeImplementation() one the real implementation and a second non op one for GLX <1.3. - * 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." +Wed, 12 Sep 2007 17:01:47 +0000 +Checked in by : Robert OSFIELD +Added preliminary handling of cases where GLX version < 1.3 -2007-05-10 18:07 robert +Wed, 12 Sep 2007 17:01:09 +0000 +Checked in by : Robert OSFIELD +Removed debug messages - * Added supoort for transforming layers by an offset and scale +Wed, 12 Sep 2007 16:28:50 +0000 +Checked in by : Robert OSFIELD +Moved the linking of OpenThreads from osgversion/CMakeLists.txt into applications/CMakeLists.txt -2007-05-10 18:07 robert +Wed, 12 Sep 2007 16:20:40 +0000 +Checked in by : Robert OSFIELD +Rejigged the casting to avoid warnings under Windows - * Removed rendundent const +Wed, 12 Sep 2007 10:43:49 +0000 +Checked in by : Robert OSFIELD +Updated version, ChangeLog and AUTHORS file for 2.1.10 release -2007-05-10 12:49 robert +Wed, 12 Sep 2007 10:04:36 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, build fix - * Added automatic detection of alpha values, switching on blending - when alpah!=1.0 +Tue, 11 Sep 2007 20:54:39 +0000 +Checked in by : Robert OSFIELD +Added log2(int) and log2(uint) methods -2007-05-10 12:33 robert +Tue, 11 Sep 2007 20:24:48 +0000 +Checked in by : Robert OSFIELD +Removed int version of log2 to avoid possible errors in assuming log2(10) should ~= log2(10.0) - * Added automatic enabling of blending when alpha value != 1.0 - occur in the color - or transfer function data. +Tue, 11 Sep 2007 17:10:24 +0000 +Checked in by : Robert OSFIELD +Added OpenThreads to target libraries -2007-05-10 11:36 robert +Tue, 11 Sep 2007 17:08:06 +0000 +Checked in by : Robert OSFIELD +From Art Tevs, Added log2 function. - * From Daniel Sjolie, build fix for Windows +Tue, 11 Sep 2007 16:59:19 +0000 +Checked in by : Robert OSFIELD +From Art Tevs, build fix. -2007-05-10 10:52 robert +Tue, 11 Sep 2007 16:56:21 +0000 +Checked in by : Robert OSFIELD +Replaced allocateMipmap code with warning message as mipmaps aren't support for TextureRectangle. - * Added getHWND, getHDC and getWGLContext methods +Tue, 11 Sep 2007 13:47:06 +0000 +Checked in by : Robert OSFIELD +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. -2007-05-10 08:20 robert +Tue, 11 Sep 2007 13:42:23 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added checks against Options to osga plugin to ensure archives - are only cached - when requested, cleaned up the - Registry::openArchiveImplementation function. +Tue, 11 Sep 2007 13:39:55 +0000 +Checked in by : Robert OSFIELD +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-05-09 13:05 robert - * Commented out debug messages -2007-05-09 12:08 robert +Tue, 11 Sep 2007 13:34:41 +0000 +Checked in by : Robert OSFIELD +From Art Trevs, "File Changes: - GL2Extensions, Program and Program.cppFeatures: +- 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) - * Updated wrappers +- new methods Program::add/removeBindFragDataLocation Program::getFragDataBindingList -2007-05-09 11:11 robert +" - * 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 - * Set default texture size back to 1024x1204 +Tue, 11 Sep 2007 13:32:46 +0000 +Checked in by : Robert OSFIELD +Seperated out GeometryTechnique .osg support. -2007-05-09 10:41 robert +Tue, 11 Sep 2007 12:28:03 +0000 +Checked in by : Robert OSFIELD +Changed the isTextureIntegerSupported method so that it no longer has the EXT entry in it for forward compatability reasons. - * 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. +Tue, 11 Sep 2007 12:04:58 +0000 +Checked in by : Robert OSFIELD +From Art Trevs, "Features of the patch are:- Implementation of integer textures as in EXT_texture_integer -2007-05-09 10:31 robert +- 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 ?) - * Added use of OSG_MAX_TEXTURE_SIZE for clamping texture sizes. +- 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 ;-) -2007-05-09 10:01 robert +" - * 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. - " +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-05-09 09:43 robert - * 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 - * Added signOrZero template method, and to - Matrix_implementation.cpp usage of this - method in the get(Quat&) code. -2007-05-09 07:54 robert +Tue, 11 Sep 2007 10:16:21 +0000 +Checked in by : Robert OSFIELD +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." - * Added imageData block initialized to 0 for first construction of - GlyphTexture +Tue, 11 Sep 2007 10:10:43 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman and Robert Osfield, added support for SO_VERSION number in runtime version info. Added checks for OpenThreads version. -2007-05-08 15:32 robert +Mon, 10 Sep 2007 16:06:23 +0000 +Checked in by : Robert OSFIELD +Maded versioning under Windows the default. - * Further work on dome correction +Mon, 10 Sep 2007 15:19:23 +0000 +Checked in by : Robert OSFIELD +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. -2007-05-08 12:18 robert +Updated wrappers - * Firt cut at full dome correction of wrap around movies and - imagery -2007-05-08 10:02 robert - * Added CullSettings inheritance mask for LIGHTING_MODE and LIGHT +Sat, 8 Sep 2007 07:21:12 +0000 +Checked in by : Robert OSFIELD +Flesh out a bit more of the view IO support -2007-05-07 22:07 robert +Sat, 8 Sep 2007 07:04:27 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Added s/getLightingMode and s/getLight to osg::View to allow - control of the viewers - global light source. +Fri, 7 Sep 2007 15:03:56 +0000 +Checked in by : Robert OSFIELD +From David Callu, warning fixes -2007-05-07 19:48 robert +Fri, 7 Sep 2007 13:54:32 +0000 +Checked in by : Robert OSFIELD +Removed warning type not support by gcc 4.1.x - * Added missing HelpHandler::reset() implementation +Fri, 7 Sep 2007 13:37:28 +0000 +Checked in by : Robert OSFIELD +Updated wrappers for new Texture2DArray class -2007-05-07 07:58 robert +Fri, 7 Sep 2007 13:25:28 +0000 +Checked in by : Robert OSFIELD +Moved defined from Texture2DArray into Texture - * Updated ChangeLog and AUTHORS.txt for release +Fri, 7 Sep 2007 11:21:02 +0000 +Checked in by : Robert OSFIELD +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. -2007-05-07 07:51 robert - * Updated version numbers for 1.9.3 release, combined INSTALL.txt - and README.txt +Faetures and changes: -2007-05-05 17:05 robert +- Full support for layered 2D textures. - * Added extra external libs +- New uniform types were added (sampler2DArray) -2007-05-05 17:02 robert +- FrameBufferObject implementation were changed to +support attaching of 2D array textures to the +framebuffer - * Added extra libs to COLLADA plugin, but still need to set - LD_LIBRARY to libs even though they are static!?#!? +- 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. -2007-05-05 16:24 robert +- Image class was extended to support handling of +array textures - * Added preliminary Performer plugin support, note, still missing - are a range of Performer database libs that will be required. +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-05-05 16:11 robert - * Added OpenVRML support -2007-05-05 15:36 robert - * Added CMake support for pnm plugin +Fri, 7 Sep 2007 10:50:13 +0000 +Checked in by : Robert OSFIELD +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-05-05 08:22 robert +Fri, 7 Sep 2007 10:15:39 +0000 +Checked in by : Robert OSFIELD +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." - * Added support for normals plugin -2007-05-05 08:18 robert - * Added ToPortToCmake.txt to record what modules need port to - CMake. +Fri, 7 Sep 2007 09:53:40 +0000 +Checked in by : Robert OSFIELD +From Maria Ten, fix lat/long usage. -2007-05-04 19:17 robert +Fri, 7 Sep 2007 09:49:31 +0000 +Checked in by : Robert OSFIELD +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." - * Added first cut a Xine support +Thu, 6 Sep 2007 08:23:21 +0000 +Checked in by : Robert OSFIELD +Added osg lib -2007-05-04 14:25 robert +Wed, 5 Sep 2007 17:12:24 +0000 +Checked in by : Robert OSFIELD +From David Callu, improved consistency of Version strings and add version support for osgIntrospection and osgManipulator. - * Added first cut of Cmake COLLADA support +Wed, 5 Sep 2007 17:03:43 +0000 +Checked in by : Robert OSFIELD +Changed tabs to four spaces to make merges more straight forward -2007-05-04 13:41 robert +Wed, 5 Sep 2007 16:47:43 +0000 +Checked in by : Robert OSFIELD +Added automatic removal of .qt extension that allows one to automatically select the quicktime plugin. - * Added COLLADA CMAkeLists.txt, doesn't work yet as we done yet - have a FindCOLLADA.cmake but it is a start +Wed, 5 Sep 2007 16:36:36 +0000 +Checked in by : Robert OSFIELD +Added setting of locator source -2007-05-04 13:20 robert +Wed, 5 Sep 2007 14:15:55 +0000 +Checked in by : Robert OSFIELD +Added option to Locator to help specify here the locator value was defined from.Update wrappers and Gdal plugin to use this new parameter - * Added support for jp2 plugin -2007-05-04 12:06 robert - * Removed margin -2007-05-04 12:05 robert +Tue, 4 Sep 2007 14:00:27 +0000 +Checked in by : Robert OSFIELD +Improved Terrain IO - * Reorganised the managment of margins around glyphs so that is - done entirely - with src/osgText/Font.cpp rather than the font plugins or - Text.cpp +Tue, 4 Sep 2007 12:38:42 +0000 +Checked in by : Robert OSFIELD +Added mutex to DefaultFont::instance(). -2007-05-04 08:48 robert +Tue, 4 Sep 2007 12:32:47 +0000 +Checked in by : Robert OSFIELD +Added mutex into osgText::Font::GlphTexture to marshel adding to and reading from glyph list - * From Luigi Calori, Win32 build fix +Tue, 4 Sep 2007 09:00:38 +0000 +Checked in by : Robert OSFIELD +Rearrange _stateset member variable to avoid compile warning -2007-05-04 08:45 robert +Mon, 3 Sep 2007 16:04:13 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and README to 2.1.9 dev release - * From Mathias Froehlich, "Attached is a change that does no longer - set the render bin details in nodes - other than drawables. I guess that this way I am sure to not - introduce - hierarchical render bins in loaded models." +Mon, 3 Sep 2007 16:02:00 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2007-05-04 08:40 robert +Mon, 3 Sep 2007 15:47:28 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From David Callu, fixed incorrect array usage. +Mon, 3 Sep 2007 15:43:58 +0000 +Checked in by : Robert OSFIELD +From Sherman Wilcox, added extension checking support for compressed texture subloading. -2007-05-03 16:23 robert +Mon, 3 Sep 2007 15:22:23 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, build fix - * Added CartizianLocator +Mon, 3 Sep 2007 14:05:24 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.1.9 dev release -2007-05-03 15:21 robert +Mon, 3 Sep 2007 13:59:25 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, improvement to the FindInventor. - * Updated wrappers +Mon, 3 Sep 2007 13:52:19 +0000 +Checked in by : Robert OSFIELD +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. -2007-05-03 14:51 robert - * Added return *this to operator = -2007-05-03 14:47 robert - * Added osgUtil into lib list +Mon, 3 Sep 2007 12:27:37 +0000 +Checked in by : Robert OSFIELD +Added osgdepthpeeling example -2007-05-03 11:11 robert +Mon, 3 Sep 2007 10:12:26 +0000 +Checked in by : Robert OSFIELD +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." - * Added virtual orientationOpenGL() method into - osgTerrain::Locator. -2007-05-03 10:10 robert - * Added OpenThreads to TARGET_COMMON_LIBRARIES +Mon, 3 Sep 2007 10:04:34 +0000 +Checked in by : Robert OSFIELD +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." -2007-05-03 10:06 robert +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... :-) - * Moved the OpenThreads link locally to each lib -2007-05-03 08:50 robert - * Added support for setting OpenThreads_SOURCE_DIR to help the - install of OpenThreads headers -2007-05-02 19:57 robert - * Added OpenThreads wrappers +Mon, 3 Sep 2007 09:56:30 +0000 +Checked in by : Robert OSFIELD +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-05-02 18:07 robert - * Added CMake support for local OpenThreads build -2007-05-02 16:36 robert - * Added svn:externals for include/OpenThreads and src/OpenThreads -2007-05-02 13:58 robert +Mon, 3 Sep 2007 09:54:24 +0000 +Checked in by : Robert OSFIELD +Fixed spacing. - * Introduced new tesslation technique that adjusts the - triangulation so that the - diagonal goes between the corners with least vertical deviation. +Mon, 3 Sep 2007 09:50:50 +0000 +Checked in by : Robert OSFIELD +From Sherman Wilcox, "I modified texturerectangle.cpp to address this issue. I used a DXT5 DDS file to test the change." -2007-05-01 18:03 robert +Mon, 3 Sep 2007 09:47:43 +0000 +Checked in by : Robert OSFIELD +Updated wrapper - * Further perfomrmance optimizations and clean up on new - VBO/EBO/PBO API. +Mon, 3 Sep 2007 09:43:33 +0000 +Checked in by : Robert OSFIELD +Added default contructors to Operation -2007-05-01 09:29 robert +Sun, 2 Sep 2007 22:31:09 +0000 +Checked in by : Robert OSFIELD +Fixed cancel loop. - * Cleaned up the optional code paths in new VBO code +Sat, 1 Sep 2007 16:56:53 +0000 +Checked in by : Robert OSFIELD +Added convinience methods for setting up 3d spherical displays. -2007-05-01 07:31 robert +Sat, 1 Sep 2007 15:24:22 +0000 +Checked in by : Robert OSFIELD +Changed Font's mutex to become a static mutex shared between all instances of Font. This ensures single threaded access of the freetype plugin. - * Updated wrappers +Fri, 31 Aug 2007 20:30:45 +0000 +Checked in by : Robert OSFIELD +Changed mutex reference to a mutex pointer to avoid problems with wrappers -2007-05-01 06:40 robert +Fri, 31 Aug 2007 20:21:45 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added direct links to the CMake build pages +Fri, 31 Aug 2007 20:16:02 +0000 +Checked in by : Robert OSFIELD +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. -2007-05-01 06:28 robert +Fri, 31 Aug 2007 20:14:36 +0000 +Checked in by : Robert OSFIELD +Added mutex locking add addParents/removeParents in Drawable, Node and StateSet. - * Moved VBO switching code into inline methods into osg::State to - speed performance +Fri, 31 Aug 2007 18:56:22 +0000 +Checked in by : Robert OSFIELD +Added mutex to protect the readFontFile calls -2007-04-30 22:12 ewing +Fri, 31 Aug 2007 16:59:32 +0000 +Checked in by : Robert OSFIELD +Added support for running multiple text generation threads - * Fixes to resync Xcode project with current tree. - flt files are missing. I'm not sure if it was intentionally - removed from the project, so I left the everything in place, but - removed the target from the build aggregate targets so it doesn't - get in the way of the build system. - Added back osgTerrain to the project (don't know who deleted - those). SDL's aggregate target is also missing. +Fri, 31 Aug 2007 16:05:24 +0000 +Checked in by : Robert OSFIELD +Changed RenderLeaf and StateGraph so that they use ref_ptr<> by default for Drawable and StateSet. -2007-04-30 15:10 robert +Fri, 31 Aug 2007 15:49:17 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, fixed Windows install of wrappers - * Added initalization of _startTick to CompositeViewer +Fri, 31 Aug 2007 12:14:39 +0000 +Checked in by : Robert OSFIELD +Added export for Windows build -2007-04-30 14:49 robert +Fri, 31 Aug 2007 11:04:06 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, added support for Win32 versioning/new buid placement. - * From Jeremy Moles, fixed missing intialization of _startTick - member variable. +Thu, 30 Aug 2007 19:26:52 +0000 +Checked in by : Robert OSFIELD +Further work on osgTerrain::Locator and GDAL plugin -2007-04-30 12:18 robert +Thu, 30 Aug 2007 12:18:45 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, add osgText to geo plugin build - * Implementated new dirty buffer mechansim for BufferObjects to - make it more efficient +Thu, 30 Aug 2007 10:41:15 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, introduction of versioning of dll's and placement of dll and plugins into bin directory during build. -2007-04-30 09:47 robert +Thu, 30 Aug 2007 10:17:34 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added TerrainNode::setColorFilter(layerNum,Filter) to allow - developers to set - what type of texture filter to use, either LINEAER and NEAREST. +Thu, 30 Aug 2007 10:15:35 +0000 +Checked in by : Robert OSFIELD +Further refinement of ProxyLayer API -2007-04-30 08:37 robert +Wed, 29 Aug 2007 16:29:05 +0000 +Checked in by : Robert OSFIELD +Further work on new ProxyLayer - * Updated ChangeLog and AUTHORS file +Wed, 29 Aug 2007 12:18:41 +0000 +Checked in by : Robert OSFIELD +Added ProxyLayer support into osgTerrain plugin -2007-04-30 08:31 robert +Wed, 29 Aug 2007 11:51:22 +0000 +Checked in by : Robert OSFIELD +Added support for post fixing filenames with .gdal to force use of gdal plugin. - * Updated version number for 1.9.2 dev release +Wed, 29 Aug 2007 10:52:03 +0000 +Checked in by : Robert OSFIELD +Added preliminary ProxLayer and DataSetLayer in GDAL plugin to aid integration of GDAL reading into osgTerrain. -2007-04-29 20:19 robert +Tue, 28 Aug 2007 16:12:10 +0000 +Checked in by : Robert OSFIELD +Changed the error code reporting to use hex to match up with freetype headers - * Updated wrappers +Tue, 28 Aug 2007 15:35:24 +0000 +Checked in by : Robert OSFIELD +Improved formatting. -2007-04-29 20:13 robert +Tue, 28 Aug 2007 15:35:09 +0000 +Checked in by : Robert OSFIELD +Removed the OSG_INCLUDE - * Added temporary code (but comment out) for testing VBO - performance +Tue, 28 Aug 2007 15:31:43 +0000 +Checked in by : Robert OSFIELD +Tweeked settings -2007-04-29 20:10 robert +Tue, 28 Aug 2007 14:02:16 +0000 +Checked in by : Robert OSFIELD +Added multi-threaded test path - * Added a MatrixTransform set up to provide a local origin for - better precision. +Mon, 27 Aug 2007 16:59:51 +0000 +Checked in by : Robert OSFIELD +Replaced CartesianLocator and EllipsoidLocator by a single general purpose Locator class -2007-04-29 08:12 robert +Mon, 27 Aug 2007 13:33:58 +0000 +Checked in by : Robert OSFIELD +From Brandon Hamm, changed WxWindows example to use double buffering - * Further work on new VertexBufferObject/ElementsBufferObject - support +Mon, 27 Aug 2007 13:29:09 +0000 +Checked in by : Robert OSFIELD +Added support for controlling the draw order on Cameras on each GraphcisContext via the Camera::setRenderOrder parameters -2007-04-27 17:03 robert +Mon, 27 Aug 2007 10:37:08 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for release - * Added back in osg::Geometry path +Mon, 27 Aug 2007 10:29:22 +0000 +Checked in by : Robert OSFIELD +Updated date on READEME -2007-04-27 14:52 robert +Mon, 27 Aug 2007 10:28:47 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for 2.1.8 dev release - * Further work on the new VBO support +Mon, 27 Aug 2007 10:00:09 +0000 +Checked in by : Robert OSFIELD +Cleaned up the getRotate implementation selection using #defines, and made the COMPILE_getRotate_David_Spillings_Mk1 the default. -2007-04-27 10:29 robert +Mon, 27 Aug 2007 09:51:24 +0000 +Checked in by : Robert OSFIELD +From David Spilling, tweaked quat tests to reproduce getRotate errors. - * From Eric Wing, - " - Here are more changes for the CMake scripts: - - - I removed CMAKE_INSTALL_PREFIX in FindOpenThreads as a follow - up to - the discussion thread. - - - I introduced an experimental CMAKE_PREFIX_PATH to replace it. - - - I added CMAKE_PREFIX_PATH, CMAKE_INCLUDE_PATH, and - CMAKE_LIBRARY_PATH to the CMake GUI so users can enter values - there - instead of in the environment. - - - I added OPENSCENEGRAPH_*_VERSION variables (MAJOR, MINOR, - PATCH). - These should be kept up-to-date with the real version numbers. - Mac - bundles like to have version information so users can find out - the - version they are running through standard About panels and also - automated system reporters for troubleshooting/bug tracking. In - theory, this information could be used for library versioning. - We should do the same for OpenThreads, but I forgot about it. - - - I added some Mac Info.plist stuff (which uses the version - information). - - " +Sun, 26 Aug 2007 10:27:31 +0000 +Checked in by : Robert OSFIELD +From Jan Ciger, warning fixes -2007-04-27 09:49 robert +Sun, 26 Aug 2007 10:24:18 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, fixed comment - * Fixed tabbing +Sun, 26 Aug 2007 10:19:12 +0000 +Checked in by : Robert OSFIELD +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. -2007-04-26 16:50 robert +Sun, 26 Aug 2007 09:59:39 +0000 +Checked in by : Robert OSFIELD +Change char* to const char* to fix warnings - * Added using of VertexBufferObject and ElementsBufferObject - classes +Sun, 26 Aug 2007 09:46:49 +0000 +Checked in by : Robert OSFIELD +Updated wrappers, and change Renderer so that private: to proteccted:. -2007-04-26 16:50 robert +Sun, 26 Aug 2007 09:45:35 +0000 +Checked in by : Robert OSFIELD +Updated links - * Further work VertexBufferObject and ElementsBufferObject classes +Fri, 24 Aug 2007 19:16:35 +0000 +Checked in by : Robert OSFIELD +Changed debug comments to output to notify level and tweaked the handling of the .terrain file. -2007-04-26 08:26 robert +Fri, 24 Aug 2007 19:16:02 +0000 +Checked in by : Robert OSFIELD +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 - * Updated wrappers - -2007-04-26 08:11 robert - - * From Brad Colbert, "Added a new method to ImageStream called - getLength that is used to - return the length of the stream. - - Implemented the virtual methods in QuicktimeImageStream, - (getLength, - getReferenceTime, setTimeMultiplier), to return valid value for - each. - " - -2007-04-26 08:07 robert - - * From Eric Wing, Added quicktime CMakeLists.txt - -2007-04-25 18:50 robert - - * Added VertexBufferObject and ElementBufferObject class - interfaces, and wired - up osg::Array and osg::DrawElements* to these respectively. - - Updated wrappers - -2007-04-25 15:32 robert - - * Added --static and --vbo options to allow the user to toggle - on/off dynamic updating - of geometry and use of vertex buffer objects. - -2007-04-25 10:32 robert - - * Updated wrappers - -2007-04-25 10:32 robert - - * Cleaned up numToTop method - -2007-04-25 10:12 robert - - * From Martin Aumueller, fixed unused parameter warnings - -2007-04-25 09:32 robert - - * From Martin Aumueller, " - a collegue of mine noticed that on Windows and X11 the modifier - state (such as - Alt or Ctrl) would be applied one key press too late: e.g. press - & hold Alt, - press a, release Alt, press a, press a would generate the key - sequence a, - Alt-a, a instead of Alt-a, a, a. - - The problem is also present on Carbon. Moving the call to - setModKeyMask in - front of the call to keyPress fixed it for me on Carbon and X11. - I suppose - that this will fix the problem for Windows as well." - -2007-04-25 09:21 robert - - * From Eric Wing, - "These enhancements make it much easier to control which - libraries get - found by FIND_ using environmental variables. The problem with - the old - script was that CMake searches what it considers system paths - first. - This makes it difficult to override in the case where you might - have a - stable version in /usr/local, but are trying to build a bleeding - edge - release in the non-standard location /bleeding-edge. - - I went to the CMake mailing list hoping to find a good solution - to - this. Unfortunately, there isn't one, and I have to do something - rather bone-headed in the Find module. Basically, I have to run - FIND_ - twice: once with default search paths turned off and my - environmental - variables listed, and again with standard search paths reenabled. - At - least it works. - - I also added a few more environmental variables, specifically: - OPENTHREADS_INCLUDE_DIR - OPENTHREADS_LIBRARY_DIR - - These two variables address the shortcoming of OPENTHREADS_DIR in - the - case where the include path and library path don't share a common - parent. - - Put all this together, and you can setup an automated shell - script or - Microsoft .bat file to configure and build your application in an - automated step. - - - You still should be able to use the key CMake variables like - CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH to find things, but it - will - occur after the environmental paths are searched. The reason for - this - is that the OPENTHREADS_INCLUDE_DIR and OPENTHREADS_LIBRARY_DIR - are - more specific. This prevents the accidental ordering problem - where you - might use CMAKE_INCLUDE_PATH to find some other component like - GLUT, - but didn't want to accidentally include an older version of - OpenThreads located in the same area. - - As the ultimate override, you can still pass -DVAR=value - arguments to - cmake and it will take these above all else. However, it's safer - for - people to not use these in case we modify the script and change - the - variable names. - - Finally, I'm wondering if we can kill the ${CMAKE_INSTALL_PREFIX} - searches in the Find module. As I've said before, this is kind of - a - hack and the variable wasn't really intended to be used in this - way. - And I just got bitten by it in some bad corner cases. The problem - is - that if you don't explicitly set the ${CMAKE_INSTALL_PREFIX}, - CMake - sets a default value for it (such as /usr/local). The problem is - that - /usr/local may not be the place you want searched. If you wait to - set - the ${CMAKE_INSTALL_PREFIX} in the ccmake GUI, then FIND_ is - already - run once on ${CMAKE_INSTALL_PREFIX=/usr/local. If you were - planning to - change the value in the GUI, it's too late if you had a stuff in - /usr/local because FIND_ already found something and won't change - the - value when you reconfigure since it is already set. You will have - to - manually change the value yourself. Furthermore, as another - problem - example, on the Mac, /Library/Frameworks is supposed to be - searched - before /usr/local, but ${CMAKE_INSTALL_PREFIX} kept causing stuff - in - /usr/local to be hit first which took me a really long time to - understand how this was happenning. The work around is that I - must - push the ${CMAKE_INSTALL_PREFIX} search to the very end as not to - conflict with anything else. But I think it would be much better - if we - removed it entirely. - - And with so many different environmental variables at our - disposal, I - don't think we need this one: - - (Checked by CMake automatically:) - CMAKE_INCLUDE_PATH - CMAKE_SYSTEM_INCLUDE_PATH - CMAKE_LIBRARY_PATH - CMAKE_SYSTEM_LIBRARY_PATH - PATH - LIB - - (Checked by us:) - OPENTHREADS_INCLUDE_DIR - OPENTHREADS_LIBRARY_DIR - OPENTHREADS_DIR - OSG_INCLUDE_DIR - OSG_LIBRARY_DIR - OSG_DIR - " - -2007-04-25 09:16 robert - - * From Eric Wing, "lwo must link to osgFX or undefined symbols - ensue." - -2007-04-25 09:14 robert - - * From Eric Wing, "I made a mistake in my IF() checks for - FOO_CONFIG_HAS_BEEN_RUN_BEFORE. - I was using ${FOO_CONFIG_HAS_BEEN_RUN_BEFORE} instead of just - FOO_HAS_BEEN_RUN_BEFORE. - - In this case, it happened to work out to still be correct, but in - general it shouldn't have the ${}. (I really hate this syntax.)" - -2007-04-24 19:08 robert - - * From Jeremy Moles, Added check for image transluceny to image - loaded code, placing - the image quad into the transparent bin for images with alpha - values. - -2007-04-24 19:03 robert - - * From Martin Aumueller, "the new Inventor plugin needs some - changes in order to compile against OpenInventor. - Just as in the pre-r6419 I used the COIN_BASIC_H define in order - to discriminate - between the two versions of Inventor. - - Additionally, I had to change the CMakeLists.txt to use the - proper include path. - " - -2007-04-24 13:12 robert - - * From Jan Peciva, - "I was working on a new version of Inventor plugin. - It was inspired by the need to get correct and high quality - conversion, - so I verified the plugin on complex models and made number of - serious fixes: - - - the geometry is not two times on the output file (!) - - SoVRMLImageTexture: VRML texture support was rewritten - according to - Inventor programming practices, since it does not worked - correctly on - many models (Anyway, thanks for Gerrick Bivins to introduce it.) - - osg::ref wrong usage related crash fixed - - code cleaning and texture code overhaul - - LOD fixes - - appended README.txt with all the contributors I was able to get - from - SVN logs" - -2007-04-24 13:11 robert - - * Added CMake support for lwo plugin. -2007-04-24 12:59 robert - * Added compile path support for XINE, Inventor and LibXML -2007-04-23 20:21 robert - * Updated version to 1.9.1 +Fri, 24 Aug 2007 18:48:26 +0000 +Checked in by : Robert OSFIELD +Added writing out of Terrain, Layer and Locators, and reading in of .terrain string. -2007-04-22 21:54 robert +Fri, 24 Aug 2007 16:16:08 +0000 +Checked in by : Robert OSFIELD +Set the debug out to info notification level - * Updated AUTHORS file for 1.9 developer release +Fri, 24 Aug 2007 16:12:22 +0000 +Checked in by : Robert OSFIELD +Added better handling of OSG_TEXT_INCREMENTAL_SUBLOADING env var. -2007-04-22 21:53 robert +Fri, 24 Aug 2007 16:10:43 +0000 +Checked in by : Robert OSFIELD +Added default disabling of incremental subload for ATI cards. - * Updated ChangeLog +Fri, 24 Aug 2007 14:00:44 +0000 +Checked in by : Robert OSFIELD +Added support for setting DatabasePager thread priority via OSG_DATABASE_PAGER_PRIORITY. -2007-04-22 21:40 robert +Fri, 24 Aug 2007 13:33:35 +0000 +Checked in by : Robert OSFIELD +Cleaned up the thread priority management in DatabasePager and added support for paging stats. - * Added --version-number support +Fri, 24 Aug 2007 10:58:08 +0000 +Checked in by : Robert OSFIELD +Added setting of block into the ThreadSafeQueue's contructor. -2007-04-22 21:18 robert +Fri, 24 Aug 2007 09:45:11 +0000 +Checked in by : Robert OSFIELD +Disable the escape sets done on the viewer - * From Michael Platings, "In the "new method" 3DS loader, inverse - matrices were applied to - vertices, but not normals, which caused some models to appear - with - normals doubly rotated. I've now added some code to transform the - normals." +Fri, 24 Aug 2007 09:42:11 +0000 +Checked in by : Robert OSFIELD +From Mario Valle,osgviewerWX: "To make the example compile using a wx build non UNICODE based. +Tested on Linux with wxGTK 2.8.4" -2007-04-22 20:19 robert +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." - * Unified the setup of version numbers so that they all are based - on the version - number setup in the include/osg/Version header file. -2007-04-21 12:29 robert - * Added osgSim dependency to txp plugin -2007-04-21 11:24 robert +Thu, 23 Aug 2007 16:56:06 +0000 +Checked in by : Robert OSFIELD +Made plugin build names lowercase - * Added include directory to get txp plugin building +Thu, 23 Aug 2007 16:33:39 +0000 +Checked in by : Robert OSFIELD +Changed the plugin name to openflight instead of OpenFlight to avoid problems with osgDB looking for just lower case plugin names -2007-04-20 16:17 robert +Thu, 23 Aug 2007 15:36:45 +0000 +Checked in by : Robert OSFIELD +Updated for 2.1.7 dev release - * Added support for sorting the graphics contexts so that the first - context/window - returned from Viewer::getContexts/getWindows will be the left - most window on the lowest screen number. - - Added ability for StatsHandler and HelpHandler to support end - users setting their - Camera's graphics context. +Thu, 23 Aug 2007 14:35:04 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fix for crash on exit -2007-04-20 16:15 robert +Thu, 23 Aug 2007 14:31:23 +0000 +Checked in by : Robert OSFIELD +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? " - * Added delay between sequential threading model changes to prevent - the system from locking up - with 'm' is held down, which previous would cause the threading - model to be thrashed. +Thu, 23 Aug 2007 14:10:31 +0000 +Checked in by : Robert OSFIELD +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. -2007-04-16 19:40 robert +The changes are well commented and should be clear, even to someone +not familiar with the Win32 API. - * From Jason Howlett, using suggestion from Robert Osfield, - "CullVisitor.cpp was modified, beginning at line 1115. Code was - added to - check if the camera inherits its cull mask. If not, the - CullVisitor sets - its traversal mask to the camera's cull mask." +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). -2007-04-16 19:34 robert +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. +" - * Implement basic TerrainGeometry code -2007-04-16 18:33 robert - * Added logo and txp CMakeLists.txt files. The txp build is - temporarily commented out while the build is fixed. +Thu, 23 Aug 2007 11:06:16 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-04-16 12:21 robert +Thu, 23 Aug 2007 11:00:12 +0000 +Checked in by : Robert OSFIELD +Addd control for serializing draw dispatch. - * Updated wrappers +Wed, 22 Aug 2007 19:31:58 +0000 +Checked in by : Robert OSFIELD +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: -2007-04-16 12:20 robert +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) +" - * Cleaned up state management code -2007-04-16 12:18 robert - * Fixed bug associated with complex RenderBin setup. +Wed, 22 Aug 2007 19:26:25 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-04-16 06:03 robert +Wed, 22 Aug 2007 17:18:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Bumbped the version number up to 1.9, in preperation for using - odd release numbers - for development releases, odd versions for stable releases. +Wed, 22 Aug 2007 17:17:25 +0000 +Checked in by : Robert OSFIELD +Refactored the implementation of cull/draw for DrawThreadPerContex and CullThreadPerCameraDrawThreadPerContex and added an experimental draw serialization. -2007-04-15 20:53 robert +Wed, 22 Aug 2007 14:32:06 +0000 +Checked in by : Eric WING +Documentation updates. - * Fixed choice of display +Wed, 22 Aug 2007 12:33:39 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-04-15 12:09 robert +Wed, 22 Aug 2007 12:21:01 +0000 +Checked in by : Robert OSFIELD +Cleaned up the thread setup and fixed the CullThreadPerCameraDrawThreadPerContext path - * Updatged ChangeLog using svn2log, osgversion to handle new SVN - based ChangeLog, and updated AUTHORS.txt +Wed, 22 Aug 2007 12:14:15 +0000 +Checked in by : Robert OSFIELD +Added thread safe ref/unref by default. -2007-04-14 08:31 robert +Wed, 22 Aug 2007 11:04:43 +0000 +Checked in by : Eric WING +Fixes to DMG script to reflect removal of GDAL and external OpenThreads.Support for OpenSceneGraph-Data repo aside OpenSceneGraph repo. - * Added an #include and extern "C" around - X11ErrorHandling to prevent Solaris build errros +Added background image support to DMG. Pre-laid-out .DS_Store included. -2007-04-13 19:28 robert - * Added some debugging -2007-04-13 19:28 robert - * Updated wrappers +Wed, 22 Aug 2007 10:56:20 +0000 +Checked in by : Eric WING +Removed missing shadow examples from Xcode project. -2007-04-13 14:54 robert +Wed, 22 Aug 2007 10:34:11 +0000 +Checked in by : Robert OSFIELD +Set main scene graph elements to use thread safe ref/unref by default - * Added fullscreen toggle event handler +Wed, 22 Aug 2007 09:50:09 +0000 +Checked in by : Robert OSFIELD +Cleaned up copy constructor and switched on thread safe ref/unref. -2007-04-13 14:54 robert +Wed, 22 Aug 2007 09:48:39 +0000 +Checked in by : Robert OSFIELD +Added debug ENFORCE_THREADSAFE paths into osg::Referenced, these are off by default. - * Added usleep's to avoid X11 errors when doing X11 calls to close - to changes in - window size or decoration. +Wed, 22 Aug 2007 09:46:38 +0000 +Checked in by : Robert OSFIELD +Simplified the thread set up. -2007-04-13 14:23 robert +Wed, 22 Aug 2007 09:45:20 +0000 +Checked in by : Robert OSFIELD +Added thread safe ref/unref - * Added setWindowRectangle implementation for GraphicsWindowWin32, - and - place holder for setWindowRectangle implementation for - GraphicsWindowCarbon. +Wed, 22 Aug 2007 09:44:55 +0000 +Checked in by : Robert OSFIELD +Added debug message to destructor -2007-04-13 13:28 robert +Wed, 22 Aug 2007 09:43:24 +0000 +Checked in by : Robert OSFIELD +Added setting of thread safe ref/unref. - * Updated wrappers +Wed, 22 Aug 2007 09:42:27 +0000 +Checked in by : Robert OSFIELD +Added default setting of use of thread safe ref/unref. -2007-04-13 13:22 robert +Wed, 22 Aug 2007 09:05:34 +0000 +Checked in by : Robert OSFIELD +Changed ReadFileCallback and WriteFileCallback to use virtual inhertinace. - * Added s/getWindowRectangle to GraphicsWindow and implementation - in GraphicsWindowX11 +Tue, 21 Aug 2007 09:32:16 +0000 +Checked in by : Robert OSFIELD +Added missing clear() implementation -2007-04-13 13:19 robert +Mon, 20 Aug 2007 13:09:10 +0000 +Checked in by : Robert OSFIELD +Fixed the install path of plugins under Windows. - * Changed hitItr to be a const_iterator. +Mon, 20 Aug 2007 10:15:07 +0000 +Checked in by : Robert OSFIELD +Updated README date -2007-04-13 10:14 robert +Mon, 20 Aug 2007 10:14:33 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for 2.1.6 release - * From Eric Wing, "I added a warning message for Mac users about - the Universal Binary - problem." +Mon, 20 Aug 2007 10:06:36 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2007-04-12 17:30 robert +Mon, 20 Aug 2007 09:28:03 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.1.6 release and updated wrappers - * Fixed variable name dereference +Mon, 20 Aug 2007 09:27:31 +0000 +Checked in by : Robert OSFIELD +Removed Makefile as this is autogenerated. -2007-04-12 10:14 robert +Sun, 19 Aug 2007 19:22:14 +0000 +Checked in by : Robert OSFIELD +From Antione Hue and Robert Osfield, moved prepend in front of lib entry. - * Added different cmake version requirements across platforms +Fri, 17 Aug 2007 16:10:45 +0000 +Checked in by : Robert OSFIELD +Fixed zfar setting -2007-04-12 10:06 robert +Fri, 17 Aug 2007 09:37:49 +0000 +Checked in by : Robert OSFIELD +Changed ++_modifedCount cases to dirty(). - * From Eric Wing, "Adding back missing search paths in - FindOpenThreads.cmake. Also fixed - a bug regarding when to set the debug version. It waited until - both - include and library were set, but it shouldn't wait on include. - - Also added a fix to the optional warning flags." +Thu, 16 Aug 2007 18:49:46 +0000 +Checked in by : Robert OSFIELD +Changed the tolower of the file extension into the plugin name construction code.Added support for CompositeLayer. -2007-04-12 09:59 robert - * Added SETUP_COMMANDLINE_APPLICATION and SETUP_COMMANDLINE_EXAMPLE - macros -2007-04-12 09:33 robert +Thu, 16 Aug 2007 15:29:50 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Eric Wing, - "Attached is a patch allows access access to the CMake - MACOSX_BUNDLE - option. Now SETUP_APPLICATION and SETUP_EXAMPLE take an - additional - optional parameter that specifies if the program is a command - line - application or a GUI application (think: IS_COMMANDLINE_APP). - Passing - 1 means true (is_commandline_app). Passing 0 or omitting the - parameter - means false. - - I changed the scripts for osgversion and osgunittests to support - this - option because I believe they are command line apps. Are there - any - others?" +Thu, 16 Aug 2007 14:13:10 +0000 +Checked in by : Robert OSFIELD +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-04-12 09:32 robert +Wed, 15 Aug 2007 15:11:48 +0000 +Checked in by : Robert OSFIELD +From Jan Ciger, "I am attaching a little hack from Jean-Sebastien Guay which allows absolute paths to work on Windows." - * Updated wrappers +Wed, 15 Aug 2007 15:07:56 +0000 +Checked in by : Robert OSFIELD +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-04-12 09:32 robert - * From Mike Wittman, fix to CopyOp&. -2007-04-12 09:18 robert - * From Eric Wing, "Minor robustness fix to osgsimpleviewerCocoa." +Wed, 15 Aug 2007 15:03:26 +0000 +Checked in by : Robert OSFIELD +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." -2007-04-11 17:39 robert - * Prep work on new TerrainGeometry Drawable which supports - selective display list/VBO's usage. - - Updated wrappers -2007-04-11 11:20 robert +Tue, 14 Aug 2007 17:13:54 +0000 +Checked in by : Robert OSFIELD +Changed the plugin name to lower case to be consistent with the way that osgDB::Registry searches for only lower case plugin names. - * Changed the parameter handling so that it supports left to right - inheritance of settings +Tue, 14 Aug 2007 17:04:27 +0000 +Checked in by : Robert OSFIELD +Added string to keyword map parser. -2007-04-11 11:20 robert +Tue, 14 Aug 2007 13:08:15 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updating the XCode-project-files - * Added support for multiple colour layers, and fixed handling of - elevation - and colour layers having different locator +Tue, 14 Aug 2007 12:47:26 +0000 +Checked in by : Robert OSFIELD +Added Ben van Basten to list of authors. -2007-04-11 08:35 robert +Tue, 14 Aug 2007 08:41:43 +0000 +Checked in by : Robert OSFIELD +Replaced uint with unsigned int - * From Eric Wing, - " - Changes include: - - A internal cache flag that can be used to detect if this is the - first - time running the CMake configuration. This is needed to work - around - stupid CMake UI shortcomings about the UI not reflecting anything - you - SET unless you use FORCE. But if you use FORCE, you override - anything - the user may try to set/override unless you have an exception - check. - It turns out the exception check you need is often the first-run - check. This flag is potentially useful for other things too. - - An optional switch that turns on more aggressive warnings based - on - your compiler. - - Some Apple specific stuff for detecting the OS version and - enabling - Universal Binaries (and some additional compiler flags that are - good - but gcc version dependent). The version check code is - unfortunately - really fragile. I need to lobby CMake to return the OS X version - number for us. FYI, building Universal will fail with the current - CMake release due to a bug, but is now fixed in CVS. - " +Mon, 13 Aug 2007 14:02:16 +0000 +Checked in by : Robert OSFIELD +Removed osgdepthshadow and osgshadowtexture from build list -2007-04-11 08:33 robert +Mon, 13 Aug 2007 11:59:19 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, AUTHORS and README files - * Removed tabs +Mon, 13 Aug 2007 11:45:20 +0000 +Checked in by : Robert OSFIELD +Updated version for 2.1.5 dev release -2007-04-10 13:58 robert +Mon, 13 Aug 2007 10:31:33 +0000 +Checked in by : Robert OSFIELD +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." - * Removed old GNUmakefile.inst files +Mon, 13 Aug 2007 10:27:35 +0000 +Checked in by : Robert OSFIELD +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-04-10 13:23 robert - * Updated INSTALL and README to refect new Cmake build -2007-04-10 13:15 robert - * Removed the bin and lib directories as these are now built - automatically by CMake. -2007-04-10 13:12 robert +Mon, 13 Aug 2007 10:20:14 +0000 +Checked in by : Robert OSFIELD +From J.P. Delport, fix of GDAL location search - * Removed more of the old VisualStudio build system +Mon, 13 Aug 2007 10:17:18 +0000 +Checked in by : Robert OSFIELD +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." -2007-04-10 13:10 robert +Mon, 13 Aug 2007 09:13:01 +0000 +Checked in by : Robert OSFIELD +Added gdal/gdal.h to header search path, and gdal1.4.1 to the lib search path. - * Removed old gmake and VisualStudio build files +Sun, 12 Aug 2007 13:30:00 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-04-10 12:11 robert +Sun, 12 Aug 2007 13:18:50 +0000 +Checked in by : Robert OSFIELD +Added getStart()/getEnd() - * Updated to refect new incldue/osgViewer/Win32 directory for - GraphicsWindowWin32 +Sun, 12 Aug 2007 13:17:37 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, "adds osgUtil::LineSegmentIntersector::setStart(osg::Vec3d) and setEnd(osg::Vec3d)." -2007-04-10 11:09 robert +Sun, 12 Aug 2007 13:10:07 +0000 +Checked in by : Robert OSFIELD +Removed now redundent osgshadowtexture and osgdepthshadow examples - * Updated wrapper to honour move of GraphicsWindow* - include/osgViewer/api/ +Sun, 12 Aug 2007 12:15:21 +0000 +Checked in by : Robert OSFIELD +Added support for SoftShadowMap into osgshadow example -2007-04-10 11:03 robert +Sun, 12 Aug 2007 12:15:01 +0000 +Checked in by : Robert OSFIELD +Added fix for typo of name in submission - * Create new incliude/osgViewer/api directory to hold platform - specific classes such as GraphicsWindow implementations. - - Moved GraphicsWindowWin32,X11 and Carbon into their api/Win32, - api/X11 and api/Carbon directories. +Sun, 12 Aug 2007 12:12:55 +0000 +Checked in by : Robert OSFIELD +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). -2007-04-06 19:51 robert +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. - * Fixed the handle of triangle fan. +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-04-06 19:38 robert - * Added extra check to prevent calling frame() when the window has - been closed. -2007-04-06 15:36 robert - * From Eric Wing, pedantic warning fixes -2007-04-06 15:35 robert +Sat, 11 Aug 2007 17:44:06 +0000 +Checked in by : Robert OSFIELD +Added preprending of osgPlugins-version to plugin names - * Updated wrappers +Sat, 11 Aug 2007 14:49:14 +0000 +Checked in by : Robert OSFIELD +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-04-06 15:13 robert - * From Eric Wing, pedantic warning fixes -2007-04-06 14:40 robert - * From Laurens Voerman, "I've added the code to set up quad_stereo - properly. I have tested with - WinXP / VC8, stereo is working. I also added code to set - sampleBuffers - and samples. These cannot yet be properly set, tested (windows - only ) by - changing _numMultiSamples in DisplaySettings::setDefaults() and - recompiling." -2007-04-06 14:38 robert +Sat, 11 Aug 2007 12:43:31 +0000 +Checked in by : Robert OSFIELD +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(). - * From Mike Wittman, "1. Disable suppression of osg::CullStack. - I've been building the osgWrapper code successfully with this - change on both Windows and Linux, but I believe you said you got - some (unspecified) errors when you tried it before. If it still - causes problems, could you post the errors so I can try to solve - them? - - - - 2. Change osg::GraphicsContext from object-type to - abstract-object-type. The current setting is incorrect because - the class is actually abstract." +Sat, 11 Aug 2007 10:28:14 +0000 +Checked in by : Robert OSFIELD +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-04-06 14:36 robert - * From Laurens Voerman, "attached is - OpenSceneGraph\src\osgViewer\GraphicsWindowWin32.cpp - I've added the code to get the osgViewer working on windows - displays - with less than 32 bit color. Only tested with 16 bit color." -2007-04-06 14:33 robert +Fri, 10 Aug 2007 17:44:54 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Add setting of ShadowVolumeGeometry draw mode +Fri, 10 Aug 2007 10:58:25 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-04-05 20:27 robert +Fri, 10 Aug 2007 10:57:00 +0000 +Checked in by : Robert OSFIELD +Added View::setDatabasePager(..) - * Set default ShadeModel back to SMOOTH +Fri, 10 Aug 2007 10:52:35 +0000 +Checked in by : Robert OSFIELD +Refactored the way the Scene is used in Viewer and CompositeViewer to ensure that only on Scene exists per scene graph. -2007-04-05 16:12 robert +Thu, 9 Aug 2007 08:19:58 +0000 +Checked in by : Robert OSFIELD +Compile fix - * Added constructor argument to ShadeModel +Thu, 9 Aug 2007 08:15:38 +0000 +Checked in by : Robert OSFIELD +Removed now redundent ReaderWriterTerrain.cpp -2007-04-05 15:04 robert +Wed, 8 Aug 2007 09:12:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Commented out superfluous debug messages +Wed, 8 Aug 2007 08:10:38 +0000 +Checked in by : Robert OSFIELD +Added new statc prototype() and create() methods to CullVisitor and DatabasePager to allow overriding of the default implementations -2007-04-05 14:56 robert +Wed, 8 Aug 2007 05:59:01 +0000 +Checked in by : Robert OSFIELD +Removed unneeeded includes - * Added better handling of colour layer/elevation layer/transfer - function combinations and - use of 16bit luminance format for colour layers used as input to - transfer functions +Tue, 7 Aug 2007 22:56:09 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-04-04 09:07 robert +Tue, 7 Aug 2007 22:31:43 +0000 +Checked in by : Robert OSFIELD +Updated CMakeLists.txt to reflect renaming of TerrainNode. - * Added support for flushing buffer objects +Tue, 7 Aug 2007 19:53:57 +0000 +Checked in by : Robert OSFIELD +Renamed osgTerrain::TerrainNode to osgTerrain::Terrain and introduced basic .osg read support for osgTerrain::Terrain. -2007-04-04 08:09 robert +Tue, 7 Aug 2007 15:51:49 +0000 +Checked in by : Robert OSFIELD +Removed TerrainNode.cpp from CMakeLists.txt - * From Paul Martz, added osgViewer headers to VS syntax - highlighting. +Tue, 7 Aug 2007 15:30:05 +0000 +Checked in by : Robert OSFIELD +Added preliminary shell of osgTerrain plugin -2007-04-04 08:06 robert +Tue, 7 Aug 2007 14:49:37 +0000 +Checked in by : Robert OSFIELD +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 ?" - * Removed OpenThreads reference +Tue, 7 Aug 2007 10:37:42 +0000 +Checked in by : Robert OSFIELD +Re-introduceed GDAL plugin -2007-04-04 08:05 robert +Tue, 7 Aug 2007 10:33:25 +0000 +Checked in by : Robert OSFIELD +Re-introduced GDAL plugin. - * Updated wrappers +Tue, 7 Aug 2007 10:31:24 +0000 +Checked in by : Robert OSFIELD +Added preliminary code to allow build specification of glu tesscallback with ... parameter -2007-04-04 08:05 robert +Tue, 7 Aug 2007 08:18:15 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, The attached file adds #include to GraphicsContext.cpp, so that it compiles with the solaris compiler we use. - * From Mike Wittman, C# build fixes +Mon, 6 Aug 2007 11:52:04 +0000 +Checked in by : Robert OSFIELD +Updated README -2007-04-03 19:42 robert +Mon, 6 Aug 2007 11:50:40 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, and AUTHORS file for release - * From Andy Skinner, warning fix for Windows 64-bit build +Mon, 6 Aug 2007 11:24:53 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for release -2007-04-03 19:18 robert +Mon, 6 Aug 2007 09:28:28 +0000 +Checked in by : Robert OSFIELD +Changed debug message to INFO level - * Added assignment of hieghts texture coords +Sun, 5 Aug 2007 17:06:16 +0000 +Checked in by : Robert OSFIELD +Added support for enabling the stencil buffer when horizontal and vertical split stereo are used. -2007-04-03 15:39 robert +Sun, 5 Aug 2007 14:59:17 +0000 +Checked in by : Robert OSFIELD +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." - * Preliminary work on TransferFunction support +Sun, 5 Aug 2007 14:51:56 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, fixes for avoiding warnings about mixing c and c++ versions of c libs. -2007-04-03 11:04 robert +Sat, 4 Aug 2007 17:04:37 +0000 +Checked in by : Robert OSFIELD +Disable the selection of CullPerCameraDrawPerContext until I am able to fix this threading model - * From Eric Wing, adding message w.r.t debug OpenThreads library - for when its not available. +Sat, 4 Aug 2007 10:30:04 +0000 +Checked in by : Robert OSFIELD +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." -2007-04-02 13:06 robert +Fri, 3 Aug 2007 16:08:36 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added setValue method and osg::Image setup to - osg::TransferFunction1D, and setup - of TransferFunction1D into osgterrain example. +Fri, 3 Aug 2007 14:50:58 +0000 +Checked in by : Robert OSFIELD +Added perlimnary support for reading the DISPLAY variable. -2007-04-01 11:19 robert +Thu, 2 Aug 2007 16:23:40 +0000 +Checked in by : Robert OSFIELD +Changed the projection matrix resize policy. - * Added support for texture layer. +Thu, 2 Aug 2007 12:36:03 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, XCode updates for the new Renderer class -2007-03-30 15:16 robert +Thu, 2 Aug 2007 12:27:09 +0000 +Checked in by : Robert OSFIELD +Added return 0; - * Added debugging code +Thu, 2 Aug 2007 11:02:47 +0000 +Checked in by : Robert OSFIELD +Introduce new osgViewer::Renderer class for implementing of the rendering of cameras in viewers -2007-03-30 14:57 robert +Thu, 2 Aug 2007 08:50:39 +0000 +Checked in by : Robert OSFIELD +Added save and restoring of the cull mask to Camera handling code - * Added support for reading values from an ImageLayer, and building - of the - elevation data in GeometryTechnique. +Tue, 31 Jul 2007 17:28:09 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner,adding c includes to avoid problems with mixing c and c++ versions of c functions. -2007-03-30 14:57 robert +Mon, 30 Jul 2007 16:02:03 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for release - * Added support 16bit intensity formats +Mon, 30 Jul 2007 15:56:52 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for release -2007-03-29 19:42 robert +Mon, 30 Jul 2007 15:25:21 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.1.3 dev release - * Converted osg::HeightField across to using a osg::FloatArray - internally to enable - it to be assigned as a vertex attribute array to an - osg::Geometry. - - Removed the osgTerrain::ArrayLayer as its no longer required - thanks to the above change - which makes the osgTerrain::HeightFieldLayer more flexible. - - Updated wrappers +Mon, 30 Jul 2007 10:52:37 +0000 +Checked in by : Robert OSFIELD +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. -2007-03-29 19:39 robert +Sat, 28 Jul 2007 10:44:03 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, adding C includes to avoid issues when mixing C and C++ standard includes - * Fixed missing initializer in Options constrctor +Sat, 28 Jul 2007 10:28:40 +0000 +Checked in by : Robert OSFIELD +Introduce Camera::s/getRenderer(). -2007-03-29 15:41 robert +Fri, 27 Jul 2007 17:16:18 +0000 +Checked in by : Robert OSFIELD +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* + - * Removed the using to avoid VS 7.1 build problem + files joint : -2007-03-29 14:45 robert + OpenSceneGraph/include/osgIntrospection/Reflector // modified file + OpenSceneGraph/src/osgIntrospection/Reflector.cpp // modified file - * Added creation of basic geoemtry to test Locator and extents +" -2007-03-29 12:41 robert - * Updated wrappers -2007-03-29 10:56 robert +Fri, 27 Jul 2007 17:14:51 +0000 +Checked in by : Robert OSFIELD +From Bryan Thrall, added copying of boundingbox callback to copy constructor. - * From Eric Wing, added handling of CMAKE_THREAD_LIBS_INIT +Fri, 27 Jul 2007 17:07:44 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, added reset of _currentContext when graphics context is closed. -2007-03-29 10:13 robert +Fri, 27 Jul 2007 16:48:31 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find a fix for the dead locks when closing a window under OS X." - * Added missing return value +Fri, 27 Jul 2007 15:26:43 +0000 +Checked in by : Robert OSFIELD +Updated svn::externals -2007-03-29 09:29 robert +Thu, 26 Jul 2007 19:31:41 +0000 +Checked in by : Robert OSFIELD +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." - * From Eric Wing, "Added the conditionals for SDLMain." +Wed, 25 Jul 2007 10:12:45 +0000 +Checked in by : Robert OSFIELD +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. -2007-03-28 16:28 robert +... - * Added support for compute the extents on local NDC coordiantes of - the - elevation and colour layers +I have put a comment on +line 521 where I have moved the "delete []path" below. +" -2007-03-28 15:05 robert - * From Mike Wittman, "Here is a change to the .cpp file to fix it - by disambiguating the cull invocation." -2007-03-28 14:50 robert - * Removed the Found OpenThreads message +Tue, 24 Jul 2007 14:52:51 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS -2007-03-28 14:50 robert +Tue, 24 Jul 2007 14:47:41 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Removed the d during debug build of wrappers on non MSVC - platforms +Tue, 24 Jul 2007 14:43:46 +0000 +Checked in by : Robert OSFIELD +Updated version for dev release -2007-03-28 11:30 robert +Tue, 24 Jul 2007 14:30:31 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * Removed deprecated drawImplementation(State&) method from - Drawable and Drawable::DrawCallback +Tue, 24 Jul 2007 14:02:53 +0000 +Checked in by : Robert OSFIELD +From Alexandre Amalric, Fox exampleFrom Robert Osfield, CMake build support for FOX example -2007-03-28 08:53 robert - * From Martin Amueller, Add libosgGA and libosgText for OSX build -2007-03-28 08:52 robert - * Replaced the X11 Window by Carbon WindowRef in the WindowData - structure. +Mon, 23 Jul 2007 20:37:49 +0000 +Checked in by : Robert OSFIELD +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: -2007-03-28 08:43 robert +MFC_OSG.cpp: - * From Martin Aumueller, "in order to remove a dependency on Coin3D - (which is GPLed) and make it work - with SGI's OpenInventor, I had to change - OpenSceneGraph/src/osgPlugins/Inventor, as SoVRMLImageTexture is - not avaible - in SGI's Inventor. " - - From Robert Osfield, tweaked the above so that it uses Coin - headers to switch on coin features: - - #ifdef COIN_SOCALLBACKACTION_H - #define USE_COIN 1 - #endif + Removed pixelformatdesciptor from the class initialization. -2007-03-28 07:34 robert + Used setInheritedWindowPixelFormat to true so it will setup the pixelformat for the window. - * From Luigi Calori, added Find3rdPartyDependencies.cmake + Added class destructor code. -2007-03-27 21:44 robert +MFC_OSG.h: - * From Luigi Calori, "here is a patch to use Mike 3rdParty - dependencies - It should not be introusive to any other palatform apart MSVC, - but in order to link to debug-specific libs - I had to change plugins CMakeLists to differentiate debug/release - linkage, I have used the same macro used in core libs - Now the macro used for plugin and examples linking test for - existance of TARGET_LIBRARIES_VARS - that holds the names of the variables that have to be used for - linking" + Removed the ref_ptr on osgViewer::Viewer -2007-03-27 19:39 robert +MFC_OSG_MDIViewer.cpp: - * Updated wrappers + Changed the OnDestroy function code. -2007-03-27 19:27 robert + Added WaitforSingleObject with thread handle for the MFC render handle. - * Add computeBound support to TerrainNode and Layer. +MFC_OSG_MDIView.h: -2007-03-27 16:05 robert + Added class variable for MFC Render Thread Handle for use with the WaitforSingleObject. +" + - * Removed the flt plugin from OpenSceneGraph/trunk, this project - can now be found in the deprecated directory. -2007-03-27 16:01 robert - * Rearranged the traversal and initialization of TerrainTechnique +Mon, 23 Jul 2007 20:10:13 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, addition of standard c library includes to avoid issues with using STLport on some platforms. -2007-03-27 11:23 robert +Mon, 23 Jul 2007 20:08:16 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces - * Added EllipsoidLocator. +Mon, 23 Jul 2007 18:19:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-03-27 08:43 robert +Mon, 23 Jul 2007 18:13:16 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, compile fix for OSX. - * Added #include for non Win32/Mingw build +Mon, 23 Jul 2007 16:42:25 +0000 +Checked in by : Robert OSFIELD +Added FlushDeletedGLObjectsOperation. -2007-03-27 08:40 robert +Sun, 22 Jul 2007 20:33:20 +0000 +Checked in by : Robert OSFIELD +Added support for using the CompileContext to do GL object deletion. - * Added -lgdi32 to CYGWIN path +Sat, 21 Jul 2007 20:11:16 +0000 +Checked in by : Robert OSFIELD +Converted usleep call to OpenThreads::Thread::microSleep() to avoid VS build problems -2007-03-26 19:38 robert +Thu, 19 Jul 2007 18:59:20 +0000 +Checked in by : Robert OSFIELD +Added reset it to set block correctly before use. - * Fixed header files specification +Thu, 19 Jul 2007 17:02:37 +0000 +Checked in by : Robert OSFIELD +Improved the filtering of changes to master file to prevent using reading from files that are still under going changes. -2007-03-26 19:24 robert +Thu, 19 Jul 2007 16:42:36 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added return false; to default implementations of convert - functions +Thu, 19 Jul 2007 15:24:11 +0000 +Checked in by : Robert OSFIELD +Added osg::RefBlockCount subclassed from the new OpenThreads::BlockCount and used it into osgterrain example -2007-03-26 16:32 robert +Thu, 19 Jul 2007 12:09:25 +0000 +Checked in by : Robert OSFIELD +Added support for using multiple load threads as a thread pool used by the MasterOperation - * Added GeometryTechnique +Wed, 18 Jul 2007 16:48:25 +0000 +Checked in by : Robert OSFIELD +Added setting of ThreadSafeRefUnref to true. -2007-03-26 16:28 robert +Wed, 18 Jul 2007 16:17:06 +0000 +Checked in by : Robert OSFIELD +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. - * Removed WindowData parameter from init(). +Wed, 18 Jul 2007 16:14:59 +0000 +Checked in by : Robert OSFIELD +Commented out debug messages -2007-03-26 15:52 robert +Wed, 18 Jul 2007 14:54:27 +0000 +Checked in by : Robert OSFIELD +Added call to State::initializeExtensionsProcs() to prevent crashes before these variables are initialized. - * Added Locator and layer setting to osgterrain example +Wed, 18 Jul 2007 09:05:11 +0000 +Checked in by : Robert OSFIELD +Added missing export symbol. -2007-03-26 13:02 robert +Tue, 17 Jul 2007 17:36:44 +0000 +Checked in by : Robert OSFIELD +Added traverse method implementation into GeometryTechnique. - * From Luigi Calori, "when we link against something that comes out - from a Find... we ususally have a variable - available like OPENTHREADS_LIBRARY, - so I' ve set up a macro that uses the variable name expanded for - linking, and test if a variable ${LINK_VAR_NAME}_DEBUG - like OPENTHREADS_LIBRARY_DEBUG exists and in case uses it for - linking in debug mode. - I' ve also set up FindOpenThreads to set up these variables. - I had to edit the core libraries CMakeLists to add the calls to - the macros used. - I' ve tested under MSVC" +Tue, 17 Jul 2007 16:18:13 +0000 +Checked in by : Robert OSFIELD +Merged the new master operation/operation thread code with older standard terrain set up code. -2007-03-26 13:00 robert +Tue, 17 Jul 2007 10:54:17 +0000 +Checked in by : Robert OSFIELD +Fixed GraphcicsContext::getMaxContextID so it properly returns the current max contextID.Fixed the osgviewer's compile context code to account for the above fix. - * From Mike Wittman, "This is another weirdo change to support code - generation. It brings all the Drawable::supports and - Drawable::accepts overloads into the ShapeDrawable scope to avoid - errors invoking the ones that are not defined in ShapeDrawable. - Currently you'll get compilation errors if you pass a - Drawable::AttributeFunctor or PrimitiveIndexFunctor to the - "accept" function invoked on a ShapeDrawable pointer or - reference, since those overloads are only defined in the base - class. You'll also get the same error passing a - PrimitiveIndexFunctor to the "supports" function. These errors - occur because C++ function overload resolution does not cross - inheritance boundaries." +Added compile context support into osgterrain example. -2007-03-26 09:48 robert - * Changed the external library specification to use - TARGET_EXTERNAL_LIBRARIES -2007-03-25 11:47 robert +Tue, 17 Jul 2007 09:15:08 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Removed OpenThreads from the list of TARGET_COMMON_LIBRARIES to - prevent double - linking of OpenThreadsd and OpenThreads during debug build. +Mon, 16 Jul 2007 21:39:30 +0000 +Checked in by : Robert OSFIELD +Work in progress on support for dynamically reading a master file in a background thread -2007-03-23 17:37 robert +Mon, 16 Jul 2007 17:40:38 +0000 +Checked in by : Robert OSFIELD +Added MasterOperation to do file querry and loading and background thread. - * From Mike Wittman, "This change fixes a couple bugs in the - osgIntrospection protected function support. I missed adding the - protected/public specifier on a couple recursive invocations, so - those functions are not currently returning protected functions - for base classes when they should." +Mon, 16 Jul 2007 15:47:42 +0000 +Checked in by : Robert OSFIELD +Added custom colour support to TransferFunction setup. -2007-03-23 17:27 robert +Mon, 16 Jul 2007 15:13:47 +0000 +Checked in by : Robert OSFIELD +Improvements to the .terrain file support - * From Mike Wittman, remove redundent const from in front of - unsigned int. - From Robert Osfield, updated wrappers +Mon, 16 Jul 2007 12:37:39 +0000 +Checked in by : Robert OSFIELD +First steps at provide a .terrain file format to experiment with file definitions of terrain subgraphs -2007-03-23 10:11 robert +Sat, 14 Jul 2007 17:16:09 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added missing StencilTwoSided header +Sat, 14 Jul 2007 17:07:59 +0000 +Checked in by : Robert OSFIELD +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-03-23 08:53 robert +Sat, 14 Jul 2007 09:17:18 +0000 +Checked in by : Robert OSFIELD +Changed BarrierOperation so that it isn't limited to jut working within GraphicsContexts. - * Added automatic creation of lib bin and lib/osgPlugins +Fri, 13 Jul 2007 19:24:50 +0000 +Checked in by : Robert OSFIELD +Converted Operations to GraphicsOperations where apporpriate. -2007-03-22 15:39 robert +Fri, 13 Jul 2007 19:22:09 +0000 +Checked in by : Robert OSFIELD +Removed all the plugins BUILD_OSG_* options as these just get in the way of browsing standard CMake options. - * Added osgPlugins as a temporary work around for keeping cmake - build compiling plugins +Fri, 13 Jul 2007 17:25:35 +0000 +Checked in by : Robert OSFIELD +Introduce GraphicsOperation subclass from osg::Operation, and osgUtil::GLObjectOperation for compiling subgraphs. -2007-03-22 14:45 robert +Fri, 13 Jul 2007 11:49:16 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added CMake build suppport for osgsimpleviewerQT4 +Fri, 13 Jul 2007 11:42:02 +0000 +Checked in by : Robert OSFIELD +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." -2007-03-22 14:44 robert +Fri, 13 Jul 2007 11:39:40 +0000 +Checked in by : Robert OSFIELD +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." - * Added CMake QT3, FLTK and osgintrospection example build support. +Fri, 13 Jul 2007 11:31:56 +0000 +Checked in by : Robert OSFIELD +Added setCurrentEventState method -2007-03-22 14:06 robert +Fri, 13 Jul 2007 11:22:44 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added CMake build support for GLUT and SDL examples +Fri, 13 Jul 2007 11:17:41 +0000 +Checked in by : Robert OSFIELD +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. -2007-03-22 13:38 robert +Added WindowSizeHandler to osgkeyboard to help with debugging of event state +between windows. - * From Eric Wing, added ${MATH_LIB} to osg CMakeLists.txt and - definition of this to m under unix -2007-03-22 13:37 robert - * Updated the header list +Thu, 12 Jul 2007 20:12:38 +0000 +Checked in by : Robert OSFIELD +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-03-22 12:58 robert +Thu, 12 Jul 2007 20:10:56 +0000 +Checked in by : Robert OSFIELD +Fixed spelling of cartesian. - * Fixed link name +Thu, 12 Jul 2007 16:37:06 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, updates to Xcode projects -2007-03-21 17:18 robert +Thu, 12 Jul 2007 15:54:45 +0000 +Checked in by : Robert OSFIELD +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. - * Added ImageLayer, ArrayLayer and HeightFieldLayer classes +Updated the rest of the OSG to respect these changes. -2007-03-21 16:34 robert - * Added GeometryTechinque to osgTerrain. Added usage of - GeometryTechnique into osgterrain example - - Added --width and --height command line options to osgdistortion - to allow users - to control the window size. -2007-03-21 09:42 robert +Thu, 12 Jul 2007 12:15:42 +0000 +Checked in by : Robert OSFIELD +Renamed OperationsThread to OperationThread and add two way link between OperationQueue and OperationThread - * Removed erroneous entry of GNUmakefile +Thu, 12 Jul 2007 09:03:43 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, Update to Packaging files for Xcode build -2007-03-20 17:07 robert +Thu, 12 Jul 2007 08:29:39 +0000 +Checked in by : Robert OSFIELD +Added better description of TransferFunction. - * Added osg:: to computeLocalToWorld to fix build under VS7. +Wed, 11 Jul 2007 16:06:24 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-03-20 11:19 robert +Wed, 11 Jul 2007 16:06:04 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * From Luigi Calori, clean up CMakeLists.txt +Wed, 11 Jul 2007 15:51:17 +0000 +Checked in by : Robert OSFIELD +From Paul Melis, fixes to spelling mistakes/typos. -2007-03-20 09:50 robert +Wed, 11 Jul 2007 15:50:05 +0000 +Checked in by : Robert OSFIELD +Updated version number in prep for 2.1.1 dev release - * From Philip Lowman, added support for Inventor +Wed, 11 Jul 2007 15:30:14 +0000 +Checked in by : Robert OSFIELD +From Andre Garneau, minor warning fixes -2007-03-19 19:05 robert +Wed, 11 Jul 2007 14:16:02 +0000 +Checked in by : Robert OSFIELD +Added support for --sky-light and headlight with local position at 0,0,0 - * From Andreas Goebel, build fix +Wed, 11 Jul 2007 13:48:41 +0000 +Checked in by : Robert OSFIELD +Added setting of the Scene's FrameStamp on each CompositeViewer::updateTraversal() call to fix animation path issue. -2007-03-19 17:24 robert +Wed, 11 Jul 2007 09:00:19 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, update of Xcode projects to meet the latest SVN revision - * Moved the TARGET_NAME setting into the OsgMacroUtils.cmake. +Tue, 10 Jul 2007 19:29:11 +0000 +Checked in by : Robert OSFIELD +Added OperationsThread -2007-03-19 17:18 robert +Tue, 10 Jul 2007 17:36:33 +0000 +Checked in by : Robert OSFIELD +Added test code path which stress tests new thread pool support in OperationsThread - * Moved the TARGET_NAME setting into the SETUP_APPLICATION/EXAMPLE - macro +Tue, 10 Jul 2007 17:36:01 +0000 +Checked in by : Robert OSFIELD +Wired up OperationsThread to use the new OperationQueue and thereby support thread pooling where multiple OperationsThreads share a single OperationsQueue -2007-03-19 14:10 robert +Mon, 9 Jul 2007 19:04:36 +0000 +Checked in by : Robert OSFIELD +Separated OperationsThread out from the GraphicsThread header and introduced new OperationQueue class. - * Added CMake support for txf, osgViewer and osgShadow plugins +Mon, 9 Jul 2007 15:02:03 +0000 +Checked in by : Robert OSFIELD +Fixed unitialized variables. -2007-03-19 13:26 robert +Mon, 9 Jul 2007 11:37:06 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, osgversion and AUTHORS.txt for 2.1 dev release - * Ran dos2unix on CMakeLists.txt files. +Mon, 9 Jul 2007 11:05:24 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.1.0 dev release -2007-03-19 12:30 robert +Mon, 9 Jul 2007 11:05:04 +0000 +Checked in by : Robert OSFIELD +Added OpertionQueue - * From Luigi Calori, move to using local CMakeLists.txt files and - explicit file lists. - - From Robert Osfield, small ammendments of the above to seperate - example and application installs, and fix the osgPlugins install - directory. +Mon, 9 Jul 2007 11:03:33 +0000 +Checked in by : Robert OSFIELD +Added OperationQueue class for future work on support thread pools that share a single OpeationQueue. -2007-03-19 11:47 robert +Mon, 9 Jul 2007 10:48:32 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Mon, 9 Jul 2007 10:47:06 +0000 +Checked in by : Robert OSFIELD +Improved the consistency of setting of rotation and auto rotate modes in setAxisAlingment method -2007-03-19 11:35 robert +Mon, 9 Jul 2007 10:12:37 +0000 +Checked in by : Robert OSFIELD +Fixed missinged intialization of the _threadsRunning variable. - * From Andreas Goebel, add -lgdi to GNUmakefile +Sat, 7 Jul 2007 16:05:05 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay and Jan Ciger, added search path can improved handling of backslashes/forward slashes -2007-03-19 11:25 robert +Fri, 6 Jul 2007 20:00:11 +0000 +Checked in by : Robert OSFIELD +Updared wrappers - * Further work on TerrainNode +Fri, 6 Jul 2007 16:54:45 +0000 +Checked in by : Robert OSFIELD +Added include of DeleteHandler -2007-03-19 10:54 robert +Fri, 6 Jul 2007 16:47:08 +0000 +Checked in by : Robert OSFIELD +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 - * Build fixes -2007-03-19 10:38 robert - * Further work on osgterrain example +Fri, 6 Jul 2007 14:07:59 +0000 +Checked in by : Robert OSFIELD +From Jea-Sebastien Guay and Robert Osfield, build fixes for Windows -2007-03-18 11:04 robert +Fri, 6 Jul 2007 13:54:26 +0000 +Checked in by : Robert OSFIELD +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)." - * Removed now redundent method +Fri, 6 Jul 2007 13:33:40 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "Attached is a fix that returns a default color (white) if an invalid index to the color palette is used." -2007-03-16 14:28 robert +Fri, 6 Jul 2007 13:08:51 +0000 +Checked in by : Robert OSFIELD +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. - * From David Callu, " bug: - Lost the functionality to find the real type pointed by a - pointer. - Ex: a osg::Node pointer point on a osg::Group, if I look for - information - on the pointer type, the introspection say it is a "osg::Node*". - But if I want information on the pointed type, - the introspection must return the "osg::Group". - - - This bug come from the - osgIntrospection::Value::Ptr_instance_box::ptype() function. - In the original version, this function use the member - "Instance_base *inst_" - like this : - typeof(*static_cast *>(inst_)->_data) - - But in the new version, this function use the template argument - "T": - typeof(typename remove_pointer::type) - - This is a good meta-programming use, but here we need a dynamic - request. - - Moreover the "typeof" macro define in "Reflection" header accept - only a type in parameter with the new version. - - - - fix: - Add the macro "typeofvalue" in "Reflection" header which accept a - value or a type in parameter. - Restore original code in - osgIntrospection::Value::Ptr_instance_box::ptype() function. - " +Changed DatabasePager across to dynamically checcking osg::getCompileContext(..) -2007-03-16 14:27 robert +Updated wrappers. - * Updated wrappers -2007-03-16 13:22 robert - * Added WindowData structures to GraphicsWindowX11,Win32 and Carbon - to help support - GraphicsWindow inheriting their window handles from an external - toolkit +Fri, 6 Jul 2007 09:06:37 +0000 +Checked in by : Robert OSFIELD +Added #include -2007-03-16 10:02 robert +Thu, 5 Jul 2007 18:41:54 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * From Per Fahlberg, "To get the latest OSG to build under IRIX - with the MIPSpro compiler I - had to add -LANG:libc_in_namespace_std=OFF to DEF in the makedefs - file. - The modified file is attached." +Thu, 5 Jul 2007 18:33:20 +0000 +Checked in by : Robert OSFIELD +Added support for managing a CompileContext. Rearranged the DeleteHandler::flushAll call. -2007-03-15 13:17 robert +Thu, 5 Jul 2007 18:32:12 +0000 +Checked in by : Robert OSFIELD +Added debug messages to catch key modified state - * From Philip Lowman, added gdi32 entry fro Mingw build +Thu, 5 Jul 2007 18:30:57 +0000 +Checked in by : Robert OSFIELD +Improved the computation of the side vector -2007-03-14 12:59 robert +Thu, 5 Jul 2007 18:30:20 +0000 +Checked in by : Robert OSFIELD +Improved the mapping of update and cull traversal - * Name fixes +Thu, 5 Jul 2007 10:57:34 +0000 +Checked in by : Robert OSFIELD +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-03-14 12:43 robert +Thu, 5 Jul 2007 10:51:47 +0000 +Checked in by : Robert OSFIELD +Commented out "fix" that explictly sets the key modifier state as this change actually broke the key modifier state management. - * Added osgterrain example +Tue, 3 Jul 2007 17:32:19 +0000 +Checked in by : Robert OSFIELD +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-03-14 12:42 robert +Tue, 3 Jul 2007 13:26:48 +0000 +Checked in by : Robert OSFIELD +Added checking of GUIEventAdpter::getHandled(). - * Added osgterrain to build +Tue, 3 Jul 2007 10:00:41 +0000 +Checked in by : Robert OSFIELD +From Roger James, added GL_NORMALIZE mode to scaled models -2007-03-14 12:31 robert +Mon, 2 Jul 2007 13:17:47 +0000 +Checked in by : Robert OSFIELD +Changed the way that computeNearFar is computed to avoid inconsistencies when in stereo mode - * Updated wrappers +Mon, 2 Jul 2007 13:16:54 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-03-14 12:00 robert +Mon, 2 Jul 2007 12:43:23 +0000 +Checked in by : Robert OSFIELD +From Csaba Halasz, support reading "monochrome" option string and use of monocrhome FreetType support - * Added class shells for osgTerrain::Locator and osgTerrain::Layer - classes +Mon, 2 Jul 2007 12:30:14 +0000 +Checked in by : Robert OSFIELD +From Csaba Halasz and Robert Osfield, support for passing in ReaderWriter::Options object into readFontFile -2007-03-14 11:24 robert +Sat, 30 Jun 2007 16:19:56 +0000 +Checked in by : Robert OSFIELD +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. - * Renamed HeightFieldNode and HeightFieldRenderer to TerrainNode - and TerrainTechnique respectively +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. -2007-03-14 10:02 robert +Tested on XP with osgviewer +" - * Changed typeid(CullVisitor) check to dynamic_cast +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-03-13 20:09 robert - * Fixed spacing of message -2007-03-13 20:06 robert +Sat, 30 Jun 2007 15:40:23 +0000 +Checked in by : Robert OSFIELD +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." - * Added lib64 to search path for OpenThreads +Sat, 30 Jun 2007 14:30:55 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-03-13 12:25 robert +Sat, 30 Jun 2007 14:30:44 +0000 +Checked in by : Robert OSFIELD +Added s/getUsage() method - * From Mathieu Narache, build fixes for IRIX64 +Sat, 30 Jun 2007 14:30:12 +0000 +Checked in by : Robert OSFIELD +Added balancing of stack size on entry/exit from rendering nested camera. -2007-03-13 11:58 robert +Sat, 30 Jun 2007 14:28:24 +0000 +Checked in by : Robert OSFIELD +Added debug path that creates the viewer on the heap. - * Fixed gif plugin entry so that it uses GIFLIB_ rather than GIF to - match it up - to the CMakeModels/FindGIFLIB.cmake entry +Sat, 30 Jun 2007 14:21:34 +0000 +Checked in by : Robert OSFIELD +From David Callu," +Found in the join file the fix for the bug found by Rafa. -2007-03-13 08:18 robert - * Checked in missing implementation of cleanSceneGraph. + Problem : -2007-03-12 21:23 robert + osgIntrospection::Value grp(new osg::Group); - * Changed the lib and executable local build so that they all go in - bin and lib respectively. + osgIntrospection::ValueList vlcall; + vlcall.push_back(osgIntrospection::Value("toto")); -2007-03-12 21:13 robert + const osgIntrospection::MethodInfo *m = +grp->getType.getCompatibleMethod("setName", vlcall, true); - * Added IF(BUILD_OSG_WRAPPERS) arouind osgintrospection example + if (m) + { + m->invoke(grp, vlcall); // ** SEGFAULT here + } -2007-03-12 12:46 robert - * Fixed install paths of wrappers and plugins -2007-03-12 12:14 robert - * Removed GDAL references -2007-03-12 12:13 robert + Algorithm explanation : - * Removed GDAL references + 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. -2007-03-12 11:49 robert + 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 - * Cleaned up the ordering of the code component compilation + Else it throw a "TypeConversionException". -2007-03-12 11:48 robert - * Fixed osgTerrain CMakeLists.txt so it didn't include DataSet or - GDAL references -2007-03-12 08:32 robert - * From Luigi Calori, fixes for building wrappers with lib prefix. -2007-03-11 13:23 robert - * Renamed the follow plugins to facilitate CMake build - - lib3ds -> 3ds - ac3d -> ac - directx -> x - ESRIShape -> shp -2007-03-11 13:21 robert + Bug : - * Moved introspection build into optional compile section + 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 -2007-03-11 13:15 robert + 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. - * Changed the output directory for wrappers to osgPlugins and the - name to osgwrapper_ to - make it consitent with the previous places used for wrappers. - - Note, the wrappers still compile to libosgwarapper_, this will - need fixing. -2007-03-11 11:48 robert + 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. - * Added inheritedWindowData member variable to Traits. + 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 !!! -2007-03-10 17:29 robert - * From Bob Kuehne, fix for AGL build of osgViewer -2007-03-10 12:27 robert - * Updated wrappers + Solution : -2007-03-10 11:56 robert + 1) + Introduce the concept of dynamic_cast and static_cast. + now, to do a conversion, osgIntrospection does this : - * Correct TransferFunction entry. + - 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) -2007-03-10 11:53 robert + - 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) - * Added preliminary work on osg::TransferFunction + - 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 -2007-03-10 11:38 robert + Else it throw a "TypeConversionException". - * Updated wrappers -2007-03-10 11:38 robert + Add the "enum CastType" to distinguish the static_cast or +dynamic_cast converter. + Add file OpenSceneGraph/include/osgIntrospection/CastType - * From Luigi Calori, CMakeLists.txt support for wrappers + 2) + add a line to accumulate converter in converter Path. -2007-03-09 16:25 robert + 3) + add a line to check if source and destination are pointer. +" - * From Luigi Calori, "Here are some fix for building plugin net and - installing .lib under lib under WIndows + some setting - (commented) coming from previous build setup" -2007-03-09 14:54 robert - * From Luigi Calori, improvements to handling of install under Unix +Sat, 30 Jun 2007 09:27:11 +0000 +Checked in by : Robert OSFIELD +From Sherman Wilcox, added check for Drawable cull callbck into apply(Billboard) -2007-03-09 14:54 robert +Sat, 30 Jun 2007 07:09:30 +0000 +Checked in by : Robert OSFIELD +Removed the old references to files now removed - * Commenting out Matrix_implementation.cpp entry to avoid it being - installed. +Fri, 29 Jun 2007 17:01:37 +0000 +Checked in by : Robert OSFIELD +Added Point::Extension::isPointSpriteCoordOriginSupported() method -2007-03-09 13:47 robert +Fri, 29 Jun 2007 16:37:11 +0000 +Checked in by : Robert OSFIELD +From Sherman Wilcox, added serach for freetype234 - * Added application_ and example_ before application and example - projects. - - Converted the application CMakeLists.txt and macros to work with - the ADD_OSG_APPLICATION macro. - - Removed the GDAL checks in the examples/CMakeLists.txt +Fri, 29 Jun 2007 16:10:24 +0000 +Checked in by : Robert OSFIELD +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-03-09 09:08 robert +Fri, 29 Jun 2007 16:09:12 +0000 +Checked in by : Robert OSFIELD +Fixed indenting to use 4 spaces instead of tabs - * Setting of binary/exe path moved to root CMakeLists.txt +Fri, 29 Jun 2007 16:06:52 +0000 +Checked in by : Robert OSFIELD +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-03-09 09:07 robert - * Ran dos2unix -2007-03-08 21:19 robert +Fri, 29 Jun 2007 16:00:53 +0000 +Checked in by : Robert OSFIELD +From Roger James, bug fix to counting of number geode with drawables - * From Luigi Calori, fixed build of freetype and zlib. +Thu, 28 Jun 2007 20:56:56 +0000 +Checked in by : Robert OSFIELD +From Brad Colbert, get/setVolume methods -2007-03-08 15:33 robert +Thu, 28 Jun 2007 14:19:30 +0000 +Checked in by : Robert OSFIELD +From Brad Colbert with ammendments by Robert Osfield, add set/getVolume support - * From Lugi Calori, tweaks to macros and addition of - CMAKE_INSTALL_PREFIX to FindOpenThreads +Thu, 28 Jun 2007 12:59:04 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, fixes to pbuffer setup -2007-03-08 15:31 robert +Thu, 28 Jun 2007 09:51:47 +0000 +Checked in by : Robert OSFIELD +From Nikolaus Hanekamp, added support for osg::Multisample - * Ran dos2unx of CMakeLists.txt files +Wed, 27 Jun 2007 20:44:12 +0000 +Checked in by : Robert OSFIELD +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-03-08 15:29 robert - * From Luigi Calori, added support macro based build of plugins -2007-03-06 12:03 robert +Wed, 27 Jun 2007 20:36:16 +0000 +Checked in by : Robert OSFIELD +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. - * Added application CMakeLists. -2007-03-06 12:02 robert - * From Luigi Calori, quick hack to make example compile in source. +Wed, 27 Jun 2007 20:34:29 +0000 +Checked in by : Robert OSFIELD +Added temporary reset of the RenderLeaf pointer for any internal calls to other graphics contexts. -2007-03-06 12:01 robert +Wed, 27 Jun 2007 19:51:06 +0000 +Checked in by : Eric WING +Minor build fixes. Changed/fixed GraphicsWindowCarbon to go into api/Carbon instead of just api/ - * Changed _pixel_x and _pixel_y to be floats +Wed, 27 Jun 2007 17:01:54 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, fixed return value. -2007-03-06 11:20 robert +Wed, 27 Jun 2007 11:14:40 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added support for 4,7,12,16 bit luminance and intensity formats +Wed, 27 Jun 2007 10:37:30 +0000 +Checked in by : Robert OSFIELD +From Rajce Nickolov, improvements to PixelBufferWin32 and GraphicsWindowWin32 -2007-03-05 17:46 robert +Wed, 27 Jun 2007 10:12:10 +0000 +Checked in by : Robert OSFIELD +Added texture format into Traits. - * Updated wrappers +Wed, 27 Jun 2007 09:44:35 +0000 +Checked in by : Robert OSFIELD +Fixed target setting bug in PixelBuffer RTT set up. -2007-03-05 17:34 robert +Tue, 26 Jun 2007 17:12:48 +0000 +Checked in by : Robert OSFIELD +Added missing cmake macros - * From Mike Wittman, " noticed that some type references of - osg::Drawable::AttributeFunctor, - osg::Drawable::ConstAttributeFunctor, and - osg::StateAttribute::ModeUsage in osg and osgSim were not being - properly reflected in osgIntrospection. This appears to be due to - Doxygen not handling nested types from superclasses if they're - not qualified when referenced in subclasses. - - - - These changes add the necessary superclass type qualification so - that Doxygen now recognizes the references." +Tue, 26 Jun 2007 11:31:39 +0000 +Checked in by : Robert OSFIELD +Reverted to using non silhouette computation. -2007-03-05 13:27 robert +Mon, 25 Jun 2007 13:48:57 +0000 +Checked in by : Robert OSFIELD +Changed the RTT Camera so that it doesn't automatically recompute the near and far planes - * From Luigi Calori, added marco support +Mon, 25 Jun 2007 11:32:19 +0000 +Checked in by : Robert OSFIELD +From Trajce Nickolov, improvements to PixelBufferWin32. -2007-03-05 12:11 robert +Mon, 25 Jun 2007 08:35:06 +0000 +Checked in by : Robert OSFIELD +Set the eol style on CMake .txt files to native - * Added missing files +Sun, 24 Jun 2007 10:55:43 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-03-05 12:09 robert +Sun, 24 Jun 2007 10:18:54 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, PixelBufferWin32 implementation - * Added missing files +Sat, 23 Jun 2007 21:55:35 +0000 +Checked in by : Robert OSFIELD +Simplified decoration code and added support for reading Traits::supportsResize -2007-03-04 13:05 robert +Sat, 23 Jun 2007 21:54:56 +0000 +Checked in by : Robert OSFIELD +Set the Traits::supportsResize flag to true in default constructor. - * From Eric Wing and others, first cut of CMake build support +Sat, 23 Jun 2007 11:24:00 +0000 +Checked in by : Robert OSFIELD +Reorder the setProjectionMatrix.. mathod -2007-03-04 13:04 robert +Sat, 23 Jun 2007 11:21:54 +0000 +Checked in by : Robert OSFIELD +Added setting of the Camera's projection matrix to fit the windowing aspect ratio. - * From Mike Wittman, updated project to reflect new additions to - osgIntrospection +Fri, 22 Jun 2007 14:48:43 +0000 +Checked in by : Robert OSFIELD +Added optional set up of pbuffers for background compilation of the OpenGL objects when database paging. -2007-03-04 13:04 robert +Fri, 22 Jun 2007 14:48:18 +0000 +Checked in by : Robert OSFIELD +Added ability to compile OpenGL objects via pbuffers in the DatabasePager/Viewer - * Fixed command line parameter reporting +Thu, 21 Jun 2007 16:14:54 +0000 +Checked in by : Robert OSFIELD +Added explicit setting of updateText to have DYNAMIC data variance. -2007-03-04 13:03 robert +Thu, 21 Jun 2007 11:20:54 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, windows build fixes - * From Mike Wittman, updates to support new protected method - support +Wed, 20 Jun 2007 12:34:37 +0000 +Checked in by : Robert OSFIELD +Added dummy init method -2007-03-02 16:14 robert +Wed, 20 Jun 2007 12:29:19 +0000 +Checked in by : Robert OSFIELD +Added placeholder for PixelBufferWin32 - * Added proper maths for distortion correction of pufferfish dome. +Wed, 20 Jun 2007 12:01:14 +0000 +Checked in by : Robert OSFIELD +Corrected graphics context creation message -2007-03-01 13:41 robert +Wed, 20 Jun 2007 12:00:29 +0000 +Checked in by : Robert OSFIELD +Added code of support for contouring shaders - * Changed the index value to 0 of the token vector, wheras original - the 1 was used, the - later causing a crash when only one token was available. Also - clean up #if #else #endif - block to help make the code more readable and maintainable. This - bug and fix - was found by Anders Backman, but final implementation done by - Robert Osfield. +Wed, 20 Jun 2007 11:59:53 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-03-01 12:10 robert +Wed, 20 Jun 2007 11:59:27 +0000 +Checked in by : Robert OSFIELD +Completed implementation of PixelBufferX11. - * From David Gurhrie, "Here is the updated txp loader code that we - modified before to store - some of the material codes in the userdata field. It now takes an - option string to enable adding the extra data and doesn't add it - by - default." +Tue, 19 Jun 2007 17:12:05 +0000 +Checked in by : Robert OSFIELD +Added beginnings of osgViewer::PixelBufferX11 -2007-03-01 11:58 robert +Tue, 19 Jun 2007 16:19:34 +0000 +Checked in by : Robert OSFIELD +Added passing of arguments into constructor. - * Updated wrappers +Tue, 19 Jun 2007 09:16:36 +0000 +Checked in by : Robert OSFIELD +Removed OSGVIEWER_EXPORT -2007-03-01 11:54 robert +Mon, 18 Jun 2007 12:10:46 +0000 +Checked in by : Robert OSFIELD +Added use of GLSL filters - * From Mike Wittman, added protected function support +Fri, 15 Jun 2007 17:47:16 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, Updates to Packages -2007-03-01 10:43 robert +Fri, 15 Jun 2007 16:17:33 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * From Jean-Sebastien Guay, fix Windows build by adding space in - where previous editing had removed it. +Fri, 15 Jun 2007 16:08:33 +0000 +Checked in by : Robert OSFIELD +Fixed namespace -2007-03-01 09:19 robert +Fri, 15 Jun 2007 14:57:17 +0000 +Checked in by : Robert OSFIELD +Added default values for ambientBias - * Added osgShadow to dependencies of osgdepthshadow example +Fri, 15 Jun 2007 14:26:10 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, Update to Packaging -2007-02-28 12:15 robert +Fri, 15 Jun 2007 14:02:55 +0000 +Checked in by : Robert OSFIELD +Removed now redundent file - * Ran cleanup to fix tabs +Fri, 15 Jun 2007 13:43:49 +0000 +Checked in by : Robert OSFIELD +For Win32 added BUILD_MFC_EXAMPLE option, default to OFF to try and avoid issues with users without MFC installed. --This line, and -2007-02-28 11:18 robert +Fri, 15 Jun 2007 13:12:46 +0000 +Checked in by : Robert OSFIELD +Fixed handling of cases when no matrix is attached to intersections - * Added support for direction lights to ShadowTexture +Fri, 15 Jun 2007 12:59:22 +0000 +Checked in by : Robert OSFIELD +Added ShadowMap::s/getAmbientBias, updated NEWS and wrappers -2007-02-28 11:12 robert +Fri, 15 Jun 2007 12:48:31 +0000 +Checked in by : Robert OSFIELD +Updated README. - * From Mihai Radu, Added support for directional lights to - ShadowMap +Fri, 15 Jun 2007 12:41:46 +0000 +Checked in by : Robert OSFIELD +Changed the version format. -2007-02-28 10:10 robert +Fri, 15 Jun 2007 10:15:54 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for 2.0 release - * Added mention of LODScale in docs +Fri, 15 Jun 2007 10:12:57 +0000 +Checked in by : Robert OSFIELD +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. -2007-02-28 10:08 robert +Fri, 15 Jun 2007 09:29:23 +0000 +Checked in by : Robert OSFIELD +Fixed null pointer derefence bug - * From Paul Martz, updated the LOD documentation +Fri, 15 Jun 2007 08:36:35 +0000 +Checked in by : Robert OSFIELD +Addded missing namespace -2007-02-27 21:31 robert +Thu, 14 Jun 2007 22:22:54 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, Packaging Update - * Added osgTerrain into default build of wrappers +Thu, 14 Jun 2007 21:03:38 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-02-27 21:18 robert +Thu, 14 Jun 2007 20:58:43 +0000 +Checked in by : Robert OSFIELD +Included shaders directly into source, added support for toggle lighting on/off - * Further clean up for refernces to osgTerrain/DataSet +Thu, 14 Jun 2007 20:49:53 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, Packaging Updates -2007-02-27 21:16 robert +Thu, 14 Jun 2007 20:48:02 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, Packaging Updates - * Removed osgdem as its now part of the VirtualPlanetBuilder - project +Thu, 14 Jun 2007 20:22:52 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, Install script for the Xcode build -2007-02-27 21:12 robert +Thu, 14 Jun 2007 19:17:31 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Moved include/osgTerrain/DataSet/.cpp, gdal plugin and osgdem out - into the VirtualPlaneBuilder project. - - Updated examples to remove DataSet/GDAL dependency. - - Updated wrappers +Thu, 14 Jun 2007 16:09:35 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, Fix to packaging -2007-02-27 14:09 robert +Thu, 14 Jun 2007 15:51:02 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, addition of Packaging directory - * Ammend the references to ReentrantMutex and ReadWriteMutex to - related to their move to OpenThreads +Wed, 13 Jun 2007 21:15:04 +0000 +Checked in by : Robert OSFIELD +Updated wrapers, changelog, README and AUTHORS files for 1.9.9 release -2007-02-27 13:16 robert +Wed, 13 Jun 2007 21:00:28 +0000 +Checked in by : Robert OSFIELD +Updated wrappers and Version numbers for 1.9.9 release - * Moved osgProducer and osgproducerviewer out into their own - repository. - - Clean up the source for remaining references to - osgProducer/Producer. +Wed, 13 Jun 2007 20:56:36 +0000 +Checked in by : Robert OSFIELD +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..." -2007-02-27 11:51 robert - * Added --label and --subscript options to allow us to create - custom logos -2007-02-26 14:36 robert +Wed, 13 Jun 2007 20:52:07 +0000 +Checked in by : Robert OSFIELD +Added ability to set the keyboard bindings in the RecordaAnimationPathHandler - * Fixed auto rotate to screen so that it handles scales in to the - parental path +Wed, 13 Jun 2007 20:34:16 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles & Robert Osfield, Added support for playback of animation paths using 'Z' key -2007-02-26 13:01 robert +Wed, 13 Jun 2007 19:54:00 +0000 +Checked in by : Robert OSFIELD +Added clear() - * Completed changes to osgManipulator to make it more flexible - w.r.t viewer usage, and - ported osgmanipulator example across of osgViewer +Wed, 13 Jun 2007 19:53:48 +0000 +Checked in by : Robert OSFIELD +Added new shader support -2007-02-26 11:23 robert +Wed, 13 Jun 2007 19:44:56 +0000 +Checked in by : Robert OSFIELD +From John Shue, fixed typo in CMakeLists.txt - * Removed ReentrantMutex +Wed, 13 Jun 2007 15:32:17 +0000 +Checked in by : Robert OSFIELD +Added passing of arugments into viewer constructor -2007-02-25 20:05 robert +Wed, 13 Jun 2007 14:42:35 +0000 +Checked in by : Robert OSFIELD +Removed SunOS hack as it didn't work.. - * Further work on add serialization support for osgViewer - configurations +Wed, 13 Jun 2007 14:05:21 +0000 +Checked in by : Robert OSFIELD +Wired up new shaders -2007-02-25 19:59 robert +Wed, 13 Jun 2007 13:41:23 +0000 +Checked in by : Robert OSFIELD +Added better handling of 0,0,0 values - * Added new osgViewer plugin to help with serializing in/out of - viewer configurtions +Wed, 13 Jun 2007 11:09:31 +0000 +Checked in by : Robert OSFIELD +Added OSG_SCREEN and OSG_WINDOW env var checking in the Viewer::realize() -2007-02-24 19:54 robert +Wed, 13 Jun 2007 10:45:36 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Set propset in .dsp to fix eol to CRLF +Wed, 13 Jun 2007 10:38:40 +0000 +Checked in by : Robert OSFIELD +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. -2007-02-24 19:51 robert +Wed, 13 Jun 2007 10:31:32 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, osgShadow plugin added to Xcode project. - * Set svn::eol style to CRLF +Wed, 13 Jun 2007 10:12:55 +0000 +Checked in by : Robert OSFIELD +Fixed versioning -2007-02-24 09:04 robert +Wed, 13 Jun 2007 09:56:12 +0000 +Checked in by : Robert OSFIELD +Removed ParallelSplitShadowMap as its currently a non op. - * Added makefile +Wed, 13 Jun 2007 08:56:29 +0000 +Checked in by : Robert OSFIELD +Added -lrt in for SunOS build -2007-02-23 21:06 robert +Tue, 12 Jun 2007 19:46:56 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Used Mike Wittman suggestion from setting CRLF on .dsp files +Tue, 12 Jun 2007 18:58:32 +0000 +Checked in by : Robert OSFIELD +Added StatsHandler -2007-02-23 16:31 robert +Tue, 12 Jun 2007 18:56:52 +0000 +Checked in by : Robert OSFIELD +Refactored the dome correction code to support movie flipping. - * Moved Block, ReentrantMutex and ReadWriteMutex into OpenThreads. +Tue, 12 Jun 2007 16:55:44 +0000 +Checked in by : Robert OSFIELD +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-02-23 12:14 robert +Tue, 12 Jun 2007 15:57:26 +0000 +Checked in by : Robert OSFIELD +Added in QT4 keyboard event adaption - * Updated wrappers +Tue, 12 Jun 2007 15:52:13 +0000 +Checked in by : Robert OSFIELD +UPdated wrappers -2007-02-23 11:53 robert +Tue, 12 Jun 2007 15:38:09 +0000 +Checked in by : Robert OSFIELD +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. " - * Added bool View::Slave::_useMastersSceneData to help manage HUD's - and RTT - cameras that are embedded in the Viewer's View +Tue, 12 Jun 2007 15:32:04 +0000 +Checked in by : Robert OSFIELD +Moved the className, libraryName and isSameAs into public. -2007-02-23 11:52 robert +Tue, 12 Jun 2007 14:43:26 +0000 +Checked in by : Robert OSFIELD +Changed _data to _movieData to avoid possible confusion - * Added new --Viewer and --CompositeViewer for implementation of - HUDs +Tue, 12 Jun 2007 14:20:16 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License -2007-02-23 11:51 robert +Tue, 12 Jun 2007 11:31:21 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, fix to Xcode Resources - * Clean up the handling of views without camera manipulators, and - cameras that - don't allow camera focus +Tue, 12 Jun 2007 10:37:12 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, Fix of OpenSceneGraph-Data linking -2007-02-22 16:42 robert +Tue, 12 Jun 2007 10:19:27 +0000 +Checked in by : Robert OSFIELD +Build fixes for QT4 - * Implement basic full dome correction with projecto pointing - upwards and at center - of dome. +Tue, 12 Jun 2007 09:55:40 +0000 +Checked in by : Robert OSFIELD +Changed the throw dection time to 0.02 -2007-02-22 11:17 robert +Tue, 12 Jun 2007 08:30:41 +0000 +Checked in by : Robert OSFIELD +Work in progress on perspective view dependant codes - * Moved distortion mesh creation out into seperate function +Tue, 12 Jun 2007 08:29:32 +0000 +Checked in by : Robert OSFIELD +Added screen number, and flip support into dome correction codes. -2007-02-22 10:56 robert +Tue, 12 Jun 2007 08:28:41 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "the computation of the windowtitlebar-height was wrong, attached you'll find a fixed version for GraphicsWindowCarbon.cpp " - * Removed the compile objects in init in the - SceneView::setDefaults() setup. +Sun, 10 Jun 2007 20:46:53 +0000 +Checked in by : Robert OSFIELD +Added support for specifying external overlay file. -2007-02-22 10:31 robert +Sun, 10 Jun 2007 20:12:47 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Fixed calculation of inverted coordindates +Sun, 10 Jun 2007 19:53:18 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber and Robert Osfield,Stephan: "attached you'll find some modifications to the GraphicsWindow-class and +their platform-dependant implementations. -2007-02-22 09:16 robert +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. - * Added STATIC_OBJECT_DETECTION optimizer pass to OpenFlight plugin +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. -2007-02-21 21:20 robert +I hope you'll find the submission useful, the Win32 and X11 changes are +not tested but should work." - * From Brede Johansen, Thanks for the model it helped to understand - the problem. In Creator the "Last Frame Duration" is performed on - the last frame of the last loop iteration, I tried to use it for - the last frame of every loop iteration. As you already have - explained we need a custom Sequence node. In the osgSim nodekit - we already have a couple of specialized nodes for the OpenFlight - format. We need an osgSim::GroupAnimation but I don't have the - time right now to take this challenge. Until then I have modified - my last attempt to work with the current osg::Sequence node by - ignoring the "Last Frame Duration". +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-02-21 20:47 robert - * Removed debugging info -2007-02-21 20:38 robert - * Added the default setting of the SceneView's camera onto the - RenderStage to - allow SceneView to automatically support FBO, PBuffers, image and - texture copies and - Camera post draw callbacks -2007-02-21 19:41 robert +Sun, 10 Jun 2007 19:22:13 +0000 +Checked in by : Robert OSFIELD +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." - * Added ability to discount Camera's that arn't appropriate for - event focus +Sun, 10 Jun 2007 19:18:27 +0000 +Checked in by : Robert OSFIELD +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. -2007-02-21 19:41 robert +Also added checking of not supported DDPF_BUMPDUDV (V8U8, V16U16, +Q8W8U8L8, A2W10U10V10 etc.) and DDPF_BUMPLUMINANCE (L6V5U5, X8L8V8U8, +etc.) pixel formats. - * Wired up RTT cubemap cameras and simple distortion mesh. +Mipmap handling is slightly modified and now support all additional formats. +" -2007-02-21 19:06 robert - * Added Camera::s/getAllowsEventFocus() method to allow osgViewer - to have non interfactive cameras such as RTT ones -2007-02-21 15:15 robert +Sun, 10 Jun 2007 18:17:21 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, "support current zlib and libpng library names for win32 3rdParty builds." - * Wojciech Lewandowski: "TexGenNode::TexGenNode( TexGen * texGen ) - constructor does not initialize ReferenceFrame. I am not sure - maybe this was the intent but first constructor does it so I - don't see a reson why third one shouldn't." +Sun, 10 Jun 2007 09:51:29 +0000 +Checked in by : Robert OSFIELD +Improved the set up of static build, added freetype plugin to plugins that support static usage -2007-02-21 14:17 robert +Sat, 9 Jun 2007 19:18:24 +0000 +Checked in by : Robert OSFIELD +Added default file in case no file arguments are provided. Changed to use standard ThreadingHandler by default. - * Removed debug messages +Sat, 9 Jun 2007 17:58:37 +0000 +Checked in by : Robert OSFIELD +Improved the detection of throwing of the mouse. -2007-02-21 13:48 robert +Sat, 9 Jun 2007 10:18:28 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Removed the exclusion of CullSettings from the genwrapper.conf, - and then changed the CullStack RefMatrix& methods to RefMatrix* - as the RefMatrix& versions caused the wrappers to fail. +Sat, 9 Jun 2007 10:07:07 +0000 +Checked in by : Robert OSFIELD +Removed the command line parameters form the examples that now have a default file built into them. -2007-02-21 11:46 robert +Sat, 9 Jun 2007 10:06:38 +0000 +Checked in by : Robert OSFIELD +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. - * Removed GL_TEXTURE_RECTANGLE_NV entries +Fri, 8 Jun 2007 20:11:50 +0000 +Checked in by : Robert OSFIELD +Added debug code path that prints out font details. -2007-02-20 21:06 robert +Fri, 8 Jun 2007 16:47:18 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, interface files - * Further work on dome RTT +Fri, 8 Jun 2007 16:05:30 +0000 +Checked in by : Robert OSFIELD +Removed empty directory -2007-02-20 20:56 robert +Fri, 8 Jun 2007 16:05:13 +0000 +Checked in by : Robert OSFIELD +Removed empty directory - * Fixed inheritance check for copying clear colour to slave cameras +Fri, 8 Jun 2007 15:37:20 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery and Robert Osfield, added fallbacks for when now command line args are provided. -2007-02-20 16:46 robert +Fri, 8 Jun 2007 15:29:04 +0000 +Checked in by : Robert OSFIELD +Added fallback for when no command line args are provied. - * Added inhertCullSettings before SceneView::cull() calls +Fri, 8 Jun 2007 15:11:04 +0000 +Checked in by : Robert OSFIELD +Added default file when no command line options are supplied. -2007-02-20 11:44 robert +Fri, 8 Jun 2007 15:06:08 +0000 +Checked in by : Robert OSFIELD +Added fallback for when no command line args are passed in. - * Added beginings of full dome correction support, starting with 6 - slave camera - configuration. +Fri, 8 Jun 2007 15:03:58 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, Linking of example Data files for the Xcode Projects -2007-02-20 09:48 robert +Fri, 8 Jun 2007 12:16:04 +0000 +Checked in by : Robert OSFIELD +Removed command line args for examples ported across to not need them. - * Added missing \ to end osgGA entry +Fri, 8 Jun 2007 12:15:16 +0000 +Checked in by : Robert OSFIELD +Added default command line arg -2007-02-20 09:48 robert +Fri, 8 Jun 2007 12:13:33 +0000 +Checked in by : Robert OSFIELD +Added default file load to avoid the need for command line option. - * Added osgViewer and osgShadow to the wrapper build directories +Fri, 8 Jun 2007 11:04:30 +0000 +Checked in by : Robert OSFIELD +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-02-19 20:57 robert - * Added g/setUpdateVistor method -2007-02-19 16:59 robert +Fri, 8 Jun 2007 10:58:22 +0000 +Checked in by : Robert OSFIELD +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. - * Added command line arguments descriptions +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. -2007-02-19 16:45 robert +The attached fix modifies the OpenFlight loader to behave in this way." - * Added -1, -2 and -3 model creation options to osgshadow example. -2007-02-19 15:42 robert - * Updated wrappers +Fri, 8 Jun 2007 10:43:26 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, build fix -2007-02-19 15:26 robert +Fri, 8 Jun 2007 10:43:01 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, build fix - * Added support for ShadowTexture and ShadowMap to osgshadow - example +Fri, 8 Jun 2007 10:42:52 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-02-19 14:21 robert +Fri, 8 Jun 2007 10:22:44 +0000 +Checked in by : Robert OSFIELD +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." - * Added option to use osgShadow::ShadowMap technique -2007-02-19 14:20 robert - * Implemented basic ShadowMap technique +Fri, 8 Jun 2007 10:16:33 +0000 +Checked in by : Robert OSFIELD +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. -2007-02-19 12:13 robert +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. - * Moved CameraCullCallback into ShadowTechnique scope to make it - more resusable between various Techniques +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. -2007-02-18 15:24 robert +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." - * Wired up the texgen to complete the first iteration of - ShadowTexture effect -2007-02-18 14:21 robert - * From Andre Garneau: - * Fix for the aspect ratio not being properly set when screens - have - different aspect ratios. - * Minor fix for makeCurrentImplementation being called directly - instead of - makeCurrent() causing the owning thread pointer not being tracked - * Fix for osglauncher so that it sets its update text regions to - DYNAMIC to - prevent multi-threading issues. -2007-02-17 17:16 robert +Fri, 8 Jun 2007 10:11:00 +0000 +Checked in by : Robert OSFIELD +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. - * Added basic set up of the RTT camera. +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-02-17 14:37 robert - * From Paul Martz, "Add GL_TEXTURE_RECTANGLE to list of acceptable - texture modes" -2007-02-16 17:45 robert - * Fixed genwrapper so that it handles .svn directories, updated - wrappers -2007-02-16 17:35 robert +Fri, 8 Jun 2007 09:45:11 +0000 +Checked in by : Robert OSFIELD +Added clean up of the view before destruction of the window - * Updated wrappers +Fri, 8 Jun 2007 09:17:42 +0000 +Checked in by : Robert OSFIELD +Added const get*Matrix() methods -2007-02-16 17:34 robert +Fri, 8 Jun 2007 05:03:56 +0000 +Checked in by : Eric WING +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. - * Added new osg::ComputeBoundsVisitor +Fri, 8 Jun 2007 04:57:00 +0000 +Checked in by : Eric WING +Lots of various fixes to Xcode project.- Adding missing header files and making sure they are marked public. -2007-02-16 16:37 robert +- Support to copy headers in Viewer/api into the proper location in framework - * Added pushViewport/popViewport to CullVisitor::apply(Camera&) +- 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. -2007-02-16 15:29 robert +- 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. - * Updated wrappers -2007-02-16 15:17 robert - * From Roland Smeenk, "ClipNode contains a method getClipPlaneList - that should actually be called setClipPlaneList." -2007-02-16 15:14 robert - * Fixed typo -2007-02-16 13:33 robert +Thu, 7 Jun 2007 21:43:27 +0000 +Checked in by : Stephan Maximilian HUBER +Stephan Huber: fixed deploy-build for osgViewer - * From Stephan Huber, "I added a bool to GraphicsContext::Traits to - indicate wether to use the - multithreaded-opengl-engine on os x or not. I set its default to - false, - perhaps other os x users can test this setting with their - data/apps, to - see if we can enable it by default. - - I changed also the borderless-window-type, so expos?works - correctly." +Thu, 7 Jun 2007 21:07:30 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-02-16 13:17 robert +Thu, 7 Jun 2007 20:26:29 +0000 +Checked in by : Robert OSFIELD +Commented out the Scene Stats entry as its not implemented yet. - * Removed debugging readImageFile, and done further work on RTT - setup. +Thu, 7 Jun 2007 20:22:45 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, StatsHandler added to the ViewerCocoa example -2007-02-16 10:20 robert +Thu, 7 Jun 2007 13:49:30 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, update of *.nib files - * Fleshed out a bit more of the ShadowTexture implementation +Thu, 7 Jun 2007 13:48:15 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, update of *.nib files -2007-02-16 10:19 robert +Thu, 7 Jun 2007 13:44:35 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, update of *.nib files - * Added osgShadow::ShadowTexture set up +Thu, 7 Jun 2007 13:31:50 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, update of *.nib files -2007-02-16 06:39 robert +Thu, 7 Jun 2007 13:25:34 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, update of *.nib files - * Added enabling of the stencil buffer when setting up ShadowVolume - path +Thu, 7 Jun 2007 12:55:19 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, port of ViewerCocoa and updates to Xcode projects -2007-02-16 06:11 robert +Thu, 7 Jun 2007 12:47:56 +0000 +Checked in by : Robert OSFIELD +Removed the old SimpleView version of the Cocoa example - * From Eric Wing, updates to XCode projects and introduction of two - SDL OSX files to the osgsimpleviewerSDL example +Thu, 7 Jun 2007 12:46:09 +0000 +Checked in by : Robert OSFIELD +Removed now not need SimpleViewer -2007-02-16 05:46 robert +Thu, 7 Jun 2007 12:23:21 +0000 +Checked in by : Robert OSFIELD +Added automatic stopping of animation when home() is called - * Fixed typo that was breaking the build +Thu, 7 Jun 2007 12:05:09 +0000 +Checked in by : Robert OSFIELD +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." -2007-02-15 22:28 robert +Thu, 7 Jun 2007 11:19:02 +0000 +Checked in by : Robert OSFIELD +Introduced a destruct method to help clean up the Registry. - * Added support for using the new osgShadow plugin as a psuedo - loader such that: - - osgviewer cow.osg.shadow - - Or to ShadowVolume rechnique specifically: - - osgviewer cow.osg.sv.shadow +Thu, 7 Jun 2007 11:06:40 +0000 +Checked in by : Robert OSFIELD +Revert the signOrZero cade path in the getRotate() to fix bugs. -2007-02-15 17:31 robert +Thu, 7 Jun 2007 11:05:59 +0000 +Checked in by : Robert OSFIELD +Added support for using quat_scaled sx sy sz for testing getting quats from scaled matrices. Removed broken Matrixd/quat test - * Added .osg support for osgShadow NodeKit +Thu, 7 Jun 2007 09:58:49 +0000 +Checked in by : Robert OSFIELD +Added View::home() method and updated wrappers -2007-02-15 17:25 robert +Thu, 7 Jun 2007 09:24:46 +0000 +Checked in by : Robert OSFIELD +Removed redundent files - * Added support for using the scenes light source setting to set up - the - ShadowVolume's effect light parameters +Thu, 7 Jun 2007 08:52:51 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-02-15 15:06 robert +Wed, 6 Jun 2007 21:57:57 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, AUTHORES and README to 1.9.8 release - * Addd an #ifdef _WIN32 to force SingleThreaded usage under Windows - when no - threading model is specified. +Wed, 6 Jun 2007 21:43:38 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for release -2007-02-15 15:03 robert +Wed, 6 Jun 2007 17:01:37 +0000 +Checked in by : Robert OSFIELD +Revert the setting of SingleThreaded under Windows in suggestBestThreadingModel() - * From Mike Wittman, "The template-argument-list errors look to be - due to a lack of spaces in the typeof macro. Here's a new - Reflection header which should fix those problems. For - consistency I think that's the best solution." +Wed, 6 Jun 2007 16:27:00 +0000 +Checked in by : Robert OSFIELD +Added #include -2007-02-15 14:53 robert +Wed, 6 Jun 2007 16:23:20 +0000 +Checked in by : Robert OSFIELD +Fixed includes - * Reorganised the text comments so that they are shorter length, - and hopefully will - avoid VS2003's silly text string limits when compiling - osgIntrospection wrappers +Wed, 6 Jun 2007 15:22:31 +0000 +Checked in by : Robert OSFIELD +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." -2007-02-15 14:47 robert +Wed, 6 Jun 2007 14:51:08 +0000 +Checked in by : Robert OSFIELD +Fixed includes - * Twaaked comments +Wed, 6 Jun 2007 13:45:50 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, Updates to Xcode project -2007-02-15 14:04 robert +Wed, 6 Jun 2007 11:34:19 +0000 +Checked in by : Robert OSFIELD +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. - * From André Garneau, Win32 build fixes +2. Incorrect handling of line primitives." -2007-02-15 12:24 robert - * Added context sharing support. -2007-02-15 12:11 robert +Wed, 6 Jun 2007 11:28:44 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, "an implementation of GraphicsWindow::setCursor for WIN32." - * Fixed handling of warp pointer for when its called at startup and - the - event queue isn't yet initialized the window range. +Wed, 6 Jun 2007 11:21:13 +0000 +Checked in by : Robert OSFIELD +Moved HelpHandler and StatsHandler classes into ViewerEventHandlers header, removed HelpHandler and StatsHandler headers -2007-02-15 10:25 robert +Wed, 6 Jun 2007 11:10:44 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Removed inappropriate Stats:: prefix +Wed, 6 Jun 2007 10:58:21 +0000 +Checked in by : Robert OSFIELD +Moved SimpleViewer from osgViewer into the osgviewerCocoa example directory as this is the only place in the OSG that now relies upon SimpleViewer. -2007-02-15 09:31 robert +Wed, 6 Jun 2007 10:57:02 +0000 +Checked in by : Robert OSFIELD +Added support for passing in ArgumentParser in Viewer and CompositeViewer constructor - * Fixed warnings +Wed, 6 Jun 2007 08:59:22 +0000 +Checked in by : Robert OSFIELD +From Marin Lavery and Robert Osfield, XCode build fixes -2007-02-15 09:17 robert +Tue, 5 Jun 2007 20:42:43 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, XCode build fixes - * Added extra spaces between <> template declarations +Tue, 5 Jun 2007 19:44:11 +0000 +Checked in by : Robert OSFIELD +Renamed osgmultiplecameras to osgcompositeviewer -2007-02-15 08:29 robert +Tue, 5 Jun 2007 19:41:22 +0000 +Checked in by : Robert OSFIELD +Renamed osgmultiplecamrea to osgcompositeviewer - * Updated wrappers +Tue, 5 Jun 2007 19:40:07 +0000 +Checked in by : Robert OSFIELD +Added CompositeViewer support into FLTK example -2007-02-15 08:29 robert +Tue, 5 Jun 2007 19:36:49 +0000 +Checked in by : Stephan Maximilian HUBER +from Stephan Huber: fixed build path for OpenThreads, so osg builds cleanly - * Removed setFrameStamp +Tue, 5 Jun 2007 19:10:18 +0000 +Checked in by : Robert OSFIELD +Added support for CompositeViewer -2007-02-15 01:45 robert +Tue, 5 Jun 2007 17:19:30 +0000 +Checked in by : Robert OSFIELD +Improved the wording of CMake instructions - * Added checks into Viewer set up of Camera stats so that stats are - reused if already present. - - Added use of ref_ptr into StatsHandler's callbacks +Tue, 5 Jun 2007 17:18:27 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery, build fixes fo latest file additions -2007-02-15 01:23 robert +Tue, 5 Jun 2007 14:37:55 +0000 +Checked in by : Robert OSFIELD +Change interator to const_iterator to try and avoid Solaris build failure - * Improved the update of the shadow volume. +Tue, 5 Jun 2007 11:18:28 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, "added use of the internal format specified in the OpenFlight format attr files." -2007-02-15 00:53 robert +Tue, 5 Jun 2007 08:46:32 +0000 +Checked in by : Robert OSFIELD +Removed const to try and avoid Sun compiler error - * Removed extrandous Stats:: prefix +Tue, 5 Jun 2007 08:30:24 +0000 +Checked in by : Robert OSFIELD +Removed redundent comma -2007-02-14 20:44 robert +Mon, 4 Jun 2007 21:32:15 +0000 +Checked in by : Robert OSFIELD +Updated READEME - * Added support for osg::State::DynamicObjectCount into the RTT - codes +Mon, 4 Jun 2007 21:31:17 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS.txt for 1.9.7 release -2007-02-14 20:14 robert +Mon, 4 Jun 2007 21:02:15 +0000 +Checked in by : Robert OSFIELD +Introduce OSG_BUILD_APPLICATION_BUNDLES option for OSX, defaulting to OFF. - * Added support for sharing context to GraphicsWindowX11 +Mon, 4 Jun 2007 20:32:15 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles and Rbert Osfeild, added extra details about CMake build options. -2007-02-14 17:28 robert +Mon, 4 Jun 2007 19:33:59 +0000 +Checked in by : Robert OSFIELD +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!!! - * Added getState()->setGraphicsContext(this); to the various - GrpahicsWindow implementations +Mon, 4 Jun 2007 17:11:40 +0000 +Checked in by : Robert OSFIELD +Added control of threading model, setting default to SingleThreaded to avoid crash associated with mixing useCursor(false) and multi-threading. -2007-02-14 16:29 robert +Mon, 4 Jun 2007 16:20:24 +0000 +Checked in by : Robert OSFIELD +Updated version for 1.9.7 release - * Renenabled the toggling on the CullPerCameraDrawPerContext - threading model in the thread event handler. +Mon, 4 Jun 2007 15:11:46 +0000 +Checked in by : Robert OSFIELD +Fixed stray control character -2007-02-14 16:24 robert +Mon, 4 Jun 2007 15:05:59 +0000 +Checked in by : Robert OSFIELD +Warning fix - * Added use of Mutex into osg::Stats to better handle - multi-threaded usage +Mon, 4 Jun 2007 14:47:16 +0000 +Checked in by : Robert OSFIELD +Cleaned up example -2007-02-14 16:16 robert +Mon, 4 Jun 2007 14:46:38 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery and Robert Osfield, ported fltk example to osgViewer::Viewer - * Changed the initialized osg Drager:::PointerInfo::hitIter to - prevent compile problems under Windows +Mon, 4 Jun 2007 13:45:58 +0000 +Checked in by : Robert OSFIELD +Added local FindFLTK.cmake to avoid problems with FLTK no being found by standard CMake FindFLTK.cmake. -2007-02-14 15:25 robert +Mon, 4 Jun 2007 11:47:05 +0000 +Checked in by : Robert OSFIELD +From Roger James, "Here are my fixes for transparency in the Collada DAE reader." - * From Michael Platings, "I was getting a 0 byte memory leak - reported when loading 3ds files, so - I've changed line 196 from: - - viewport->layout.viewL=(Lib3dsView*)calloc(sizeof(Lib3dsView),views); - - to: - - viewport->layout.viewL= views ? - (Lib3dsView*)calloc(sizeof(Lib3dsView),views) : 0;" +Mon, 4 Jun 2007 11:14:17 +0000 +Checked in by : Robert OSFIELD +From Martin Lavery and Robert Osfield, added use of hardwarded value kCGLCEMPEngine to fix build failure on slightly older versions of OSX. -2007-02-14 14:58 robert +Mon, 4 Jun 2007 10:56:01 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Changed the report of lack of WGL_SWAP_METHOD_ARB so that it is - INFO rather than WARN. +Mon, 4 Jun 2007 10:47:15 +0000 +Checked in by : Robert OSFIELD +Added osg::Hint class -2007-02-14 14:53 robert +Mon, 4 Jun 2007 08:38:11 +0000 +Checked in by : Robert OSFIELD +Fixed spelling of Receives - * From Stephan Huber, "attached you'll find an update for the - XCode-project. - - I added the osgShadow as a framework and osgManipulator as a - framework, - (and the corresponding examples) I removed (hopefully) all - references to - osg-/Producer where necessary, and some minor stuff." +Sun, 3 Jun 2007 10:00:09 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-02-14 14:36 robert +Sun, 3 Jun 2007 09:34:28 +0000 +Checked in by : Robert OSFIELD +Added Viewer::setUpViewerAsEmbeddedInWindow convinience method - * Added OSG_RUN_FRAME_COUNT env var which enables a limited run of - specified - frame numbers when Viewer::run is called. +Sun, 3 Jun 2007 09:11:41 +0000 +Checked in by : Robert OSFIELD +Removed osgsimple example -2007-02-14 13:18 robert +Sun, 3 Jun 2007 09:09:09 +0000 +Checked in by : Robert OSFIELD +Merged the osgviewerQT3 and QT4 examples into a single osgviewerQT example, and ported across from SimpleViewer to using Viewer - * Introduced new osg::Object::DataVariance type of UNSPECIFIED, and - changed the deafult - values of DataVariance to UNSPECIFIED to all types. +Sun, 3 Jun 2007 08:58:32 +0000 +Checked in by : Robert OSFIELD +Changed external library specication -2007-02-14 12:42 robert +Sat, 2 Jun 2007 16:23:07 +0000 +Checked in by : Robert OSFIELD +Ported across from SimpleViewer to using Viewer - * Set the DataVariance of updating text to DYNAMIC +Sat, 2 Jun 2007 16:01:56 +0000 +Checked in by : Robert OSFIELD +Ported QT3 example across to use osgViewer::Viewer, and made it possible to use the same source for both QT3 and QT4 -2007-02-14 12:40 robert +Sat, 2 Jun 2007 15:31:21 +0000 +Checked in by : Robert OSFIELD +Added osgViewer::GraphicsWindowEmbedded and ported GLUT, SDL and WX examples across from SimpleViewer to Viewer. - * From Jean-Sebastien Guay, fixed path. +Sat, 2 Jun 2007 12:03:24 +0000 +Checked in by : Robert OSFIELD +Ported GLUT example to using osgViewer::Viewer rather than SimpleViewer by using a local GraphicsWindowEmbedded class to help the adaption. -2007-02-14 12:00 robert +Fri, 1 Jun 2007 22:41:11 +0000 +Checked in by : Robert OSFIELD +Renamed all osgsimpleviewer* files to osgviewer* - * Removed debugging run method. +Fri, 1 Jun 2007 22:33:05 +0000 +Checked in by : Robert OSFIELD +Renamed osgsimpleviewer* examples to osgviewer* in prep for replacement of SimpleViewer by Viewer -2007-02-14 11:24 robert +Fri, 1 Jun 2007 22:28:03 +0000 +Checked in by : Robert OSFIELD +updated wrapper - * Added computeDataVariance method into osg::Object and - implementations in Drawable and StateSet, - and calling of osgUtil::StaticObjectDetectionVisitor in - osgViewer::Viewer +Fri, 1 Jun 2007 21:38:53 +0000 +Checked in by : Robert OSFIELD +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(). -2007-02-14 11:21 robert +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. +" - * From Mike Wittman, added spaces into < > macros -2007-02-13 22:39 robert - * Fixed warning +Fri, 1 Jun 2007 21:33:29 +0000 +Checked in by : Robert OSFIELD +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-02-13 22:24 robert - * Fixed warnings -2007-02-13 22:22 robert +Fri, 1 Jun 2007 21:28:18 +0000 +Checked in by : Robert OSFIELD +From Michael Hartman, "CMakeLists.txt: Changed this back to setup_example since WIN32 flag is now supported. - * Fixed warning + -2007-02-13 22:16 robert +MFC_OSG.h: - * Fixed warnings. + Added flag to indicate when the rendering thread has exited. -2007-02-13 20:32 robert + - * Added -losgText to example that used osgViewer but didn't - previously include -losgText +MFC_OSG.cpp: -2007-02-13 17:39 robert + Code modifications to support rendering flag thread exit. - * Changed the DeleteHandler so by default it doesn't cache objects + -2007-02-13 16:03 robert +MFC_OSG_MDIView.cpp: - * Added OSG_THREADING environmental variable to - osgViewer::Viewer::suggestBestThreadingModel + Change to OnDestroy function to wait until we get render thread exit flag is true before we close the window. -2007-02-13 15:57 robert + - * Reduced the RTT texture size to 256x256 to make setup quicker + -2007-02-13 15:24 robert +Main Exit Process: - * From John Shue, "Modified OpenSceneGraph/Make/makedefs to add - -pipe gcc command line - option to FreeBSD build." + User presses escape button -2007-02-13 14:42 robert + Viewer captures escape button and stops threading etc. - * Added support for ColorMask to .ive plugin + Viewer sets Done when shutdown is complete -2007-02-13 14:19 robert + MFC Render Thread monitors viewer->done for true - * From Brede Johansen, - "Geometry.cpp - Make sure number of normals match number of vertices when lit or - vertex-normal pairs are separated when geometries are merged by - the - optimizer. - - Ancillary.cpp - Improved support for multitexture effect field and use texture - environment from .attr file. - - PaletteRecords.cpp - Use search path when looking for shader files. - - PrimaryRecords.cpp - Added preset uniforms "TextureUnit0", "TextureUnit1", - "TextureUnit2" - and "TextureUnit3" for GLSL shaders." + MFC Render Thread exits while loop and sets MFC Done flag -2007-02-13 13:58 robert + MFC View Window monitors MFC Done flag and then closes/destroys the window - * From Eric Wing, "Here are some updates for osgsimpleviewerCocoa. - - New features and enhancements: - - Shared OpenGL contexts - - Multithreaded OpenGL Engine support - - Localizable string support - - Offscreen rendering (to framebuffer object) for: - - Copy/Paste (to image) support - - Drag-and-drop (as source image) support - - Print to Printer/PDF - - Dock minimization picture - - More robust initializer handling - - Fix to better handle hardware surfaces in - NSScrollViews/NSSplitViews - - Use of respondsToSelector and instancesRespondToSelector to - demonstrate runtime feature checking to provide access to newer - features while still compiling on and supporting legacy versions - - The new file "Localizable.strings" needs to be placed inside the - English.lproj directory." +" -2007-02-13 13:47 robert - * Added support for osg::Stencil into .ive -2007-02-13 12:17 robert +Fri, 1 Jun 2007 19:53:14 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Ulrich Hertlein, added support for osg::BlendColor to .ive - format. +Fri, 1 Jun 2007 19:45:24 +0000 +Checked in by : Robert OSFIELD +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-02-13 12:11 robert - * Added support for osg::BlendColor to .osg plugin -2007-02-13 11:32 robert +Fri, 1 Jun 2007 19:44:09 +0000 +Checked in by : Robert OSFIELD +Updates to OverlayData - * Added setDataVariance(DYNAMIC) to the scores text entires to - prevent the - DrawThreadPerContext for crashing due to double buffering of - dynamic data. +Fri, 1 Jun 2007 19:43:28 +0000 +Checked in by : Robert OSFIELD +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. -2007-02-13 09:38 robert +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. - * Changed the BlendFunction StateSet to DYNAMIC +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. -2007-02-13 09:33 robert +I hope that somebody with a win32 test system can catch up that implementation +on win32." - * From Mike Wittman, support for reference parameters -2007-02-13 09:27 robert - * Added setDataVariance(DYNAMIC) to _inputText to prevent problems - when running in DrawThreadPerContext threading model. +Fri, 1 Jun 2007 19:21:41 +0000 +Checked in by : Robert OSFIELD +Removed setViewUpOnScreen settings -2007-02-12 18:02 robert +Fri, 1 Jun 2007 19:19:23 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find the modified ImageStream and a small fix for QuicktimeImageStream to disable debug-logging :)" - * Updated wrappers +Fri, 1 Jun 2007 19:10:59 +0000 +Checked in by : Robert OSFIELD +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-02-12 17:59 robert - * From Mike Wittman, "Here is the next in the series of changes I'm - making to OSG introspection to support the attributes needed for - C# bindings. This change adds virtual/pure virtual attributes to - MethodInfo and an explicit attribute to ConstructorInfo using the - implementation strategy that David Callu recommended a few months - back (thanks David!). This change updates both genwrapper and - osgIntrospection, and assumes the osgIntrospection reference - support that's still pending in your submission queue." -2007-02-12 17:14 robert +Fri, 1 Jun 2007 19:01:23 +0000 +Checked in by : Robert OSFIELD +Removed the debug message for the ortho path. - * From Mike Wittman, "These changes add support for reflection of - reference and const reference type representations via - osgIntrospection::Type. This covers just the static type - information; the dynamic behavior via - Type::createInstance/Type::InvokeMethod should not be affected." +Fri, 1 Jun 2007 19:01:06 +0000 +Checked in by : Robert OSFIELD +Improved the handling of the -p path option -2007-02-12 15:59 robert +Fri, 1 Jun 2007 18:27:08 +0000 +Checked in by : Robert OSFIELD +Work in progress on shaders support - * Updated wrappers +Fri, 1 Jun 2007 16:14:47 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, added Win32 export -2007-02-12 13:51 robert +Fri, 1 Jun 2007 11:21:57 +0000 +Checked in by : Robert OSFIELD +Added recording of camera paths - * Added automatic scaling and translation of help to make sure it - always - fits on screen +Fri, 1 Jun 2007 10:42:24 +0000 +Checked in by : Robert OSFIELD +Changed name of AnimationPathHandler to RecordCameraPathHandler -2007-02-12 13:39 robert +Fri, 1 Jun 2007 10:39:27 +0000 +Checked in by : Robert OSFIELD +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. - * Added osgViewer::HelpHandler +Wed, 30 May 2007 17:56:43 +0000 +Checked in by : Robert OSFIELD +Improved taper ratio computation -2007-02-11 22:01 robert +Wed, 30 May 2007 16:36:47 +0000 +Checked in by : Robert OSFIELD +Added set up of overlay stateset - * Updated wrappers +Wed, 30 May 2007 14:18:33 +0000 +Checked in by : Robert OSFIELD +Added trapezodial fitting code -2007-02-11 21:24 robert +Wed, 30 May 2007 09:25:01 +0000 +Checked in by : Robert OSFIELD +Fixed case of when view==NULL - * Incresed the resolution of the trackball dragger geometry +Tue, 29 May 2007 18:39:27 +0000 +Checked in by : Eric WING +Stephan Huber: Adding missing Xcode project file. -2007-02-11 21:12 robert +Tue, 29 May 2007 14:19:42 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber, updated OpenThreads-XCode-project files - * Changed osgManipulator::Dragger::handle(..) method to use a - nested PointerInfo - class to encapsulate the pixel coords, SceneView and picking - operations in prep for - making the code more general purpose, and less reliant on classes - like osgUtil::SceneView and osgUtil::IntersectVisitor. +Tue, 29 May 2007 13:28:40 +0000 +Checked in by : Robert OSFIELD +Added support for specifying which screen number to place the window -2007-02-11 15:42 robert +Tue, 29 May 2007 10:31:03 +0000 +Checked in by : Robert OSFIELD +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.... - * Added osgText to dependency of osgmanipualator example. +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." -2007-02-11 15:41 robert - * Fixed Producer lib entry -2007-02-11 12:23 robert - * Updated wrappers +Tue, 29 May 2007 10:01:18 +0000 +Checked in by : Robert OSFIELD +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. -2007-02-11 12:22 robert +2) the 3rdparty I am supplying for FlightGear contains freetype-2.3.4. I +added the correct library naming for this particular release. - * Changed the osg::Shape related projectors so that they used - pointers rather - than references. +I double-checked my directory layout with the 3rdparty supplied by other +OSG contributors." -2007-02-11 10:33 robert - * From Vivek Rajan, new osgManipulator library, with a few minor - tweaks and rename for osgDragger to osgManipulator for build by - Robert Osfield. - Vivek's email to osg-submissions: - - "I'm happy to release the osgdragger nodekit to the OSG - community. I - implemented the nodekit for my company, Fugro-Jason Inc., and - they - have kindly agreed to open source it. - - The nodekit contains a few draggers but it should be easy to - build new - draggers on top of it. The design of the nodekit is based on a - SIGGRAPH 2002 course - "Design and Implementation of Direct - Manipulation in 3D". You can find the course notes at - http://www.pauliface.com/Sigg02/index.html. Reading pages 20 - 29 - of - the course notes should give you a fair understanding of how the - nodekit works. - - The source code also contains an example of how to use the - draggers." -2007-02-10 18:01 robert - * From Vivek Rajan, MatrixDecomposition implementaion, adapted by - Robert Osfield - to be part of osg::Matrixf and osg::Matrixd classes. +Tue, 29 May 2007 09:57:18 +0000 +Checked in by : Robert OSFIELD +From Olar Flebbe, "Visual Studio 2005 triggered a small glitch in UnittestFramework.cppDo not derefence it2 if it is at end()." -2007-02-09 21:31 robert - * Cleaned up osgshadow example so that it now relies upon osgShadow - for its - shadow implementation -2007-02-09 16:31 robert - * From Carlo Camporesi, "In attach there is a little bug fix to net - plugin. The modify allow the plugin to accept url with port - number in this way: - - http://"address ":"portnumber"/ - " -2007-02-09 16:27 robert +Tue, 29 May 2007 07:25:13 +0000 +Checked in by : Robert OSFIELD +Changed SHORT_NAMES = NO to SHORT_NAMES = YES to avoid crappy Windows problems - * Updated wrappers +Mon, 28 May 2007 15:44:37 +0000 +Checked in by : Robert OSFIELD +Added --object, --ortho and --persp OverlayNode options -2007-02-09 16:03 robert +Mon, 28 May 2007 15:27:21 +0000 +Checked in by : Robert OSFIELD +Fixed handle on non ellipsoid models - * Moved the basic ShadowVolume code into osgShadow +Mon, 28 May 2007 15:17:27 +0000 +Checked in by : Robert OSFIELD +Improved the accuracy of the overlaynode settings -2007-02-09 14:54 robert +Mon, 28 May 2007 13:56:26 +0000 +Checked in by : Robert OSFIELD +Added project down to base implementation. - * From Yefei He, " I wrote a class derived from CopyOp that - preserves the multi-parent - structure of scene graphs. I only considered the case of - DEEP_COPY_NODES, - but it is sufficient for me. It is not the most elegant way -- I - used - a map to list all the already cloned nodes with multiple parents, - to be - looked up whenever such a node is revisited. The good part is, it - works." - - From Robert Osfield, fixed build problems under Linux 64 due to - use of int's to store Node* - in internal maps used in above custom CopyOp. Added ref_ptr<> - usage to main to - prevent memory leaks +Mon, 28 May 2007 10:48:04 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS.txt for 1.9.6 release -2007-02-09 14:35 robert +Mon, 28 May 2007 10:17:52 +0000 +Checked in by : Robert OSFIELD +Updated version number, wrappers and readme for release - * From Joakim Simmonsson, fixed inconsistent newlines +Mon, 28 May 2007 10:14:29 +0000 +Checked in by : Robert OSFIELD +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-02-09 14:21 robert +Mon, 28 May 2007 09:30:10 +0000 +Checked in by : Robert OSFIELD +Removed old ProgrammingGuide as this is now replaced by the proper Quick Start Guide. - * From Paul Martz, "Make DelaunayTriangulator less verbose - It was - outputting a non-warning with notify level set to WARN; changed - it to INFO to make it less verbose." +Sun, 27 May 2007 19:35:50 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-02-09 13:51 robert +Sun, 27 May 2007 18:18:17 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Changed GraphicsWindowX11 so that it creates two Display* - connextions to the Xserver, - one for the graphics thread, one for the main thread that - querries events +Sun, 27 May 2007 17:29:29 +0000 +Checked in by : Robert OSFIELD +Added camera event callback support into osgViewer -2007-02-09 13:36 robert +Sun, 27 May 2007 15:24:41 +0000 +Checked in by : Robert OSFIELD +Updated calling of master camera's update callback - * Added #if #else #endif blocks to Viewer::realize() and run() for - the purposes of testing +Sun, 27 May 2007 14:52:43 +0000 +Checked in by : Robert OSFIELD +Added testing to see if camera allows events before automatically attaching a trackball manipulator -2007-02-09 12:08 robert +Sun, 27 May 2007 14:49:58 +0000 +Checked in by : Robert OSFIELD +Added option for using the different overlay techniques. - * Removed debug message +Sat, 26 May 2007 16:02:28 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-02-08 22:36 robert +Sat, 26 May 2007 15:55:26 +0000 +Checked in by : Robert OSFIELD +Added a basic configure script to allow the setting of Release build by default. - * From André Garneau, "Attached is a fix for the hang occuring on - Win32 when the thread model is changed. - - The issue was caused by the mutex in the - ViewerDoubleBufferRenderingOperation being released even though - they were not owned. This was causing the underlying critical - section object lock count values becoming negative; the next time - the lock was acquired it would block because of that." +Sat, 26 May 2007 15:49:35 +0000 +Checked in by : Robert OSFIELD +Fixes to help C# binding dev. -2007-02-08 22:31 robert +Sat, 26 May 2007 15:47:53 +0000 +Checked in by : Robert OSFIELD +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." - * From Brian Keener, fixes for Cygwin filename handling +Sat, 26 May 2007 15:42:30 +0000 +Checked in by : Robert OSFIELD +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. -2007-02-08 20:30 robert +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. - * From Charles Cole, "The program database filename was changed for - the osgviewer application such - as to not conflict with the program database file generated by - the core - osgViewer library. This change allows for both the application - and library - to be used in debugging mode within Visual Studio. This change - has been - tested with Visual Studio 2005 (VS8)." +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-02-08 20:27 robert - * Updated wrappers -2007-02-08 19:34 robert +Sat, 26 May 2007 15:17:14 +0000 +Checked in by : Robert OSFIELD +Added exclude of svn directories. - * Further work on osgShadow::ShadowTechnique API +Fri, 25 May 2007 19:35:19 +0000 +Checked in by : Robert OSFIELD +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. -2007-02-08 17:23 robert +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. +" - * Flesh out more of basic ShadowTechnique and ShadowedScene API. -2007-02-08 15:47 robert - * Fixed the FlattenStaticTransform visitor so that it excludes - subgraphs that - contain PagedLOD nodes -2007-02-08 15:01 robert +Fri, 25 May 2007 19:32:15 +0000 +Checked in by : Robert OSFIELD +Comment out the setting of single threading. - * Cleaned up readString +Fri, 25 May 2007 16:00:38 +0000 +Checked in by : Robert OSFIELD +Added s/getOverlayBaseHeight methods + +Fri, 25 May 2007 15:57:59 +0000 +Checked in by : Robert OSFIELD +Added some debug message to the set/getWindowSystemInterface function + +Fri, 25 May 2007 15:27:06 +0000 +Checked in by : Robert OSFIELD +Introduce C entry point support for plugin setup for better static build support + +Fri, 25 May 2007 15:26:13 +0000 +Checked in by : Robert OSFIELD +Added C entry point graphicswindow_X11() to help with static build support + +Fri, 25 May 2007 15:25:39 +0000 +Checked in by : Robert OSFIELD +Added osgstaticviewer example to demonstrate how to put a static lib built viewer + +Fri, 25 May 2007 13:15:00 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, build fixes for Win32 build osg WxWidgets example + +Fri, 25 May 2007 10:14:05 +0000 +Checked in by : Robert OSFIELD +Implemnet clampping of ovleray polytope to base plane + +Fri, 25 May 2007 10:13:36 +0000 +Checked in by : Robert OSFIELD +Changed debug message to INFO + +Thu, 24 May 2007 16:11:42 +0000 +Checked in by : Robert OSFIELD +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." + +Thu, 24 May 2007 14:20:02 +0000 +Checked in by : Robert OSFIELD +Improved the polytope cutting and project calculation + +Thu, 24 May 2007 10:15:50 +0000 +Checked in by : Robert OSFIELD +From Peter Hrenka, fixes regarding line-strips and -loops. + +Thu, 24 May 2007 09:49:22 +0000 +Checked in by : Robert OSFIELD +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." + +Thu, 24 May 2007 08:51:55 +0000 +Checked in by : Robert OSFIELD +From Serge Lages, support for install api directories, with tweaks from Robert Osfield + +Wed, 23 May 2007 19:30:16 +0000 +Checked in by : Robert OSFIELD +Fixed brackets + +Wed, 23 May 2007 19:25:54 +0000 +Checked in by : Robert OSFIELD +Added automatic building of plugins as static when dynamic build is switch off. + +Wed, 23 May 2007 15:24:16 +0000 +Checked in by : Robert OSFIELD +From Anders Backman, add -DJAS_WIN_MSVC_BUILD for Win32 build + +Wed, 23 May 2007 15:14:18 +0000 +Checked in by : Robert OSFIELD +Made the local shaders definitions static const char to avoid multiple definiations -2007-02-08 14:59 robert +Wed, 23 May 2007 14:55:59 +0000 +Checked in by : Robert OSFIELD +Added insertion of center point into object polytope - * Fixed return in readString. +Wed, 23 May 2007 13:26:21 +0000 +Checked in by : Robert OSFIELD +Added angular sorting of the points on the plane intersecting the cut plane. -2007-02-08 12:47 robert +Wed, 23 May 2007 12:35:37 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added the threading model to stats +Wed, 23 May 2007 12:21:20 +0000 +Checked in by : Robert OSFIELD +Added platform specific GraphicsWindow* headers to public headers listings -2007-02-08 12:24 robert +Wed, 23 May 2007 11:05:59 +0000 +Checked in by : Robert OSFIELD +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. - * Added threading model option to command line parameters +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. -2007-02-08 12:21 robert +This is implementation is certainly not the fastest. +There are certainly ways and strategies to improve it. - * Added check in setThreadingModel so that it only sets up - threading if the viewer is realized -2007-02-08 12:20 robert +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. - * Fixed setThreadModel method so that is doesn't try to set up - threading unless - the viewer is realized -2007-02-08 12:14 robert +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. - * Updated the handling of closing of windows -2007-02-08 11:30 robert +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). + +" - * Added better clean up of paramters on X display in - GraphicsWindowX11:closeImplementation -2007-02-08 11:26 robert - * From Stefan Eilemann, addd more extensive XErrorHandler output +Wed, 23 May 2007 10:57:46 +0000 +Checked in by : Robert OSFIELD +Added debug timing code -2007-02-08 11:24 robert +Tue, 22 May 2007 15:17:52 +0000 +Checked in by : Robert OSFIELD +Added _firstTimeToInitEyePoint = true to the setAutoRotateMode to force the AutoTransform to recompute its position on next frame. - * Added setting of the DatabasePager's affinity. +Tue, 22 May 2007 14:00:51 +0000 +Checked in by : Robert OSFIELD +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-02-08 10:46 robert - * From Donn Mielcarek, "We generated some bad ive files in our - database. In - some of the files, the function readInt() would return - a 0 size. While linux will happily continue on, - creating 0 sized arrays, Windows immediately - blows up, with sparks sometimes flying out the - side of the machine! - - I added a simple check for zero size in - each of the functions that allocates arrays - based on the size variable, and I thought - I'd pass it along. Now the program will - not die if it encounters an ive file with bad - data." -2007-02-07 21:56 robert +Tue, 22 May 2007 13:48:21 +0000 +Checked in by : Robert OSFIELD +Changed the way the the InputRange is adjusted on the event state to fix bugs related to picking - * Updated wrappers +Tue, 22 May 2007 09:32:38 +0000 +Checked in by : Robert OSFIELD +Added osg::Camera::ProjectionResizePolicy enum and associated methods for controlling how the field of view is adjust on window resizes. -2007-02-07 21:48 robert +Mon, 21 May 2007 18:46:57 +0000 +Checked in by : Robert OSFIELD +Added extra checks to make sure that graphics operations arn't done on no longer valid graphics contexts - * Changed the setting of need to traverse during the update - traverse so it is only enabled when animation is switched on. +Mon, 21 May 2007 18:17:54 +0000 +Checked in by : Robert OSFIELD +Fixed Viewer::checkWindowStatus() to work correctly when running single threaded -2007-02-07 21:16 robert +Mon, 21 May 2007 13:15:26 +0000 +Checked in by : Robert OSFIELD +Reverting Luigi's addition of argv[1] as it breaks the build. - * Disabled the toggling to ThreadModel - CullThreadPerCameraDrawThreadPerContext +Mon, 21 May 2007 12:34:03 +0000 +Checked in by : Robert OSFIELD +Updated readme -2007-02-07 16:32 robert +Mon, 21 May 2007 12:30:14 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, changed hardwired "cow.osg" paramter to argv[1] - * Added new Transform::ReferenceType enum - ABSOLUTE_RF_INHERIT_VIEWPOINT to support - internal RTT cameras that wish to use the main cameras view/eye - point for LOD and other - distance based tests. +Mon, 21 May 2007 12:28:25 +0000 +Checked in by : Robert OSFIELD +Converted tabs to 4 spaces -2007-02-07 16:27 robert +Mon, 21 May 2007 12:26:38 +0000 +Checked in by : Robert OSFIELD +Updated version file for 1.9.5 release - * Set the DataVariance to DYNAIMC for the StateSet of with the - dynamically updating Uniform +Mon, 21 May 2007 11:49:37 +0000 +Checked in by : Robert OSFIELD +Fixed const method type -2007-02-07 14:53 robert +Mon, 21 May 2007 09:27:01 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for 1.9.5 release - * Fixed bug in AutoTransform::accept() that was related to the - accept() method - checking the nodemask as it should. +Mon, 21 May 2007 09:18:23 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2007-02-06 20:03 robert +Mon, 21 May 2007 08:01:45 +0000 +Checked in by : Robert OSFIELD +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." - * From Stephan Huber, "thomas kirk schrieb: - > I put this at the end of realizeImplementation; someone with - better knowledge - > of Carbon programming may see a more appropriate place for the - call. - - I moved your code into the ctor of the - OSXCarbonWindowingSystemInterface - so it get called only once. Can you test it again, if it works on - your side? - - I also disabled multithreaded-rendering because it slowed down - the - rendering on my machine by a factor of 3. Perhaps we can make it - optional to test it on other machines. - - I had some problems implementing pbuffer-support for os x and - stopped it - for now until I have more time to investigate the issues. - " -2007-02-06 17:34 robert - * From André Garneau, "Attached is an improved Win32 keyboard - handler that should now map key events similarly to the X11 - implementation: - - * Key event handler now reports left or right SHIFT, CTRL and ALT - key variants on key press and release events." -2007-02-06 17:01 robert +Mon, 21 May 2007 07:54:01 +0000 +Checked in by : Robert OSFIELD +Added static build support to export macros - * From Stefan Eileman, fixes for OSX gmake build to allow AGL or - X11 implementation of osgViewer +Mon, 21 May 2007 06:57:30 +0000 +Checked in by : Robert OSFIELD +Added istream:imbue(std::locale::classic()) setting to prevent non classic locals from being used when the .osg plugin reads and writes. -2007-02-06 17:00 robert +Sun, 20 May 2007 17:38:11 +0000 +Checked in by : Robert OSFIELD +Introduced VERSION and SOVERSION'ing of libraries. - * Updated wrappers +Sun, 20 May 2007 13:42:41 +0000 +Checked in by : Robert OSFIELD +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. -2007-02-06 16:23 robert +There seems to be a bug regarding multiple threads and closing windows, +see my other mail on osg-users. +" - * Re-enabled processor affinity -2007-02-06 14:38 robert - * Added new Viewer threading model options +Sun, 20 May 2007 12:29:11 +0000 +Checked in by : Robert OSFIELD +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. -2007-02-06 14:20 robert +Sun, 20 May 2007 11:45:09 +0000 +Checked in by : Robert OSFIELD +Added support for SG_USE_FLOAT_MATRIX and OSG_USE_FLOAT_PLANE in CMake build and include/osg/Matrix and include/osg/Plane. - * Updated wrappers +Sun, 20 May 2007 11:13:18 +0000 +Checked in by : Robert OSFIELD +Fixed build error under float matrix build -2007-02-06 14:20 robert +Sun, 20 May 2007 09:55:34 +0000 +Checked in by : Robert OSFIELD +From Lugi Calori, added control of lib postfix. - * Clean up getDrawable() method +Sat, 19 May 2007 14:00:39 +0000 +Checked in by : Robert OSFIELD +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. -2007-02-06 13:44 robert +This has some benefits: - * Fixed Suse9.3 build problem due to different handling Quat copy - constuctor ++ no gaps when looping audio ++ simplified code -2007-02-06 11:03 robert +Attached you'll find the modified files, hope you'll find them useful." - * Further work on support for ThreadPerCamera, and improved the - efficiency of SingleThraeded -2007-02-05 14:56 robert - * Tweak API and updated wrappers to get wrappers to build -2007-02-05 13:44 robert +Sat, 19 May 2007 13:43:38 +0000 +Checked in by : Robert OSFIELD +Various additions to better support view dependent overlay node, and updated wrappers - * Added Camera's s/getCameraThread() and updated wrappers +Sat, 19 May 2007 13:39:55 +0000 +Checked in by : Robert OSFIELD +From Rafa Giatan and Robert Osfield, added support for User defined events, by adding UserData to Events. -2007-02-05 12:13 robert +Sat, 19 May 2007 13:38:38 +0000 +Checked in by : Robert OSFIELD +Made the near far ratio lower to allow one to be near the terrain before clipping comes in to effect - * Updated wrappers +Sat, 19 May 2007 12:27:53 +0000 +Checked in by : Robert OSFIELD +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-02-05 11:48 robert - * From Gordon Tomlinson, "I have attached the 3 files we had to - change to fix a proble we were seeing with using Symbol Fonts - - // GT: fix for symbol fonts (i.e. the Webdings font) as the wrong - character are being - // returned, for symbol fonts in windows (FT_ENCONDING_MS_SYMBOL - in freetype) the correct - // values are from 0xF000 to 0xF0FF not from 0x000 to 0x00FF (0 - to 255) as you would expect. - // becuase Microsoft uses a private field for its symbol fonts - ........ - " -2007-02-05 11:14 robert +Sat, 19 May 2007 12:16:06 +0000 +Checked in by : Robert OSFIELD +From Lugi Calori, fix for Win32 build of osgsimpleviewerWX - * From Brede Johansen, "I have made some changes to support light - sources in the new - OpenFlight loader." +Sat, 19 May 2007 07:08:20 +0000 +Checked in by : Robert OSFIELD +In Drawable::releaseGLObjects() replaced glDeleteLists with Drawable::deleteDisplayList(..) to prevent inappropriate OpenGL deletion when current thread does have required grpahics contxt -2007-02-05 10:48 robert +Fri, 18 May 2007 11:22:56 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Brede Johansen, added OSG_EXPORT to DeleteHandler for - windows build +Fri, 18 May 2007 10:33:56 +0000 +Checked in by : Robert OSFIELD +Added support for tracking the CoordinateSystemNode path, and passing this on to camera manipulators. -2007-02-05 10:44 robert +Fri, 18 May 2007 09:49:30 +0000 +Checked in by : Robert OSFIELD +Added range of CameranManipulators to allow us to navigate the scene freely - * From Paul Martz, "Here's my changes to Registry to allow - extension alias mapping via a config file. I also attached a - sample file that tests the parsing, but this is just FYI and not - for inclusion in CVS. - - To set up extension aliases using a config file, an app calls: - osgDB::Registry::instance()->readPluginAliasConfigurationFile(), - passing in the file name as the parameter. (Of course this should - be done before loading any files whose names depend on the - mapping.) osgDB will search for the file using OSG_FILE_PATH. - - The file should contain a line for each mapping, with the "map" - extension first, followed by a space or tab, then the plugin - identifier. For example, a file containing this line: - - flt OpenFlight - - would map the ".flt" extension to the OpenFlight plugin." +Fri, 18 May 2007 09:43:25 +0000 +Checked in by : Robert OSFIELD +Added -f/--fixed option to allow use to freeze the animation of the cessna. -2007-02-02 22:30 robert +Thu, 17 May 2007 19:58:57 +0000 +Checked in by : Robert OSFIELD +Added support for View::setFustionDistance(..) - * Convert GraphicsThread/GraphicsOperation to more generic - OperationsThread/Operation. - This paves the way to running cull traversals in seperate - threads. - - Updated wrappers +Thu, 17 May 2007 15:39:33 +0000 +Checked in by : Robert OSFIELD +Improved view dependent camera positioning -2007-02-02 16:51 robert +Thu, 17 May 2007 13:20:32 +0000 +Checked in by : Robert OSFIELD +Added saving and restoring of the near/far planes during Camera setup - * From Eric Sokolowski, added support for the new Text line spacing - parameter to the .osg and .ive formats. +Thu, 17 May 2007 11:55:53 +0000 +Checked in by : Robert OSFIELD +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-02-02 12:41 robert +Thu, 17 May 2007 11:48:30 +0000 +Checked in by : Robert OSFIELD +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" - * Added a concrete osg::DeleteHandler implementation which provides - support for - retain objects for several frames before deleting them. Also - added RenderStageCache - into CullVistor.cpp that is used for handling RTT osg::Camera's - that are being - used in double buffered SceneView usage. -2007-02-01 11:07 robert - * Improved the toggling on/off of thrading modes -2007-02-01 11:07 robert +Thu, 17 May 2007 11:04:57 +0000 +Checked in by : Robert OSFIELD +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. - * Moved the init traversal from cull() to the draw() to prevent - graphics context - calls being made during the cull traversal - something that - breaks the - ThreadPerCamera model in osgViewer + -2007-01-31 22:24 robert +CMakeList.txt: - * Further work on new threading model. +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. -2007-01-31 11:12 robert + - * Removed old #if #else #end block + -2007-01-30 17:38 robert +MFC_OSG.h: - * Refactored the ViewerRenderingOperation so that the timer querry - code is in a separate ViewerQuerySupport class +This file had some small changes: -2007-01-30 17:12 robert +From: #include - * Added display listing of ShadowVolume +To: #include -2007-01-30 15:37 robert + - * Added automatic aspect ratio adjustmeent to - View::setUpViewAcrossAllScreens() and setUpViewOnSingleScreen. +Also added two new function declarations -2007-01-30 14:47 robert + Void PreFrameUpdate(void); - * Updated wrappers + Void PostFrameUpdate(void); -2007-01-30 14:32 robert + - * From Eric Sokolwsky, "osgText is a useful node kit, but when - longer paragraphs are displayed - on the screen, it looks more aesthetically pleasing to have a - larger - gap between lines than is given by default. I added a new - parameter, - lineSpacing, in the Text class to allow the line spacing to be - adjustable - by the application. The default value is 0 meaning there is no - extra - spacing given. The value should be given as a percentage of the - character - height. A good value for longer paragraphs is 0.25 (25%) or - more." + -2007-01-30 14:18 robert +MFC_OSG.cpp: - * From Bryan Thrall, "The osgDB::ReaderWriter and - osgDB::ReaderWriter::Options classes have - copy constructors that take a const osg::CopyOp rather than a - osg::CopyOp&, forcing an unnecessary copy. The attached header - fixes - this, based off OSG 1.2. - - Also fixed duplicate "or" openArchive()'s comment." +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-01-30 13:48 robert + - * Added support for compute average stats attributes in inverse - space to improve - the quality of frame rate reporting. +" -2007-01-30 12:09 robert - * Disabled the alternating directions of drawing of state sorted - render leaves as it - was interferring with anaglyphic stereo used in the osgstereimage - example. -2007-01-30 11:47 robert +Thu, 17 May 2007 10:59:05 +0000 +Checked in by : Robert OSFIELD +From Andre Garneau, warnings fixes fo VC++ - * Updated wrappers +Thu, 17 May 2007 10:33:44 +0000 +Checked in by : Robert OSFIELD +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-01-30 11:40 robert - * Added Stats::collectStats(string,bool) controls, - getAveragedAttribute methods into osg::Stats class, and - related support into osgViewer::Viewer and - osgViewer::StatsHandler. - - Added lazy updating of text in StatsHandler HUD to minimize the - impact of - slow text updating on observed frame rates. -2007-01-30 09:55 robert +Wed, 16 May 2007 19:19:43 +0000 +Checked in by : Robert OSFIELD +Futher work on view dependent OverlayNode - * Added support for per frame alternating the direction that - SORT_BY_STATE bins are - rendered. The alternation makes it more likely that OpenGL - objects will still - be in video ram. +Wed, 16 May 2007 14:22:10 +0000 +Checked in by : Robert OSFIELD +Refactored the internals of OverlayNode -2007-01-29 22:59 robert +Wed, 16 May 2007 11:32:29 +0000 +Checked in by : Robert OSFIELD +Added code for computing the frustum dimensions in local coords to the overlay node - * Made _useMainThreadForRenderingalTraversal(false) +Tue, 15 May 2007 19:45:46 +0000 +Checked in by : Robert OSFIELD +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-01-29 22:44 robert +Tue, 15 May 2007 19:32:55 +0000 +Checked in by : Robert OSFIELD +From Blasius Czink, "when creating windows with decorations (titlebar) the mouse position should be adjusted." - * Began work on providing support for threading camera cull - traversals in parallel with - the previous frames draw traversal. Changes range from - osg::State, through osgUtil::RenderBin, through to osgViewer +Tue, 15 May 2007 19:25:57 +0000 +Checked in by : Robert OSFIELD +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-01-28 17:32 robert +Tue, 15 May 2007 17:04:57 +0000 +Checked in by : Robert OSFIELD +Added code to better compute the view frustum that is appropriate for a traversed subgraph. - * Added very simple relaxing of traits by dividing required red, - green, blue, alpha and depth by 2. +Tue, 15 May 2007 17:04:24 +0000 +Checked in by : Robert OSFIELD +Changed back to use find Qt3 and Qt4 separately to avoid QT error reports -2007-01-28 17:12 robert +Tue, 15 May 2007 14:55:02 +0000 +Checked in by : Robert OSFIELD +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 - * Added use of Viewe Realize graphics operation. +Tue, 15 May 2007 14:53:58 +0000 +Checked in by : Robert OSFIELD +Added -n/--no-overlay option -2007-01-28 17:11 robert +Tue, 15 May 2007 11:31:09 +0000 +Checked in by : Robert OSFIELD +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 - * Added set/getRealizeOperation() to Viewer and CompositeViewer +instead of : -2007-01-28 09:53 robert +FIND_PACKAGE(Qt3) +FIND_PACKAGE(Qt4) - * Updated wrappers +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-01-28 09:30 robert - * From Vlad Danciu, fixed leaf depth sort functor -2007-01-28 09:17 robert +Tue, 15 May 2007 11:25:14 +0000 +Checked in by : Robert OSFIELD +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: - * From Mike Wittman, "This file removes the virtual destructor of - osgText::String. It seemed wrong that osgText::String should have - a vtable since it is treated like a value type, and any - subclasses containing additional data would effectively be - subject to slicing during standard usage. This stuck out as an - anomaly when classifying the OSG types for C# bindings." +http://www.opengl.org/sdk/docs/man/xhtml/glClientActiveTexture.xml +http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml +" -2007-01-27 17:57 robert - * Added osg::PolygonMode to local StateSet to protect it from being - affected by - stateset manipulator. -2007-01-27 17:52 robert +Tue, 15 May 2007 11:22:25 +0000 +Checked in by : Robert OSFIELD +Futher work on new view dependent overlay node - * Updated wrappers +Mon, 14 May 2007 20:23:10 +0000 +Checked in by : Robert OSFIELD +Set up new view dependent overlay technique control methods -2007-01-27 14:27 robert +Mon, 14 May 2007 17:01:07 +0000 +Checked in by : Robert OSFIELD +Added include of GraphicsWindow to fix wrapper build error - * Added access methods to PositionStateContainer +Mon, 14 May 2007 16:17:16 +0000 +Checked in by : Robert OSFIELD +Removed redundent comment '.' -2007-01-27 14:27 robert +Mon, 14 May 2007 16:16:22 +0000 +Checked in by : Robert OSFIELD +Fixed parameter name - * Added light source. +Mon, 14 May 2007 16:14:40 +0000 +Checked in by : Robert OSFIELD +Clean up comments and rebuilt wrappers.Added extra event handlers to osgsimulator example -2007-01-27 12:54 robert - * Further work on shadow CullCallback -2007-01-27 12:54 robert +Mon, 14 May 2007 16:13:33 +0000 +Checked in by : Robert OSFIELD +Replaced TARGET_ADD_LIBRARIES to TARGET_EXTERNAL_LIBRARIES for WxWidgets to avoid debug issues - * Added _sorted flag into RenderBin to prevent a bin being sorted - twice in one frame +Mon, 14 May 2007 15:16:26 +0000 +Checked in by : Robert OSFIELD +Renamed ViewerEventHandler to ViewerEventHandlers -2007-01-27 11:13 robert +Mon, 14 May 2007 15:07:04 +0000 +Checked in by : Robert OSFIELD +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. - * Changed osgUtil::RenderBin and osg::State to allow nesting of - StateSet's associated with RenderBin's. +Mon, 14 May 2007 14:41:22 +0000 +Checked in by : Robert OSFIELD +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." -2007-01-26 21:22 robert +Mon, 14 May 2007 14:36:03 +0000 +Checked in by : Robert OSFIELD +Changed tabs to four spaces - * Further work on building the rendering back end from the intial - traversal of the - scene graph +Mon, 14 May 2007 09:43:48 +0000 +Checked in by : Robert OSFIELD +Updated authors file -2007-01-26 16:08 robert +Mon, 14 May 2007 09:33:32 +0000 +Checked in by : Robert OSFIELD +Updated wrappers and version numbers for 1.9.4 dev release - * Added Program pointer to help with uniform apply. +Sun, 13 May 2007 09:54:51 +0000 +Checked in by : Robert OSFIELD +Added TerrainNode::init() and s/getTreatBoundariesToValidDataAsDefaultValue flag. -2007-01-26 09:44 robert +Fri, 11 May 2007 20:16:52 +0000 +Checked in by : Robert OSFIELD +Added include - * Added custom callback to capture RenderBins +Fri, 11 May 2007 19:28:41 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-25 12:16 robert +Fri, 11 May 2007 19:25:44 +0000 +Checked in by : Robert OSFIELD +Added new areThreadsRunning() method to Viewer and CompositeViewer.Added removeView(View*) method to CompositeViewer - * #ifdef'd out the artifical simulation time code +Added stopping/starting of threads in addView/removeView -2007-01-25 12:02 robert - * Added osg::FrameStamp::set/getSimulationTime(). - - Added setting of osg_SimulationTime and osg_DeltaSimulationTime - to the uniforms set by SceneView - - Added frame(double simulationTime) and advance(double - simulationTime) parameters to - osgViewer::SimpleViewer, Vewer and CompositeViewer. - - Updated various examples and Nodes to use SimulationTime where - appropriate. -2007-01-25 10:02 robert +Fri, 11 May 2007 18:25:06 +0000 +Checked in by : Robert OSFIELD +Added ValidDataOperator base class and NoDataValue and ValidRange subclasses, and support for it in osgTerrain::Layer and GeometryTechniqnue. - * From Gordon Tomlinson, fixes to - BoundingSphere::expandBy(BoundingSphere&) +Fri, 11 May 2007 13:45:53 +0000 +Checked in by : Robert OSFIELD +From Uwe Woessner, fixed handling of read/draw buffer in vertical interlaced stereo -2007-01-24 12:59 robert +Fri, 11 May 2007 13:43:00 +0000 +Checked in by : Robert OSFIELD +UPdated wrappers - * Updated wrappers +Fri, 11 May 2007 12:46:38 +0000 +Checked in by : Robert OSFIELD +Fixed CMake support for osgsimpleviewWX -2007-01-24 12:35 robert +Fri, 11 May 2007 12:12:55 +0000 +Checked in by : Robert OSFIELD +From Doug McCorkle, removed pfdb from link line - * From Martin Spott, "To enable osgviewer to link on Solaris added - -lmtsk as SunOS/SunStudio implements some threading stuff in - libmtsk." +Fri, 11 May 2007 09:07:00 +0000 +Checked in by : Robert OSFIELD +From Gian Lorenzetto, osgsimpleviewWX example, CMake support added by Robert Osfield -2007-01-24 12:28 robert +Fri, 11 May 2007 09:05:59 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added support for GUIEventAdapter::setHandled +Fri, 11 May 2007 08:30:20 +0000 +Checked in by : Robert OSFIELD +From Brad Colbert, removed inappropriate rewind on non looping code path. -2007-01-24 12:21 robert +Fri, 11 May 2007 08:19:46 +0000 +Checked in by : Robert OSFIELD +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." - * Added setHandled/getHandled to osgGA::GUIEventAdapter +Thu, 10 May 2007 18:07:54 +0000 +Checked in by : Robert OSFIELD +Added supoort for transforming layers by an offset and scale -2007-01-24 11:18 robert +Thu, 10 May 2007 18:07:15 +0000 +Checked in by : Robert OSFIELD +Removed rendundent const - * Added ability to generate various cube faces for testing and - switch handler to toggle between different models. +Thu, 10 May 2007 12:49:09 +0000 +Checked in by : Robert OSFIELD +Added automatic detection of alpha values, switching on blending when alpah!=1.0 -2007-01-24 10:02 robert +Thu, 10 May 2007 12:33:56 +0000 +Checked in by : Robert OSFIELD +Added automatic enabling of blending when alpha value != 1.0 occur in the color or transfer function data. - * From André Garneau, " - - - - * Setup proper pixel format for ATI boards (removal of - WGL_SWAP_METHOD_ARB specification from the requested pixel format - since unsupported by the ATI driver) - - * Fix to create sample OpenGL window on the proper display - device. This is the temporary window used to choose the desired - pixel format. In the previous version, this window was always - created on the primary display device, even though it had - potentially different pixel formats compared to the target - display device containing the window to be created. - - * Implementation of - WindowingSystemInterface::setScreenResolution() method - - * Implementation of - WindowingSystemInterface::setScreenRefreshRate() method - - * Implementation of GraphicsWindow::requestWarpPointer() method - - * Implementation of GraphicsWindow::useCursor() method and - associated trait support. This can be used in two ways; first, - when the graphics trait requested indicates that no cursor should - be present, a new cursor-less window class is used to create the - window. When a cursor-enabled window creation is requested, - another window class is used. After creation of a window, it is - also possible to toggle the cursor state by using the - GraphicsWindow::useCursor method. - - * The way the mouse behaves is now compatible with the behaviour - seen on X11; i.e. when pressing a mouse button, the window where - the pointer is located will capture the mouse input and release - it only after the button has been released. This results in all - mouse movement events being dispatched to the window where the - button was pressed initially until it is released. This improves - the interaction with graphics windows. - - - - * Preparation work has been done to support the ability of moving - a window from one screen to another screen and recreating its - rendering context when this happens. This has been tested with a - mix of NVIDIA and ATI cards and works properly. For the moment - being, this feature is commented out due to changes in the core - OSG libraries that have been done but need to be submitted later - this week for approval by Robert. - - - - Upcoming features - - - - * Support for moving windows from one screen to another screen - seamlessly - - - - * Ability to set the window (i.e. the application itself creates - the rendering window and passes it to the GraphicsWindowWin32 - class) - - - - * Other miscellaneous items" - - --------------------------------------------------- +Thu, 10 May 2007 11:36:53 +0000 +Checked in by : Robert OSFIELD +From Daniel Sjolie, build fix for Windows -2007-01-23 17:42 robert +Thu, 10 May 2007 10:52:35 +0000 +Checked in by : Robert OSFIELD +Added getHWND, getHDC and getWGLContext methods - * Added cube test model. +Thu, 10 May 2007 08:20:33 +0000 +Checked in by : Robert OSFIELD +Added checks against Options to osga plugin to ensure archives are only cached when requested, cleaned up the Registry::openArchiveImplementation function. -2007-01-23 17:29 robert +Wed, 9 May 2007 13:05:19 +0000 +Checked in by : Robert OSFIELD +Commented out debug messages - * changed build order so that osgText gets built before osgViewer +Wed, 9 May 2007 12:08:30 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-23 16:32 robert +Wed, 9 May 2007 11:11:19 +0000 +Checked in by : Robert OSFIELD +From John Kelso,"Attached are updates of src/osg/Sequence.spp and include/osg/Sequence. - * Fixed tabbing +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. -2007-01-23 16:28 robert +I got rid of the _recalculate method as it was only getting used in +one place. - * Updated wrappers +I also found a cut/paste bug in setMode's START case." -2007-01-23 16:27 robert +Note from Robert Osfield, Also includes some guards against crashes that was occuring in this new +code when handling empty Sequences. - * Commented out the default saving of models -2007-01-23 16:26 robert - * Added osg::StateSet* parameter to constructor to make it more - convinient to set - up the StateSetManipulator and moved the initialization of - locally cached states - into the handle method to ensure a representative version of the - StateSet is captured -2007-01-23 16:02 robert +Wed, 9 May 2007 10:42:56 +0000 +Checked in by : Robert OSFIELD +Set default texture size back to 1024x1204 - * Added #define of GL_QUERY_RESULT and GL_QUERY_RESULT_AVAILABLE +Wed, 9 May 2007 10:41:56 +0000 +Checked in by : Robert OSFIELD +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-01-23 15:51 robert +Wed, 9 May 2007 10:31:06 +0000 +Checked in by : Robert OSFIELD +Added use of OSG_MAX_TEXTURE_SIZE for clamping texture sizes. - * Added single screen option +Wed, 9 May 2007 10:01:15 +0000 +Checked in by : Robert OSFIELD +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-01-23 14:43 robert - * Added command line help -2007-01-23 14:10 robert - * Added delete selected object using delete and back space key, and - added save option +Wed, 9 May 2007 09:43:18 +0000 +Checked in by : Robert OSFIELD +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. -2007-01-23 13:54 robert +Registry and Registry.cpp +~~~~~~~~~~~~~~~~~~~~~~~~~ +Added a new typedef: typedef std::vector< std::string> +ArchiveExtensionList; - * Adde osgText dependency to osgViewer +a list of extensions: ArchiveExtensionList _archiveExtList; -2007-01-23 13:28 robert +and an "add" method: addArchiveExtension(const std::string ext) - * Made stats bars transparent and improved positioning +This is initialised by adding "osga" in Registry() and used in +Registry::read() where the list is searched for the extension used. -2007-01-23 13:16 robert +Archive.cpp +~~~~~~~~~~~ +This submission is a little more tentative. openArchive() is modified to +automatically add the filename extension to the Registry extension list. +" - * Made two sided stencil the default -2007-01-23 12:10 robert - * Added stats and range of keyboard mouse handling to osgshadow - example +Wed, 9 May 2007 09:26:33 +0000 +Checked in by : Robert OSFIELD +Added signOrZero template method, and to Matrix_implementation.cpp usage of this method in the get(Quat&) code. -2007-01-23 11:56 robert +Wed, 9 May 2007 07:54:32 +0000 +Checked in by : Robert OSFIELD +Added imageData block initialized to 0 for first construction of GlyphTexture - * Added ability to customize the keys used to control stats +Tue, 8 May 2007 15:32:35 +0000 +Checked in by : Robert OSFIELD +Further work on dome correction -2007-01-23 11:01 robert +Tue, 8 May 2007 12:18:57 +0000 +Checked in by : Robert OSFIELD +Firt cut at full dome correction of wrap around movies and imagery - * Moved StatsHandler into its own seperate header/source in - osgViewer. +Tue, 8 May 2007 10:02:07 +0000 +Checked in by : Robert OSFIELD +Added CullSettings inheritance mask for LIGHTING_MODE and LIGHT -2007-01-23 10:38 robert +Mon, 7 May 2007 22:07:23 +0000 +Checked in by : Robert OSFIELD +Added s/getLightingMode and s/getLight to osg::View to allow control of the viewers global light source. - * Added ticks to stats display +Mon, 7 May 2007 19:48:46 +0000 +Checked in by : Robert OSFIELD +Added missing HelpHandler::reset() implementation -2007-01-22 21:16 robert +Mon, 7 May 2007 07:58:12 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS.txt for release - * Further work on GPU stats +Mon, 7 May 2007 07:51:02 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for 1.9.3 release, combined INSTALL.txt and README.txt -2007-01-22 17:39 robert +Sat, 5 May 2007 17:05:07 +0000 +Checked in by : Robert OSFIELD +Added extra external libs - * Further work on stats +Sat, 5 May 2007 17:02:21 +0000 +Checked in by : Robert OSFIELD +Added extra libs to COLLADA plugin, but still need to set LD_LIBRARY to libs even though they are static!?#!? -2007-01-22 13:13 robert +Sat, 5 May 2007 16:24:07 +0000 +Checked in by : Robert OSFIELD +Added preliminary Performer plugin support, note, still missing are a range of Performer database libs that will be required. - * Added camera stats +Sat, 5 May 2007 16:11:30 +0000 +Checked in by : Robert OSFIELD +Added OpenVRML support -2007-01-22 11:22 robert +Sat, 5 May 2007 15:36:03 +0000 +Checked in by : Robert OSFIELD +Added CMake support for pnm plugin - * Improvements to stats +Sat, 5 May 2007 08:22:06 +0000 +Checked in by : Robert OSFIELD +Added support for normals plugin -2007-01-22 09:28 robert +Sat, 5 May 2007 08:18:04 +0000 +Checked in by : Robert OSFIELD +Added ToPortToCmake.txt to record what modules need port to CMake. - * From Mathias Fröhlich, "Attached is a small change that makes the - txf loader render the same resulting - text than an other well known txf loader. That means drawing them - one on top - of the other I can only see differences due to different - mipmapping ... - - That is it introduces an additional gap of 0.1*height between the - glyphs. - There is an additional mapping between upper and lowercase - characters if one - of them is not available in the txf file. - And we have an artificial blank character that is very often - missing in txf - files." +Fri, 4 May 2007 19:17:49 +0000 +Checked in by : Robert OSFIELD +Added first cut a Xine support -2007-01-21 20:41 robert +Fri, 4 May 2007 14:25:02 +0000 +Checked in by : Robert OSFIELD +Added first cut of Cmake COLLADA support - * Further work on stats +Fri, 4 May 2007 13:41:27 +0000 +Checked in by : Robert OSFIELD +Added COLLADA CMAkeLists.txt, doesn't work yet as we done yet have a FindCOLLADA.cmake but it is a start -2007-01-21 18:46 robert +Fri, 4 May 2007 13:20:48 +0000 +Checked in by : Robert OSFIELD +Added support for jp2 plugin - * Added osgproducerviewer, in the form of orignal Producer based - osgviewer, leaving the - new osgViewer based osgviewer focused on just osgViewer - functionality. +Fri, 4 May 2007 12:06:31 +0000 +Checked in by : Robert OSFIELD +Removed margin -2007-01-21 18:34 robert +Fri, 4 May 2007 12:05:29 +0000 +Checked in by : Robert OSFIELD +Reorganised the managment of margins around glyphs so that is done entirely with src/osgText/Font.cpp rather than the font plugins or Text.cpp - * Changed the camera with focus code to only accept cameras with - valid views - as ones that can recieve focus. +Fri, 4 May 2007 08:48:59 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, Win32 build fix -2007-01-21 18:24 robert +Fri, 4 May 2007 08:45:21 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Attached is a change that does no longer set the render bin details in nodes other than drawables. I guess that this way I am sure to not introduce hierarchical render bins in loaded models." - * Initial on screen stats support +Fri, 4 May 2007 08:40:20 +0000 +Checked in by : Robert OSFIELD +From David Callu, fixed incorrect array usage. -2007-01-21 11:18 robert +Thu, 3 May 2007 16:23:19 +0000 +Checked in by : Robert OSFIELD +Added CartizianLocator - * Removed gl includes +Thu, 3 May 2007 15:21:30 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-20 09:48 robert +Thu, 3 May 2007 14:51:02 +0000 +Checked in by : Robert OSFIELD +Added return *this to operator = - * Updated wrappers +Thu, 3 May 2007 14:47:52 +0000 +Checked in by : Robert OSFIELD +Added osgUtil into lib list -2007-01-20 09:44 robert +Thu, 3 May 2007 11:11:03 +0000 +Checked in by : Robert OSFIELD +Added virtual orientationOpenGL() method into osgTerrain::Locator. - * Fixed the output of texture files +Thu, 3 May 2007 10:10:23 +0000 +Checked in by : Robert OSFIELD +Added OpenThreads to TARGET_COMMON_LIBRARIES -2007-01-20 09:03 robert +Thu, 3 May 2007 10:06:38 +0000 +Checked in by : Robert OSFIELD +Moved the OpenThreads link locally to each lib - * Added OSG_EXPORT to Stats to fix Windows build +Thu, 3 May 2007 08:50:06 +0000 +Checked in by : Robert OSFIELD +Added support for setting OpenThreads_SOURCE_DIR to help the install of OpenThreads headers -2007-01-19 20:25 robert +Wed, 2 May 2007 19:57:05 +0000 +Checked in by : Robert OSFIELD +Added OpenThreads wrappers - * Added stats for update, event and rendering traversals +Wed, 2 May 2007 18:07:41 +0000 +Checked in by : Robert OSFIELD +Added CMake support for local OpenThreads build -2007-01-19 19:53 robert +Wed, 2 May 2007 16:36:56 +0000 +Checked in by : Robert OSFIELD +Added svn:externals for include/OpenThreads and src/OpenThreads - * Added new osg::Stats class for collecting frame stats of - different sorts. - Added s/getStats() to osg::View and osg::Camera. - Added population of View::getStats() with frame stats in - osgViewer/Viewer. - Added Basic StatsHandler to osgviewer example. +Wed, 2 May 2007 13:58:38 +0000 +Checked in by : Robert OSFIELD +Introduced new tesslation technique that adjusts the triangulation so that the diagonal goes between the corners with least vertical deviation. -2007-01-19 14:41 robert +Tue, 1 May 2007 18:03:32 +0000 +Checked in by : Robert OSFIELD +Further perfomrmance optimizations and clean up on new VBO/EBO/PBO API. - * Added EXT_timer_query support +Tue, 1 May 2007 09:29:30 +0000 +Checked in by : Robert OSFIELD +Cleaned up the optional code paths in new VBO code -2007-01-18 22:32 robert +Tue, 1 May 2007 07:31:30 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added osg::StencilTwoSided state attribute to wrap up the - stencil_two_sided extension. - - Added path in osgShadow work for using StencilTwoSided to - accelerate shadow volume rendering. +Tue, 1 May 2007 06:40:26 +0000 +Checked in by : Robert OSFIELD +Added direct links to the CMake build pages -2007-01-18 17:00 robert +Tue, 1 May 2007 06:28:20 +0000 +Checked in by : Robert OSFIELD +Moved VBO switching code into inline methods into osg::State to speed performance - * Added support for stencil GL_INCR_WRAP and GL_DECR_WRAP - operations +Mon, 30 Apr 2007 22:12:08 +0000 +Checked in by : Eric WING +Fixes to resync Xcode project with current tree. flt files are missing. I'm not sure if it was intentionally removed from the project, so I left the everything in place, but removed the target from the build aggregate targets so it doesn't get in the way of the build system. Added back osgTerrain to the project (don't know who deleted those). SDL's aggregate target is also missing. -2007-01-18 09:56 robert +Mon, 30 Apr 2007 15:10:57 +0000 +Checked in by : Robert OSFIELD +Added initalization of _startTick to CompositeViewer - * From André Garneau, "Attached is a fix in the GraphicsWindowWin32 - class to allow the following usage pattern to work properly; - create window, delete window, create window, etc. In all the - tests I made I was always creating-deleting and then shutting - down the application so this pattern was untested. The - osgtexture3d & osgsimulation examples were also using this - pattern so would not work. They are working fine now." +Mon, 30 Apr 2007 14:49:05 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, fixed missing intialization of _startTick member variable. -2007-01-18 09:03 robert +Mon, 30 Apr 2007 12:18:27 +0000 +Checked in by : Robert OSFIELD +Implementated new dirty buffer mechansim for BufferObjects to make it more efficient - * Build fix for Win32 +Mon, 30 Apr 2007 09:47:35 +0000 +Checked in by : Robert OSFIELD +Added TerrainNode::setColorFilter(layerNum,Filter) to allow developers to set what type of texture filter to use, either LINEAER and NEAREST. -2007-01-17 21:11 robert +Mon, 30 Apr 2007 08:37:46 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file - * Added extra methods WindowSystemInterface for controlling frame - rate and resolution, and adde useCursor flag. +Mon, 30 Apr 2007 08:31:25 +0000 +Checked in by : Robert OSFIELD +Updated version number for 1.9.2 dev release -2007-01-17 15:59 robert +Sun, 29 Apr 2007 20:19:12 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Joakim Simonsson, added osgDB::concateFile and - osgDB::getRealPath. - - Tweaks by Robert Osfield - Moved methods to FileNameUtils, added - unix - implementation of getRealPath add extern and OSGDB_EXPORT to - function declarations. +Sun, 29 Apr 2007 20:13:53 +0000 +Checked in by : Robert OSFIELD +Added temporary code (but comment out) for testing VBO performance -2007-01-17 14:40 robert +Sun, 29 Apr 2007 20:10:43 +0000 +Checked in by : Robert OSFIELD +Added a MatrixTransform set up to provide a local origin for better precision. - * From André Garneau, threading bug fixes - moving scoped statics - out of scope to be global statics +Sun, 29 Apr 2007 08:12:29 +0000 +Checked in by : Robert OSFIELD +Further work on new VertexBufferObject/ElementsBufferObject support -2007-01-17 14:21 robert +Fri, 27 Apr 2007 17:03:06 +0000 +Checked in by : Robert OSFIELD +Added back in osg::Geometry path - * From André Garneau, Implementation osg GraphicsWindowWin32 +Fri, 27 Apr 2007 14:52:30 +0000 +Checked in by : Robert OSFIELD +Further work on the new VBO support -2007-01-16 22:10 robert +Fri, 27 Apr 2007 10:29:48 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, " Here are more changes for the CMake scripts:- I removed CMAKE_INSTALL_PREFIX in FindOpenThreads as a follow up to +the discussion thread. - * Updaed wrappers +- I introduced an experimental CMAKE_PREFIX_PATH to replace it. -2007-01-16 22:00 robert +- I added CMAKE_PREFIX_PATH, CMAKE_INCLUDE_PATH, and +CMAKE_LIBRARY_PATH to the CMake GUI so users can enter values there +instead of in the environment. - * Removed the automatic registration of - GraphicsContextImplementation. +- I added OPENSCENEGRAPH_*_VERSION variables (MAJOR, MINOR, PATCH). +These should be kept up-to-date with the real version numbers. Mac +bundles like to have version information so users can find out the +version they are running through standard About panels and also +automated system reporters for troubleshooting/bug tracking. In +theory, this information could be used for library versioning. +We should do the same for OpenThreads, but I forgot about it. -2007-01-16 21:40 robert +- I added some Mac Info.plist stuff (which uses the version information). - * Fixed compile warning +" -2007-01-16 19:18 robert - * Cleaned up CompositeViewer interface and added event traversal of - views -2007-01-16 17:10 robert +Fri, 27 Apr 2007 09:49:28 +0000 +Checked in by : Robert OSFIELD +Fixed tabbing - * Added PickHandler to osgmultiplecameras examples +Thu, 26 Apr 2007 16:50:35 +0000 +Checked in by : Robert OSFIELD +Added using of VertexBufferObject and ElementsBufferObject classes -2007-01-16 17:08 robert +Thu, 26 Apr 2007 16:50:06 +0000 +Checked in by : Robert OSFIELD +Further work VertexBufferObject and ElementsBufferObject classes + +Thu, 26 Apr 2007 08:26:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers + +Thu, 26 Apr 2007 08:11:09 +0000 +Checked in by : Robert OSFIELD +From Brad Colbert, "Added a new method to ImageStream called getLength that is used to return the length of the stream.Implemented the virtual methods in QuicktimeImageStream, (getLength, +getReferenceTime, setTimeMultiplier), to return valid value for each. +" + + + +Thu, 26 Apr 2007 08:07:25 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, Added quicktime CMakeLists.txt + +Wed, 25 Apr 2007 18:50:11 +0000 +Checked in by : Robert OSFIELD +Added VertexBufferObject and ElementBufferObject class interfaces, and wired up osg::Array and osg::DrawElements* to these respectively.Updated wrappers + + + +Wed, 25 Apr 2007 15:32:33 +0000 +Checked in by : Robert OSFIELD +Added --static and --vbo options to allow the user to toggle on/off dynamic updating of geometry and use of vertex buffer objects. + +Wed, 25 Apr 2007 10:32:41 +0000 +Checked in by : Robert OSFIELD +Updated wrappers + +Wed, 25 Apr 2007 10:32:28 +0000 +Checked in by : Robert OSFIELD +Cleaned up numToTop method + +Wed, 25 Apr 2007 10:12:46 +0000 +Checked in by : Robert OSFIELD +From Martin Aumueller, fixed unused parameter warnings + +Wed, 25 Apr 2007 09:32:12 +0000 +Checked in by : Robert OSFIELD +From Martin Aumueller, " a collegue of mine noticed that on Windows and X11 the modifier state (such as Alt or Ctrl) would be applied one key press too late: e.g. press & hold Alt, press a, release Alt, press a, press a would generate the key sequence a, Alt-a, a instead of Alt-a, a, a.The problem is also present on Carbon. Moving the call to setModKeyMask in +front of the call to keyPress fixed it for me on Carbon and X11. I suppose +that this will fix the problem for Windows as well." - * Added debug messages -2007-01-16 16:02 robert - * Reverted the FlightManipulator usage +Wed, 25 Apr 2007 09:21:57 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, "These enhancements make it much easier to control which libraries get found by FIND_ using environmental variables. The problem with the old script was that CMake searches what it considers system paths first. This makes it difficult to override in the case where you might have a stable version in /usr/local, but are trying to build a bleeding edge release in the non-standard location /bleeding-edge.I went to the CMake mailing list hoping to find a good solution to +this. Unfortunately, there isn't one, and I have to do something +rather bone-headed in the Find module. Basically, I have to run FIND_ +twice: once with default search paths turned off and my environmental +variables listed, and again with standard search paths reenabled. At +least it works. -2007-01-16 16:01 robert +I also added a few more environmental variables, specifically: +OPENTHREADS_INCLUDE_DIR +OPENTHREADS_LIBRARY_DIR - * Further work on CompositeViewer +These two variables address the shortcoming of OPENTHREADS_DIR in the +case where the include path and library path don't share a common +parent. -2007-01-16 15:05 robert +Put all this together, and you can setup an automated shell script or +Microsoft .bat file to configure and build your application in an +automated step. - * Added mouseWarped call into View::requestWarpPointer -2007-01-16 14:15 robert +You still should be able to use the key CMake variables like +CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH to find things, but it will +occur after the environmental paths are searched. The reason for this +is that the OPENTHREADS_INCLUDE_DIR and OPENTHREADS_LIBRARY_DIR are +more specific. This prevents the accidental ordering problem where you +might use CMAKE_INCLUDE_PATH to find some other component like GLUT, +but didn't want to accidentally include an older version of +OpenThreads located in the same area. - * Further work on event handling in CompositeViewer +As the ultimate override, you can still pass -DVAR=value arguments to +cmake and it will take these above all else. However, it's safer for +people to not use these in case we modify the script and change the +variable names. -2007-01-16 14:13 robert +Finally, I'm wondering if we can kill the ${CMAKE_INSTALL_PREFIX} +searches in the Find module. As I've said before, this is kind of a +hack and the variable wasn't really intended to be used in this way. +And I just got bitten by it in some bad corner cases. The problem is +that if you don't explicitly set the ${CMAKE_INSTALL_PREFIX}, CMake +sets a default value for it (such as /usr/local). The problem is that +/usr/local may not be the place you want searched. If you wait to set +the ${CMAKE_INSTALL_PREFIX} in the ccmake GUI, then FIND_ is already +run once on ${CMAKE_INSTALL_PREFIX=/usr/local. If you were planning to +change the value in the GUI, it's too late if you had a stuff in +/usr/local because FIND_ already found something and won't change the +value when you reconfigure since it is already set. You will have to +manually change the value yourself. Furthermore, as another problem +example, on the Mac, /Library/Frameworks is supposed to be searched +before /usr/local, but ${CMAKE_INSTALL_PREFIX} kept causing stuff in +/usr/local to be hit first which took me a really long time to +understand how this was happenning. The work around is that I must +push the ${CMAKE_INSTALL_PREFIX} search to the very end as not to +conflict with anything else. But I think it would be much better if we +removed it entirely. - * Added extra view combinations too commandline +And with so many different environmental variables at our disposal, I +don't think we need this one: + +(Checked by CMake automatically:) +CMAKE_INCLUDE_PATH +CMAKE_SYSTEM_INCLUDE_PATH +CMAKE_LIBRARY_PATH +CMAKE_SYSTEM_LIBRARY_PATH +PATH +LIB -2007-01-16 08:56 robert +(Checked by us:) +OPENTHREADS_INCLUDE_DIR +OPENTHREADS_LIBRARY_DIR +OPENTHREADS_DIR +OSG_INCLUDE_DIR +OSG_LIBRARY_DIR +OSG_DIR +" + + + +Wed, 25 Apr 2007 09:16:31 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, "lwo must link to osgFX or undefined symbols ensue." + +Wed, 25 Apr 2007 09:14:01 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, "I made a mistake in my IF() checks for FOO_CONFIG_HAS_BEEN_RUN_BEFORE. I was using ${FOO_CONFIG_HAS_BEEN_RUN_BEFORE} instead of just FOO_HAS_BEEN_RUN_BEFORE.In this case, it happened to work out to still be correct, but in +general it shouldn't have the ${}. (I really hate this syntax.)" + + + +Tue, 24 Apr 2007 19:08:52 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, Added check for image transluceny to image loaded code, placing the image quad into the transparent bin for images with alpha values. + +Tue, 24 Apr 2007 19:03:51 +0000 +Checked in by : Robert OSFIELD +From Martin Aumueller, "the new Inventor plugin needs some changes in order to compile against OpenInventor. Just as in the pre-r6419 I used the COIN_BASIC_H define in order to discriminate between the two versions of Inventor.Additionally, I had to change the CMakeLists.txt to use the proper include path. +" + + + +Tue, 24 Apr 2007 13:12:40 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, "I was working on a new version of Inventor plugin. It was inspired by the need to get correct and high quality conversion, so I verified the plugin on complex models and made number of serious fixes:- the geometry is not two times on the output file (!) +- SoVRMLImageTexture: VRML texture support was rewritten according to + Inventor programming practices, since it does not worked correctly on + many models (Anyway, thanks for Gerrick Bivins to introduce it.) +- osg::ref wrong usage related crash fixed +- code cleaning and texture code overhaul +- LOD fixes +- appended README.txt with all the contributors I was able to get from + SVN logs" + + + + +Tue, 24 Apr 2007 13:11:22 +0000 +Checked in by : Robert OSFIELD +Added CMake support for lwo plugin. + +Tue, 24 Apr 2007 12:59:23 +0000 +Checked in by : Robert OSFIELD +Added compile path support for XINE, Inventor and LibXML + +Mon, 23 Apr 2007 20:21:06 +0000 +Checked in by : Robert OSFIELD +Updated version to 1.9.1 + +Sun, 22 Apr 2007 21:54:05 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for 1.9 developer release + +Sun, 22 Apr 2007 21:53:12 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Work on CompositeViewer and related calsses to implement viewers - with multiple views +Sun, 22 Apr 2007 21:40:46 +0000 +Checked in by : Robert OSFIELD +Added --version-number support -2007-01-15 16:12 robert +Sun, 22 Apr 2007 21:18:20 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "In the "new method" 3DS loader, inverse matrices were applied to vertices, but not normals, which caused some models to appear with normals doubly rotated. I've now added some code to transform the normals." - * Updated wrappers +Sun, 22 Apr 2007 20:19:43 +0000 +Checked in by : Robert OSFIELD +Unified the setup of version numbers so that they all are based on the version number setup in the include/osg/Version header file. -2007-01-15 16:09 robert +Sat, 21 Apr 2007 12:29:39 +0000 +Checked in by : Robert OSFIELD +Added osgSim dependency to txp plugin - * Improved handling of intersection computations on datasets with - multiple cameras +Sat, 21 Apr 2007 11:24:26 +0000 +Checked in by : Robert OSFIELD +Added include directory to get txp plugin building -2007-01-15 14:46 robert +Fri, 20 Apr 2007 16:17:48 +0000 +Checked in by : Robert OSFIELD +Added support for sorting the graphics contexts so that the first context/window returned from Viewer::getContexts/getWindows will be the left most window on the lowest screen number.Added ability for StatsHandler and HelpHandler to support end users setting their +Camera's graphics context. - * Added FramStamp into osgViewer::Viewer and added ability to - handle setSceneData - during during the application running. -2007-01-15 11:44 robert - * Added terrain manipulator. +Fri, 20 Apr 2007 16:15:41 +0000 +Checked in by : Robert OSFIELD +Added delay between sequential threading model changes to prevent the system from locking up with 'm' is held down, which previous would cause the threading model to be thrashed. -2007-01-15 10:11 robert +Mon, 16 Apr 2007 19:40:36 +0000 +Checked in by : Robert OSFIELD +From Jason Howlett, using suggestion from Robert Osfield, "CullVisitor.cpp was modified, beginning at line 1115. Code was added to check if the camera inherits its cull mask. If not, the CullVisitor sets its traversal mask to the camera's cull mask." - * From Brede Johansen, "The OpenFlight loader already have a - caching mechanism for externals. - The cache works for nested externals but is cleared before the - master - flight file is returned. I implemented texture caching using the - same - mechanism." +Mon, 16 Apr 2007 19:34:25 +0000 +Checked in by : Robert OSFIELD +Implement basic TerrainGeometry code -2007-01-15 09:56 robert +Mon, 16 Apr 2007 18:33:09 +0000 +Checked in by : Robert OSFIELD +Added logo and txp CMakeLists.txt files. The txp build is temporarily commented out while the build is fixed. - * From Paul Martz and Geoff Michel, Paul updated Geoff's bug fixes - to DelaunaryTraingulator.cpp to reflect recent tessellator - spelling changes +Mon, 16 Apr 2007 12:21:07 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-15 09:30 robert +Mon, 16 Apr 2007 12:20:42 +0000 +Checked in by : Robert OSFIELD +Cleaned up state management code - * Added setting of the update visitors' traversal number +Mon, 16 Apr 2007 12:18:56 +0000 +Checked in by : Robert OSFIELD +Fixed bug associated with complex RenderBin setup. -2007-01-15 09:14 robert +Mon, 16 Apr 2007 06:03:22 +0000 +Checked in by : Robert OSFIELD +Bumbped the version number up to 1.9, in preperation for using odd release numbers for development releases, odd versions for stable releases. - * Reverted the experimental shader code +Sun, 15 Apr 2007 20:53:09 +0000 +Checked in by : Robert OSFIELD +Fixed choice of display -2007-01-14 20:23 robert +Sun, 15 Apr 2007 12:09:12 +0000 +Checked in by : Robert OSFIELD +Updatged ChangeLog using svn2log, osgversion to handle new SVN based ChangeLog, and updated AUTHORS.txt - * Added releaseContext to end of GraphicsThread::run() +Sat, 14 Apr 2007 08:31:40 +0000 +Checked in by : Robert OSFIELD +Added an #include and extern "C" around X11ErrorHandling to prevent Solaris build errros -2007-01-12 22:07 robert +Fri, 13 Apr 2007 19:28:22 +0000 +Checked in by : Robert OSFIELD +Added some debugging - * From Riccardo Corsi, "this should be the final version of the - qt-plugin ported to windows and cleaned up to avoid crashes on - exit. - Stephan and I tested it on Mac and Win. - Just a couple of notes: - - * the plugin is able to load both regular 2D images and movie - stream. There is a #define QT_HANDLE_IMAGES_ALSO mechanism to - indicate whether to use it for images or not. This is defined by - default on Mac only, to avoid conflicts with the standard windows - plugins. See comments on QTUtils.h - - * de-initialization of quicktime before exit is now left to an - observer, which calls exitQuicktime() when last media loaded with - the plugin is released. This prevent a crash on exit without need - of any extra call external to the plugin." +Fri, 13 Apr 2007 19:28:11 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-12 22:01 robert +Fri, 13 Apr 2007 14:54:41 +0000 +Checked in by : Robert OSFIELD +Added fullscreen toggle event handler - * Added explicit to ParticleEffect constructors +Fri, 13 Apr 2007 14:54:22 +0000 +Checked in by : Robert OSFIELD +Added usleep's to avoid X11 errors when doing X11 calls to close to changes in window size or decoration. -2007-01-12 21:44 robert +Fri, 13 Apr 2007 14:23:10 +0000 +Checked in by : Robert OSFIELD +Added setWindowRectangle implementation for GraphicsWindowWin32, and place holder for setWindowRectangle implementation for GraphicsWindowCarbon. - * From Tom Jolley, "There was some unnecessary creation and - deletion of Particle objects in - include/osgParticle/ParticleSystem. I replaced - - Particle(ptemplate? *ptemplate: _def_ptemp) - - with - - ptemplate? *ptemplate: _def_ptemp - - in a couple of places. This should make particle creation and - reuse go - a little faster without all that memory allocation and copying." +Fri, 13 Apr 2007 13:28:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-12 21:33 robert +Fri, 13 Apr 2007 13:22:52 +0000 +Checked in by : Robert OSFIELD +Added s/getWindowRectangle to GraphicsWindow and implementation in GraphicsWindowX11 - * From Stephan Huber, "New features: - + Multi-display-support - + automatic hiding of the menubar/dock if one of the windows - intersects - the menubar/dock - - Bugfixes: - + event-handling was done by the first opened window, other - windows did - not receive events -- fixed - + mouse-coordinates were absolute, now they are relative to the - window. - - known bugs: - + windows with decoration and in fullscreen-size are moved by the - system - a little bit, so that the titlebar is accessible/visible. So if - you want - real fullscreen-windows, don't decorate the window :) - - I updated the XCode-project-file so all ported examples are - linked - against osgViewer." +Fri, 13 Apr 2007 13:19:29 +0000 +Checked in by : Robert OSFIELD +Changed hitItr to be a const_iterator. -2007-01-12 21:05 robert +Fri, 13 Apr 2007 10:14:57 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, "I added a warning message for Mac users about the Universal Binary problem." - * Added Viewer::setEndBarrierPosition method, change - Viewer::setKeySetsDone(int) to setKeyEventSetDone(int), - added support for toggling threading model and end barrier - position into osgviewer +Thu, 12 Apr 2007 17:30:06 +0000 +Checked in by : Robert OSFIELD +Fixed variable name dereference -2007-01-12 19:09 robert +Thu, 12 Apr 2007 10:14:10 +0000 +Checked in by : Robert OSFIELD +Added different cmake version requirements across platforms - * Moved the signalBeginFrame to the start of the rendering - traversal. +Thu, 12 Apr 2007 10:06:09 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, "Adding back missing search paths in FindOpenThreads.cmake. Also fixed a bug regarding when to set the debug version. It waited until both include and library were set, but it shouldn't wait on include.Also added a fix to the optional warning flags." -2007-01-12 15:08 robert - * Added support for animation path manipulator to osgViewer path -2007-01-12 14:45 robert - * Add manually sync of the EventQueue's startTick with the - osg::Timer::startTick +Thu, 12 Apr 2007 09:59:34 +0000 +Checked in by : Robert OSFIELD +Added SETUP_COMMANDLINE_APPLICATION and SETUP_COMMANDLINE_EXAMPLE macros -2007-01-12 12:10 robert +Thu, 12 Apr 2007 09:33:24 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, "Attached is a patch allows access access to the CMake MACOSX_BUNDLE option. Now SETUP_APPLICATION and SETUP_EXAMPLE take an additional optional parameter that specifies if the program is a command line application or a GUI application (think: IS_COMMANDLINE_APP). Passing 1 means true (is_commandline_app). Passing 0 or omitting the parameter means false.I changed the scripts for osgversion and osgunittests to support this +option because I believe they are command line apps. Are there any +others?" - * Added a default StateSet to osg::View's master Camera. Wired up - osgViewer::Viewer so - that the master Camera's StateSet is passed to osgUtil::SceneView - to use as its global StateSet. -2007-01-12 11:38 robert - * Added osgGA Trackball, Flight and Drive camera manipulators, and - StateSetManipulator to the osgViewer path in osgviewer -2007-01-12 10:28 robert +Thu, 12 Apr 2007 09:32:48 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Implement a GraphicsOperation to test extension availability +Thu, 12 Apr 2007 09:32:34 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, fix to CopyOp&. -2007-01-12 10:28 robert +Thu, 12 Apr 2007 09:18:40 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, "Minor robustness fix to osgsimpleviewerCocoa." - * Fixed comment +Wed, 11 Apr 2007 17:39:13 +0000 +Checked in by : Robert OSFIELD +Prep work on new TerrainGeometry Drawable which supports selective display list/VBO's usage.Updated wrappers -2007-01-12 10:26 robert - * Added osgViewer path into osgviewer, old osgProducer version - remains accessible - via --osgProducer command line option -2007-01-11 17:15 robert +Wed, 11 Apr 2007 11:20:42 +0000 +Checked in by : Robert OSFIELD +Changed the parameter handling so that it supports left to right inheritance of settings - * Ported osgmotionblurr across to osgViewer +Wed, 11 Apr 2007 11:20:04 +0000 +Checked in by : Robert OSFIELD +Added support for multiple colour layers, and fixed handling of elevation and colour layers having different locator -2007-01-11 17:00 robert +Wed, 11 Apr 2007 08:35:39 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, " Changes include:A internal cache flag that can be used to detect if this is the first +time running the CMake configuration. This is needed to work around +stupid CMake UI shortcomings about the UI not reflecting anything you +SET unless you use FORCE. But if you use FORCE, you override anything +the user may try to set/override unless you have an exception check. +It turns out the exception check you need is often the first-run +check. This flag is potentially useful for other things too. - * Added setting of DisplaySettings +An optional switch that turns on more aggressive warnings based on +your compiler. -2007-01-11 16:59 robert +Some Apple specific stuff for detecting the OS version and enabling +Universal Binaries (and some additional compiler flags that are good +but gcc version dependent). The version check code is unfortunately +really fragile. I need to lobby CMake to return the OS X version +number for us. FYI, building Universal will fail with the current +CMake release due to a bug, but is now fixed in CVS. +" - * Added stencil buffer setting -2007-01-11 15:54 robert - * Updated wrappers -2007-01-11 15:53 robert +Wed, 11 Apr 2007 08:33:40 +0000 +Checked in by : Robert OSFIELD +Removed tabs - * Added #include +Tue, 10 Apr 2007 13:58:18 +0000 +Checked in by : Robert OSFIELD +Removed old GNUmakefile.inst files -2007-01-11 15:48 robert +Tue, 10 Apr 2007 13:23:32 +0000 +Checked in by : Robert OSFIELD +Updated INSTALL and README to refect new Cmake build - * Removed examples: - - osgcameragroup - osgsimpleviewerProducer - osgsimplepager +Tue, 10 Apr 2007 13:15:59 +0000 +Checked in by : Robert OSFIELD +Removed the bin and lib directories as these are now built automatically by CMake. -2007-01-11 15:19 robert +Tue, 10 Apr 2007 13:12:58 +0000 +Checked in by : Robert OSFIELD +Removed more of the old VisualStudio build system - * Ported following examples to osgViewer: - - osgteapot - osgtessellate - osgtext - osgtexture1D - osgtexture2D - osgtexture3D - osgtexturerectangle - osgvertexprogram - osgvolume - osgwindows - osgsimple - osgkeyboardmouse +Tue, 10 Apr 2007 13:10:25 +0000 +Checked in by : Robert OSFIELD +Removed old gmake and VisualStudio build files -2007-01-11 14:53 robert +Tue, 10 Apr 2007 12:11:16 +0000 +Checked in by : Robert OSFIELD +Updated to refect new incldue/osgViewer/Win32 directory for GraphicsWindowWin32 - * Fixed the setWindowSize so that it sets the input range to - 0,0,width,height rather - than x,y,x+width,y+height as mouse coordinates move relative to - the window, not the - screens origin. +Tue, 10 Apr 2007 11:09:38 +0000 +Checked in by : Robert OSFIELD +Updated wrapper to honour move of GraphicsWindow* include/osgViewer/api/ -2007-01-11 12:06 robert +Tue, 10 Apr 2007 11:03:37 +0000 +Checked in by : Robert OSFIELD +Create new incliude/osgViewer/api directory to hold platform specific classes such as GraphicsWindow implementations.Moved GraphicsWindowWin32,X11 and Carbon into their api/Win32, api/X11 and api/Carbon directories. - * Added DisplaySettings support into osgViewer::Viewer -2007-01-11 11:47 robert - * Ported follow examples to osgViewer: - - osgshape - osgsimplifier - osgsimulation - osgslice - osgspacewarp - osgspheresegment - osgspotlight - osgstereoimage +Fri, 6 Apr 2007 19:51:20 +0000 +Checked in by : Robert OSFIELD +Fixed the handle of triangle fan. -2007-01-11 10:35 robert +Fri, 6 Apr 2007 19:38:22 +0000 +Checked in by : Robert OSFIELD +Added extra check to prevent calling frame() when the window has been closed. - * Added support for setThreadSafeRefUnref into TexGenNode +Fri, 6 Apr 2007 15:36:13 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, pedantic warning fixes -2007-01-11 10:21 robert +Fri, 6 Apr 2007 15:35:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added setThreadSafeRefUnref, resizeGLObjectBuffers and - releaseGLObjects to OverlayNode +Fri, 6 Apr 2007 15:13:02 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, pedantic warning fixes -2007-01-10 21:05 robert +Fri, 6 Apr 2007 14:40:39 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "I've added the code to set up quad_stereo properly. I have tested with WinXP / VC8, stereo is working. I also added code to set sampleBuffers and samples. These cannot yet be properly set, tested (windows only ) by changing _numMultiSamples in DisplaySettings::setDefaults() and recompiling." - * Ported following examples to osgViewer: - - osgshaders - osgshaderterrain - osgshadow - osgshadowtexture +Fri, 6 Apr 2007 14:38:23 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, "1. Disable suppression of osg::CullStack. I've been building the osgWrapper code successfully with this change on both Windows and Linux, but I believe you said you got some (unspecified) errors when you tried it before. If it still causes problems, could you post the errors so I can try to solve them?2. Change osg::GraphicsContext from object-type to abstract-object-type. The current setting is incorrect because the class is actually abstract." -2007-01-10 14:56 robert - * Ported osgconv and osgdem across to osgViewer -2007-01-10 13:52 robert - * Ported following examples to osgViewer: - - osgparticleeffects - osgphotoalbum - osgpick - osgpoints - osgpointsprite - osgprecipitation - osgprerender - osgprerendercubemap - osgreflect - osgscalarbar - osgscribe - osgsequence - osgplanets -2007-01-10 10:40 robert +Fri, 6 Apr 2007 14:36:59 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "attached is OpenSceneGraph\src\osgViewer\GraphicsWindowWin32.cpp I've added the code to get the osgViewer working on windows displays with less than 32 bit color. Only tested with 16 bit color." - * Added support for vertex ratios into LineSegmentIntersector. +Fri, 6 Apr 2007 14:33:55 +0000 +Checked in by : Robert OSFIELD +Add setting of ShadowVolumeGeometry draw mode -2007-01-10 10:09 robert +Thu, 5 Apr 2007 20:27:02 +0000 +Checked in by : Robert OSFIELD +Set default ShadeModel back to SMOOTH - * Added View::computeIntersection implementation for a node withing - a scene graph. +Thu, 5 Apr 2007 16:12:10 +0000 +Checked in by : Robert OSFIELD +Added constructor argument to ShadeModel -2007-01-09 17:35 robert +Thu, 5 Apr 2007 15:04:05 +0000 +Checked in by : Robert OSFIELD +Commented out superfluous debug messages - * Added View::computeIntersections methods +Thu, 5 Apr 2007 14:56:30 +0000 +Checked in by : Robert OSFIELD +Added better handling of colour layer/elevation layer/transfer function combinations and use of 16bit luminance format for colour layers used as input to transfer functions -2007-01-09 14:35 robert +Wed, 4 Apr 2007 09:07:46 +0000 +Checked in by : Robert OSFIELD +Added support for flushing buffer objects - * From Jan Ciger, Tolga Abaci, Bruno Herbelin : OpenVRML 0.14.3 - based .wrl/VRML plugin +Wed, 4 Apr 2007 08:09:24 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, added osgViewer headers to VS syntax highlighting. -2007-01-09 11:42 robert +Wed, 4 Apr 2007 08:06:22 +0000 +Checked in by : Robert OSFIELD +Removed OpenThreads reference - * From Geoff Michel, "New delaunay triangulator attached. I hadn't - realised that the erase() method was not erase (first, last) but - erase (first, one after the last one you want deleted). This made - a big difference; however some of the edges of the terrain were - not included as edges in the terrain so I increased the size of - the supertriangle, which works but reduces accuracy due to the - larger range of coordinates in the supertriangle. (A larger - supertriangle forces the triangles using supertriangle vertices - to be long and thin, making the triangulation fit the convex hull - of the terrain.) - - The loss of accuracy should not affect 'normal' users with - terrains that are roughly square (say up to 100:1 aspect ratio) - and where the Z range is comparable to the X-Y range. Retested - with Pauls data, amalric's strange polygon constraint and the - standard test constraints. - - I also added 2 tests for routines with a NULL argument passed to - them (no-one would usually pass a NULL pointer to these routines - unless - as I did in testing- you remove some of the constraints - but still pass their pointer to the routine). And I removed 3 - tests for triangles which are already removed when generating the - geometry. - - NB Paul - the previous delaunay triangulator fails under VS8 IF - it has any constraints as it attempts to use some vertices that - have already been deleted when applying the constraints to edges. - Under VS6 and less rigorous compilers it works as the deleted - vertices are still in the points stl::Vector; however any added - vertices would replace one of the supertriangle vertices with - non-disastrous but wrong results." - - Note, merged with latest name changes in CVS. +Wed, 4 Apr 2007 08:05:45 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-09 10:06 robert +Wed, 4 Apr 2007 08:05:23 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, C# build fixes - * From Stephan Huber, GraphicsWindowCarbon implementation +Tue, 3 Apr 2007 19:42:43 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, warning fix for Windows 64-bit build -2007-01-09 09:16 robert +Tue, 3 Apr 2007 19:18:20 +0000 +Checked in by : Robert OSFIELD +Added assignment of hieghts texture coords - * Changed osgparticle's osgProducer dependency to osgViewer +Tue, 3 Apr 2007 15:39:05 +0000 +Checked in by : Robert OSFIELD +Preliminary work on TransferFunction support -2007-01-09 09:14 robert +Tue, 3 Apr 2007 11:04:09 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, adding message w.r.t debug OpenThreads library for when its not available. - * Fixed typo +Mon, 2 Apr 2007 13:06:59 +0000 +Checked in by : Robert OSFIELD +Added setValue method and osg::Image setup to osg::TransferFunction1D, and setup of TransferFunction1D into osgterrain example. -2007-01-08 22:54 robert +Sun, 1 Apr 2007 11:19:46 +0000 +Checked in by : Robert OSFIELD +Added support for texture layer. - * Build fixes +Fri, 30 Mar 2007 15:16:29 +0000 +Checked in by : Robert OSFIELD +Added debugging code -2007-01-08 22:44 robert +Fri, 30 Mar 2007 14:57:57 +0000 +Checked in by : Robert OSFIELD +Added support for reading values from an ImageLayer, and building of the elevation data in GeometryTechnique. - * Removed reference to Producer +Fri, 30 Mar 2007 14:57:01 +0000 +Checked in by : Robert OSFIELD +Added support 16bit intensity formats -2007-01-08 22:40 robert +Thu, 29 Mar 2007 19:42:07 +0000 +Checked in by : Robert OSFIELD +Converted osg::HeightField across to using a osg::FloatArray internally to enable it to be assigned as a vertex attribute array to an osg::Geometry.Removed the osgTerrain::ArrayLayer as its no longer required thanks to the above change +which makes the osgTerrain::HeightFieldLayer more flexible. - * Removed debug messages +Updated wrappers -2007-01-08 21:57 robert - * Fixed comment -2007-01-08 21:55 robert +Thu, 29 Mar 2007 19:39:20 +0000 +Checked in by : Robert OSFIELD +Fixed missing initializer in Options constrctor - * Added genwrapper.conf to OSG CVS +Thu, 29 Mar 2007 15:41:59 +0000 +Checked in by : Robert OSFIELD +Removed the using to avoid VS 7.1 build problem -2007-01-08 21:29 robert +Thu, 29 Mar 2007 14:45:35 +0000 +Checked in by : Robert OSFIELD +Added creation of basic geoemtry to test Locator and extents - * From Paul Martz, speeling fixes for Tessellator/Tessellation. +Thu, 29 Mar 2007 12:41:18 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-08 21:19 robert +Thu, 29 Mar 2007 10:56:07 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, added handling of CMAKE_THREAD_LIBS_INIT - * Tessellator name changes +Thu, 29 Mar 2007 10:13:36 +0000 +Checked in by : Robert OSFIELD +Added missing return value -2007-01-08 20:46 robert +Thu, 29 Mar 2007 09:29:26 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, "Added the conditionals for SDLMain." - * Improved resizeGLObjectBuffers support +Wed, 28 Mar 2007 16:28:20 +0000 +Checked in by : Robert OSFIELD +Added support for compute the extents on local NDC coordiantes of the elevation and colour layers -2007-01-08 20:40 robert +Wed, 28 Mar 2007 15:05:49 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, "Here is a change to the .cpp file to fix it by disambiguating the cull invocation." - * Improved the handling a releaseGLObjects() and add - setThreadSafeRefUnref and resizeGLObjectsBuffers methods +Wed, 28 Mar 2007 14:50:58 +0000 +Checked in by : Robert OSFIELD +Removed the Found OpenThreads message -2007-01-08 19:58 robert +Wed, 28 Mar 2007 14:50:35 +0000 +Checked in by : Robert OSFIELD +Removed the d during debug build of wrappers on non MSVC platforms - * Added releaseContextImplementation method +Wed, 28 Mar 2007 11:30:38 +0000 +Checked in by : Robert OSFIELD +Removed deprecated drawImplementation(State&) method from Drawable and Drawable::DrawCallback -2007-01-08 19:33 robert +Wed, 28 Mar 2007 08:53:18 +0000 +Checked in by : Robert OSFIELD +From Martin Amueller, Add libosgGA and libosgText for OSX build - * Updated wrappers +Wed, 28 Mar 2007 08:52:44 +0000 +Checked in by : Robert OSFIELD +Replaced the X11 Window by Carbon WindowRef in the WindowData structure. -2007-01-08 19:29 robert +Wed, 28 Mar 2007 08:43:05 +0000 +Checked in by : Robert OSFIELD +From Martin Aumueller, "in order to remove a dependency on Coin3D (which is GPLed) and make it work with SGI's OpenInventor, I had to change OpenSceneGraph/src/osgPlugins/Inventor, as SoVRMLImageTexture is not avaible in SGI's Inventor. "From Robert Osfield, tweaked the above so that it uses Coin headers to switch on coin features: - * Changed the return types of makeCurrent to bool, and added a bool - GraphicsContext::releaseContext method - along with implementations in osgViewer. +#ifdef COIN_SOCALLBACKACTION_H + #define USE_COIN 1 +#endif -2007-01-08 16:20 robert - * Added GraphicsContext::ResizedCallback and - GraphicsContext::resizedImplementation. - Added message on non implementation of GraphicsContext::valid(). - Added prelimary GraphicsContext clean up support. -2007-01-08 14:12 robert - * Added Tessellator -2007-01-08 13:28 robert - * Fixed spelling of Tessellator in comment +Wed, 28 Mar 2007 07:34:46 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, added Find3rdPartyDependencies.cmake -2007-01-08 12:04 robert +Tue, 27 Mar 2007 21:44:02 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, "here is a patch to use Mike 3rdParty dependencies It should not be introusive to any other palatform apart MSVC, but in order to link to debug-specific libs I had to change plugins CMakeLists to differentiate debug/release linkage, I have used the same macro used in core libs Now the macro used for plugin and examples linking test for existance of TARGET_LIBRARIES_VARS that holds the names of the variables that have to be used for linking" - * From Mathias Fröhlich, txf plugin for reading .txf textured - texture files. +Tue, 27 Mar 2007 19:39:00 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-08 11:37 robert +Tue, 27 Mar 2007 19:27:36 +0000 +Checked in by : Robert OSFIELD +Add computeBound support to TerrainNode and Layer. - * Updated wrappers +Tue, 27 Mar 2007 16:05:13 +0000 +Checked in by : Robert OSFIELD +Removed the flt plugin from OpenSceneGraph/trunk, this project can now be found in the deprecated directory. -2007-01-08 11:23 robert +Tue, 27 Mar 2007 16:01:01 +0000 +Checked in by : Robert OSFIELD +Rearranged the traversal and initialization of TerrainTechnique - * From Paul Martz and Robert Osfield, renamed - include/osgUtil/Tesselator and associated classes/references to - Tessellator etc. +Tue, 27 Mar 2007 11:23:57 +0000 +Checked in by : Robert OSFIELD +Added EllipsoidLocator. -2007-01-08 10:00 robert +Tue, 27 Mar 2007 08:43:59 +0000 +Checked in by : Robert OSFIELD +Added #include for non Win32/Mingw build - * Ported following examples to osgViewer: - osggeodemo - osggeometry - osghud - osgimpostor - osgkeyboard - osglauncher - osglight - osglightpoint - osglogicop - osglogo - osgmovie - osgmultiplecameras - osgmultitexture - osgoccluder - osgparametric - osgparticle +Tue, 27 Mar 2007 08:40:25 +0000 +Checked in by : Robert OSFIELD +Added -lgdi32 to CYGWIN path -2007-01-07 20:52 robert +Mon, 26 Mar 2007 19:38:04 +0000 +Checked in by : Robert OSFIELD +Fixed header files specification - * From Stephan Huber, updated Xcode projects for changes to - examples ported over to osgViewer +Mon, 26 Mar 2007 19:24:18 +0000 +Checked in by : Robert OSFIELD +Added return false; to default implementations of convert functions -2007-01-07 17:29 robert +Mon, 26 Mar 2007 16:32:31 +0000 +Checked in by : Robert OSFIELD +Added GeometryTechnique - * From André Garneau, added export to StatsVisitor +Mon, 26 Mar 2007 16:28:26 +0000 +Checked in by : Robert OSFIELD +Removed WindowData parameter from init(). -2007-01-07 10:00 robert +Mon, 26 Mar 2007 15:52:22 +0000 +Checked in by : Robert OSFIELD +Added Locator and layer setting to osgterrain example - * Added setThreadSafeRefUnref to LightSource +Mon, 26 Mar 2007 13:02:38 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, "when we link against something that comes out from a Find... we ususally have a variable available like OPENTHREADS_LIBRARY, so I' ve set up a macro that uses the variable name expanded for linking, and test if a variable ${LINK_VAR_NAME}_DEBUG like OPENTHREADS_LIBRARY_DEBUG exists and in case uses it for linking in debug mode. I' ve also set up FindOpenThreads to set up these variables. I had to edit the core libraries CMakeLists to add the calls to the macros used. I' ve tested under MSVC" -2007-01-06 21:35 robert +Mon, 26 Mar 2007 13:00:29 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, "This is another weirdo change to support code generation. It brings all the Drawable::supports and Drawable::accepts overloads into the ShapeDrawable scope to avoid errors invoking the ones that are not defined in ShapeDrawable. Currently you'll get compilation errors if you pass a Drawable::AttributeFunctor or PrimitiveIndexFunctor to the "accept" function invoked on a ShapeDrawable pointer or reference, since those overloads are only defined in the base class. You'll also get the same error passing a PrimitiveIndexFunctor to the "supports" function. These errors occur because C++ function overload resolution does not cross inheritance boundaries." - * Ported osgcopy, osgcubemap, osgdelaunay, osgdepthpartion, - osgdistortion, osgfadetext, osgforest and osgfxbrowser to - osgViewer +Mon, 26 Mar 2007 09:48:02 +0000 +Checked in by : Robert OSFIELD +Changed the external library specification to use TARGET_EXTERNAL_LIBRARIES -2007-01-06 21:06 robert +Sun, 25 Mar 2007 11:47:08 +0000 +Checked in by : Robert OSFIELD +Removed OpenThreads from the list of TARGET_COMMON_LIBRARIES to prevent double linking of OpenThreadsd and OpenThreads during debug build. - * Added View::setUpViewOnSingleScreen(uint) method to help set up - view on - a single full screen window +Fri, 23 Mar 2007 17:37:49 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, "This change fixes a couple bugs in the osgIntrospection protected function support. I missed adding the protected/public specifier on a couple recursive invocations, so those functions are not currently returning protected functions for base classes when they should." -2007-01-05 21:23 robert +Fri, 23 Mar 2007 17:27:53 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, remove redundent const from in front of unsigned int. From Robert Osfield, updated wrappers - * Add trackball manipulator usage +Fri, 23 Mar 2007 10:11:09 +0000 +Checked in by : Robert OSFIELD +Added missing StencilTwoSided header -2007-01-05 21:19 robert +Fri, 23 Mar 2007 08:53:06 +0000 +Checked in by : Robert OSFIELD +Added automatic creation of lib bin and lib/osgPlugins - * Ported osgcluster to osgViewer. +Thu, 22 Mar 2007 15:39:59 +0000 +Checked in by : Robert OSFIELD +Added osgPlugins as a temporary work around for keeping cmake build compiling plugins -2007-01-05 20:28 robert +Thu, 22 Mar 2007 14:45:13 +0000 +Checked in by : Robert OSFIELD +Added CMake build suppport for osgsimpleviewerQT4 - * Fixed genwrapper to add include of osg/Camera. +Thu, 22 Mar 2007 14:44:05 +0000 +Checked in by : Robert OSFIELD +Added CMake QT3, FLTK and osgintrospection example build support. -2007-01-05 17:21 robert +Thu, 22 Mar 2007 14:06:27 +0000 +Checked in by : Robert OSFIELD +Added CMake build support for GLUT and SDL examples - * Updated wrappers +Thu, 22 Mar 2007 13:38:23 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, added ${MATH_LIB} to osg CMakeLists.txt and definition of this to m under unix -2007-01-05 16:48 robert +Thu, 22 Mar 2007 13:37:47 +0000 +Checked in by : Robert OSFIELD +Updated the header list - * Simplified the nameing of updateTraversal etc methods +Thu, 22 Mar 2007 12:58:01 +0000 +Checked in by : Robert OSFIELD +Fixed link name -2007-01-05 16:46 robert +Wed, 21 Mar 2007 17:18:53 +0000 +Checked in by : Robert OSFIELD +Added ImageLayer, ArrayLayer and HeightFieldLayer classes - * Cleaned up graphics window setup and added clear graphics window - to single window, - multiple camera setup. +Wed, 21 Mar 2007 16:34:04 +0000 +Checked in by : Robert OSFIELD +Added GeometryTechinque to osgTerrain. Added usage of GeometryTechnique into osgterrain exampleAdded --width and --height command line options to osgdistortion to allow users +to control the window size. -2007-01-05 16:24 robert - * Ported osgcegui across to osgViewer -2007-01-05 16:19 robert - * Ported osgcallback to osgViewer +Wed, 21 Mar 2007 09:42:14 +0000 +Checked in by : Robert OSFIELD +Removed erroneous entry of GNUmakefile -2007-01-05 16:13 robert +Tue, 20 Mar 2007 17:07:37 +0000 +Checked in by : Robert OSFIELD +Added osg:: to computeLocalToWorld to fix build under VS7. - * Ported osgbluemarble to osgViewer +Tue, 20 Mar 2007 11:19:00 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, clean up CMakeLists.txt -2007-01-05 16:00 robert +Tue, 20 Mar 2007 09:50:24 +0000 +Checked in by : Robert OSFIELD +From Philip Lowman, added support for Inventor - * Ported osgblendequation across to osgViewer +Mon, 19 Mar 2007 19:05:18 +0000 +Checked in by : Robert OSFIELD +From Andreas Goebel, build fix -2007-01-05 15:54 robert +Mon, 19 Mar 2007 17:24:19 +0000 +Checked in by : Robert OSFIELD +Moved the TARGET_NAME setting into the OsgMacroUtils.cmake. - * Ported osgbillboard over to osgViewer +Mon, 19 Mar 2007 17:18:59 +0000 +Checked in by : Robert OSFIELD +Moved the TARGET_NAME setting into the SETUP_APPLICATION/EXAMPLE macro -2007-01-05 15:52 robert +Mon, 19 Mar 2007 14:10:12 +0000 +Checked in by : Robert OSFIELD +Added CMake support for txf, osgViewer and osgShadow plugins - * Simplified the osganimate and osgautotransform mains, removing - most or all of the argument parser code. +Mon, 19 Mar 2007 13:26:34 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix on CMakeLists.txt files. -2007-01-05 15:32 robert +Mon, 19 Mar 2007 12:30:26 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, move to using local CMakeLists.txt files and explicit file lists.From Robert Osfield, small ammendments of the above to seperate example and application installs, and fix the osgPlugins install directory. - * Fixed aspect ratio. -2007-01-05 15:30 robert - * Cleaned up the GraphicsWindow setup +Mon, 19 Mar 2007 11:47:49 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-05 15:24 robert +Mon, 19 Mar 2007 11:35:36 +0000 +Checked in by : Robert OSFIELD +From Andreas Goebel, add -lgdi to GNUmakefile - * Added GraphicsContext support for clearing the graphis context. - The clearing - is off by default (ClearMask is 0), but can be switched on when - ClearMask is - non zero. GraphicsContext::clear() is called after each swap - buffers +Mon, 19 Mar 2007 11:25:41 +0000 +Checked in by : Robert OSFIELD +Further work on TerrainNode -2007-01-05 14:57 robert +Mon, 19 Mar 2007 10:54:39 +0000 +Checked in by : Robert OSFIELD +Build fixes - * Replace osgProducer reference by osgViewer +Mon, 19 Mar 2007 10:38:44 +0000 +Checked in by : Robert OSFIELD +Further work on osgterrain example -2007-01-05 14:56 robert +Sun, 18 Mar 2007 11:04:12 +0000 +Checked in by : Robert OSFIELD +Removed now redundent method - * Moved osgautotransform across to osgViewer +Fri, 16 Mar 2007 14:28:27 +0000 +Checked in by : Robert OSFIELD +From David Callu, " bug: Lost the functionality to find the real type pointed by a pointer. Ex: a osg::Node pointer point on a osg::Group, if I look for information on the pointer type, the introspection say it is a "osg::Node*". But if I want information on the pointed type, the introspection must return the "osg::Group". This bug come from the osgIntrospection::Value::Ptr_instance_box::ptype() function. + In the original version, this function use the member "Instance_base *inst_" + like this : + typeof(*static_cast *>(inst_)->_data) -2007-01-05 14:50 robert + But in the new version, this function use the template argument "T": + typeof(typename remove_pointer::type) - * Converted osganimate projects across to osgViewer + This is a good meta-programming use, but here we need a dynamic request. -2007-01-05 14:48 robert + Moreover the "typeof" macro define in "Reflection" header accept only a type in parameter with the new version. + - * Converted osganimate example to osgViewer -2007-01-05 13:16 robert + fix: + Add the macro "typeofvalue" in "Reflection" header which accept a value or a type in parameter. + Restore original code in osgIntrospection::Value::Ptr_instance_box::ptype() function. +" - * Added int return type of Viewer::run(). -2007-01-05 13:15 robert - * Made the custom window set up a runtime option +Fri, 16 Mar 2007 14:27:30 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-05 13:06 robert +Fri, 16 Mar 2007 13:22:05 +0000 +Checked in by : Robert OSFIELD +Added WindowData structures to GraphicsWindowX11,Win32 and Carbon to help support GraphicsWindow inheriting their window handles from an external toolkit - * Tweaked comments +Fri, 16 Mar 2007 10:02:44 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, "To get the latest OSG to build under IRIX with the MIPSpro compiler I had to add -LANG:libc_in_namespace_std=OFF to DEF in the makedefs file. The modified file is attached." -2007-01-05 13:01 robert +Thu, 15 Mar 2007 13:17:05 +0000 +Checked in by : Robert OSFIELD +From Philip Lowman, added gdi32 entry fro Mingw build - * Added a workaround for computing the time of an event. +Wed, 14 Mar 2007 12:59:06 +0000 +Checked in by : Robert OSFIELD +Name fixes -2007-01-05 12:22 robert +Wed, 14 Mar 2007 12:43:29 +0000 +Checked in by : Robert OSFIELD +Added osgterrain example - * Removed commented out checkEvents calls +Wed, 14 Mar 2007 12:42:21 +0000 +Checked in by : Robert OSFIELD +Added osgterrain to build -2007-01-05 10:59 robert +Wed, 14 Mar 2007 12:31:53 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added Viewer::isRealized() and run() methods to make it easier to - set up and run a viewer, taking care of realized() calls if not - already - done, and assigning trackball manipulator if not already - assigned. +Wed, 14 Mar 2007 12:00:54 +0000 +Checked in by : Robert OSFIELD +Added class shells for osgTerrain::Locator and osgTerrain::Layer classes -2007-01-05 09:55 robert +Wed, 14 Mar 2007 11:24:04 +0000 +Checked in by : Robert OSFIELD +Renamed HeightFieldNode and HeightFieldRenderer to TerrainNode and TerrainTechnique respectively - * Removed inappropriate comment about normal orientation. +Wed, 14 Mar 2007 10:02:45 +0000 +Checked in by : Robert OSFIELD +Changed typeid(CullVisitor) check to dynamic_cast -2007-01-04 21:58 robert +Tue, 13 Mar 2007 20:09:21 +0000 +Checked in by : Robert OSFIELD +Fixed spacing of message - * Changed compile paths into runtime selected paths using command - line parameters +Tue, 13 Mar 2007 20:06:01 +0000 +Checked in by : Robert OSFIELD +Added lib64 to search path for OpenThreads -2007-01-04 21:51 robert +Tue, 13 Mar 2007 12:25:30 +0000 +Checked in by : Robert OSFIELD +From Mathieu Narache, build fixes for IRIX64 - * Removed now redundent calls to set up view +Tue, 13 Mar 2007 11:58:52 +0000 +Checked in by : Robert OSFIELD +Fixed gif plugin entry so that it uses GIFLIB_ rather than GIF to match it up to the CMakeModels/FindGIFLIB.cmake entry -2007-01-04 21:49 robert +Tue, 13 Mar 2007 08:18:13 +0000 +Checked in by : Robert OSFIELD +Checked in missing implementation of cleanSceneGraph. - * Moved the set of GraphicsContext RenderingOperations into Viewer. +Mon, 12 Mar 2007 21:23:09 +0000 +Checked in by : Robert OSFIELD +Changed the lib and executable local build so that they all go in bin and lib respectively. -2007-01-04 21:35 robert +Mon, 12 Mar 2007 21:13:15 +0000 +Checked in by : Robert OSFIELD +Added IF(BUILD_OSG_WRAPPERS) arouind osgintrospection example - * In Viewer::realize() added default fallback of calling - setUpViewAcrossAllScreens() - when no windows have previously been set up. +Mon, 12 Mar 2007 12:46:36 +0000 +Checked in by : Robert OSFIELD +Fixed install paths of wrappers and plugins -2007-01-04 21:28 robert +Mon, 12 Mar 2007 12:14:20 +0000 +Checked in by : Robert OSFIELD +Removed GDAL references - * Added Viewer::setKeySetsDone(int) to allow developers to specify - which - key should set done and cause the main loop to exit. +Mon, 12 Mar 2007 12:13:52 +0000 +Checked in by : Robert OSFIELD +Removed GDAL references -2007-01-04 21:18 robert +Mon, 12 Mar 2007 11:49:10 +0000 +Checked in by : Robert OSFIELD +Cleaned up the ordering of the code component compilation - * Removed the setting of thread safe ref/unref and max number of - graphics contexts - as this is now done automatically by osgViewer::Viewer +Mon, 12 Mar 2007 11:48:35 +0000 +Checked in by : Robert OSFIELD +Fixed osgTerrain CMakeLists.txt so it didn't include DataSet or GDAL references -2007-01-04 21:18 robert +Mon, 12 Mar 2007 08:32:56 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, fixes for building wrappers with lib prefix. - * Changed debug messages to INFO +Sun, 11 Mar 2007 13:23:06 +0000 +Checked in by : Robert OSFIELD +Renamed the follow plugins to facilitate CMake buildlib3ds -> 3ds +ac3d -> ac +directx -> x +ESRIShape -> shp -2007-01-04 21:14 robert - * Changed the ReadWriteMutex to use standard OpenThreads::Mutex to - fix - crashes in osgcatch. -2007-01-04 20:50 robert - * Added mutex to lock of ReentrantMutex +Sun, 11 Mar 2007 13:21:48 +0000 +Checked in by : Robert OSFIELD +Moved introspection build into optional compile section -2007-01-04 20:49 robert +Sun, 11 Mar 2007 13:15:15 +0000 +Checked in by : Robert OSFIELD +Changed the output directory for wrappers to osgPlugins and the name to osgwrapper_ to make it consitent with the previous places used for wrappers.Note, the wrappers still compile to libosgwarapper_, this will need fixing. - * Fixed compile warning -2007-01-04 16:49 robert - * Made Refernced::setThreadSafeReferenceCounting(bool) a virtual - then overrode - this in various scene graph classes to ensure that the scene - graph gets - updated as well as the objects that the initialial call is made - from. +Sun, 11 Mar 2007 11:48:03 +0000 +Checked in by : Robert OSFIELD +Added inheritedWindowData member variable to Traits. -2007-01-04 16:48 robert +Sat, 10 Mar 2007 17:29:32 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, fix for AGL build of osgViewer - * Fixed warnings +Sat, 10 Mar 2007 12:27:01 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-04 14:34 robert +Sat, 10 Mar 2007 11:56:34 +0000 +Checked in by : Robert OSFIELD +Correct TransferFunction entry. - * Added glXDestryContext to help clean up OpenGL. +Sat, 10 Mar 2007 11:53:31 +0000 +Checked in by : Robert OSFIELD +Added preliminary work on osg::TransferFunction -2007-01-04 14:11 robert +Sat, 10 Mar 2007 11:38:26 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added Object::resizeGLObjectBuffers(uint) method to help improve - the ability - to change the number of active graphics contexts on the fly - during an applications - life. +Sat, 10 Mar 2007 11:38:13 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, CMakeLists.txt support for wrappers -2007-01-04 11:49 robert +Fri, 9 Mar 2007 16:25:11 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, "Here are some fix for building plugin net and installing .lib under lib under WIndows + some setting (commented) coming from previous build setup" - * Added support for starting and stopping osgViewer::Viewer - threading and - automatic handling of windows being closed. +Fri, 9 Mar 2007 14:54:41 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, improvements to handling of install under Unix -2007-01-03 23:00 robert +Fri, 9 Mar 2007 14:54:01 +0000 +Checked in by : Robert OSFIELD +Commenting out Matrix_implementation.cpp entry to avoid it being installed. - * Added catch of window close +Fri, 9 Mar 2007 13:47:37 +0000 +Checked in by : Robert OSFIELD +Added application_ and example_ before application and example projects.Converted the application CMakeLists.txt and macros to work with the ADD_OSG_APPLICATION macro. -2007-01-03 19:11 robert +Removed the GDAL checks in the examples/CMakeLists.txt - * From Paul Martz, added export to fix Windows build -2007-01-03 17:26 robert - * Added setting of default backgroud colour of View's master colour - to be - consistent with the previous default colour used by SceneView -2007-01-03 17:25 robert - * Removed setting of master camera colour +Fri, 9 Mar 2007 09:08:32 +0000 +Checked in by : Robert OSFIELD +Setting of binary/exe path moved to root CMakeLists.txt -2007-01-03 16:32 robert +Fri, 9 Mar 2007 09:07:05 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix - * Changed the View's master camera projection matrix setting so - that it is - consistent with osgProducer::Viewer default setting. +Thu, 8 Mar 2007 21:19:27 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, fixed build of freetype and zlib. -2007-01-03 16:06 robert +Thu, 8 Mar 2007 15:33:50 +0000 +Checked in by : Robert OSFIELD +From Lugi Calori, tweaks to macros and addition of CMAKE_INSTALL_PREFIX to FindOpenThreads - * Improved the robustness of thread start and cancellation +Thu, 8 Mar 2007 15:31:36 +0000 +Checked in by : Robert OSFIELD +Ran dos2unx of CMakeLists.txt files -2007-01-02 20:26 robert +Thu, 8 Mar 2007 15:29:53 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, added support macro based build of plugins - * Fixed the COPY_OP( Array, DEEP_COPY_ARRAYS); entry. +Tue, 6 Mar 2007 12:03:33 +0000 +Checked in by : Robert OSFIELD +Added application CMakeLists. -2007-01-02 17:39 robert +Tue, 6 Mar 2007 12:02:59 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, quick hack to make example compile in source. - * Added support for different threading models in osgViewer::Viewer +Tue, 6 Mar 2007 12:01:55 +0000 +Checked in by : Robert OSFIELD +Changed _pixel_x and _pixel_y to be floats -2007-01-02 13:02 robert +Tue, 6 Mar 2007 11:20:39 +0000 +Checked in by : Robert OSFIELD +Added support for 4,7,12,16 bit luminance and intensity formats - * Shifted the setting of thread safe ref/unref to earlier in the - main to - ensure that the Viewer's view is set up thread safe. +Mon, 5 Mar 2007 17:46:50 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2007-01-02 12:50 robert +Mon, 5 Mar 2007 17:34:36 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, " noticed that some type references of osg::Drawable::AttributeFunctor, osg::Drawable::ConstAttributeFunctor, and osg::StateAttribute::ModeUsage in osg and osgSim were not being properly reflected in osgIntrospection. This appears to be due to Doxygen not handling nested types from superclasses if they're not qualified when referenced in subclasses.These changes add the necessary superclass type qualification so that Doxygen now recognizes the references." - * Added support for getting all windows and hiding the cursor -2007-01-02 12:19 robert - * Switched off lighting in osgcatch. -2007-01-02 12:03 robert - * Changed default multi-screen setup to set up for a flat wall - configuration +Mon, 5 Mar 2007 13:27:55 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, added marco support -2007-01-02 10:31 robert +Mon, 5 Mar 2007 12:11:15 +0000 +Checked in by : Robert OSFIELD +Added missing files - * Fixed version function names and comment strings +Mon, 5 Mar 2007 12:09:42 +0000 +Checked in by : Robert OSFIELD +Added missing files -2007-01-02 10:11 robert +Sun, 4 Mar 2007 13:05:33 +0000 +Checked in by : Robert OSFIELD +From Eric Wing and others, first cut of CMake build support - * Added missing init() implementation +Sun, 4 Mar 2007 13:04:56 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, updated project to reflect new additions to osgIntrospection -2007-01-02 09:54 robert +Sun, 4 Mar 2007 13:04:12 +0000 +Checked in by : Robert OSFIELD +Fixed command line parameter reporting - * Fixed path to osgViewer wrapper +Sun, 4 Mar 2007 13:03:47 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, updates to support new protected method support -2007-01-01 20:01 robert +Fri, 2 Mar 2007 16:14:44 +0000 +Checked in by : Robert OSFIELD +Added proper maths for distortion correction of pufferfish dome. - * Added mouseWarped update +Thu, 1 Mar 2007 13:41:28 +0000 +Checked in by : Robert OSFIELD +Changed the index value to 0 of the token vector, wheras original the 1 was used, the later causing a crash when only one token was available. Also clean up #if #else #endif block to help make the code more readable and maintainable. This bug and fix was found by Anders Backman, but final implementation done by Robert Osfield. -2007-01-01 18:20 robert +Thu, 1 Mar 2007 12:10:52 +0000 +Checked in by : Robert OSFIELD +From David Gurhrie, "Here is the updated txp loader code that we modified before to store some of the material codes in the userdata field. It now takes an option string to enable adding the extra data and doesn't add it by default." - * Various work on osgViewer library, including warp point and - graphics window resize support +Thu, 1 Mar 2007 11:58:36 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-12-28 08:21 robert +Thu, 1 Mar 2007 11:54:30 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, added protected function support - * Removed GraphicsWindowProxy +Thu, 1 Mar 2007 10:43:12 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, fix Windows build by adding space in where previous editing had removed it. -2006-12-28 08:16 robert +Thu, 1 Mar 2007 09:19:36 +0000 +Checked in by : Robert OSFIELD +Added osgShadow to dependencies of osgdepthshadow example - * Removed osgViewer::GraphicsWindowProxy as its was causing wrapper - compile - problems and also no longer has a key role in osgViewer. +Wed, 28 Feb 2007 12:15:01 +0000 +Checked in by : Robert OSFIELD +Ran cleanup to fix tabs -2006-12-27 23:32 robert +Wed, 28 Feb 2007 11:18:43 +0000 +Checked in by : Robert OSFIELD +Added support for direction lights to ShadowTexture - * Updated wrappers +Wed, 28 Feb 2007 11:12:51 +0000 +Checked in by : Robert OSFIELD +From Mihai Radu, Added support for directional lights to ShadowMap -2006-12-27 23:19 robert +Wed, 28 Feb 2007 10:10:21 +0000 +Checked in by : Robert OSFIELD +Added mention of LODScale in docs - * Updated wrappers +Wed, 28 Feb 2007 10:08:45 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, updated the LOD documentation -2006-12-27 23:19 robert +Tue, 27 Feb 2007 21:31:45 +0000 +Checked in by : Robert OSFIELD +Added osgTerrain into default build of wrappers - * Tweaks from using a ReadWriteMutex& to a ReadWriteMutex* - parameter to avoid - problems with osgIntrospection generation. +Tue, 27 Feb 2007 21:18:37 +0000 +Checked in by : Robert OSFIELD +Further clean up for refernces to osgTerrain/DataSet -2006-12-27 20:23 robert +Tue, 27 Feb 2007 21:16:23 +0000 +Checked in by : Robert OSFIELD +Removed osgdem as its now part of the VirtualPlanetBuilder project - * Improved handling of window input ranges for single window apps +Tue, 27 Feb 2007 21:12:48 +0000 +Checked in by : Robert OSFIELD +Moved include/osgTerrain/DataSet/.cpp, gdal plugin and osgdem out into the VirtualPlaneBuilder project.Updated examples to remove DataSet/GDAL dependency. -2006-12-27 16:44 robert +Updated wrappers - * Removed old hack to disable multi-threaded cameras when particle - systems are present, - this is no longer required as osgParticle has now been made - thread safe. -2006-12-27 16:40 robert - * Added an osgDB::ReadWriteMutex to help manage the ability to have - serialize - write to objects but allow multiple threads to read at once in a - read only way. -2006-12-27 15:15 robert +Tue, 27 Feb 2007 14:09:25 +0000 +Checked in by : Robert OSFIELD +Ammend the references to ReentrantMutex and ReadWriteMutex to related to their move to OpenThreads - * Updated to reflect changes to osgGA::EventQueue. +Tue, 27 Feb 2007 13:16:18 +0000 +Checked in by : Robert OSFIELD +Moved osgProducer and osgproducerviewer out into their own repository.Clean up the source for remaining references to osgProducer/Producer. -2006-12-27 15:05 robert - * Replaced the osgProducer dependencies by osgViewer for osgcatch - and osghangglide examples -2006-12-27 15:04 robert +Tue, 27 Feb 2007 11:51:32 +0000 +Checked in by : Robert OSFIELD +Added --label and --subscript options to allow us to create custom logos - * Added GraphicsWindowWin32 and GraphicsWindowCocoa classes, - curently not implmented, - but added as a placeholder for members of the community to step - forward and implement. +Mon, 26 Feb 2007 14:36:43 +0000 +Checked in by : Robert OSFIELD +Fixed auto rotate to screen so that it handles scales in to the parental path -2006-12-26 20:26 robert +Mon, 26 Feb 2007 13:01:17 +0000 +Checked in by : Robert OSFIELD +Completed changes to osgManipulator to make it more flexible w.r.t viewer usage, and ported osgmanipulator example across of osgViewer - * Ported osghangglider example to usg osgViewer +Mon, 26 Feb 2007 11:23:55 +0000 +Checked in by : Robert OSFIELD +Removed ReentrantMutex -2006-12-26 17:38 robert +Sun, 25 Feb 2007 20:05:23 +0000 +Checked in by : Robert OSFIELD +Further work on add serialization support for osgViewer configurations - * Various tweaks to keep in sync with new changes to osg::Timer and - osgGA::EventQueue +Sun, 25 Feb 2007 19:59:27 +0000 +Checked in by : Robert OSFIELD +Added new osgViewer plugin to help with serializing in/out of viewer configurtions -2006-12-26 17:37 robert +Sat, 24 Feb 2007 19:54:39 +0000 +Checked in by : Robert OSFIELD +Set propset in .dsp to fix eol to CRLF - * Added new adapter methods to EventQueue to allow the time value - of the - event to be specified. +Sat, 24 Feb 2007 19:51:21 +0000 +Checked in by : Robert OSFIELD +Set svn::eol style to CRLF -2006-12-26 17:37 robert +Sat, 24 Feb 2007 09:04:27 +0000 +Checked in by : Robert OSFIELD +Added makefile - * Aded new convinience methods to osg::Timer - s/getStartTick and - time_s(), time_m() etc - to help get time reletive the new start tick. +Fri, 23 Feb 2007 21:06:17 +0000 +Checked in by : Robert OSFIELD +Used Mike Wittman suggestion from setting CRLF on .dsp files -2006-12-26 17:35 robert +Fri, 23 Feb 2007 16:31:34 +0000 +Checked in by : Robert OSFIELD +Moved Block, ReentrantMutex and ReadWriteMutex into OpenThreads. - * Ported osgcatch to use osgViewer +Fri, 23 Feb 2007 12:14:52 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-12-24 16:40 robert +Fri, 23 Feb 2007 11:53:45 +0000 +Checked in by : Robert OSFIELD +Added bool View::Slave::_useMastersSceneData to help manage HUD's and RTT cameras that are embedded in the Viewer's View - * Unified the osg::GraphicsThread::Operation and - osg::GraphicsContext::Operation classes - as osg::GraphicsOperation. Unpdated parts of OSG depending upon - these. - - Added a virtaul bool valid() method to osg::GraphicsContext to - allow apps to - test whether a valid graphis context has been created or not. +Fri, 23 Feb 2007 11:52:28 +0000 +Checked in by : Robert OSFIELD +Added new --Viewer and --CompositeViewer for implementation of HUDs -2006-12-22 21:53 robert +Fri, 23 Feb 2007 11:51:52 +0000 +Checked in by : Robert OSFIELD +Clean up the handling of views without camera manipulators, and cameras that don't allow camera focus - * Added support for sample and sampleBuffers to - osg::GraphicsContext::Traits and - cleaned up the Traits naming +Thu, 22 Feb 2007 16:42:59 +0000 +Checked in by : Robert OSFIELD +Implement basic full dome correction with projecto pointing upwards and at center of dome. -2006-12-22 21:52 robert +Thu, 22 Feb 2007 11:17:45 +0000 +Checked in by : Robert OSFIELD +Moved distortion mesh creation out into seperate function - * Added mutexes to ParticleProcessor and ParticleSystemUpdater to - improve the thread safety of osgParticle +Thu, 22 Feb 2007 10:56:36 +0000 +Checked in by : Robert OSFIELD +Removed the compile objects in init in the SceneView::setDefaults() setup. -2006-12-22 17:46 robert +Thu, 22 Feb 2007 10:31:09 +0000 +Checked in by : Robert OSFIELD +Fixed calculation of inverted coordindates - * Implemented perliminary multi-threading support in - osgViewer::Viewer +Thu, 22 Feb 2007 09:16:54 +0000 +Checked in by : Robert OSFIELD +Added STATIC_OBJECT_DETECTION optimizer pass to OpenFlight plugin -2006-12-22 16:49 robert +Wed, 21 Feb 2007 21:20:33 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, Thanks for the model it helped to understand the problem. In Creator the "Last Frame Duration" is performed on the last frame of the last loop iteration, I tried to use it for the last frame of every loop iteration. As you already have explained we need a custom Sequence node. In the osgSim nodekit we already have a couple of specialized nodes for the OpenFlight format. We need an osgSim::GroupAnimation but I don't have the time right now to take this challenge. Until then I have modified my last attempt to work with the current osg::Sequence node by ignoring the "Last Frame Duration". - * Replaced osgProducer dependency by osgViewer +Wed, 21 Feb 2007 20:47:32 +0000 +Checked in by : Robert OSFIELD +Removed debugging info -2006-12-22 16:48 robert +Wed, 21 Feb 2007 20:38:14 +0000 +Checked in by : Robert OSFIELD +Added the default setting of the SceneView's camera onto the RenderStage to allow SceneView to automatically support FBO, PBuffers, image and texture copies and Camera post draw callbacks - * Removed now redundent OSG_EXPORT to solve build problems under - Windows +Wed, 21 Feb 2007 19:41:53 +0000 +Checked in by : Robert OSFIELD +Added ability to discount Camera's that arn't appropriate for event focus -2006-12-22 08:42 robert +Wed, 21 Feb 2007 19:41:03 +0000 +Checked in by : Robert OSFIELD +Wired up RTT cubemap cameras and simple distortion mesh. - * Removed Vec3.cpp and UnitTestFramework.cpp as these files now - live in examples/osgunittests +Wed, 21 Feb 2007 19:06:43 +0000 +Checked in by : Robert OSFIELD +Added Camera::s/getAllowsEventFocus() method to allow osgViewer to have non interfactive cameras such as RTT ones -2006-12-21 17:23 robert +Wed, 21 Feb 2007 15:15:55 +0000 +Checked in by : Robert OSFIELD +Wojciech Lewandowski: "TexGenNode::TexGenNode( TexGen * texGen ) constructor does not initialize ReferenceFrame. I am not sure maybe this was the intent but first constructor does it so I don't see a reson why third one shouldn't." - * Added basic support for DatabasePager into osgViewer::Viewer +Wed, 21 Feb 2007 14:17:15 +0000 +Checked in by : Robert OSFIELD +Removed debug messages -2006-12-21 16:56 robert +Wed, 21 Feb 2007 13:48:01 +0000 +Checked in by : Robert OSFIELD +Removed the exclusion of CullSettings from the genwrapper.conf, and then changed the CullStack RefMatrix& methods to RefMatrix* as the RefMatrix& versions caused the wrappers to fail. - * Moved rendering support into GraphisContext, - osgViewer::Viewer/View, and - added frame stamp updating and update traversal to - osgViewer::Scene/Viewer. - - Updated osgcamera example to use new Viewer API calls instead of - using local - rendering calls. +Wed, 21 Feb 2007 11:46:49 +0000 +Checked in by : Robert OSFIELD +Removed GL_TEXTURE_RECTANGLE_NV entries -2006-12-21 12:24 robert +Tue, 20 Feb 2007 21:06:24 +0000 +Checked in by : Robert OSFIELD +Further work on dome RTT - * Cleaned up the includes in the GraphicsWindowX11 header +Tue, 20 Feb 2007 20:56:03 +0000 +Checked in by : Robert OSFIELD +Fixed inheritance check for copying clear colour to slave cameras -2006-12-21 12:19 robert +Tue, 20 Feb 2007 16:46:53 +0000 +Checked in by : Robert OSFIELD +Added inhertCullSettings before SceneView::cull() calls - * Moved the implementation of GraphicsWindowX11 from the head into - the src/osgViewer directory. +Tue, 20 Feb 2007 11:44:10 +0000 +Checked in by : Robert OSFIELD +Added beginings of full dome correction support, starting with 6 slave camera configuration. -2006-12-21 11:20 robert +Tue, 20 Feb 2007 09:48:59 +0000 +Checked in by : Robert OSFIELD +Added missing \ to end osgGA entry - * Improved the handling of moving the mouse pointer across screens, - and add - grab focus support that honours where the mouse pointer was - originally. +Tue, 20 Feb 2007 09:48:04 +0000 +Checked in by : Robert OSFIELD +Added osgViewer and osgShadow to the wrapper build directories -2006-12-21 09:01 robert +Mon, 19 Feb 2007 20:57:08 +0000 +Checked in by : Robert OSFIELD +Added g/setUpdateVistor method - * Removed erroneous double GraphicsContext:: +Mon, 19 Feb 2007 16:59:52 +0000 +Checked in by : Robert OSFIELD +Added command line arguments descriptions -2006-12-21 08:54 robert +Mon, 19 Feb 2007 16:45:42 +0000 +Checked in by : Robert OSFIELD +Added -1, -2 and -3 model creation options to osgshadow example. - * Fixed path +Mon, 19 Feb 2007 15:42:32 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-12-20 21:13 robert +Mon, 19 Feb 2007 15:26:14 +0000 +Checked in by : Robert OSFIELD +Added support for ShadowTexture and ShadowMap to osgshadow example - * Further work osgViewer::Viewer and related classes. +Mon, 19 Feb 2007 14:21:01 +0000 +Checked in by : Robert OSFIELD +Added option to use osgShadow::ShadowMap technique -2006-12-19 17:40 robert +Mon, 19 Feb 2007 14:20:18 +0000 +Checked in by : Robert OSFIELD +Implemented basic ShadowMap technique - * From Roger James, "Here is the version of daeWMaterials.cpp with - fixes for case insensitive path names on Windows. Nobody has - complained to me about them since I posted them on the users list - last week." +Mon, 19 Feb 2007 12:13:30 +0000 +Checked in by : Robert OSFIELD +Moved CameraCullCallback into ShadowTechnique scope to make it more resusable between various Techniques -2006-12-19 17:30 robert +Sun, 18 Feb 2007 15:24:32 +0000 +Checked in by : Robert OSFIELD +Wired up the texgen to complete the first iteration of ShadowTexture effect - * From Mathias Fröhlich, "I have a small update to the 'non convex - polygon detection' in the ac3d loader - that is used to tell if tesselation is required or if we will - better leave a - polygon as is. It is still not perfect but catches some more - cases." +Sun, 18 Feb 2007 14:21:16 +0000 +Checked in by : Robert OSFIELD +From Andre Garneau: * Fix for the aspect ratio not being properly set when screens have different aspect ratios. * Minor fix for makeCurrentImplementation being called directly instead of makeCurrent() causing the owning thread pointer not being tracked * Fix for osglauncher so that it sets its update text regions to DYNAMIC to prevent multi-threading issues. -2006-12-19 17:16 robert +Sat, 17 Feb 2007 17:16:13 +0000 +Checked in by : Robert OSFIELD +Added basic set up of the RTT camera. - * From Paul Martz, "minor code comment cleaup/rewording" +Sat, 17 Feb 2007 14:37:55 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Add GL_TEXTURE_RECTANGLE to list of acceptable texture modes" -2006-12-19 17:06 robert +Fri, 16 Feb 2007 17:45:53 +0000 +Checked in by : Robert OSFIELD +Fixed genwrapper so that it handles .svn directories, updated wrappers - * Moved UnitTestFramework from core osg lib into osgunittests - example +Fri, 16 Feb 2007 17:35:52 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-12-19 16:47 robert +Fri, 16 Feb 2007 17:34:34 +0000 +Checked in by : Robert OSFIELD +Added new osg::ComputeBoundsVisitor - * Updated wrappers +Fri, 16 Feb 2007 16:37:16 +0000 +Checked in by : Robert OSFIELD +Added pushViewport/popViewport to CullVisitor::apply(Camera&) -2006-12-19 16:47 robert +Fri, 16 Feb 2007 15:29:47 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added Copyright notice +Fri, 16 Feb 2007 15:17:43 +0000 +Checked in by : Robert OSFIELD +From Roland Smeenk, "ClipNode contains a method getClipPlaneList that should actually be called setClipPlaneList." -2006-12-19 16:45 robert +Fri, 16 Feb 2007 15:14:16 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Added support for traversal mask into ElevationSlice, - HeightAboveTerrain and LineOfSight classes +Fri, 16 Feb 2007 13:33:29 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "I added a bool to GraphicsContext::Traits to indicate wether to use the multithreaded-opengl-engine on os x or not. I set its default to false, perhaps other os x users can test this setting with their data/apps, to see if we can enable it by default.I changed also the borderless-window-type, so expos?works correctly." -2006-12-19 16:12 robert - * Added osgViewer::Viewer / osgViewer::GraphicsWindowsX11 usage. -2006-12-19 16:00 robert - * Added initial GraphicsWindowX11 implementation, and fleshed out - more of the - osgViewer and osg::GraphicsContext/osg::View infrastructure. +Fri, 16 Feb 2007 13:17:04 +0000 +Checked in by : Robert OSFIELD +Removed debugging readImageFile, and done further work on RTT setup. -2006-12-17 20:49 robert +Fri, 16 Feb 2007 10:20:10 +0000 +Checked in by : Robert OSFIELD +Fleshed out a bit more of the ShadowTexture implementation - * Added support WindowingSystemInterface for querring the number of - screens, the screen size and creating GraphicsContexts. +Fri, 16 Feb 2007 10:19:15 +0000 +Checked in by : Robert OSFIELD +Added osgShadow::ShadowTexture set up -2006-12-15 17:27 robert +Fri, 16 Feb 2007 06:39:23 +0000 +Checked in by : Robert OSFIELD +Added enabling of the stencil buffer when setting up ShadowVolume path - * Added ViewPoint support into - NodeVistor/CullStack/CullVisitor/LOD/PagedLOD etc to facilate - management of LOD settings for RTT cameras. +Fri, 16 Feb 2007 06:11:38 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updates to XCode projects and introduction of two SDL OSX files to the osgsimpleviewerSDL example -2006-12-14 21:15 robert +Fri, 16 Feb 2007 05:46:50 +0000 +Checked in by : Robert OSFIELD +Fixed typo that was breaking the build - * From Brede Johansen, "New option "cloneExternalReferences" for - OpenFlight plugin" +Thu, 15 Feb 2007 22:28:32 +0000 +Checked in by : Robert OSFIELD +Added support for using the new osgShadow plugin as a psuedo loader such that: osgviewer cow.osg.shadow -2006-12-14 16:13 robert +Or to ShadowVolume rechnique specifically: - * From Orhun Birsoy, "In SimpleViewer::frameUpdateTraversal - function, orthographicCamera calculation has some typos. It - should read - bool orthographicCamera = (pm(0,3)==0.0) && (pm(1,3)==0.0) && - (pm(2,3)==0.0) && (pm(3,3)== 1.0); " + osgviewer cow.osg.sv.shadow -2006-12-14 14:44 robert - * From Andy Skinnder, warning fix -2006-12-13 21:15 robert +Thu, 15 Feb 2007 17:31:30 +0000 +Checked in by : Robert OSFIELD +Added .osg support for osgShadow NodeKit - * Removed debug output files +Thu, 15 Feb 2007 17:25:14 +0000 +Checked in by : Robert OSFIELD +Added support for using the scenes light source setting to set up the ShadowVolume's effect light parameters -2006-12-13 17:39 robert +Thu, 15 Feb 2007 15:06:18 +0000 +Checked in by : Robert OSFIELD +Addd an #ifdef _WIN32 to force SingleThreaded usage under Windows when no threading model is specified. - * Commented out debug messages +Thu, 15 Feb 2007 15:03:30 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, "The template-argument-list errors look to be due to a lack of spaces in the typeof macro. Here's a new Reflection header which should fix those problems. For consistency I think that's the best solution." -2006-12-13 16:41 robert +Thu, 15 Feb 2007 14:53:54 +0000 +Checked in by : Robert OSFIELD +Reorganised the text comments so that they are shorter length, and hopefully will avoid VS2003's silly text string limits when compiling osgIntrospection wrappers - * Further improvements to handling of multiple z values +Thu, 15 Feb 2007 14:47:06 +0000 +Checked in by : Robert OSFIELD +Twaaked comments -2006-12-12 21:48 robert +Thu, 15 Feb 2007 14:04:22 +0000 +Checked in by : Robert OSFIELD +From André Garneau, Win32 build fixes - * Improvements to handling of multiple z value regions +Thu, 15 Feb 2007 12:24:04 +0000 +Checked in by : Robert OSFIELD +Added context sharing support. -2006-12-07 22:20 robert +Thu, 15 Feb 2007 12:11:16 +0000 +Checked in by : Robert OSFIELD +Fixed handling of warp pointer for when its called at startup and the event queue isn't yet initialized the window range. - * Improved the filtering of overlapping and vertical line segments +Thu, 15 Feb 2007 10:25:11 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate Stats:: prefix -2006-12-07 15:48 robert +Thu, 15 Feb 2007 09:31:00 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Fixed copyright notice +Thu, 15 Feb 2007 09:17:03 +0000 +Checked in by : Robert OSFIELD +Added extra spaces between <> template declarations -2006-12-07 10:16 robert +Thu, 15 Feb 2007 08:29:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Luigi Calori, "In order to effectively use --image-ext and - to add -O "plugin options", - some fix to osgdem.cpp and osgTerrain/DataSet.cpp - - These mods should allow to build terrains controlling jpeg - compressed - imagery embedded in ive files, using something like: - - osgdemd --image-ext jpeg --RGB_24 -O "JPEG_QUALITY 20 - compressImageData" ......." +Thu, 15 Feb 2007 08:29:09 +0000 +Checked in by : Robert OSFIELD +Removed setFrameStamp -2006-12-07 10:09 robert +Thu, 15 Feb 2007 01:45:44 +0000 +Checked in by : Robert OSFIELD +Added checks into Viewer set up of Camera stats so that stats are reused if already present.Added use of ref_ptr into StatsHandler's callbacks - * From Geoff Michel, "I was getting triangulations with the - previous delaunay triangulator, but it seems I may have been - picking up the wrong coordinates or an old version of my test - file (that version is OK when no coordinates lie outside the - 'terrain' zone). This version is much stricter about memory - handling and insertion of extra points." -2006-12-06 21:39 robert - * From Gerrick Bivins, fixed newly introduced texture setup bug. +Thu, 15 Feb 2007 01:23:00 +0000 +Checked in by : Robert OSFIELD +Improved the update of the shadow volume. -2006-12-06 21:29 robert +Thu, 15 Feb 2007 00:53:52 +0000 +Checked in by : Robert OSFIELD +Removed extrandous Stats:: prefix - * Improved the handling of overlapping line segments. +Wed, 14 Feb 2007 20:44:17 +0000 +Checked in by : Robert OSFIELD +Added support for osg::State::DynamicObjectCount into the RTT codes -2006-12-06 15:18 robert +Wed, 14 Feb 2007 20:14:45 +0000 +Checked in by : Robert OSFIELD +Added support for sharing context to GraphicsWindowX11 - * From Riccardo Corsi, add VS6.0 project file for new quicktime - windows port +Wed, 14 Feb 2007 17:28:33 +0000 +Checked in by : Robert OSFIELD +Added getState()->setGraphicsContext(this); to the various GrpahicsWindow implementations -2006-12-06 14:17 robert +Wed, 14 Feb 2007 16:29:07 +0000 +Checked in by : Robert OSFIELD +Renenabled the toggling on the CullPerCameraDrawPerContext threading model in the thread event handler. - * From Rick Pingry, "n my application I am walking through the - scene graph looking for nodes of a specific name. I noticed there - were times when some of the nodes were not named what I had - expected. Upon reviewing the code, I noticed this was happening - when there was a forward reference to a parented object. - - The existing code uses a map with object ID's. The original code - only applied the name to a node for a new ID only if the node did - not already exist in the map. The problem was that there was - another part of the code (when a parent was forward declared) - that also created the node with the ID in the map, but it did not - know its name. I simply made sure that the name was set - regardless of whether or not the node was already in the map. " +Wed, 14 Feb 2007 16:24:49 +0000 +Checked in by : Robert OSFIELD +Added use of Mutex into osg::Stats to better handle multi-threaded usage -2006-12-05 22:10 robert +Wed, 14 Feb 2007 16:16:38 +0000 +Checked in by : Robert OSFIELD +Changed the initialized osg Drager:::PointerInfo::hitIter to prevent compile problems under Windows - * Updated wrappers +Wed, 14 Feb 2007 15:25:04 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "I was getting a 0 byte memory leak reported when loading 3ds files, so I've changed line 196 from:viewport->layout.viewL=(Lib3dsView*)calloc(sizeof(Lib3dsView),views); -2006-12-05 20:30 robert +to: - * Checked in remaining element from Brede Johansen changes for - clmapToEdge reader option. +viewport->layout.viewL= views ? +(Lib3dsView*)calloc(sizeof(Lib3dsView),views) : 0;" -2006-12-05 17:30 robert - * From Stephan Huber, "minor bugfixes for the quicktime-plugin" -2006-12-05 17:27 robert +Wed, 14 Feb 2007 14:58:46 +0000 +Checked in by : Robert OSFIELD +Changed the report of lack of WGL_SWAP_METHOD_ARB so that it is INFO rather than WARN. - * From Gerrick Bivins, "Changes: - --merged with fixes for texture coordinates(is this in CVS/SVN - already)? - --changed above mentioned fix output level from osg::NOTIFY to - osg::DEBUG_INFO - --added support for VRML97 ImageTextures. - --changed pointers to ref_pointers where possible. - --added format (method separated by "//////") for easier - reading." +Wed, 14 Feb 2007 14:53:31 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find an update for the XCode-project.I added the osgShadow as a framework and osgManipulator as a framework, +(and the corresponding examples) I removed (hopefully) all references to +osg-/Producer where necessary, and some minor stuff." -2006-12-05 17:10 robert - * From Roger James,"I have had another go at the windows specific - file name handling in daeWMaterials.cpp. I think I have arrived - at a temporary compromise. - - I have decided to just normalise the drive letter part of file - names for the time being and also ensure that names of the format - x:/xxxxx are treated as absolute paths. This will cover a lot of - cases. - - I have raised a bug against collada which hopefully should - resolve some others. However there are some pathological cases - which I have commented on in the code, these will probably never - work properly unless there is a significant rewrite of the daeURI - functionality. Hopefully they are rare." -2006-12-05 16:45 robert +Wed, 14 Feb 2007 14:36:38 +0000 +Checked in by : Robert OSFIELD +Added OSG_RUN_FRAME_COUNT env var which enables a limited run of specified frame numbers when Viewer::run is called. - * From Rein Kadijk, "While displaying a certain scene, OsgEdit - crashed in ProxyNode::traverse() in file - OSG_OP_OT-1.2\OpenSceneGraph\src\osg\proxynode.cpp. - It turned out that nv.getDatabaseRequestHandler() returned NULL; - using this pointer to call one of DatabaseRequestHandler's - methods is of course illegal. - I patched it by adding: if (nv.getDatabaseRequestHandler())" - - From Robert Osfield, reordered the addition of the - nv.getDatabaseRequestHandler() check to allow the - default traverse() to be called when no database handling is - attached to the visitor. +Wed, 14 Feb 2007 13:18:58 +0000 +Checked in by : Robert OSFIELD +Introduced new osg::Object::DataVariance type of UNSPECIFIED, and changed the deafult values of DataVariance to UNSPECIFIED to all types. -2006-12-05 16:29 robert +Wed, 14 Feb 2007 12:42:10 +0000 +Checked in by : Robert OSFIELD +Set the DataVariance of updating text to DYNAMIC - * From Stephan Huber and Riccardo Corsi, port of QuickTime plugin - to Windows +Wed, 14 Feb 2007 12:40:45 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, fixed path. -2006-12-05 15:41 robert +Wed, 14 Feb 2007 12:00:33 +0000 +Checked in by : Robert OSFIELD +Removed debugging run method. - * Added use of typedef to help clean up the readability a little - and replaced a copy list with a reference. +Wed, 14 Feb 2007 11:24:42 +0000 +Checked in by : Robert OSFIELD +Added computeDataVariance method into osg::Object and implementations in Drawable and StateSet, and calling of osgUtil::StaticObjectDetectionVisitor in osgViewer::Viewer -2006-12-05 15:31 robert +Wed, 14 Feb 2007 11:21:41 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, added spaces into < > macros - * From Sylvain Marie, "changed raw pointers to smart pointers in - the dxfBlock, dxfTables and - dxfSection classes, so their members data are correctly deleted. - - changed some methods signatures to pass arguments by reference - instead of - by value. The performance and memory usage are enhanced (the - reader was - clogging the heap when reading some large DXF files) - - The updated files have been compiled and tested with a variety of - DXF files - on XP with VS2003, but the changes should not disturb any other - compiler." +Tue, 13 Feb 2007 22:39:59 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2006-12-05 14:58 robert +Tue, 13 Feb 2007 22:24:51 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * From Chris McGlone, "PlygonZ copy constructor: added allocation - and copying of zarray" +Tue, 13 Feb 2007 22:22:35 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2006-12-05 14:50 robert +Tue, 13 Feb 2007 22:16:18 +0000 +Checked in by : Robert OSFIELD +Fixed warnings. - * From Bryan Thrall, "Currently, the DatabasePager always loads - requested Nodes using the - default Registry Options object, but it would be useful to be - able to - request loading with a different Options object. The attached - files - allow you to do that (based off the OSG 1.2 source). - - For example, I'm implementing a loader that requires context - information - when it pages in subgraphs, which becomes significantly - complicated when - multiple scenegraphs are requesting subgraph loads with different - contexts (the loader needs to know which context to use, and the - Registry Options needs to be carefully managed so the context - settings - don't clobber each other, especially in multithreaded - situations). Being - able to pass an Options instance along with the Node request - resolves - this problem." +Tue, 13 Feb 2007 20:32:45 +0000 +Checked in by : Robert OSFIELD +Added -losgText to example that used osgViewer but didn't previously include -losgText -2006-12-05 14:28 robert +Tue, 13 Feb 2007 17:39:42 +0000 +Checked in by : Robert OSFIELD +Changed the DeleteHandler so by default it doesn't cache objects - * From Brede Johansen, "added a new reader option to replace the - texture - wrap mode CLAMP with CLAMP_TO_EDGE." +Tue, 13 Feb 2007 16:03:35 +0000 +Checked in by : Robert OSFIELD +Added OSG_THREADING environmental variable to osgViewer::Viewer::suggestBestThreadingModel -2006-12-05 13:06 robert +Tue, 13 Feb 2007 15:57:01 +0000 +Checked in by : Robert OSFIELD +Reduced the RTT texture size to 256x256 to make setup quicker - * Updated wrappers +Tue, 13 Feb 2007 15:24:56 +0000 +Checked in by : Robert OSFIELD +From John Shue, "Modified OpenSceneGraph/Make/makedefs to add -pipe gcc command line option to FreeBSD build." -2006-12-05 12:58 robert +Tue, 13 Feb 2007 14:42:00 +0000 +Checked in by : Robert OSFIELD +Added support for ColorMask to .ive plugin - * Added more accurate computation of local height above sea level - in the plane intersections routines +Tue, 13 Feb 2007 14:19:39 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "Geometry.cpp Make sure number of normals match number of vertices when lit or vertex-normal pairs are separated when geometries are merged by the optimizer.Ancillary.cpp +Improved support for multitexture effect field and use texture +environment from .attr file. -2006-12-04 17:31 robert +PaletteRecords.cpp +Use search path when looking for shader files. - * Improved the calculation of distance around the globe within the - ElevationSlice routine. +PrimaryRecords.cpp +Added preset uniforms "TextureUnit0", "TextureUnit1", "TextureUnit2" +and "TextureUnit3" for GLSL shaders." -2006-12-04 12:36 robert - * Added preliminary support for generating distance, height lists - for ElevationSlice. -2006-12-03 12:52 robert +Tue, 13 Feb 2007 13:58:45 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, "Here are some updates for osgsimpleviewerCocoa.New features and enhancements: +- Shared OpenGL contexts +- Multithreaded OpenGL Engine support +- Localizable string support +- Offscreen rendering (to framebuffer object) for: + - Copy/Paste (to image) support + - Drag-and-drop (as source image) support + - Print to Printer/PDF + - Dock minimization picture +- More robust initializer handling +- Fix to better handle hardware surfaces in NSScrollViews/NSSplitViews +- Use of respondsToSelector and instancesRespondToSelector to +demonstrate runtime feature checking to provide access to newer +features while still compiling on and supporting legacy versions + +The new file "Localizable.strings" needs to be placed inside the +English.lproj directory." - * Cleaned up debugging info. -2006-12-03 11:44 robert - * Added copying of plane to surface intersections in the - osgUtil::PlaneIntersector class, and update wrappers. +Tue, 13 Feb 2007 13:47:37 +0000 +Checked in by : Robert OSFIELD +Added support for osg::Stencil into .ive -2006-12-03 11:09 robert +Tue, 13 Feb 2007 12:17:33 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, added support for osg::BlendColor to .ive format. - * Added osgSim to osgintersection dependency list. +Tue, 13 Feb 2007 12:11:32 +0000 +Checked in by : Robert OSFIELD +Added support for osg::BlendColor to .osg plugin -2006-12-01 15:19 robert +Tue, 13 Feb 2007 11:32:28 +0000 +Checked in by : Robert OSFIELD +Added setDataVariance(DYNAMIC) to the scores text entires to prevent the DrawThreadPerContext for crashing due to double buffering of dynamic data. - * Added support for placing a base in the scene to shadow against +Tue, 13 Feb 2007 09:38:07 +0000 +Checked in by : Robert OSFIELD +Changed the BlendFunction StateSet to DYNAMIC -2006-11-30 18:42 robert +Tue, 13 Feb 2007 09:33:35 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, support for reference parameters - * Fixed typo and updated wrappers +Tue, 13 Feb 2007 09:27:44 +0000 +Checked in by : Robert OSFIELD +Added setDataVariance(DYNAMIC) to _inputText to prevent problems when running in DrawThreadPerContext threading model. -2006-11-30 18:33 robert +Mon, 12 Feb 2007 18:02:15 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Improved the edge normal computation +Mon, 12 Feb 2007 17:59:18 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, "Here is the next in the series of changes I'm making to OSG introspection to support the attributes needed for C# bindings. This change adds virtual/pure virtual attributes to MethodInfo and an explicit attribute to ConstructorInfo using the implementation strategy that David Callu recommended a few months back (thanks David!). This change updates both genwrapper and osgIntrospection, and assumes the osgIntrospection reference support that's still pending in your submission queue." -2006-11-30 16:55 robert +Mon, 12 Feb 2007 17:14:46 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, "These changes add support for reflection of reference and const reference type representations via osgIntrospection::Type. This covers just the static type information; the dynamic behavior via Type::createInstance/Type::InvokeMethod should not be affected." - * Checked in new .plists' +Mon, 12 Feb 2007 15:59:53 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-11-30 16:30 robert +Mon, 12 Feb 2007 13:51:24 +0000 +Checked in by : Robert OSFIELD +Added automatic scaling and translation of help to make sure it always fits on screen - * Basic shadow volume alogirthm implemented in example. +Mon, 12 Feb 2007 13:39:18 +0000 +Checked in by : Robert OSFIELD +Added osgViewer::HelpHandler -2006-11-30 12:05 robert +Sun, 11 Feb 2007 22:01:57 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added dynamic updating of light position and multi-pass addition - of ambient and diffuse lighting +Sun, 11 Feb 2007 21:24:38 +0000 +Checked in by : Robert OSFIELD +Incresed the resolution of the trackball dragger geometry -2006-11-30 12:04 robert +Sun, 11 Feb 2007 21:12:34 +0000 +Checked in by : Robert OSFIELD +Changed osgManipulator::Dragger::handle(..) method to use a nested PointerInfo class to encapsulate the pixel coords, SceneView and picking operations in prep for making the code more general purpose, and less reliant on classes like osgUtil::SceneView and osgUtil::IntersectVisitor. - * Fixed shadow volume geometry handling of direcitonal lights +Sun, 11 Feb 2007 15:42:55 +0000 +Checked in by : Robert OSFIELD +Added osgText to dependency of osgmanipualator example. -2006-11-30 10:29 robert +Sun, 11 Feb 2007 15:41:47 +0000 +Checked in by : Robert OSFIELD +Fixed Producer lib entry - * Added movement of the light source to test performance of update - the shadow volumes +Sun, 11 Feb 2007 12:23:19 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-11-29 22:00 robert +Sun, 11 Feb 2007 12:22:58 +0000 +Checked in by : Robert OSFIELD +Changed the osg::Shape related projectors so that they used pointers rather than references. - * Added handling of loops +Sun, 11 Feb 2007 10:33:59 +0000 +Checked in by : Robert OSFIELD +From Vivek Rajan, new osgManipulator library, with a few minor tweaks and rename for osgDragger to osgManipulator for build by Robert Osfield. Vivek's email to osg-submissions:"I'm happy to release the osgdragger nodekit to the OSG community. I +implemented the nodekit for my company, Fugro-Jason Inc., and they +have kindly agreed to open source it. -2006-11-29 21:43 robert +The nodekit contains a few draggers but it should be easy to build new +draggers on top of it. The design of the nodekit is based on a +SIGGRAPH 2002 course - "Design and Implementation of Direct +Manipulation in 3D". You can find the course notes at +http://www.pauliface.com/Sigg02/index.html. Reading pages 20 - 29 of +the course notes should give you a fair understanding of how the +nodekit works. - * Added plane to triangle intersections and segment combining, work - still not complete though. +The source code also contains an example of how to use the draggers." -2006-11-29 20:10 robert - * From Per Fahlberg, added support for writing 16-bit rgb images -2006-11-29 14:33 robert +Sat, 10 Feb 2007 18:01:37 +0000 +Checked in by : Robert OSFIELD +From Vivek Rajan, MatrixDecomposition implementaion, adapted by Robert Osfield to be part of osg::Matrixf and osg::Matrixd classes. - * Updated wrappers +Fri, 9 Feb 2007 21:31:29 +0000 +Checked in by : Robert OSFIELD +Cleaned up osgshadow example so that it now relies upon osgShadow for its shadow implementation -2006-11-29 14:21 robert +Fri, 9 Feb 2007 16:31:27 +0000 +Checked in by : Robert OSFIELD +From Carlo Camporesi, "In attach there is a little bug fix to net plugin. The modify allow the plugin to accept url with port number in this way:http://"address ":"portnumber"/ +" - * Further work on PlaneIntersector -2006-11-29 11:00 robert - * Added dummy virtual method implementations +Fri, 9 Feb 2007 16:27:43 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-11-29 10:51 robert +Fri, 9 Feb 2007 16:03:29 +0000 +Checked in by : Robert OSFIELD +Moved the basic ShadowVolume code into osgShadow - * Cleaned up inheritance +Fri, 9 Feb 2007 14:54:54 +0000 +Checked in by : Robert OSFIELD +From Yefei He, " I wrote a class derived from CopyOp that preserves the multi-parent structure of scene graphs. I only considered the case of DEEP_COPY_NODES, but it is sufficient for me. It is not the most elegant way -- I used a map to list all the already cloned nodes with multiple parents, to be looked up whenever such a node is revisited. The good part is, it works."From Robert Osfield, fixed build problems under Linux 64 due to use of int's to store Node* +in internal maps used in above custom CopyOp. Added ref_ptr<> usage to main to +prevent memory leaks -2006-11-29 09:18 robert - * Ran unix2dos to get rid of unix line ending -2006-11-28 20:45 robert +Fri, 9 Feb 2007 14:35:43 +0000 +Checked in by : Robert OSFIELD +From Joakim Simmonsson, fixed inconsistent newlines - * Still required for backwards compatibility +Fri, 9 Feb 2007 14:21:03 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Make DelaunayTriangulator less verbose - It was outputting a non-warning with notify level set to WARN; changed it to INFO to make it less verbose." -2006-11-28 20:37 robert +Fri, 9 Feb 2007 13:51:28 +0000 +Checked in by : Robert OSFIELD +Changed GraphicsWindowX11 so that it creates two Display* connextions to the Xserver, one for the graphics thread, one for the main thread that querries events - * Updated wrappers +Fri, 9 Feb 2007 13:36:44 +0000 +Checked in by : Robert OSFIELD +Added #if #else #endif blocks to Viewer::realize() and run() for the purposes of testing -2006-11-28 20:35 robert +Fri, 9 Feb 2007 12:08:46 +0000 +Checked in by : Robert OSFIELD +Removed debug message - * Fixed build errors in osgViewer +Thu, 8 Feb 2007 22:36:16 +0000 +Checked in by : Robert OSFIELD +From André Garneau, "Attached is a fix for the hang occuring on Win32 when the thread model is changed.The issue was caused by the mutex in the ViewerDoubleBufferRenderingOperation being released even though they were not owned. This was causing the underlying critical section object lock count values becoming negative; the next time the lock was acquired it would block because of that." -2006-11-28 19:25 robert - * From Zach Deedler, added missing IntersectionVisitor -2006-11-28 16:50 robert +Thu, 8 Feb 2007 22:31:02 +0000 +Checked in by : Robert OSFIELD +From Brian Keener, fixes for Cygwin filename handling - * Removed redundent wrapper +Thu, 8 Feb 2007 20:30:51 +0000 +Checked in by : Robert OSFIELD +From Charles Cole, "The program database filename was changed for the osgviewer application such as to not conflict with the program database file generated by the core osgViewer library. This change allows for both the application and library to be used in debugging mode within Visual Studio. This change has been tested with Visual Studio 2005 (VS8)." -2006-11-28 16:49 robert +Thu, 8 Feb 2007 20:27:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Thu, 8 Feb 2007 19:34:38 +0000 +Checked in by : Robert OSFIELD +Further work on osgShadow::ShadowTechnique API -2006-11-28 16:30 robert +Thu, 8 Feb 2007 17:23:40 +0000 +Checked in by : Robert OSFIELD +Flesh out more of basic ShadowTechnique and ShadowedScene API. - * Moved osgUtil::PolytopeIntersector, osgUtil::PlaneIntersector and - osgUtil::LineSegmentIntersector out from - include/osgUtil/IntersecionVisitor into their own seperate files. +Thu, 8 Feb 2007 15:47:05 +0000 +Checked in by : Robert OSFIELD +Fixed the FlattenStaticTransform visitor so that it excludes subgraphs that contain PagedLOD nodes -2006-11-28 16:00 robert +Thu, 8 Feb 2007 15:01:27 +0000 +Checked in by : Robert OSFIELD +Cleaned up readString - * Added support for float or double osg::Plane, and the default - osg::Plane to double. - Performance tests on big models did not indicate any performance - penalty in using doubles over floats, - so the move to doubles should mainly impact precision - improvements for whole earth databases. - - Also made improvements to osgUtil::PlaneIntersector and - osgSim::ElevationSlice classes +Thu, 8 Feb 2007 14:59:20 +0000 +Checked in by : Robert OSFIELD +Fixed return in readString. -2006-11-28 11:10 robert +Thu, 8 Feb 2007 12:47:35 +0000 +Checked in by : Robert OSFIELD +Added the threading model to stats - * Fixed fade text memory consumption bug which was due to new - RenderInfo being - created local to RenderStage and passed on to rendering code - which populated - the RenderInfo UserData, but without the restoring the new - UserData to the - main RenderInfo. The local RenderInfo UserData is now passed back - to the main - RenderInfo. +Thu, 8 Feb 2007 12:24:33 +0000 +Checked in by : Robert OSFIELD +Added threading model option to command line parameters -2006-11-28 10:31 robert +Thu, 8 Feb 2007 12:21:37 +0000 +Checked in by : Robert OSFIELD +Added check in setThreadingModel so that it only sets up threading if the viewer is realized - * Removed the now redundent dateUtils.h file. +Thu, 8 Feb 2007 12:20:40 +0000 +Checked in by : Robert OSFIELD +Fixed setThreadModel method so that is doesn't try to set up threading unless the viewer is realized -2006-11-28 09:14 robert +Thu, 8 Feb 2007 12:14:26 +0000 +Checked in by : Robert OSFIELD +Updated the handling of closing of windows - * Added missing Camera.h and removed redundent CameraNode.h +Thu, 8 Feb 2007 11:30:57 +0000 +Checked in by : Robert OSFIELD +Added better clean up of paramters on X display in GraphicsWindowX11:closeImplementation -2006-11-27 20:25 robert +Thu, 8 Feb 2007 11:26:04 +0000 +Checked in by : Robert OSFIELD +From Stefan Eilemann, addd more extensive XErrorHandler output - * Added beginnings of osgUtil::PlaneIntersector and - osgSim::ElevationSlice +Thu, 8 Feb 2007 11:24:29 +0000 +Checked in by : Robert OSFIELD +Added setting of the DatabasePager's affinity. -2006-11-27 16:25 robert +Thu, 8 Feb 2007 10:46:58 +0000 +Checked in by : Robert OSFIELD +From Donn Mielcarek, "We generated some bad ive files in our database. In some of the files, the function readInt() would return a 0 size. While linux will happily continue on, creating 0 sized arrays, Windows immediately blows up, with sparks sometimes flying out the side of the machine!I added a simple check for zero size in +each of the functions that allocates arrays +based on the size variable, and I thought +I'd pass it along. Now the program will +not die if it encounters an ive file with bad +data." - * Added QWidget style constructor parameters -2006-11-27 14:52 robert - * Renamed osg::CameraNode to osg::Camera, cleaned up osg::View. - - Added beginnings of new - osgViewer::Scene,View,Viewer,CompositeViewer and - GraphicsWindowProxy files. +Wed, 7 Feb 2007 21:56:36 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-11-27 11:25 robert +Wed, 7 Feb 2007 21:48:53 +0000 +Checked in by : Robert OSFIELD +Changed the setting of need to traverse during the update traverse so it is only enabled when animation is switched on. - * From Mauricio Hofmam, added support for reading images from all - osg::CameraNode attachments in RenderStage. +Wed, 7 Feb 2007 21:16:22 +0000 +Checked in by : Robert OSFIELD +Disabled the toggling to ThreadModel CullThreadPerCameraDrawThreadPerContext -2006-11-27 09:23 robert +Wed, 7 Feb 2007 16:32:14 +0000 +Checked in by : Robert OSFIELD +Added new Transform::ReferenceType enum ABSOLUTE_RF_INHERIT_VIEWPOINT to support internal RTT cameras that wish to use the main cameras view/eye point for LOD and other distance based tests. - * From André Garneau, "The file submitted includes a fix to - properly support DDS textures compressed under the DXT-1 format - when they contain alpha information. - - Under this mode, each 4x4 texel block can selectively use an - alpha component or none. When alpha-enabled blocks are present, - this is not reported in the DDPF_ALPHAPIXELS bit in the pixel - format flags causing the reader-writer to report the file as a - 3-components file (GL_COMPRESSED_RGB_S3TC_DXT1_EXT). The fix - requires looking at each 4x4 texel block to detect the presence - of 1-bit alpha encoding. When such a block is found, the internal - & pixel formats are reported as GL_COMPRESSED_RGBA_S3TC_DXT1_EXT - instead. - - - - See - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/Opaque_and_1_Bit_Alpha_Textures.asp - for more information." +Wed, 7 Feb 2007 16:27:48 +0000 +Checked in by : Robert OSFIELD +Set the DataVariance to DYNAIMC for the StateSet of with the dynamically updating Uniform -2006-11-26 22:27 robert +Wed, 7 Feb 2007 14:53:58 +0000 +Checked in by : Robert OSFIELD +Fixed bug in AutoTransform::accept() that was related to the accept() method checking the nodemask as it should. - * Removed check from objectDeleted(void*) method as this was not - catching cases - where the registered ptr was different from the deleted ptr - - something that - can happen with multiple inheritance. +Tue, 6 Feb 2007 20:03:13 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "thomas kirk schrieb: > I put this at the end of realizeImplementation; someone with better knowledge > of Carbon programming may see a more appropriate place for the call.I moved your code into the ctor of the OSXCarbonWindowingSystemInterface +so it get called only once. Can you test it again, if it works on your side? -2006-11-26 14:17 robert +I also disabled multithreaded-rendering because it slowed down the +rendering on my machine by a factor of 3. Perhaps we can make it +optional to test it on other machines. - * Missed check of changes to the RemoveRedundentNodesVisitor +I had some problems implementing pbuffer-support for os x and stopped it +for now until I have more time to investigate the issues. +" -2006-11-24 21:19 robert - * Added extra checks to RemoveRedendentVisitor to catch Groups that - may - only have one child, but also have StateSet's etc and thefore not - suitable - for removal. -2006-11-24 21:10 robert +Tue, 6 Feb 2007 17:34:28 +0000 +Checked in by : Robert OSFIELD +From André Garneau, "Attached is an improved Win32 keyboard handler that should now map key events similarly to the X11 implementation:* Key event handler now reports left or right SHIFT, CTRL and ALT key variants on key press and release events." - * Added isIdentity() method -2006-11-24 17:20 robert - * Improved handling of bounding polytope +Tue, 6 Feb 2007 17:01:20 +0000 +Checked in by : Robert OSFIELD +From Stefan Eileman, fixes for OSX gmake build to allow AGL or X11 implementation of osgViewer -2006-11-24 11:37 robert +Tue, 6 Feb 2007 17:00:20 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added support for positional lights into - computeShadowVolumeGeometry code and cleaned up OccluderGeometry - interface. +Tue, 6 Feb 2007 16:23:19 +0000 +Checked in by : Robert OSFIELD +Re-enabled processor affinity -2006-11-23 21:32 robert +Tue, 6 Feb 2007 14:38:08 +0000 +Checked in by : Robert OSFIELD +Added new Viewer threading model options - * Improved the ShadowVolumeGeometry orientations. +Tue, 6 Feb 2007 14:20:21 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-11-23 17:29 robert +Tue, 6 Feb 2007 14:20:04 +0000 +Checked in by : Robert OSFIELD +Clean up getDrawable() method - * Add compute of tight bounding box to enable better placement of - the base plane. +Tue, 6 Feb 2007 13:44:20 +0000 +Checked in by : Robert OSFIELD +Fixed Suse9.3 build problem due to different handling Quat copy constuctor -2006-11-23 16:55 robert +Tue, 6 Feb 2007 11:03:13 +0000 +Checked in by : Robert OSFIELD +Further work on support for ThreadPerCamera, and improved the efficiency of SingleThraeded - * First cut at generating the ShadowVolumeGeometry +Mon, 5 Feb 2007 14:56:41 +0000 +Checked in by : Robert OSFIELD +Tweak API and updated wrappers to get wrappers to build -2006-11-23 11:22 robert +Mon, 5 Feb 2007 13:44:16 +0000 +Checked in by : Robert OSFIELD +Added Camera's s/getCameraThread() and updated wrappers - * Added basic silhoette detection +Mon, 5 Feb 2007 12:13:52 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-11-22 21:11 robert +Mon, 5 Feb 2007 11:48:02 +0000 +Checked in by : Robert OSFIELD +From Gordon Tomlinson, "I have attached the 3 files we had to change to fix a proble we were seeing with using Symbol Fonts// GT: fix for symbol fonts (i.e. the Webdings font) as the wrong character are being +// returned, for symbol fonts in windows (FT_ENCONDING_MS_SYMBOL in freetype) the correct +// values are from 0xF000 to 0xF0FF not from 0x000 to 0x00FF (0 to 255) as you would expect. +// becuase Microsoft uses a private field for its symbol fonts ........ + " - * From Roger James, "fixes mostly related to texture handling." -2006-11-22 21:09 robert - * From Paul Martz, add OSG_FILE_PATH to end of setting of - OSG_FILE_PATH to preserve any previous settings +Mon, 5 Feb 2007 11:14:23 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "I have made some changes to support light sources in the new OpenFlight loader." -2006-11-22 20:52 robert +Mon, 5 Feb 2007 10:48:20 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, added OSG_EXPORT to DeleteHandler for windows build - * From Paul de Repentigny, "When calling osgdem with argument - "--image-ext", the application just - returns after loading the proper ReaderWriter for the given - extension." Fix was to remove the erroenous return. +Mon, 5 Feb 2007 10:44:10 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Here's my changes to Registry to allow extension alias mapping via a config file. I also attached a sample file that tests the parsing, but this is just FYI and not for inclusion in CVS.To set up extension aliases using a config file, an app calls: +osgDB::Registry::instance()->readPluginAliasConfigurationFile(), passing in the file name as the parameter. (Of course this should be done before loading any files whose names depend on the mapping.) osgDB will search for the file using OSG_FILE_PATH. -2006-11-22 20:47 robert +The file should contain a line for each mapping, with the "map" extension first, followed by a space or tab, then the plugin identifier. For example, a file containing this line: - * From Sylvan Marie, "I attached my revised dxfEntity.cpp file from - the DXF plugin with the 2 - following improvements: - - - When all unsupported entities (SOLIDS, TEXT, ...) have been - filtered out - from a block, dxfInsert::drawScene() was crashing because it - assumed that - the block was not empty. It now returns silently so the other - blocks can - still be imported. - - - The DXF reader assumed all vertices were read first, then the - face - indices. But, from the DXF "documentation" (www.autodesk.com/dxf) - : - "Polyface meshes created with the PFACE command are always - generated with - all the vertex coordinate entities first, followed by the face - definition - entities. The code within AutoCAD that processes polyface meshes - requires - this ordering. Programs that generate polyface meshes in DXF - should generate - all the vertices then all the faces. However, programs that read - polyface - meshes from DXF should be tolerant of odd vertex and face - ordering." - So now the importer ignores the posted number of vertices and - face indices, - and uses the size of the lists instead." +flt OpenFlight -2006-11-22 20:39 robert +would map the ".flt" extension to the OpenFlight plugin." - * From Farshid Lashkari, Added missing initialization of the - _scaleByTextureRectangleSize - variable in two of its constructors. -2006-11-22 15:38 robert - * Added removeNullTriangles() method to help removed triangles with - coincedent corners. +Fri, 2 Feb 2007 22:30:36 +0000 +Checked in by : Robert OSFIELD +Convert GraphicsThread/GraphicsOperation to more generic OperationsThread/Operation. This paves the way to running cull traversals in seperate threads.Updated wrappers -2006-11-22 09:10 robert - * Added new HeightAboveTerrain.cpp LineOfSight.cpp wrapper files -2006-11-21 16:59 robert +Fri, 2 Feb 2007 16:51:59 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowski, added support for the new Text line spacing parameter to the .osg and .ive formats. - * Added compute and visualization of triangle and vertex normals +Fri, 2 Feb 2007 12:41:13 +0000 +Checked in by : Robert OSFIELD +Added a concrete osg::DeleteHandler implementation which provides support for retain objects for several frames before deleting them. Also added RenderStageCache into CullVistor.cpp that is used for handling RTT osg::Camera's that are being used in double buffered SceneView usage. -2006-11-21 16:59 robert +Thu, 1 Feb 2007 11:07:53 +0000 +Checked in by : Robert OSFIELD +Improved the toggling on/off of thrading modes - * Replaced the setTextureUnit(0) call in State::reset() with code - that just - sets the member variables without requiring a graphics context. +Thu, 1 Feb 2007 11:07:26 +0000 +Checked in by : Robert OSFIELD +Moved the init traversal from cull() to the draw() to prevent graphics context calls being made during the cull traversal - something that breaks the ThreadPerCamera model in osgViewer -2006-11-21 16:16 robert +Wed, 31 Jan 2007 22:24:20 +0000 +Checked in by : Robert OSFIELD +Further work on new threading model. - * Added removeDuplicates function +Wed, 31 Jan 2007 11:12:58 +0000 +Checked in by : Robert OSFIELD +Removed old #if #else #end block -2006-11-21 16:15 robert +Tue, 30 Jan 2007 17:38:02 +0000 +Checked in by : Robert OSFIELD +Refactored the ViewerRenderingOperation so that the timer querry code is in a separate ViewerQuerySupport class - * Reordered methods to make associated functions clearer. +Tue, 30 Jan 2007 17:12:33 +0000 +Checked in by : Robert OSFIELD +Added display listing of ShadowVolume -2006-11-21 14:42 robert +Tue, 30 Jan 2007 15:37:30 +0000 +Checked in by : Robert OSFIELD +Added automatic aspect ratio adjustmeent to View::setUpViewAcrossAllScreens() and setUpViewOnSingleScreen. - * Renamed osgviewer-Info.plist to osgviewerApplication-Info.plist - to prevent - svn naming collision problems under Windows due t - osgviewer/osgViewer case insentive file name collisions. +Tue, 30 Jan 2007 14:47:13 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-11-20 21:48 robert +Tue, 30 Jan 2007 14:32:12 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolwsky, "osgText is a useful node kit, but when longer paragraphs are displayed on the screen, it looks more aesthetically pleasing to have a larger gap between lines than is given by default. I added a new parameter, lineSpacing, in the Text class to allow the line spacing to be adjustable by the application. The default value is 0 meaning there is no extra spacing given. The value should be given as a percentage of the character height. A good value for longer paragraphs is 0.25 (25%) or more." - * Added nested files +Tue, 30 Jan 2007 14:18:39 +0000 +Checked in by : Robert OSFIELD +From Bryan Thrall, "The osgDB::ReaderWriter and osgDB::ReaderWriter::Options classes have copy constructors that take a const osg::CopyOp rather than a osg::CopyOp&, forcing an unnecessary copy. The attached header fixes this, based off OSG 1.2.Also fixed duplicate "or" openArchive()'s comment." -2006-11-20 12:25 robert - * Added -losgFX -2006-11-20 10:12 robert +Tue, 30 Jan 2007 13:48:04 +0000 +Checked in by : Robert OSFIELD +Added support for compute average stats attributes in inverse space to improve the quality of frame rate reporting. - * Added missing LGPL section to LICENSE.txt +Tue, 30 Jan 2007 12:09:30 +0000 +Checked in by : Robert OSFIELD +Disabled the alternating directions of drawing of state sorted render leaves as it was interferring with anaglyphic stereo used in the osgstereimage example. -2006-11-17 20:45 robert +Tue, 30 Jan 2007 11:47:44 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Rearranged the #ifdef's to prevent compile problems under NVidia - 2.1 OGL drivers +Tue, 30 Jan 2007 11:40:23 +0000 +Checked in by : Robert OSFIELD +Added Stats::collectStats(string,bool) controls, getAveragedAttribute methods into osg::Stats class, and related support into osgViewer::Viewer and osgViewer::StatsHandler.Added lazy updating of text in StatsHandler HUD to minimize the impact of +slow text updating on observed frame rates. -2006-11-17 16:25 robert - * From Eric Wing, updates to Xcode projects -2006-11-17 16:22 robert +Tue, 30 Jan 2007 09:55:34 +0000 +Checked in by : Robert OSFIELD +Added support for per frame alternating the direction that SORT_BY_STATE bins are rendered. The alternation makes it more likely that OpenGL objects will still be in video ram. - * From Eric Wing, new ogsimpleviewCocoa example. +Mon, 29 Jan 2007 22:59:04 +0000 +Checked in by : Robert OSFIELD +Made _useMainThreadForRenderingalTraversal(false) -2006-11-17 14:51 robert +Mon, 29 Jan 2007 22:44:29 +0000 +Checked in by : Robert OSFIELD +Began work on providing support for threading camera cull traversals in parallel with the previous frames draw traversal. Changes range from osg::State, through osgUtil::RenderBin, through to osgViewer - * Added missing PointSprite files +Sun, 28 Jan 2007 17:32:41 +0000 +Checked in by : Robert OSFIELD +Added very simple relaxing of traits by dividing required red, green, blue, alpha and depth by 2. -2006-11-16 17:35 robert +Sun, 28 Jan 2007 17:12:57 +0000 +Checked in by : Robert OSFIELD +Added use of Viewe Realize graphics operation. - * From Farshid Lashkari, "Attached is a patch that adds the new - coordOriginMode to the .osg - reader/writer for PointSprites." +Sun, 28 Jan 2007 17:11:21 +0000 +Checked in by : Robert OSFIELD +Added set/getRealizeOperation() to Viewer and CompositeViewer -2006-11-16 16:42 robert +Sun, 28 Jan 2007 09:53:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Frashid Lashkari, added support for PointSprites to .ive +Sun, 28 Jan 2007 09:30:11 +0000 +Checked in by : Robert OSFIELD +From Vlad Danciu, fixed leaf depth sort functor -2006-11-16 16:25 robert +Sun, 28 Jan 2007 09:17:10 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, "This file removes the virtual destructor of osgText::String. It seemed wrong that osgText::String should have a vtable since it is treated like a value type, and any subclasses containing additional data would effectively be subject to slicing during standard usage. This stuck out as an anomaly when classifying the OSG types for C# bindings." - * From Michael Platings, Fixed Geometry cloning of the texture - coordinates and vertex attributes. +Sat, 27 Jan 2007 17:57:58 +0000 +Checked in by : Robert OSFIELD +Added osg::PolygonMode to local StateSet to protect it from being affected by stateset manipulator. -2006-11-15 20:29 robert +Sat, 27 Jan 2007 17:52:11 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added alpha test setting +Sat, 27 Jan 2007 14:27:54 +0000 +Checked in by : Robert OSFIELD +Added access methods to PositionStateContainer -2006-11-15 20:24 robert +Sat, 27 Jan 2007 14:27:29 +0000 +Checked in by : Robert OSFIELD +Added light source. - * Fixed comment +Sat, 27 Jan 2007 12:54:58 +0000 +Checked in by : Robert OSFIELD +Further work on shadow CullCallback -2006-11-15 20:23 robert +Sat, 27 Jan 2007 12:54:33 +0000 +Checked in by : Robert OSFIELD +Added _sorted flag into RenderBin to prevent a bin being sorted twice in one frame - * Updated wrappers +Sat, 27 Jan 2007 11:13:01 +0000 +Checked in by : Robert OSFIELD +Changed osgUtil::RenderBin and osg::State to allow nesting of StateSet's associated with RenderBin's. -2006-11-15 11:21 robert +Fri, 26 Jan 2007 21:22:35 +0000 +Checked in by : Robert OSFIELD +Further work on building the rendering back end from the intial traversal of the scene graph - * From Eric Wing, add version check for use of automatic resizeing +Fri, 26 Jan 2007 16:08:52 +0000 +Checked in by : Robert OSFIELD +Added Program pointer to help with uniform apply. -2006-11-15 10:08 robert +Fri, 26 Jan 2007 09:44:49 +0000 +Checked in by : Robert OSFIELD +Added custom callback to capture RenderBins - * From Mathias Froehlich, replaced assert with notify() error - message. +Thu, 25 Jan 2007 12:16:38 +0000 +Checked in by : Robert OSFIELD +#ifdef'd out the artifical simulation time code -2006-11-14 19:29 robert +Thu, 25 Jan 2007 12:02:51 +0000 +Checked in by : Robert OSFIELD +Added osg::FrameStamp::set/getSimulationTime().Added setting of osg_SimulationTime and osg_DeltaSimulationTime to the uniforms set by SceneView - * Added note about license or file, and link to specs. +Added frame(double simulationTime) and advance(double simulationTime) parameters to +osgViewer::SimpleViewer, Vewer and CompositeViewer. -2006-11-14 19:19 robert +Updated various examples and Nodes to use SimulationTime where appropriate. - * Removed redundent osgac3.h file. -2006-11-14 19:19 robert - * From Mathias Fröhlich, fixed order of setting of texture image. +Thu, 25 Jan 2007 10:02:20 +0000 +Checked in by : Robert OSFIELD +From Gordon Tomlinson, fixes to BoundingSphere::expandBy(BoundingSphere&) -2006-11-14 17:24 robert +Wed, 24 Jan 2007 12:59:11 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Wed, 24 Jan 2007 12:35:29 +0000 +Checked in by : Robert OSFIELD +From Martin Spott, "To enable osgviewer to link on Solaris added -lmtsk as SunOS/SunStudio implements some threading stuff in libmtsk." -2006-11-14 16:59 robert +Wed, 24 Jan 2007 12:28:18 +0000 +Checked in by : Robert OSFIELD +Added support for GUIEventAdapter::setHandled - * From Eric Wing, add use of the autodetection of windowing size - support in SDL-version 1.2.10 and later. - From Robert Osfield, made the above an optional compile as it - breaks apps based on previous version of SDL. +Wed, 24 Jan 2007 12:21:29 +0000 +Checked in by : Robert OSFIELD +Added setHandled/getHandled to osgGA::GUIEventAdapter -2006-11-14 16:37 robert +Wed, 24 Jan 2007 11:18:27 +0000 +Checked in by : Robert OSFIELD +Added ability to generate various cube faces for testing and switch handler to toggle between different models. - * From Mathias Froehlich, "Improovments: - - does proper edge detection with the crease angle given in the - ac file - - the reader is much more verbose in case of broken files - - no more static variables - - std::stream based - - much faster, up to a factor of 50 for a polygonal test model - - if the file contains polygonal surfaces the loaded geometry is - still - polygonal as long as the polygons are convex. Concave polygons - are still - tesselated. Rationale: If the user needs triangular models he can - throw away - that extra information with the osgUtil::Optimizer himself. But - the read step - preserves as much extra information that is contained in the file - as - possible. Also the polygonal models look a bit smoother than the - triangular - ones. - - a huge cleanup - - the basic parsing logic from the original ac3d developer is - untouched - - the writer part is untouched - - The tarball contains a replacement for the src/osgPlugins/ac3d - directory that - is based on the current CVS (2006-11-13). - I have tested that loader with a osgconv foo.ac /tmp/xx.ive on - everyfoo. ac - file I could find (~200 from flightgear and the object database). - I also run - my flightgear development with that loader -> here I see the - models. - I run valgrind testcases on some selected models." +Wed, 24 Jan 2007 10:02:04 +0000 +Checked in by : Robert OSFIELD +From André Garneau, " * Setup proper pixel format for ATI boards (removal of WGL_SWAP_METHOD_ARB specification from the requested pixel format since unsupported by the ATI driver) -2006-11-14 15:06 robert + * Fix to create sample OpenGL window on the proper display device. This is the temporary window used to choose the desired pixel format. In the previous version, this window was always created on the primary display device, even though it had potentially different pixel formats compared to the target display device containing the window to be created. - * Added osgViewer depdendency to osgintersection, osgGLUT* examples + * Implementation of WindowingSystemInterface::setScreenResolution() method -2006-11-14 12:55 robert + * Implementation of WindowingSystemInterface::setScreenRefreshRate() method - * From Jason Beverage, "I ran though the sample data that Gert - provided earlier today and tracked down the problem. The xoffset - in readHeightField and readImage were being applied even in - projected coordinate systems. This patch should fix the issue." + * Implementation of GraphicsWindow::requestWarpPointer() method -2006-11-14 12:51 robert + * Implementation of GraphicsWindow::useCursor() method and associated trait support. This can be used in two ways; first, when the graphics trait requested indicates that no cursor should be present, a new cursor-less window class is used to create the window. When a cursor-enabled window creation is requested, another window class is used. After creation of a window, it is also possible to toggle the cursor state by using the GraphicsWindow::useCursor method. - * Further migration to using RenderInfo + * The way the mouse behaves is now compatible with the behaviour seen on X11; i.e. when pressing a mouse button, the window where the pointer is located will capture the mouse input and release it only after the button has been released. This results in all mouse movement events being dispatched to the window where the button was pressed initially until it is released. This improves the interaction with graphics windows. -2006-11-14 12:49 robert - * From Stephan Huber, Follows is required to prevent unidented - cloning of shared arrays : - "I added some calls to isOperationPermissibleForObject() so I can - permit the flattten-pass with my specialized objects in my own - code." -2006-11-14 12:29 robert + * Preparation work has been done to support the ability of moving a window from one screen to another screen and recreating its rendering context when this happens. This has been tested with a mix of NVIDIA and ATI cards and works properly. For the moment being, this feature is commented out due to changes in the core OSG libraries that have been done but need to be submitted later this week for approval by Robert. - * From Farshid Lashkari, "This patch adds a CoordOriginMode to the - osg::PointSprite attribute. - The mode needs to be changed to LOWER_LEFT when rendering point - sprites to pbuffers or FBOs, otherwise the points will be - transformed - on the CPU." -2006-11-14 12:16 robert - * Added support for handling osg::ShapeDrawable style drawables in - OccluderGeoemtry. +Upcoming features -2006-11-14 09:54 robert - * Added check against null SceneData to prevent crash with empty - models -2006-11-11 21:30 robert + * Support for moving windows from one screen to another screen seamlessly - * Further work on OccluderGeometry -2006-11-10 15:25 robert - * From John Kelso, add support for default frame time for children - of a Sequence node + * Ability to set the window (i.e. the application itself creates the rendering window and passes it to the GraphicsWindowWin32 class) -2006-11-10 15:07 robert - * Further work on osgShadow::GeometryOccluder -2006-11-08 11:49 robert + * Other miscellaneous items" - * Updated wrappers +--------------------------------------------------- -2006-11-08 10:00 robert - * From Eric Wing, updates to Xcode project for new osgViewer - library -2006-11-08 09:50 robert +Tue, 23 Jan 2007 17:42:43 +0000 +Checked in by : Robert OSFIELD +Added cube test model. - * From Eric Wing, change osgGA::SimpleViewer to osgViewer::Viewer. - From Robert Osfield, added -losgViewer & -losgGA to makefiles. +Tue, 23 Jan 2007 17:29:14 +0000 +Checked in by : Robert OSFIELD +changed build order so that osgText gets built before osgViewer -2006-11-07 17:00 robert +Tue, 23 Jan 2007 16:32:17 +0000 +Checked in by : Robert OSFIELD +Fixed tabbing - * Added better handling of writeNode operations that arn't - successful. +Tue, 23 Jan 2007 16:28:59 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-11-07 17:00 robert +Tue, 23 Jan 2007 16:27:07 +0000 +Checked in by : Robert OSFIELD +Commented out the default saving of models - * Fixed the writeNode function so it was properly return - FILE_NOT_HANDLED, fixing - a big with it writing out an empty .flt file. +Tue, 23 Jan 2007 16:26:15 +0000 +Checked in by : Robert OSFIELD +Added osg::StateSet* parameter to constructor to make it more convinient to set up the StateSetManipulator and moved the initialization of locally cached states into the handle method to ensure a representative version of the StateSet is captured -2006-11-07 14:26 robert +Tue, 23 Jan 2007 16:02:37 +0000 +Checked in by : Robert OSFIELD +Added #define of GL_QUERY_RESULT and GL_QUERY_RESULT_AVAILABLE - * Updated wrappers +Tue, 23 Jan 2007 15:51:43 +0000 +Checked in by : Robert OSFIELD +Added single screen option -2006-11-07 13:48 robert +Tue, 23 Jan 2007 14:43:07 +0000 +Checked in by : Robert OSFIELD +Added command line help - * Ben van Basten, "1 Bug fix in reuseParticle where originally an - old particle that was already killed would be killed again, but - instead should have been placed on the dead stack for future - reuse. - - 2 Getter/setter for _maxNumberOfParticlesToSkip that is used for - filtering of particles during draw. This enables you to turn the - filtering of by setting this value to zero. - - 3 Getter for retrieval of the first particle in the trail. This - allows you to directly manipulate the trail from your application - by walking from the start particle towards the end of the trail." - - Submitted on Ben's behalf by Roland Smeenk. +Tue, 23 Jan 2007 14:10:10 +0000 +Checked in by : Robert OSFIELD +Added delete selected object using delete and back space key, and added save option -2006-11-07 13:43 robert +Tue, 23 Jan 2007 13:54:32 +0000 +Checked in by : Robert OSFIELD +Adde osgText dependency to osgViewer - * Added initial cut of osgShadow::OccluderGeometry +Tue, 23 Jan 2007 13:28:49 +0000 +Checked in by : Robert OSFIELD +Made stats bars transparent and improved positioning -2006-11-07 13:26 robert +Tue, 23 Jan 2007 13:16:47 +0000 +Checked in by : Robert OSFIELD +Made two sided stencil the default - * Changed debug output from NOTICE to INFO +Tue, 23 Jan 2007 12:10:44 +0000 +Checked in by : Robert OSFIELD +Added stats and range of keyboard mouse handling to osgshadow example -2006-11-07 13:00 robert +Tue, 23 Jan 2007 11:56:10 +0000 +Checked in by : Robert OSFIELD +Added ability to customize the keys used to control stats - * From Tery Welsh, added support for inheriting all CameraNode - CullSettings and then restoring the original values. +Tue, 23 Jan 2007 11:01:20 +0000 +Checked in by : Robert OSFIELD +Moved StatsHandler into its own seperate header/source in osgViewer. -2006-11-07 12:08 robert +Tue, 23 Jan 2007 10:38:23 +0000 +Checked in by : Robert OSFIELD +Added ticks to stats display - * Removed debug comment. +Mon, 22 Jan 2007 21:16:51 +0000 +Checked in by : Robert OSFIELD +Further work on GPU stats -2006-11-07 12:02 robert +Mon, 22 Jan 2007 17:39:32 +0000 +Checked in by : Robert OSFIELD +Further work on stats - * From Mathias Froehlich, workaround fix for problematic run length - encoded RGB files. Robert Osfield ammend workaround to support - multi-byte colour channels. +Mon, 22 Jan 2007 13:13:43 +0000 +Checked in by : Robert OSFIELD +Added camera stats -2006-11-06 13:22 robert +Mon, 22 Jan 2007 11:22:37 +0000 +Checked in by : Robert OSFIELD +Improvements to stats - * Thanks to Björn Hein for spotting mistakes in EventQueue.cpp and - StateSetManipulator, now fixed by Robert Osfield. Problems were: - - "StateSetManipulator.cpp (rev 1.12, l. 85): cyclePolygonMode() is - called but - no aa.requestRedraw() afterwards. Is this intended? - - EventQueue.cpp (rev 1.8): in keyRelease & keyPressed KEY_Alt_R - was mapped to - MODKEY_LEFT_ALT" +Mon, 22 Jan 2007 09:28:31 +0000 +Checked in by : Robert OSFIELD +From Mathias Fröhlich, "Attached is a small change that makes the txf loader render the same resulting text than an other well known txf loader. That means drawing them one on top of the other I can only see differences due to different mipmapping ...That is it introduces an additional gap of 0.1*height between the glyphs. +There is an additional mapping between upper and lowercase characters if one +of them is not available in the txf file. +And we have an artificial blank character that is very often missing in txf +files." -2006-11-03 14:07 robert - * Added osgViewer library to build list -2006-11-02 18:58 robert +Sun, 21 Jan 2007 20:41:23 +0000 +Checked in by : Robert OSFIELD +Further work on stats - * Added IntersectionVisitor to wrappers +Sun, 21 Jan 2007 18:46:01 +0000 +Checked in by : Robert OSFIELD +Added osgproducerviewer, in the form of orignal Producer based osgviewer, leaving the new osgViewer based osgviewer focused on just osgViewer functionality. -2006-11-02 17:07 robert +Sun, 21 Jan 2007 18:34:26 +0000 +Checked in by : Robert OSFIELD +Changed the camera with focus code to only accept cameras with valid views as ones that can recieve focus. - * Added IntersectionVisitor to osgUtil project +Sun, 21 Jan 2007 18:24:54 +0000 +Checked in by : Robert OSFIELD +Initial on screen stats support -2006-11-02 17:05 robert +Sun, 21 Jan 2007 11:18:07 +0000 +Checked in by : Robert OSFIELD +Removed gl includes - * Added convinience constructors to help support picking with the - new osgUtil::Intersector classes. +Sat, 20 Jan 2007 09:48:50 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-11-02 15:50 robert +Sat, 20 Jan 2007 09:44:05 +0000 +Checked in by : Robert OSFIELD +Fixed the output of texture files - * Added basic PolytopeIntersector functionality based on checking - vertices against - polytopes. +Sat, 20 Jan 2007 09:03:58 +0000 +Checked in by : Robert OSFIELD +Added OSG_EXPORT to Stats to fix Windows build -2006-11-02 15:40 robert +Fri, 19 Jan 2007 20:25:17 +0000 +Checked in by : Robert OSFIELD +Added stats for update, event and rendering traversals - * Renamed osgviewer.dsp to osgviewerapplication.dsp and fixed - directory name of osgsimpleviewerProducer +Fri, 19 Jan 2007 19:53:23 +0000 +Checked in by : Robert OSFIELD +Added new osg::Stats class for collecting frame stats of different sorts. Added s/getStats() to osg::View and osg::Camera. Added population of View::getStats() with frame stats in osgViewer/Viewer. Added Basic StatsHandler to osgviewer example. -2006-11-02 15:22 robert +Fri, 19 Jan 2007 14:41:29 +0000 +Checked in by : Robert OSFIELD +Added EXT_timer_query support - * Fixed bug in Polytope::contains(const std::vector& - vertices) which resulted - in false positives. +Thu, 18 Jan 2007 22:32:18 +0000 +Checked in by : Robert OSFIELD +Added osg::StencilTwoSided state attribute to wrap up the stencil_two_sided extension.Added path in osgShadow work for using StencilTwoSided to accelerate shadow volume rendering. -2006-11-02 12:32 robert - * Updated wrappers -2006-11-02 12:27 robert +Thu, 18 Jan 2007 17:00:42 +0000 +Checked in by : Robert OSFIELD +Added support for stencil GL_INCR_WRAP and GL_DECR_WRAP operations - * Moved SimpleViewer and GraphicsWindow into their own osgViewer - library, updated simpleviewer examples to reflect this change +Thu, 18 Jan 2007 09:56:23 +0000 +Checked in by : Robert OSFIELD +From André Garneau, "Attached is a fix in the GraphicsWindowWin32 class to allow the following usage pattern to work properly; create window, delete window, create window, etc. In all the tests I made I was always creating-deleting and then shutting down the application so this pattern was untested. The osgtexture3d & osgsimulation examples were also using this pattern so would not work. They are working fine now." -2006-11-02 12:17 robert +Thu, 18 Jan 2007 09:03:08 +0000 +Checked in by : Robert OSFIELD +Build fix for Win32 - * Added prelimnary work on PolytopeIntersector. +Wed, 17 Jan 2007 21:11:57 +0000 +Checked in by : Robert OSFIELD +Added extra methods WindowSystemInterface for controlling frame rate and resolution, and adde useCursor flag. -2006-11-01 17:18 robert +Wed, 17 Jan 2007 15:59:29 +0000 +Checked in by : Robert OSFIELD +From Joakim Simonsson, added osgDB::concateFile and osgDB::getRealPath.Tweaks by Robert Osfield - Moved methods to FileNameUtils, added unix +implementation of getRealPath add extern and OSGDB_EXPORT to function declarations. - * Improved handling of projected coords in new intersection classes -2006-11-01 14:41 robert - * Added support for osgUtil::Intersectors being in WINDOW, - PROJECTION, VIEW or MODEL coordinates +Wed, 17 Jan 2007 14:40:03 +0000 +Checked in by : Robert OSFIELD +From André Garneau, threading bug fixes - moving scoped statics out of scope to be global statics -2006-10-31 12:59 robert +Wed, 17 Jan 2007 14:21:18 +0000 +Checked in by : Robert OSFIELD +From André Garneau, Implementation osg GraphicsWindowWin32 - * Implemented HeightAboveTerrain and added usage into - osgintersection +Tue, 16 Jan 2007 22:10:52 +0000 +Checked in by : Robert OSFIELD +Updaed wrappers -2006-10-31 08:41 robert +Tue, 16 Jan 2007 22:00:56 +0000 +Checked in by : Robert OSFIELD +Removed the automatic registration of GraphicsContextImplementation. - * Added LineOfSight and HeightAboveTerrain classes +Tue, 16 Jan 2007 21:40:43 +0000 +Checked in by : Robert OSFIELD +Fixed compile warning -2006-10-30 20:29 robert +Tue, 16 Jan 2007 19:18:32 +0000 +Checked in by : Robert OSFIELD +Cleaned up CompositeViewer interface and added event traversal of views - * Added osgSim::LineOfSight and osgSim::HeightAboveTerrain classes +Tue, 16 Jan 2007 17:10:15 +0000 +Checked in by : Robert OSFIELD +Added PickHandler to osgmultiplecameras examples -2006-10-30 12:39 robert +Tue, 16 Jan 2007 17:08:47 +0000 +Checked in by : Robert OSFIELD +Added debug messages - * Updated wrappers +Tue, 16 Jan 2007 16:02:08 +0000 +Checked in by : Robert OSFIELD +Reverted the FlightManipulator usage -2006-10-30 12:28 robert +Tue, 16 Jan 2007 16:01:01 +0000 +Checked in by : Robert OSFIELD +Further work on CompositeViewer - * From Per Fahlberg, "Attached is a fix to get the proper normals - on an md2 model, actually - the way it was before would sometimes lead to a crash since it - was - attaching the wrong array to the geometry..." +Tue, 16 Jan 2007 15:05:44 +0000 +Checked in by : Robert OSFIELD +Added mouseWarped call into View::requestWarpPointer -2006-10-30 12:23 robert +Tue, 16 Jan 2007 14:15:49 +0000 +Checked in by : Robert OSFIELD +Further work on event handling in CompositeViewer - * From Vladimir Shabanov, "The DDS plugin didn't correctly read - mipmapped A8L8 textures. - I've attached a small fix for this. - - Cause: uncompressed mipmap handling was done only for RGB pixel - format. - - Fix: added condition for handling alpha and luminance formats - too." +Tue, 16 Jan 2007 14:13:00 +0000 +Checked in by : Robert OSFIELD +Added extra view combinations too commandline -2006-10-30 12:19 robert +Tue, 16 Jan 2007 08:56:33 +0000 +Checked in by : Robert OSFIELD +Work on CompositeViewer and related calsses to implement viewers with multiple views - * From Michael Henheffer, "There's a problem with OverlayNodes - where the texture will not display - if continuous updating is set to false. - - The problem was being caused by the camera update call never - being made - if continuous updating was not set to true. This fix adds a flag - that - is set when dirtyOverlayTexture() is called and checked in the - update - visitor section of the traversal to determine if the camera - should be - updated. - - I tested the fix by making some changes to the osgAnimate example - program so it has continuous updating off and calls - dirtyOverlayTexture - for each frame. The overlay texture now displays properly." +Mon, 15 Jan 2007 16:12:34 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-10-30 12:14 robert +Mon, 15 Jan 2007 16:09:32 +0000 +Checked in by : Robert OSFIELD +Improved handling of intersection computations on datasets with multiple cameras - * From Edgar Ellis, " - method may not take the node into consideration when computing - its bound. - - In this case of: - switch->insertChild(0, child, false); - switch->insertChild(1, child, true); - - child will not be used in computeBound, but will be drawn. - - Solution: - Changed compute bound to loop over children using an index - instead of an - iterator. This behaviour matches that of the traverse method." - - ----------------------------------------------- +Mon, 15 Jan 2007 14:46:16 +0000 +Checked in by : Robert OSFIELD +Added FramStamp into osgViewer::Viewer and added ability to handle setSceneData during during the application running. -2006-10-30 12:05 robert +Mon, 15 Jan 2007 11:44:38 +0000 +Checked in by : Robert OSFIELD +Added terrain manipulator. - * From Michael Henheffer, "Bug: The reader would crash when trying - to load a .tif image that - contained an 8-bit color map. The crash occured at line 545: - - remap_row(currPtr, inbuf, w, red, green, blue); - - - Cause: The code was trying to write past the end of the buffer - while - doing this remapping. The size of the buffer is determined based - on the - value of 'format', which was 1 in this case since bitspersample - is - 8(indicating a 8-bit color map). The buffer should have been - created 3 - times as large since that 8-bit value is indexing a 24-bit color. - - - Fix: I've put in an if statement to set format to 3 if - 'photometric' - indicates the tif contains a palette as the output data will - always be - 24-bit color data in this case." - -2006-10-30 11:55 robert - - * From Mathieu Marache, fixed osgsimpleviewerQt4 so that it uses - the correction options - -2006-10-30 11:00 robert - - * Added handling of geometry indices offset when merging geometries - with indices - -2006-10-27 15:11 robert - - * Added osgUtil::IntersectorGroup to handle groups of - osgUtil::Intersectors - -2006-10-26 16:52 robert - - * From Andrew Lorino and Robert Osfield, Improvements to the - handling of texture paths - -2006-10-26 16:03 robert - - * Added beginings of new osgUtil::IntersectionVisitor and - osgintersection class - -2006-10-26 16:02 robert - - * Updatd wrappers - -2006-10-24 16:24 robert - - * Tweaked doxygen docs. - -2006-10-24 09:45 robert - - * Updated wrappers - -2006-10-24 09:06 robert - - * Added FadeText::setFadeSpeed and made internal data structures - protected. - -2006-10-23 15:29 robert - - * Changed the dependency list to use -losg -losgDB instead of - OSG_LIBS - -2006-10-21 21:06 robert - - * Fixed OSX x86 endian issue in Quicktime movie plugin. - -2006-10-17 15:17 robert - - * From David Callu: - - " - the main problem is the wrapper generation: - The PropertyInfo class use MethodInfo class to access to the - value. - When the property are define with the I_Property* macro, - the MethodInfo use by the property to have access to the value - are instancied in the I_Property* macro, but there - are already instantied by the I_Method* macro before - - - secondary problem: - - the function used by the property could no be customized - in the genwrapper.conf file - - an array property can't insert a value - - the std::map reflector (and indexedProperty in general) haven't - remove method - - about the help in wrapper ... why not ... - - - - solution : - To use the function define by the I_Method, I add a MethodInfo - variable in the I_Method0 macro - old macro : - #define I_Method0(ret, fn) (\ - params.clear(),\ - addMethod(new osgIntrospection::TypedMethodIn - fo0(qualifyName(#fn), &reflected_type::fn, - params))) - - new macro : - #define I_Method0(ret, fn, signature, briefHelp, detailedHelp) \ - params.clear(); \ - osgIntrospection::MethodInfo* signature = addMethod(new - osgIntrospection::TypedMethodInfo0(qualifyName(#fn), &reflected_type::fn, params, briefHelp, - detailedHelp)); sink(signature) - - - - the osgIntrospection::MethodInfo* signature is used by the - I_Property macro to define the MethodInfo that it use - - so for I_Property macro : - old macro : - #define I_PropertyWithReturnType(t, n, r) \ - cap=addProperty(new - osgIntrospection::PropertyInfo(osgIntrospection::Reflection::getType(typeid(reflected_type)), - osgIntrospection::Reflection::getType(typeid(t)), #n, \ - I_Method0(t, get##n), \ - I_Method1(r, set##n, IN, t, value))) - - new macro: - #define I_SimpleProperty(t, n, get, set) \ - get, \ - set)) - - The genwrapper has been modified in this way. - The method signature is define by the prototype of the method - For example, the "const char* libraryName();" have - "__C5_char_P1__libraryName" for signature - - - solution for secondary problem: - The genwrapper accept new tokens in the configuration to - custumize the property. - The new PropertyInserter and the CustomPropertyInsertAttribute - class has been defined - The PropertyRemover has been added to the StdMapReflector - The _briefHelp and _detailedHelp variable has been added in - PropertyInfo, MethodInfo and ContructorInfo class - - - - - - - modification: - - I have modify the genwrapper files - Configuration.cpp Configuration.h add some tokens to custumize - the property - Doxyfile.template add the comment in the output xml - genwrapper.conf customize some property in osg::Geometry - RegistryBuilder.h RegistryBuilder.cpp add the process_help - function (to extract help from xml) - TypeRegister.cpp TypeRegister.h optimize the property detection - TypeDesc.h TypeDesc.cpp modify FunctionDesc and PropertyDesc - WrapperGenerator.h WrapperGenerator.cpp modify the output - - - - - I also modify the fallowing osgIntrospection files: - - include/osgIntrospection/Attributes add the PropertyInserter and - the CustomPropertyInsertAttribute class - include/osgIntrospection/ConstructorInfo add the _briefHelp and - _detailedHelp variable in the ConstructorInfo class - add access function for the two new variables (_briefHelp and - _detailedHelp) - modify the constructor to define the two new variables - (_briefHelp and _detailedHelp) - include/osgIntrospection/MethodInfo add the _briefHelp and - _detailedHelp variable in the MethodInfo class - add access function for the two new variables (_briefHelp and - _detailedHelp) - modify the constructor to define the two new variables - (_briefHelp and _detailedHelp) - include/osgIntrospection/PropertyInfo add the _briefHelp and - _detailedHelp variable in the PropertyInfo class - add access function for the two new variables (_briefHelp and - _detailedHelp) - modify the constructor to define the two new variables - (_briefHelp and _detailedHelp) - include/osgIntrospection/ReflectionMacro remove unused - I_Property* macro - modify all I_Method macro to accept the help string - modify all I_Method macro to define a MethodInfo signature - include/osgIntrospection/Reflector add the PropertyInserter in - StdVectorReflector and StdListReflector - add the PropertyRemover in the StdMapReflector - include/osgIntrospection/StaticMethodInfo modify all - StaticMethodInfo* to accept the help in parameter - include/osgIntrospection/TypedMethodInfo modify all - TypedMethodInfo* to accept the help in parameter - include/osgIntrospection/TypedConstructorInfo modify all - TypedConstructorInfo* to accept the help in parameter - include/osgIntrospection/Type add the _briefHelp and - _detailedHelp variable in the Type class - - " - -2006-10-17 12:29 robert - - * Changed name osg osgshadow example.dsp to avoid MS conflicts - -2006-10-17 11:28 robert - - * Added osgshadow example - -2006-10-15 11:56 robert - - * Ported FLTK example across to using GraphicsWindow - -2006-10-15 11:39 robert - - * Ported across to using GraphicsWindow. - -2006-10-14 21:50 robert - - * From Chuck Seberion, added support reading ARB float format - textures. +Mon, 15 Jan 2007 10:11:23 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "The OpenFlight loader already have a caching mechanism for externals. The cache works for nested externals but is cleared before the master flight file is returned. I implemented texture caching using the same mechanism." -2006-10-14 21:47 robert +Mon, 15 Jan 2007 09:56:36 +0000 +Checked in by : Robert OSFIELD +From Paul Martz and Geoff Michel, Paul updated Geoff's bug fixes to DelaunaryTraingulator.cpp to reflect recent tessellator spelling changes - * From Terry Welsh, mplemented POINT_ROT_EYE. +Mon, 15 Jan 2007 09:30:48 +0000 +Checked in by : Robert OSFIELD +Added setting of the update visitors' traversal number -2006-10-14 10:16 robert +Mon, 15 Jan 2007 09:14:36 +0000 +Checked in by : Robert OSFIELD +Reverted the experimental shader code - * From Paul de Repentigny, fix for dvide by zero crash under - windows when toggle full screen in ogviewer. - From Robert Osfield, tweak to the fix to add comment describing - the extra check, and addition of check against width, and change - to ==0 rather than <= 0. +Sun, 14 Jan 2007 20:23:47 +0000 +Checked in by : Robert OSFIELD +Added releaseContext to end of GraphicsThread::run() -2006-10-14 10:07 robert +Fri, 12 Jan 2007 22:07:33 +0000 +Checked in by : Robert OSFIELD +From Riccardo Corsi, "this should be the final version of the qt-plugin ported to windows and cleaned up to avoid crashes on exit. Stephan and I tested it on Mac and Win. Just a couple of notes: * the plugin is able to load both regular 2D images and movie stream. There is a #define QT_HANDLE_IMAGES_ALSO mechanism to indicate whether to use it for images or not. This is defined by default on Mac only, to avoid conflicts with the standard windows plugins. See comments on QTUtils.h - * Fixed texture coordinates of cylinder ends. + * de-initialization of quicktime before exit is now left to an observer, which calls exitQuicktime() when last media loaded with the plugin is released. This prevent a crash on exit without need of any extra call external to the plugin." -2006-10-13 14:00 robert - * Added -losgDB to fix OSX build -2006-10-07 11:57 robert +Fri, 12 Jan 2007 22:01:56 +0000 +Checked in by : Robert OSFIELD +Added explicit to ParticleEffect constructors - * Added dae (COLLADA) plugin to OpenSceneGraph.dsw workspace. +Fri, 12 Jan 2007 21:44:28 +0000 +Checked in by : Robert OSFIELD +From Tom Jolley, "There was some unnecessary creation and deletion of Particle objects in include/osgParticle/ParticleSystem. I replaced Particle(ptemplate? *ptemplate: _def_ptemp) -2006-10-07 11:53 robert +with - * Added project files for the - osgsimpleviewerFLTK,GLUT,Producer,QT3,QT4 and SDL examples + ptemplate? *ptemplate: _def_ptemp -2006-10-06 14:46 robert +in a couple of places. This should make particle creation and reuse go +a little faster without all that memory allocation and copying." - * Fixed OSGSHADOW_LIBRARY define -2006-10-06 14:45 robert - * Fixed library name +Fri, 12 Jan 2007 21:33:19 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "New features: + Multi-display-support + automatic hiding of the menubar/dock if one of the windows intersects the menubar/dockBugfixes: ++ event-handling was done by the first opened window, other windows did +not receive events -- fixed ++ mouse-coordinates were absolute, now they are relative to the window. -2006-10-06 14:16 robert +known bugs: ++ windows with decoration and in fullscreen-size are moved by the system +a little bit, so that the titlebar is accessible/visible. So if you want +real fullscreen-windows, don't decorate the window :) - * First cut at class interfaces and stubs for implementations for - the new osgShadow NodeKit +I updated the XCode-project-file so all ported examples are linked +against osgViewer." -2006-10-06 13:04 robert - * From Brede Johansen, "Here's a patch discussed in the thread - "OpenFlight Loader Discarding - Material" on the osg-user mailing list." -2006-10-06 11:02 robert +Fri, 12 Jan 2007 21:05:39 +0000 +Checked in by : Robert OSFIELD +Added Viewer::setEndBarrierPosition method, change Viewer::setKeySetsDone(int) to setKeyEventSetDone(int), added support for toggling threading model and end barrier position into osgviewer - * Updated wrappers +Fri, 12 Jan 2007 19:09:24 +0000 +Checked in by : Robert OSFIELD +Moved the signalBeginFrame to the start of the rendering traversal. -2006-10-06 09:54 robert +Fri, 12 Jan 2007 15:08:45 +0000 +Checked in by : Robert OSFIELD +Added support for animation path manipulator to osgViewer path - * Removed osgGA::GUIEventHandlerVisitor and osgGA::SetSceneVistor - classes/headers as - this classes weren't being actively used the distribution, - effectively being noops. +Fri, 12 Jan 2007 14:45:10 +0000 +Checked in by : Robert OSFIELD +Add manually sync of the EventQueue's startTick with the osg::Timer::startTick -2006-10-06 06:58 robert +Fri, 12 Jan 2007 12:10:06 +0000 +Checked in by : Robert OSFIELD +Added a default StateSet to osg::View's master Camera. Wired up osgViewer::Viewer so that the master Camera's StateSet is passed to osgUtil::SceneView to use as its global StateSet. - * Added workaround for NVidia driver bug into SceneView::init() to - prevent the extensions - string being initialized within a display list. +Fri, 12 Jan 2007 11:38:24 +0000 +Checked in by : Robert OSFIELD +Added osgGA Trackball, Flight and Drive camera manipulators, and StateSetManipulator to the osgViewer path in osgviewer -2006-10-05 14:32 robert +Fri, 12 Jan 2007 10:28:36 +0000 +Checked in by : Robert OSFIELD +Implement a GraphicsOperation to test extension availability - * Removed deprecated GUIEventHandler method +Fri, 12 Jan 2007 10:28:06 +0000 +Checked in by : Robert OSFIELD +Fixed comment -2006-10-05 10:59 robert +Fri, 12 Jan 2007 10:26:49 +0000 +Checked in by : Robert OSFIELD +Added osgViewer path into osgviewer, old osgProducer version remains accessible via --osgProducer command line option - * Renamed variable +Thu, 11 Jan 2007 17:15:04 +0000 +Checked in by : Robert OSFIELD +Ported osgmotionblurr across to osgViewer -2006-10-05 10:59 robert +Thu, 11 Jan 2007 17:00:09 +0000 +Checked in by : Robert OSFIELD +Added setting of DisplaySettings - * Refactored osgsimpleviewerQT4 to implement a GraphicsWindowQT, - and then use - multiple inheritance to build the final SimpleViewerQT. +Thu, 11 Jan 2007 16:59:50 +0000 +Checked in by : Robert OSFIELD +Added stencil buffer setting -2006-10-05 10:07 robert +Thu, 11 Jan 2007 15:54:11 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added a path with an experiemental GraphicsContexProducer - implementation, and a - test of mulitple inheritance. +Thu, 11 Jan 2007 15:53:32 +0000 +Checked in by : Robert OSFIELD +Added #include -2006-10-05 10:06 robert +Thu, 11 Jan 2007 15:48:44 +0000 +Checked in by : Robert OSFIELD +Removed examples: osgcameragroup + osgsimpleviewerProducer + osgsimplepager - * Added osgGA::GraphicsWindow base class that derives from - osg::GraphicsContext but - adds default overrides its pure virtue methods, and an - EventQueue. -2006-10-04 09:11 robert - * Added osgGA depedency. +Thu, 11 Jan 2007 15:19:59 +0000 +Checked in by : Robert OSFIELD +Ported following examples to osgViewer:osgteapot +osgtessellate +osgtext +osgtexture1D +osgtexture2D +osgtexture3D +osgtexturerectangle +osgvertexprogram +osgvolume +osgwindows +osgsimple +osgkeyboardmouse -2006-10-03 20:42 robert - * Removed the redundent relaseGLObjects() method declerations -2006-10-03 20:20 robert +Thu, 11 Jan 2007 14:53:34 +0000 +Checked in by : Robert OSFIELD +Fixed the setWindowSize so that it sets the input range to 0,0,width,height rather than x,y,x+width,y+height as mouse coordinates move relative to the window, not the screens origin. - * From John Aughey, "Attached is the Optimizer.cpp file that has - the fix to duplicate vertex and normal arrays if there is more - than one reference to the data. This fixes the problem where the - transforms are applied to the same vertex array multiple times if - that vertex array is re-used within the model. " +Thu, 11 Jan 2007 12:06:24 +0000 +Checked in by : Robert OSFIELD +Added DisplaySettings support into osgViewer::Viewer -2006-10-03 19:55 robert +Thu, 11 Jan 2007 11:47:01 +0000 +Checked in by : Robert OSFIELD +Ported follow examples to osgViewer: osgshape + osgsimplifier + osgsimulation + osgslice + osgspacewarp + osgspheresegment + osgspotlight + osgstereoimage - * From John Aughey, "The id name of nodes are not being set in the - daeReader::processNode method. The names are retained in most of - the other osg::Nodes that are created. In this case, I have an - external modeler creating models, and the name of component nodes - are used to give that subtree different characteristics." -2006-10-03 12:46 robert - * Added osgDB to dependency of osgGA +Thu, 11 Jan 2007 10:35:03 +0000 +Checked in by : Robert OSFIELD +Added support for setThreadSafeRefUnref into TexGenNode -2006-10-03 11:14 robert +Thu, 11 Jan 2007 10:21:11 +0000 +Checked in by : Robert OSFIELD +Added setThreadSafeRefUnref, resizeGLObjectBuffers and releaseGLObjects to OverlayNode - * Fixed bug related to clean up of text fonts. +Wed, 10 Jan 2007 21:05:26 +0000 +Checked in by : Robert OSFIELD +Ported following examples to osgViewer:osgshaders +osgshaderterrain +osgshadow +osgshadowtexture -2006-10-03 09:55 robert - * From Brede Johansen, "This submission adds multitexture support - for detecting translucent - images used to enable alpha blending. - - Mesh was syncronized with featureset from Face record." -2006-10-03 09:39 robert +Wed, 10 Jan 2007 14:56:22 +0000 +Checked in by : Robert OSFIELD +Ported osgconv and osgdem across to osgViewer - * From Brede Johansen, "I think some nitpicking is required. The - loop duration was added in - OpenFlight version 15.8. With the attached changes the flasher - unit - on the spinnercar and the character_anim model from the Creator - gallery behaves." +Wed, 10 Jan 2007 13:52:22 +0000 +Checked in by : Robert OSFIELD +Ported following examples to osgViewer:osgparticleeffects +osgphotoalbum +osgpick +osgpoints +osgpointsprite +osgprecipitation +osgprerender +osgprerendercubemap +osgreflect +osgscalarbar +osgscribe +osgsequence +osgplanets -2006-10-02 15:59 robert - * From Colin McDonald, "I've included render bin checks in the - StateSet::compare function, because - without them the Optimizer can incorrectly eliminate (otherwise - identical) - StateSets from different render bins." -2006-10-02 15:38 robert +Wed, 10 Jan 2007 10:40:12 +0000 +Checked in by : Robert OSFIELD +Added support for vertex ratios into LineSegmentIntersector. - * Added releaseGLObjects to NodeCallbacks, Drawable::DrawCallbacks - and wired up - osgProducer to use it when doing cleanup_frame. +Wed, 10 Jan 2007 10:09:05 +0000 +Checked in by : Robert OSFIELD +Added View::computeIntersection implementation for a node withing a scene graph. -2006-10-02 15:09 robert +Tue, 9 Jan 2007 17:35:46 +0000 +Checked in by : Robert OSFIELD +Added View::computeIntersections methods - * From Paul Martz, Bug fix for sequence node direction, It examines - the number of children in the Group record destructor, so that - the total duration of the sequence matches the specified - loopDuration field. +Tue, 9 Jan 2007 14:35:59 +0000 +Checked in by : Robert OSFIELD +From Jan Ciger, Tolga Abaci, Bruno Herbelin : OpenVRML 0.14.3 based .wrl/VRML plugin -2006-10-02 14:11 robert +Tue, 9 Jan 2007 11:42:49 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, "New delaunay triangulator attached. I hadn't realised that the erase() method was not erase (first, last) but erase (first, one after the last one you want deleted). This made a big difference; however some of the edges of the terrain were not included as edges in the terrain so I increased the size of the supertriangle, which works but reduces accuracy due to the larger range of coordinates in the supertriangle. (A larger supertriangle forces the triangles using supertriangle vertices to be long and thin, making the triangulation fit the convex hull of the terrain.)The loss of accuracy should not affect 'normal' users with terrains that are roughly square (say up to 100:1 aspect ratio) and where the Z range is comparable to the X-Y range. Retested with Pauls data, amalric's strange polygon constraint and the standard test constraints. - * From Farshid Lashkari, "Here is the patch we discussed previously - about adding a flag to - CullSettings which allows CameraNode to inherit the clear color." +I also added 2 tests for routines with a NULL argument passed to them (no-one would usually pass a NULL pointer to these routines unless - as I did in testing- you remove some of the constraints but still pass their pointer to the routine). And I removed 3 tests for triangles which are already removed when generating the geometry. -2006-10-02 13:40 robert +NB Paul - the previous delaunay triangulator fails under VS8 IF it has any constraints as it attempts to use some vertices that have already been deleted when applying the constraints to edges. Under VS6 and less rigorous compilers it works as the deleted vertices are still in the points stl::Vector; however any added vertices would replace one of the supertriangle vertices with non-disastrous but wrong results." - * From Farshid Lashkari, "The ColorControl of osg::LightModel is - never applied because it - incorrectly checks for a valid OpenGL version. Instead of - checking if - the current version is exactly 1.2, it will check if the version - is - greater than 1.2." +Note, merged with latest name changes in CVS. -2006-10-02 13:24 robert - * From Per Fahlberg, "Attached is a fix for loading the same file - multiple times with the - COLLADA plugin. dae->load will not return DAE_OK the second time - a model is loaded, so a - second check for DAE_ERR_COLLECTION_ALREADY_EXISTS has been - added." -2006-10-02 13:11 robert +Tue, 9 Jan 2007 10:06:20 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, GraphicsWindowCarbon implementation - * From Edgar Ellis, "Changed return type of osg::equivalent methods - from float/double to bool. - " +Tue, 9 Jan 2007 09:16:06 +0000 +Checked in by : Robert OSFIELD +Changed osgparticle's osgProducer dependency to osgViewer -2006-10-02 13:07 robert +Tue, 9 Jan 2007 09:14:25 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * From Andreas Ekstrand, "Attached is a small bug fix in the DW - plugin. The texture application - matrix is read into a double matrix called mx, it was declared as - 3x2, - it's now fixed to 3x3." +Mon, 8 Jan 2007 22:54:02 +0000 +Checked in by : Robert OSFIELD +Build fixes -2006-10-02 11:47 robert +Mon, 8 Jan 2007 22:44:10 +0000 +Checked in by : Robert OSFIELD +Removed reference to Producer - * Added SERIALIZER to ReaderWriterDAE to make sure initialization - is thread safe. +Mon, 8 Jan 2007 22:40:56 +0000 +Checked in by : Robert OSFIELD +Removed debug messages -2006-10-02 11:38 robert +Mon, 8 Jan 2007 21:57:37 +0000 +Checked in by : Robert OSFIELD +Fixed comment - * From Andreas Ekstrand, "Attached is a modified - ReaderWriterDAE.cpp which creates the one and - only DAE instance when it's first needed instead of in the - constructor. - This fixes the problem with osgdb_dae.dll not being loaded due to - unwanted ordering of global initialization. - - This fix and the previous fix of the COLLADA plugin might be - unnecessary - with the latest COLLADA DOM, but since many of us will probably - still - use the older version of the DOM, I guess it's better this way. - " +Mon, 8 Jan 2007 21:55:24 +0000 +Checked in by : Robert OSFIELD +Added genwrapper.conf to OSG CVS -2006-10-02 11:34 robert +Mon, 8 Jan 2007 21:29:49 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, speeling fixes for Tessellator/Tessellation. - * From Andreas Ekstrand, "It seems my changes to ESRIShape.dsp (to - create an osgdb_shp.dll rather - than an osgdb_ESRI.dll) were overwritten by later commits to this - file. - Here are the changes again, made from the latest version of - ESRIShape.dsp." +Mon, 8 Jan 2007 21:19:33 +0000 +Checked in by : Robert OSFIELD +Tessellator name changes -2006-10-02 11:26 robert +Mon, 8 Jan 2007 20:46:56 +0000 +Checked in by : Robert OSFIELD +Improved resizeGLObjectBuffers support - * From Farshid Lashkari, "There was a bug in ParticleSystem where - the bounds is not properly - flagged as computed when there is only 1 particle. Attached is - the - fix." +Mon, 8 Jan 2007 20:40:29 +0000 +Checked in by : Robert OSFIELD +Improved the handling a releaseGLObjects() and add setThreadSafeRefUnref and resizeGLObjectsBuffers methods -2006-10-01 19:19 robert +Mon, 8 Jan 2007 19:58:58 +0000 +Checked in by : Robert OSFIELD +Added releaseContextImplementation method - * From Chris Hanson, "These changes break out the implementation of - the fill/wireframe/point, texture, - lighting and backface culling settings from the event handling - code in StatesetManipulator - into public methods. The event handler now calls the public - methods. This allows user code - to invoke this same functionality from non-keyboard event inputs - without clashing with the - keyboard-invoked functionality." - - From Robert Osfield, tweaks to the above to kepp the coding style - the same as the rest of the OSG, also - made getPolygonMode() const, and updated the wrappers. +Mon, 8 Jan 2007 19:33:31 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-10-01 19:09 robert +Mon, 8 Jan 2007 19:29:59 +0000 +Checked in by : Robert OSFIELD +Changed the return types of makeCurrent to bool, and added a bool GraphicsContext::releaseContext method along with implementations in osgViewer. - * From Brede Johansen, "I have added "billboardCenter" as a reader - option to use the center of - a billboard as the pivot point." +Mon, 8 Jan 2007 16:20:10 +0000 +Checked in by : Robert OSFIELD +Added GraphicsContext::ResizedCallback and GraphicsContext::resizedImplementation. Added message on non implementation of GraphicsContext::valid(). Added prelimary GraphicsContext clean up support. -2006-10-01 19:00 robert +Mon, 8 Jan 2007 14:12:57 +0000 +Checked in by : Robert OSFIELD +Added Tessellator - * From Colin McDonald, "I have corrected a byte swapping problem in - the new OpenFlight - plugin. It was only reading floats & doubles correctly on little - endian systems, which require byte swapping, and not on big - endian systems which don't require any swapping." +Mon, 8 Jan 2007 13:28:44 +0000 +Checked in by : Robert OSFIELD +Fixed spelling of Tessellator in comment -2006-10-01 16:14 robert +Mon, 8 Jan 2007 12:04:04 +0000 +Checked in by : Robert OSFIELD +From Mathias Fröhlich, txf plugin for reading .txf textured texture files. - * Added GLUT based osgsimpleviewerGLUT example +Mon, 8 Jan 2007 11:37:09 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-10-01 16:12 robert +Mon, 8 Jan 2007 11:23:52 +0000 +Checked in by : Robert OSFIELD +From Paul Martz and Robert Osfield, renamed include/osgUtil/Tesselator and associated classes/references to Tessellator etc. - * Added Producer based osgsimplerviewerProducer example +Mon, 8 Jan 2007 10:00:16 +0000 +Checked in by : Robert OSFIELD +Ported following examples to osgViewer: osggeodemo osggeometry osghud osgimpostor osgkeyboard osglauncher osglight osglightpoint osglogicop osglogo osgmovie osgmultiplecameras osgmultitexture osgoccluder osgparametric osgparticle -2006-10-01 16:10 robert +Sun, 7 Jan 2007 20:52:10 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, updated Xcode projects for changes to examples ported over to osgViewer - * Added FLTK example app - osgsimpleviewerFLTK. +Sun, 7 Jan 2007 17:29:34 +0000 +Checked in by : Robert OSFIELD +From André Garneau, added export to StatsVisitor -2006-10-01 13:26 robert +Sun, 7 Jan 2007 10:00:50 +0000 +Checked in by : Robert OSFIELD +Added setThreadSafeRefUnref to LightSource - * Added osgsimpleviewerQT4 example +Sat, 6 Jan 2007 21:35:57 +0000 +Checked in by : Robert OSFIELD +Ported osgcopy, osgcubemap, osgdelaunay, osgdepthpartion, osgdistortion, osgfadetext, osgforest and osgfxbrowser to osgViewer -2006-10-01 11:08 robert +Sat, 6 Jan 2007 21:06:35 +0000 +Checked in by : Robert OSFIELD +Added View::setUpViewOnSingleScreen(uint) method to help set up view on a single full screen window - * Refactored the SDL example so that the event conversion in done - is a seperate method. +Fri, 5 Jan 2007 21:23:37 +0000 +Checked in by : Robert OSFIELD +Add trackball manipulator usage -2006-09-30 20:06 robert +Fri, 5 Jan 2007 21:19:01 +0000 +Checked in by : Robert OSFIELD +Ported osgcluster to osgViewer. - * Added a based SDL viewer - osgsimpleviewerSDL +Fri, 5 Jan 2007 20:28:35 +0000 +Checked in by : Robert OSFIELD +Fixed genwrapper to add include of osg/Camera. -2006-09-30 20:05 robert +Fri, 5 Jan 2007 17:21:35 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Fri, 5 Jan 2007 16:48:04 +0000 +Checked in by : Robert OSFIELD +Simplified the nameing of updateTraversal etc methods -2006-09-30 20:05 robert +Fri, 5 Jan 2007 16:46:57 +0000 +Checked in by : Robert OSFIELD +Cleaned up graphics window setup and added clear graphics window to single window, multiple camera setup. - * Cleaned up build and indenting +Fri, 5 Jan 2007 16:24:05 +0000 +Checked in by : Robert OSFIELD +Ported osgcegui across to osgViewer -2006-09-30 16:30 robert +Fri, 5 Jan 2007 16:19:25 +0000 +Checked in by : Robert OSFIELD +Ported osgcallback to osgViewer - * Various clean ups to comments +Fri, 5 Jan 2007 16:13:43 +0000 +Checked in by : Robert OSFIELD +Ported osgbluemarble to osgViewer -2006-09-30 16:29 robert +Fri, 5 Jan 2007 16:00:28 +0000 +Checked in by : Robert OSFIELD +Ported osgblendequation across to osgViewer - * Added SimpleViewer +Fri, 5 Jan 2007 15:54:13 +0000 +Checked in by : Robert OSFIELD +Ported osgbillboard over to osgViewer -2006-09-30 16:26 robert +Fri, 5 Jan 2007 15:52:33 +0000 +Checked in by : Robert OSFIELD +Simplified the osganimate and osgautotransform mains, removing most or all of the argument parser code. - * Added osgsimpleviewerQT3 example +Fri, 5 Jan 2007 15:32:21 +0000 +Checked in by : Robert OSFIELD +Fixed aspect ratio. -2006-09-30 14:12 robert +Fri, 5 Jan 2007 15:30:49 +0000 +Checked in by : Robert OSFIELD +Cleaned up the GraphicsWindow setup - * Moved osgGLUTsimple and osgGLUTkeyboardmouse across to using - osgGA::SimpleViewer +Fri, 5 Jan 2007 15:24:06 +0000 +Checked in by : Robert OSFIELD +Added GraphicsContext support for clearing the graphis context. The clearing is off by default (ClearMask is 0), but can be switched on when ClearMask is non zero. GraphicsContext::clear() is called after each swap buffers -2006-09-30 14:10 robert +Fri, 5 Jan 2007 14:57:20 +0000 +Checked in by : Robert OSFIELD +Replace osgProducer reference by osgViewer - * Added subclassing from osg::Referenced to allow the SimpleViewer - to be safely managed on the heap. +Fri, 5 Jan 2007 14:56:37 +0000 +Checked in by : Robert OSFIELD +Moved osgautotransform across to osgViewer -2006-09-30 13:41 robert +Fri, 5 Jan 2007 14:50:47 +0000 +Checked in by : Robert OSFIELD +Converted osganimate projects across to osgViewer - * Added check to init to prevent crash when no camera manipulator - is supplied. +Fri, 5 Jan 2007 14:48:50 +0000 +Checked in by : Robert OSFIELD +Converted osganimate example to osgViewer -2006-09-29 21:44 robert +Fri, 5 Jan 2007 13:16:24 +0000 +Checked in by : Robert OSFIELD +Added int return type of Viewer::run(). - * Added false to setWindowRectangle() call as the InputRange is - already set correctly. +Fri, 5 Jan 2007 13:15:59 +0000 +Checked in by : Robert OSFIELD +Made the custom window set up a runtime option -2006-09-29 18:47 robert +Fri, 5 Jan 2007 13:06:11 +0000 +Checked in by : Robert OSFIELD +Tweaked comments - * Added preliminary DatabasePager support. +Fri, 5 Jan 2007 13:01:08 +0000 +Checked in by : Robert OSFIELD +Added a workaround for computing the time of an event. -2006-09-25 16:25 robert +Fri, 5 Jan 2007 12:22:24 +0000 +Checked in by : Robert OSFIELD +Removed commented out checkEvents calls - * Added bare bones osgGA::SimpleViewer class to help simplify OSG - setup when embedding the OSG - into existing GUI applications, and for one one a single camera, - single window is required. +Fri, 5 Jan 2007 10:59:23 +0000 +Checked in by : Robert OSFIELD +Added Viewer::isRealized() and run() methods to make it easier to set up and run a viewer, taking care of realized() calls if not already done, and assigning trackball manipulator if not already assigned. -2006-09-21 15:09 robert +Fri, 5 Jan 2007 09:55:04 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate comment about normal orientation. - * Updated wrappers +Thu, 4 Jan 2007 21:58:37 +0000 +Checked in by : Robert OSFIELD +Changed compile paths into runtime selected paths using command line parameters -2006-09-21 11:26 robert +Thu, 4 Jan 2007 21:51:10 +0000 +Checked in by : Robert OSFIELD +Removed now redundent calls to set up view - * From Eric Wing, updated to Xcode projects +Thu, 4 Jan 2007 21:49:02 +0000 +Checked in by : Robert OSFIELD +Moved the set of GraphicsContext RenderingOperations into Viewer. -2006-09-21 10:38 robert +Thu, 4 Jan 2007 21:35:11 +0000 +Checked in by : Robert OSFIELD +In Viewer::realize() added default fallback of calling setUpViewAcrossAllScreens() when no windows have previously been set up. - * From Farshid Lashkari, "I made a small modification to the - CullVisitor class so that it uses - the inheritance mask of CameraNodes with respect to the compute - near/far mode." +Thu, 4 Jan 2007 21:28:16 +0000 +Checked in by : Robert OSFIELD +Added Viewer::setKeySetsDone(int) to allow developers to specify which key should set done and cause the main loop to exit. -2006-09-21 10:01 robert +Thu, 4 Jan 2007 21:18:44 +0000 +Checked in by : Robert OSFIELD +Removed the setting of thread safe ref/unref and max number of graphics contexts as this is now done automatically by osgViewer::Viewer - * From Farshid Lashkari, added function for querring whether a mode - is a texture related mode or not. +Thu, 4 Jan 2007 21:18:03 +0000 +Checked in by : Robert OSFIELD +Changed debug messages to INFO -2006-09-21 09:50 robert +Thu, 4 Jan 2007 21:14:29 +0000 +Checked in by : Robert OSFIELD +Changed the ReadWriteMutex to use standard OpenThreads::Mutex to fix crashes in osgcatch. - * From Loic Dachary, renamed _mips to of_mips to prevent compile - problem under MIIPS +Thu, 4 Jan 2007 20:50:35 +0000 +Checked in by : Robert OSFIELD +Added mutex to lock of ReentrantMutex -2006-09-21 09:24 robert +Thu, 4 Jan 2007 20:49:39 +0000 +Checked in by : Robert OSFIELD +Fixed compile warning - * Rationalized on the number of libs required. +Thu, 4 Jan 2007 16:49:58 +0000 +Checked in by : Robert OSFIELD +Made Refernced::setThreadSafeReferenceCounting(bool) a virtual then overrode this in various scene graph classes to ensure that the scene graph gets updated as well as the objects that the initialial call is made from. -2006-09-21 08:56 robert +Thu, 4 Jan 2007 16:48:23 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Removed use osg OSG_LIBS, changing to just -losg and -losgDB. +Thu, 4 Jan 2007 14:34:53 +0000 +Checked in by : Robert OSFIELD +Added glXDestryContext to help clean up OpenGL. -2006-09-20 15:48 robert +Thu, 4 Jan 2007 14:11:51 +0000 +Checked in by : Robert OSFIELD +Added Object::resizeGLObjectBuffers(uint) method to help improve the ability to change the number of active graphics contexts on the fly during an applications life. - * Updated positions of the text labels to make them move obvious on - start up +Thu, 4 Jan 2007 11:49:15 +0000 +Checked in by : Robert OSFIELD +Added support for starting and stopping osgViewer::Viewer threading and automatic handling of windows being closed. -2006-09-20 13:41 robert +Wed, 3 Jan 2007 23:00:05 +0000 +Checked in by : Robert OSFIELD +Added catch of window close - * Added missining initialization of _radius in constructors +Wed, 3 Jan 2007 19:11:57 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, added export to fix Windows build -2006-09-20 13:40 robert +Wed, 3 Jan 2007 17:26:24 +0000 +Checked in by : Robert OSFIELD +Added setting of default backgroud colour of View's master colour to be consistent with the previous default colour used by SceneView - * Added use of ClusterCullingCallback +Wed, 3 Jan 2007 17:25:09 +0000 +Checked in by : Robert OSFIELD +Removed setting of master camera colour -2006-09-20 12:58 robert +Wed, 3 Jan 2007 16:32:44 +0000 +Checked in by : Robert OSFIELD +Changed the View's master camera projection matrix setting so that it is consistent with osgProducer::Viewer default setting. - * Created stress test of fade text labelling +Wed, 3 Jan 2007 16:06:12 +0000 +Checked in by : Robert OSFIELD +Improved the robustness of thread start and cancellation -2006-09-20 10:36 robert +Tue, 2 Jan 2007 20:26:49 +0000 +Checked in by : Robert OSFIELD +Fixed the COPY_OP( Array, DEEP_COPY_ARRAYS); entry. - * Updates for fade text to work properly, but only in perspetive - views at present. +Tue, 2 Jan 2007 17:39:31 +0000 +Checked in by : Robert OSFIELD +Added support for different threading models in osgViewer::Viewer -2006-09-19 22:57 robert +Tue, 2 Jan 2007 13:02:30 +0000 +Checked in by : Robert OSFIELD +Shifted the setting of thread safe ref/unref to earlier in the main to ensure that the Viewer's view is set up thread safe. - * Further work on fade text. +Tue, 2 Jan 2007 12:50:57 +0000 +Checked in by : Robert OSFIELD +Added support for getting all windows and hiding the cursor -2006-09-19 20:19 robert +Tue, 2 Jan 2007 12:19:26 +0000 +Checked in by : Robert OSFIELD +Switched off lighting in osgcatch. - * Further work on osgText::FadeText implementation. +Tue, 2 Jan 2007 12:03:48 +0000 +Checked in by : Robert OSFIELD +Changed default multi-screen setup to set up for a flat wall configuration -2006-09-19 13:54 robert +Tue, 2 Jan 2007 10:31:38 +0000 +Checked in by : Robert OSFIELD +Fixed version function names and comment strings - * Fixed reading/writing of non C string osg::Text::String's. +Tue, 2 Jan 2007 10:11:53 +0000 +Checked in by : Robert OSFIELD +Added missing init() implementation -2006-09-18 21:03 robert +Tue, 2 Jan 2007 09:54:21 +0000 +Checked in by : Robert OSFIELD +Fixed path to osgViewer wrapper - * Added osgfadetext example to VS projects +Mon, 1 Jan 2007 20:01:45 +0000 +Checked in by : Robert OSFIELD +Added mouseWarped update -2006-09-18 20:54 robert +Mon, 1 Jan 2007 18:20:10 +0000 +Checked in by : Robert OSFIELD +Various work on osgViewer library, including warp point and graphics window resize support - * Introduced new osg::View, and osg::RenderInfo classes into the - core OSG to help - handle scenes with multiple views with elements that need - coordinating on a per view basis. - - Added beginings of new osgText::FadeText class (not functionality - yet). +Thu, 28 Dec 2006 08:21:19 +0000 +Checked in by : Robert OSFIELD +Removed GraphicsWindowProxy -2006-09-15 13:11 robert +Thu, 28 Dec 2006 08:16:36 +0000 +Checked in by : Robert OSFIELD +Removed osgViewer::GraphicsWindowProxy as its was causing wrapper compile problems and also no longer has a key role in osgViewer. - * From Per Fahlberg, "I've fixed the dae plugin so it is only using - one instance of the DAE. - The crashes seen earlier are gone, it is now possible to read - multiple - .dae files and converting both to and from .dae files." +Wed, 27 Dec 2006 23:32:49 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-09-15 10:21 robert +Wed, 27 Dec 2006 23:19:37 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added a _threadHoldingMutex = 0; to ReentrantMutex::unlock() to - avoid a potential - bug with the mutex being aquired by two threads. +Wed, 27 Dec 2006 23:19:17 +0000 +Checked in by : Robert OSFIELD +Tweaks from using a ReadWriteMutex& to a ReadWriteMutex* parameter to avoid problems with osgIntrospection generation. -2006-09-13 16:38 robert +Wed, 27 Dec 2006 20:23:34 +0000 +Checked in by : Robert OSFIELD +Improved handling of window input ranges for single window apps - * Returning revion number to 0 to signify CVS version +Wed, 27 Dec 2006 16:44:18 +0000 +Checked in by : Robert OSFIELD +Removed old hack to disable multi-threaded cameras when particle systems are present, this is no longer required as osgParticle has now been made thread safe. -2006-09-13 14:55 robert +Wed, 27 Dec 2006 16:40:34 +0000 +Checked in by : Robert OSFIELD +Added an osgDB::ReadWriteMutex to help manage the ability to have serialize write to objects but allow multiple threads to read at once in a read only way. - * Added extra comment explaining where state reset() should be - called. +Wed, 27 Dec 2006 15:15:23 +0000 +Checked in by : Robert OSFIELD +Updated to reflect changes to osgGA::EventQueue. -2006-09-13 14:00 robert +Wed, 27 Dec 2006 15:05:25 +0000 +Checked in by : Robert OSFIELD +Replaced the osgProducer dependencies by osgViewer for osgcatch and osghangglide examples - * From Eric Wing, updates to OSX build notes. +Wed, 27 Dec 2006 15:04:04 +0000 +Checked in by : Robert OSFIELD +Added GraphicsWindowWin32 and GraphicsWindowCocoa classes, curently not implmented, but added as a placeholder for members of the community to step forward and implement. -2006-09-13 13:50 robert +Tue, 26 Dec 2006 20:26:16 +0000 +Checked in by : Robert OSFIELD +Ported osghangglider example to usg osgViewer - * Fixed GPU stats display bug. +Tue, 26 Dec 2006 17:38:47 +0000 +Checked in by : Robert OSFIELD +Various tweaks to keep in sync with new changes to osg::Timer and osgGA::EventQueue -2006-09-13 13:33 robert +Tue, 26 Dec 2006 17:37:58 +0000 +Checked in by : Robert OSFIELD +Added new adapter methods to EventQueue to allow the time value of the event to be specified. - * Correct HP's AIX to IBM's AIX. +Tue, 26 Dec 2006 17:37:06 +0000 +Checked in by : Robert OSFIELD +Aded new convinience methods to osg::Timer - s/getStartTick and time_s(), time_m() etc to help get time reletive the new start tick. -2006-09-12 19:15 robert +Tue, 26 Dec 2006 17:35:45 +0000 +Checked in by : Robert OSFIELD +Ported osgcatch to use osgViewer - * Updated version for 1.2 release +Sun, 24 Dec 2006 16:40:19 +0000 +Checked in by : Robert OSFIELD +Unified the osg::GraphicsThread::Operation and osg::GraphicsContext::Operation classes as osg::GraphicsOperation. Unpdated parts of OSG depending upon these.Added a virtaul bool valid() method to osg::GraphicsContext to allow apps to +test whether a valid graphis context has been created or not. -2006-09-12 19:09 robert - * Updated ChangeLog for 1.2 release -2006-09-12 15:21 robert +Fri, 22 Dec 2006 21:53:44 +0000 +Checked in by : Robert OSFIELD +Added support for sample and sampleBuffers to osg::GraphicsContext::Traits and cleaned up the Traits naming - * Fixed the drawArrays() method checking of _drawArrayPtr +Fri, 22 Dec 2006 21:52:53 +0000 +Checked in by : Robert OSFIELD +Added mutexes to ParticleProcessor and ParticleSystemUpdater to improve the thread safety of osgParticle -2006-09-12 12:35 robert +Fri, 22 Dec 2006 17:46:21 +0000 +Checked in by : Robert OSFIELD +Implemented perliminary multi-threading support in osgViewer::Viewer - * Added a check for zero length line segment in bool - LineSegment::intersect(const BoundingSphere& bs,float& r1,float& - r2) const. +Fri, 22 Dec 2006 16:49:14 +0000 +Checked in by : Robert OSFIELD +Replaced osgProducer dependency by osgViewer -2006-09-12 10:52 robert +Fri, 22 Dec 2006 16:48:17 +0000 +Checked in by : Robert OSFIELD +Removed now redundent OSG_EXPORT to solve build problems under Windows - * Updated ChangeLog fro 1.2 release +Fri, 22 Dec 2006 08:42:03 +0000 +Checked in by : Robert OSFIELD +Removed Vec3.cpp and UnitTestFramework.cpp as these files now live in examples/osgunittests -2006-09-12 10:46 robert +Thu, 21 Dec 2006 17:23:07 +0000 +Checked in by : Robert OSFIELD +Added basic support for DatabasePager into osgViewer::Viewer - * Updated AUTHORS file for 1.2 release +Thu, 21 Dec 2006 16:56:20 +0000 +Checked in by : Robert OSFIELD +Moved rendering support into GraphisContext, osgViewer::Viewer/View, and added frame stamp updating and update traversal to osgViewer::Scene/Viewer.Updated osgcamera example to use new Viewer API calls instead of using local +rendering calls. -2006-09-12 09:28 robert - * Updated NEWS for 1.2 release -2006-09-12 09:26 robert +Thu, 21 Dec 2006 12:24:20 +0000 +Checked in by : Robert OSFIELD +Cleaned up the includes in the GraphicsWindowX11 header - * Revised the osg::ClampColor API to allow vertex, fragment and - read color clamping to - be applied together. +Thu, 21 Dec 2006 12:19:14 +0000 +Checked in by : Robert OSFIELD +Moved the implementation of GraphicsWindowX11 from the head into the src/osgViewer directory. -2006-09-08 20:08 robert +Thu, 21 Dec 2006 11:20:42 +0000 +Checked in by : Robert OSFIELD +Improved the handling of moving the mouse pointer across screens, and add grab focus support that honours where the mouse pointer was originally. - * From Bryan Thrall, fix to Optimizer::MergeGeometryVisitor so that - it checks - the permissable operation status on Drawables. +Thu, 21 Dec 2006 09:01:56 +0000 +Checked in by : Robert OSFIELD +Removed erroneous double GraphicsContext:: -2006-09-08 14:31 robert +Thu, 21 Dec 2006 08:54:55 +0000 +Checked in by : Robert OSFIELD +Fixed path - * Updated ChangeLog and AUTHORS file for 1.2 release +Wed, 20 Dec 2006 21:13:29 +0000 +Checked in by : Robert OSFIELD +Further work osgViewer::Viewer and related classes. -2006-09-08 13:24 robert +Tue, 19 Dec 2006 17:40:40 +0000 +Checked in by : Robert OSFIELD +From Roger James, "Here is the version of daeWMaterials.cpp with fixes for case insensitive path names on Windows. Nobody has complained to me about them since I posted them on the users list last week." - * Cleaned up NEWS for 1.2 release +Tue, 19 Dec 2006 17:30:22 +0000 +Checked in by : Robert OSFIELD +From Mathias Fröhlich, "I have a small update to the 'non convex polygon detection' in the ac3d loader that is used to tell if tesselation is required or if we will better leave a polygon as is. It is still not perfect but catches some more cases." -2006-09-08 10:46 robert +Tue, 19 Dec 2006 17:16:14 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "minor code comment cleaup/rewording" - * From Eric Wing, updated to Xcode projects +Tue, 19 Dec 2006 17:06:59 +0000 +Checked in by : Robert OSFIELD +Moved UnitTestFramework from core osg lib into osgunittests example -2006-09-08 10:07 robert +Tue, 19 Dec 2006 16:47:34 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added link to website for build docs. +Tue, 19 Dec 2006 16:47:15 +0000 +Checked in by : Robert OSFIELD +Added Copyright notice -2006-09-08 10:07 robert +Tue, 19 Dec 2006 16:45:09 +0000 +Checked in by : Robert OSFIELD +Added support for traversal mask into ElevationSlice, HeightAboveTerrain and LineOfSight classes - * From Mike Wittman, perl script to help remain project files for - dumb VisualStudio 6.0 limitations. +Tue, 19 Dec 2006 16:12:29 +0000 +Checked in by : Robert OSFIELD +Added osgViewer::Viewer / osgViewer::GraphicsWindowsX11 usage. -2006-09-07 10:41 robert +Tue, 19 Dec 2006 16:00:51 +0000 +Checked in by : Robert OSFIELD +Added initial GraphicsWindowX11 implementation, and fleshed out more of the osgViewer and osg::GraphicsContext/osg::View infrastructure. - * From Mike Weiblen, added missing export to fix osgTerrain wrapper - linking under VS +Sun, 17 Dec 2006 20:49:01 +0000 +Checked in by : Robert OSFIELD +Added support WindowingSystemInterface for querring the number of screens, the screen size and creating GraphicsContexts. -2006-09-06 20:11 robert +Fri, 15 Dec 2006 17:27:18 +0000 +Checked in by : Robert OSFIELD +Added ViewPoint support into NodeVistor/CullStack/CullVisitor/LOD/PagedLOD etc to facilate management of LOD settings for RTT cameras. - * Updated osgTerrain wrapper project file with gdal dependencies. +Thu, 14 Dec 2006 21:15:40 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "New option "cloneExternalReferences" for OpenFlight plugin" -2006-09-06 14:10 robert +Thu, 14 Dec 2006 16:13:27 +0000 +Checked in by : Robert OSFIELD +From Orhun Birsoy, "In SimpleViewer::frameUpdateTraversal function, orthographicCamera calculation has some typos. It should read bool orthographicCamera = (pm(0,3)==0.0) && (pm(1,3)==0.0) && (pm(2,3)==0.0) && (pm(3,3)== 1.0); " - * Tweak to NEWS +Thu, 14 Dec 2006 14:44:10 +0000 +Checked in by : Robert OSFIELD +From Andy Skinnder, warning fix -2006-09-06 13:53 robert +Wed, 13 Dec 2006 21:15:22 +0000 +Checked in by : Robert OSFIELD +Removed debug output files - * Made get methods const +Wed, 13 Dec 2006 17:39:30 +0000 +Checked in by : Robert OSFIELD +Commented out debug messages -2006-09-06 09:46 robert +Wed, 13 Dec 2006 16:41:06 +0000 +Checked in by : Robert OSFIELD +Further improvements to handling of multiple z values - * From Brede Johansen, "The previous submission didn't handle - Objects with transforms. The - attached file corrects this. - - I also removed the multitexture macro for the Object record. Only - Face and Mesh records are valid targets." +Tue, 12 Dec 2006 21:48:59 +0000 +Checked in by : Robert OSFIELD +Improvements to handling of multiple z value regions -2006-09-05 20:18 robert +Thu, 7 Dec 2006 22:20:48 +0000 +Checked in by : Robert OSFIELD +Improved the filtering of overlapping and vertical line segments - * From Eric Wing, updates to Xcode projects +Thu, 7 Dec 2006 15:48:17 +0000 +Checked in by : Robert OSFIELD +Fixed copyright notice -2006-09-05 17:15 robert +Thu, 7 Dec 2006 10:16:43 +0000 +Checked in by : Robert OSFIELD +From Luigi Calori, "In order to effectively use --image-ext and to add -O "plugin options", some fix to osgdem.cpp and osgTerrain/DataSet.cppThese mods should allow to build terrains controlling jpeg compressed +imagery embedded in ive files, using something like: - * Removed reference to Sony in COLLADA news entry. +osgdemd --image-ext jpeg --RGB_24 -O "JPEG_QUALITY 20 +compressImageData" ......." -2006-09-05 15:22 robert - * Updated NEWS, AUTHORS file and osgversion for the 1.2-rc1 -2006-09-05 15:09 robert +Thu, 7 Dec 2006 10:09:48 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, "I was getting triangulations with the previous delaunay triangulator, but it seems I may have been picking up the wrong coordinates or an old version of my test file (that version is OK when no coordinates lie outside the 'terrain' zone). This version is much stricter about memory handling and insertion of extra points." - * Updated ChangeLog +Wed, 6 Dec 2006 21:39:09 +0000 +Checked in by : Robert OSFIELD +From Gerrick Bivins, fixed newly introduced texture setup bug. -2006-09-05 09:51 robert +Wed, 6 Dec 2006 21:29:10 +0000 +Checked in by : Robert OSFIELD +Improved the handling of overlapping line segments. - * From Mike Weiblen, build fixes for Windows. +Wed, 6 Dec 2006 15:18:11 +0000 +Checked in by : Robert OSFIELD +From Riccardo Corsi, add VS6.0 project file for new quicktime windows port -2006-09-05 09:13 robert +Wed, 6 Dec 2006 14:17:55 +0000 +Checked in by : Robert OSFIELD +From Rick Pingry, "n my application I am walking through the scene graph looking for nodes of a specific name. I noticed there were times when some of the nodes were not named what I had expected. Upon reviewing the code, I noticed this was happening when there was a forward reference to a parented object.The existing code uses a map with object ID's. The original code only applied the name to a node for a new ID only if the node did not already exist in the map. The problem was that there was another part of the code (when a parent was forward declared) that also created the node with the ID in the map, but it did not know its name. I simply made sure that the name was set regardless of whether or not the node was already in the map. " - * Updated to compile against changes to osgTerrain -2006-09-05 08:56 robert - * Updated wrappers +Tue, 5 Dec 2006 22:10:36 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-09-05 08:46 robert +Tue, 5 Dec 2006 20:30:46 +0000 +Checked in by : Robert OSFIELD +Checked in remaining element from Brede Johansen changes for clmapToEdge reader option. - * From Paul Martz, warning fixes for Cygwin. +Tue, 5 Dec 2006 17:30:36 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "minor bugfixes for the quicktime-plugin" -2006-09-05 08:44 robert +Tue, 5 Dec 2006 17:27:31 +0000 +Checked in by : Robert OSFIELD +From Gerrick Bivins, "Changes: --merged with fixes for texture coordinates(is this in CVS/SVN already)? --changed above mentioned fix output level from osg::NOTIFY to osg::DEBUG_INFO --added support for VRML97 ImageTextures. --changed pointers to ref_pointers where possible. --added format (method separated by "//////") for easier reading." - * From Brede Johansen, "I have added an optimization to the - OpenFlight plugin. By default it - ignores the Object records if it's safe to do so. The reader - option - preserveObject prevents this optimization. - - I have also removed the flat shading attribute set by the Object - record. This flag is only intended for the "Calculate Shading" - operation in Creator." +Tue, 5 Dec 2006 17:10:39 +0000 +Checked in by : Robert OSFIELD +From Roger James,"I have had another go at the windows specific file name handling in daeWMaterials.cpp. I think I have arrived at a temporary compromise.I have decided to just normalise the drive letter part of file names for the time being and also ensure that names of the format x:/xxxxx are treated as absolute paths. This will cover a lot of cases. -2006-09-04 20:43 robert +I have raised a bug against collada which hopefully should resolve some others. However there are some pathological cases which I have commented on in the code, these will probably never work properly unless there is a significant rewrite of the daeURI functionality. Hopefully they are rare." - * Added support for imagery and DEM's that wrap around the - dateline, this required - two passes over the copying of imagery and DEM's to the - destination graphs, once for - the original position, and once for the wrap around 360 degrees - on or before. - - Also fixed the GeospationExtents constructor that was setting the - _max to DBL_MIN rather - than -DBL_MAX. This bug causesd the y axis to be computed - incorrectly. -2006-09-04 13:35 robert - * Missing part of Farshid Laskari's submission relating to - CameraNode RenderOrder. +Tue, 5 Dec 2006 16:45:27 +0000 +Checked in by : Robert OSFIELD +From Rein Kadijk, "While displaying a certain scene, OsgEdit crashed in ProxyNode::traverse() in file OSG_OP_OT-1.2\OpenSceneGraph\src\osg\proxynode.cpp. It turned out that nv.getDatabaseRequestHandler() returned NULL; using this pointer to call one of DatabaseRequestHandler's methods is of course illegal. I patched it by adding: if (nv.getDatabaseRequestHandler())"From Robert Osfield, reordered the addition of the nv.getDatabaseRequestHandler() check to allow the +default traverse() to be called when no database handling is attached to the visitor. -2006-09-04 13:22 robert - * Updated wrappers -2006-09-04 13:15 robert +Tue, 5 Dec 2006 16:29:11 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber and Riccardo Corsi, port of QuickTime plugin to Windows - * From Farshid Lashkari, - - "I've made some changes to osg which I think make it easier to - control - the render order of CameraNode's. Instead of using the built-in - orders - (PRE_RENDER, POST_RENDER, NESTED_RENDER), you can specify an - integer - order. Values less than zero are pre rendered in order. Values - greater - than zero are post rendered in order. And a value of 0 is - equivalent - to NESTED_RENDER. - - The changes should be fully backward compatible. Also, I changed - the - RenderStageList type from a vector to a list because I needed to - be - able to insert values anywhere in the list. - - The reason I made these changes was because I wanted to be able - to set - the render order of a CameraNode at runtime without having to - reorder - it in the scenegraph." - - and later in the final submission message (relating to what has - been finally been merged) : - - "I've rethought my implementation and came up with something a - little - better. The setRenderOrder will continue to take an enum, but - will - have an optional orderNum parameter which can be both positive - and - negative. I think this method is more intuitive and flexible." +Tue, 5 Dec 2006 15:41:03 +0000 +Checked in by : Robert OSFIELD +Added use of typedef to help clean up the readability a little and replaced a copy list with a reference. -2006-09-04 12:52 robert +Tue, 5 Dec 2006 15:31:07 +0000 +Checked in by : Robert OSFIELD +From Sylvain Marie, "changed raw pointers to smart pointers in the dxfBlock, dxfTables and dxfSection classes, so their members data are correctly deleted. - changed some methods signatures to pass arguments by reference instead of by value. The performance and memory usage are enhanced (the reader was clogging the heap when reading some large DXF files)The updated files have been compiled and tested with a variety of DXF files +on XP with VS2003, but the changes should not disturb any other compiler." - * Cleaned up the texture setup code. -2006-09-04 12:46 robert - * Added osg::TexMat::s/getScaleByTextureRectangleSize feature that - allows - one to use the osg::TexMat to automatically scale non dimensional - tex coordinats to - the size of the last texture rectangle applied. +Tue, 5 Dec 2006 14:58:38 +0000 +Checked in by : Robert OSFIELD +From Chris McGlone, "PlygonZ copy constructor: added allocation and copying of zarray" -2006-09-04 06:51 robert +Tue, 5 Dec 2006 14:50:46 +0000 +Checked in by : Robert OSFIELD +From Bryan Thrall, "Currently, the DatabasePager always loads requested Nodes using the default Registry Options object, but it would be useful to be able to request loading with a different Options object. The attached files allow you to do that (based off the OSG 1.2 source).For example, I'm implementing a loader that requires context information +when it pages in subgraphs, which becomes significantly complicated when +multiple scenegraphs are requesting subgraph loads with different +contexts (the loader needs to know which context to use, and the +Registry Options needs to be carefully managed so the context settings +don't clobber each other, especially in multithreaded situations). Being +able to pass an Options instance along with the Node request resolves +this problem." - * From Farshid Lashkari, removed debug message being written to the - console. -2006-09-04 06:47 robert - * Removed typedef TypeList from osgintrospection +Tue, 5 Dec 2006 14:28:07 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "added a new reader option to replace the texture wrap mode CLAMP with CLAMP_TO_EDGE." -2006-09-02 14:27 robert +Tue, 5 Dec 2006 13:06:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added setting of position.w to 1.0 and removed zscale hack. +Tue, 5 Dec 2006 12:58:29 +0000 +Checked in by : Robert OSFIELD +Added more accurate computation of local height above sea level in the plane intersections routines -2006-09-01 13:34 robert +Mon, 4 Dec 2006 17:31:20 +0000 +Checked in by : Robert OSFIELD +Improved the calculation of distance around the globe within the ElevationSlice routine. - * Updated wrappers +Mon, 4 Dec 2006 12:36:13 +0000 +Checked in by : Robert OSFIELD +Added preliminary support for generating distance, height lists for ElevationSlice. -2006-09-01 13:22 robert +Sun, 3 Dec 2006 12:52:38 +0000 +Checked in by : Robert OSFIELD +Cleaned up debugging info. - * From David Callu, add reflection of std::wstring in the - DefaultReflector +Sun, 3 Dec 2006 11:44:12 +0000 +Checked in by : Robert OSFIELD +Added copying of plane to surface intersections in the osgUtil::PlaneIntersector class, and update wrappers. -2006-09-01 12:52 robert +Sun, 3 Dec 2006 11:09:33 +0000 +Checked in by : Robert OSFIELD +Added osgSim to osgintersection dependency list. - * From David Callu, - "bug fix to reflect the wchar_t in Value and Value.cpp I add the - toWString() function. - in Type and Type.cpp I just add two function to get a map of - propertyList and a map of methodList - i need this map in my editor a i think it's could be util to put - this functionnality in osgIntrospection, +Fri, 1 Dec 2006 15:19:21 +0000 +Checked in by : Robert OSFIELD +Added support for placing a base in the scene to shadow against -2006-09-01 12:46 robert +Thu, 30 Nov 2006 18:42:38 +0000 +Checked in by : Robert OSFIELD +Fixed typo and updated wrappers - * Removed the String inhertiance from osg::Referenced. +Thu, 30 Nov 2006 18:33:36 +0000 +Checked in by : Robert OSFIELD +Improved the edge normal computation -2006-08-31 20:55 robert +Thu, 30 Nov 2006 16:55:32 +0000 +Checked in by : Robert OSFIELD +Checked in new .plists' - * Updated Version number for 1.2 release +Thu, 30 Nov 2006 16:30:24 +0000 +Checked in by : Robert OSFIELD +Basic shadow volume alogirthm implemented in example. -2006-08-31 20:54 robert +Thu, 30 Nov 2006 12:05:51 +0000 +Checked in by : Robert OSFIELD +Added dynamic updating of light position and multi-pass addition of ambient and diffuse lighting - * Updated version numbers of the up comming 1.2 release +Thu, 30 Nov 2006 12:04:36 +0000 +Checked in by : Robert OSFIELD +Fixed shadow volume geometry handling of direcitonal lights -2006-08-31 20:48 robert +Thu, 30 Nov 2006 10:29:03 +0000 +Checked in by : Robert OSFIELD +Added movement of the light source to test performance of update the shadow volumes - * From Eric Wing, "Attached is a change for GLExtensions.cpp that - allows OS X to use - dlopen/dlsym instead of NS*Symbol* functions for 10.3 or later. - The - latter is now deprecated. - - I'm not completely sure how to test the changes. But I compiled - these - new changes in and ran the osgvertexprogram and osgshaders - examples - and they seemed to display the same results as before. - - With respect to the use of dlopen and dlsym, I was uncertain if - the - usage should look like Sun or FreeBSD (or something else). - Apple's man - pages discourage the use of RTLD_DEFAULT so I avoided the FreeBSD - implementation and copied the Sun implementation. I'm not sure if - this - is correct/ideal or not." +Wed, 29 Nov 2006 22:00:39 +0000 +Checked in by : Robert OSFIELD +Added handling of loops -2006-08-31 20:26 robert +Wed, 29 Nov 2006 21:43:05 +0000 +Checked in by : Robert OSFIELD +Added plane to triangle intersections and segment combining, work still not complete though. - * Updated NEWS for 1.2 release and added COLLADA plugin +Wed, 29 Nov 2006 20:10:08 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, added support for writing 16-bit rgb images -2006-08-31 15:47 robert +Wed, 29 Nov 2006 14:33:17 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Fixed typo on OSG_PROCESSOR_AFFINITY env var. +Wed, 29 Nov 2006 14:21:59 +0000 +Checked in by : Robert OSFIELD +Further work on PlaneIntersector -2006-08-31 15:39 robert +Wed, 29 Nov 2006 11:00:02 +0000 +Checked in by : Robert OSFIELD +Added dummy virtual method implementations - * Fixed TextureAtlasVisitor bug where repeating textures were - incorrectly assigned as non repeating. +Wed, 29 Nov 2006 10:51:10 +0000 +Checked in by : Robert OSFIELD +Cleaned up inheritance -2006-08-31 13:53 robert +Wed, 29 Nov 2006 09:18:51 +0000 +Checked in by : Robert OSFIELD +Ran unix2dos to get rid of unix line ending - * Changed the external file writing to use the DatabasePathList for - its path rather - than the original files path. +Tue, 28 Nov 2006 20:45:24 +0000 +Checked in by : Robert OSFIELD +Still required for backwards compatibility -2006-08-31 10:37 robert +Tue, 28 Nov 2006 20:37:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Updated wrappers +Tue, 28 Nov 2006 20:35:31 +0000 +Checked in by : Robert OSFIELD +Fixed build errors in osgViewer -2006-08-31 10:10 robert +Tue, 28 Nov 2006 19:25:34 +0000 +Checked in by : Robert OSFIELD +From Zach Deedler, added missing IntersectionVisitor - * Made the inheritance of osg::Object in the DrawCallback to be - virtual. +Tue, 28 Nov 2006 16:50:51 +0000 +Checked in by : Robert OSFIELD +Removed redundent wrapper -2006-08-31 10:08 robert +Tue, 28 Nov 2006 16:49:31 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added support for CameraNode's PostDrawCallback. +Tue, 28 Nov 2006 16:30:38 +0000 +Checked in by : Robert OSFIELD +Moved osgUtil::PolytopeIntersector, osgUtil::PlaneIntersector and osgUtil::LineSegmentIntersector out from include/osgUtil/IntersecionVisitor into their own seperate files. -2006-08-30 19:33 robert +Tue, 28 Nov 2006 16:00:52 +0000 +Checked in by : Robert OSFIELD +Added support for float or double osg::Plane, and the default osg::Plane to double. Performance tests on big models did not indicate any performance penalty in using doubles over floats, so the move to doubles should mainly impact precision improvements for whole earth databases.Also made improvements to osgUtil::PlaneIntersector and osgSim::ElevationSlice classes - * Added GPU stats to NEWS list -2006-08-30 19:21 robert - * Updated NEWS for rc2 +Tue, 28 Nov 2006 11:10:15 +0000 +Checked in by : Robert OSFIELD +Fixed fade text memory consumption bug which was due to new RenderInfo being created local to RenderStage and passed on to rendering code which populated the RenderInfo UserData, but without the restoring the new UserData to the main RenderInfo. The local RenderInfo UserData is now passed back to the main RenderInfo. -2006-08-30 16:33 robert +Tue, 28 Nov 2006 10:31:37 +0000 +Checked in by : Robert OSFIELD +Removed the now redundent dateUtils.h file. - * To TextureAtlasBuilder add copying of border pixels into margins - to help improve quality of lower mipmap levels. +Tue, 28 Nov 2006 09:14:46 +0000 +Checked in by : Robert OSFIELD +Added missing Camera.h and removed redundent CameraNode.h -2006-08-30 13:50 robert +Mon, 27 Nov 2006 20:25:36 +0000 +Checked in by : Robert OSFIELD +Added beginnings of osgUtil::PlaneIntersector and osgSim::ElevationSlice - * From Mike Wittman, changed release build options to reduce binary - bloat. +Mon, 27 Nov 2006 16:25:12 +0000 +Checked in by : Robert OSFIELD +Added QWidget style constructor parameters -2006-08-30 09:32 robert +Mon, 27 Nov 2006 14:52:07 +0000 +Checked in by : Robert OSFIELD +Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files. - * In TextureAtlasVisitor code added catch for textures that have - some geometry with texcoords within 0 to 1.0, but - others others out of the 0 to 1 range, these textures are - automatically rejected from consideration for adding to a texture - atlas. -2006-08-29 15:05 robert - * To the TextureAtlasBuilder added detection of instance where a - single drawable - has multiple textures on the same texture unit inherited down to - it from above. +Mon, 27 Nov 2006 11:25:40 +0000 +Checked in by : Robert OSFIELD +From Mauricio Hofmam, added support for reading images from all osg::CameraNode attachments in RenderStage. -2006-08-29 12:31 robert +Mon, 27 Nov 2006 09:23:57 +0000 +Checked in by : Robert OSFIELD +From André Garneau, "The file submitted includes a fix to properly support DDS textures compressed under the DXT-1 format when they contain alpha information.Under this mode, each 4x4 texel block can selectively use an alpha component or none. When alpha-enabled blocks are present, this is not reported in the DDPF_ALPHAPIXELS bit in the pixel format flags causing the reader-writer to report the file as a 3-components file (GL_COMPRESSED_RGB_S3TC_DXT1_EXT). The fix requires looking at each 4x4 texel block to detect the presence of 1-bit alpha encoding. When such a block is found, the internal & pixel formats are reported as GL_COMPRESSED_RGBA_S3TC_DXT1_EXT instead. - * Updated wrappers -2006-08-29 11:25 robert - * Added GPU stats +See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/Opaque_and_1_Bit_Alpha_Textures.asp for more information." -2006-08-29 06:58 robert - * Added TexMat(Matrix) constructor. -2006-08-29 00:10 don +Sun, 26 Nov 2006 22:27:09 +0000 +Checked in by : Robert OSFIELD +Removed check from objectDeleted(void*) method as this was not catching cases where the registered ptr was different from the deleted ptr - something that can happen with multiple inheritance. - * Fixed a crash in removeInternalTriangles() for models without - normals. +Sun, 26 Nov 2006 14:17:22 +0000 +Checked in by : Robert OSFIELD +Missed check of changes to the RemoveRedundentNodesVisitor -2006-08-28 19:37 robert +Fri, 24 Nov 2006 21:19:11 +0000 +Checked in by : Robert OSFIELD +Added extra checks to RemoveRedendentVisitor to catch Groups that may only have one child, but also have StateSet's etc and thefore not suitable for removal. - * Added TexEnv object into Font and apply this in - Text::drawImplementation to make - sure that a valid TexEnv is applied +Fri, 24 Nov 2006 21:10:57 +0000 +Checked in by : Robert OSFIELD +Added isIdentity() method -2006-08-28 19:07 robert +Fri, 24 Nov 2006 17:20:01 +0000 +Checked in by : Robert OSFIELD +Improved handling of bounding polytope - * From Roger James, improved mapping of AC3D lighting model to OSG +Fri, 24 Nov 2006 11:37:57 +0000 +Checked in by : Robert OSFIELD +Added support for positional lights into computeShadowVolumeGeometry code and cleaned up OccluderGeometry interface. -2006-08-28 19:06 robert +Thu, 23 Nov 2006 21:32:49 +0000 +Checked in by : Robert OSFIELD +Improved the ShadowVolumeGeometry orientations. - * Added support for logging StateSet usage in StatsVisitor. +Thu, 23 Nov 2006 17:29:43 +0000 +Checked in by : Robert OSFIELD +Add compute of tight bounding box to enable better placement of the base plane. -2006-08-28 19:05 robert +Thu, 23 Nov 2006 16:55:46 +0000 +Checked in by : Robert OSFIELD +First cut at generating the ShadowVolumeGeometry - * Added env var docs +Thu, 23 Nov 2006 11:22:49 +0000 +Checked in by : Robert OSFIELD +Added basic silhoette detection -2006-08-28 19:01 robert +Wed, 22 Nov 2006 21:11:46 +0000 +Checked in by : Robert OSFIELD +From Roger James, "fixes mostly related to texture handling." - * From Roger James, "I have been going through my modified osg - files and came across this fix to the Tesselator. From memory it - handles a problem with per primitive normal binding. I must have - forgotten to submit it." +Wed, 22 Nov 2006 21:09:48 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, add OSG_FILE_PATH to end of setting of OSG_FILE_PATH to preserve any previous settings -2006-08-28 15:46 robert +Wed, 22 Nov 2006 20:52:16 +0000 +Checked in by : Robert OSFIELD +From Paul de Repentigny, "When calling osgdem with argument "--image-ext", the application just returns after loading the proper ReaderWriter for the given extension." Fix was to remove the erroenous return. - * Futher work on TextureAtlasBuilder/Visitor, now functioning - enough to deploy on real models. +Wed, 22 Nov 2006 20:47:53 +0000 +Checked in by : Robert OSFIELD +From Sylvan Marie, "I attached my revised dxfEntity.cpp file from the DXF plugin with the 2 following improvements:- When all unsupported entities (SOLIDS, TEXT, ...) have been filtered out +from a block, dxfInsert::drawScene() was crashing because it assumed that +the block was not empty. It now returns silently so the other blocks can +still be imported. -2006-08-28 10:49 robert +- The DXF reader assumed all vertices were read first, then the face +indices. But, from the DXF "documentation" (www.autodesk.com/dxf) : +"Polyface meshes created with the PFACE command are always generated with +all the vertex coordinate entities first, followed by the face definition +entities. The code within AutoCAD that processes polyface meshes requires +this ordering. Programs that generate polyface meshes in DXF should generate +all the vertices then all the faces. However, programs that read polyface +meshes from DXF should be tolerant of odd vertex and face ordering." +So now the importer ignores the posted number of vertices and face indices, +and uses the size of the lists instead." - * Updated wrappers -2006-08-28 10:46 robert - * Further work on TextureAlasBuilder and TextureAtlasVisitor. +Wed, 22 Nov 2006 20:39:44 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, Added missing initialization of the _scaleByTextureRectangleSize variable in two of its constructors. -2006-08-26 21:38 robert +Wed, 22 Nov 2006 15:38:59 +0000 +Checked in by : Robert OSFIELD +Added removeNullTriangles() method to help removed triangles with coincedent corners. - * Further work of TextureAtlasBuilder +Wed, 22 Nov 2006 09:10:14 +0000 +Checked in by : Robert OSFIELD +Added new HeightAboveTerrain.cpp LineOfSight.cpp wrapper files -2006-08-25 16:31 robert +Tue, 21 Nov 2006 16:59:34 +0000 +Checked in by : Robert OSFIELD +Added compute and visualization of triangle and vertex normals - * Updated wrappers +Tue, 21 Nov 2006 16:59:04 +0000 +Checked in by : Robert OSFIELD +Replaced the setTextureUnit(0) call in State::reset() with code that just sets the member variables without requiring a graphics context. -2006-08-25 16:30 robert +Tue, 21 Nov 2006 16:16:56 +0000 +Checked in by : Robert OSFIELD +Added removeDuplicates function - * Further work on new TextureAtlasBuilder. +Tue, 21 Nov 2006 16:15:42 +0000 +Checked in by : Robert OSFIELD +Reordered methods to make associated functions clearer. -2006-08-25 15:53 robert +Tue, 21 Nov 2006 14:42:36 +0000 +Checked in by : Robert OSFIELD +Renamed osgviewer-Info.plist to osgviewerApplication-Info.plist to prevent svn naming collision problems under Windows due t osgviewer/osgViewer case insentive file name collisions. - * Checking in first cut of new - osgUtil::Optimizer::TextureAtlasBuilder class - for building texture atlas for sets of images or textures. +Mon, 20 Nov 2006 21:48:40 +0000 +Checked in by : Robert OSFIELD +Added nested files -2006-08-25 15:49 robert +Mon, 20 Nov 2006 12:25:38 +0000 +Checked in by : Robert OSFIELD +Added -losgFX - * Added missing setDataType and setPacking functions +Mon, 20 Nov 2006 10:12:57 +0000 +Checked in by : Robert OSFIELD +Added missing LGPL section to LICENSE.txt -2006-08-25 14:54 robert +Fri, 17 Nov 2006 20:45:29 +0000 +Checked in by : Robert OSFIELD +Rearranged the #ifdef's to prevent compile problems under NVidia 2.1 OGL drivers - * Added const version of getReadPBuffer() +Fri, 17 Nov 2006 16:25:29 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updates to Xcode projects -2006-08-25 14:53 robert +Fri, 17 Nov 2006 16:22:58 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, new ogsimpleviewCocoa example. - * Fixed const correctness of get shadow functions +Fri, 17 Nov 2006 14:51:48 +0000 +Checked in by : Robert OSFIELD +Added missing PointSprite files -2006-08-25 09:03 robert +Thu, 16 Nov 2006 17:35:12 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "Attached is a patch that adds the new coordOriginMode to the .osg reader/writer for PointSprites." - * Updated wrappers +Thu, 16 Nov 2006 16:42:11 +0000 +Checked in by : Robert OSFIELD +From Frashid Lashkari, added support for PointSprites to .ive -2006-08-25 08:48 robert +Thu, 16 Nov 2006 16:25:29 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, Fixed Geometry cloning of the texture coordinates and vertex attributes. - * From Farshid Lashkari, - "I was experiencing hard crashes of my application when using - PBO's on - machines that don't support PBO's. I think osg incorrectly checks - if - PBO's are supported. - - I added a new method to the BufferObject::Extensions class which - returns if the "GL_ARB_pixel_buffer_object" string is supported. - This - fixes the problem on my end. Machines without PBO support will - continue to work and machines with PBO support will still be able - to - use it." +Wed, 15 Nov 2006 20:29:28 +0000 +Checked in by : Robert OSFIELD +Added alpha test setting -2006-08-25 08:42 robert +Wed, 15 Nov 2006 20:24:09 +0000 +Checked in by : Robert OSFIELD +Fixed comment - * From Eric Wing, updates to Xcode project +Wed, 15 Nov 2006 20:23:15 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-08-24 20:16 robert +Wed, 15 Nov 2006 11:21:53 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, add version check for use of automatic resizeing - * From David Guthrie, "I know there are 50,000 changes to osg/Math - for OSX a day, but I - think it can be simplified quite a bit. The old code includes - for pre-10.2 and anything using something other than g++ - 4 - and then uses std::isnan. For the most current version, it leaves - out cmath and uses isnan(). std::isnan and cmath work for the - current version, so I just made it include cmath if __APPLE__ is - defined and removed the ifdef between versions of OS X for isnan - related things. - - This way the code is all the same, and it's not fragile to - someone - including prior to including osg/Math." +Wed, 15 Nov 2006 10:08:09 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, replaced assert with notify() error message. -2006-08-24 20:15 robert +Tue, 14 Nov 2006 19:29:49 +0000 +Checked in by : Robert OSFIELD +Added note about license or file, and link to specs. - * Simplified swap bytes code to make it more efficient. +Tue, 14 Nov 2006 19:19:54 +0000 +Checked in by : Robert OSFIELD +Removed redundent osgac3.h file. -2006-08-24 16:33 robert +Tue, 14 Nov 2006 19:19:15 +0000 +Checked in by : Robert OSFIELD +From Mathias Fröhlich, fixed order of setting of texture image. - * Add error message report to catch attempts to flip mipmap images. +Tue, 14 Nov 2006 17:24:37 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-08-24 13:16 robert +Tue, 14 Nov 2006 16:59:00 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, add use of the autodetection of windowing size support in SDL-version 1.2.10 and later. From Robert Osfield, made the above an optional compile as it breaks apps based on previous version of SDL. - * Fixed COLLDADA plugin name and remove osgmove example +Tue, 14 Nov 2006 16:37:07 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Improovments: - does proper edge detection with the crease angle given in the ac file - the reader is much more verbose in case of broken files - no more static variables - std::stream based - much faster, up to a factor of 50 for a polygonal test model - if the file contains polygonal surfaces the loaded geometry is still polygonal as long as the polygons are convex. Concave polygons are still tesselated. Rationale: If the user needs triangular models he can throw away that extra information with the osgUtil::Optimizer himself. But the read step preserves as much extra information that is contained in the file as possible. Also the polygonal models look a bit smoother than the triangular ones. - a huge cleanup - the basic parsing logic from the original ac3d developer is untouched - the writer part is untouchedThe tarball contains a replacement for the src/osgPlugins/ac3d directory that +is based on the current CVS (2006-11-13). +I have tested that loader with a osgconv foo.ac /tmp/xx.ive on everyfoo. ac +file I could find (~200 from flightgear and the object database). I also run +my flightgear development with that loader -> here I see the models. +I run valgrind testcases on some selected models." -2006-08-23 15:25 robert - * From Sebastien Grignard, fix to writing of dds files, write the - source data - directly rather using a series of memcpy. -2006-08-23 15:11 robert +Tue, 14 Nov 2006 15:06:17 +0000 +Checked in by : Robert OSFIELD +Added osgViewer depdendency to osgintersection, osgGLUT* examples - * From Jeremy Moles, fixed typos +Tue, 14 Nov 2006 12:55:00 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "I ran though the sample data that Gert provided earlier today and tracked down the problem. The xoffset in readHeightField and readImage were being applied even in projected coordinate systems. This patch should fix the issue." -2006-08-23 14:17 robert +Tue, 14 Nov 2006 12:51:31 +0000 +Checked in by : Robert OSFIELD +Further migration to using RenderInfo - * From Daniel Larimer, fix for OSX 10.4 when gcc != 4 +Tue, 14 Nov 2006 12:49:53 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, Follows is required to prevent unidented cloning of shared arrays : "I added some calls to isOperationPermissibleForObject() so I can permit the flattten-pass with my specialized objects in my own code." -2006-08-23 13:32 robert +Tue, 14 Nov 2006 12:29:54 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "This patch adds a CoordOriginMode to the osg::PointSprite attribute. The mode needs to be changed to LOWER_LEFT when rendering point sprites to pbuffers or FBOs, otherwise the points will be transformed on the CPU." - * From Andrew Lorino and Mike Weiblen, COLLADA 1.4.1 ReaderWriter, - kindly developed and donated by Sony Computer Entertainment Inc. - US R&D. +Tue, 14 Nov 2006 12:16:39 +0000 +Checked in by : Robert OSFIELD +Added support for handling osg::ShapeDrawable style drawables in OccluderGeoemtry. -2006-08-23 13:18 robert +Tue, 14 Nov 2006 09:54:21 +0000 +Checked in by : Robert OSFIELD +Added check against null SceneData to prevent crash with empty models - * Added sizeof(short int) +Sat, 11 Nov 2006 21:30:29 +0000 +Checked in by : Robert OSFIELD +Further work on OccluderGeometry -2006-08-23 13:16 robert +Fri, 10 Nov 2006 15:25:04 +0000 +Checked in by : Robert OSFIELD +From John Kelso, add support for default frame time for children of a Sequence node - * Tweaks to osglogo to allow you to export alpha blended - screenshots +Fri, 10 Nov 2006 15:07:13 +0000 +Checked in by : Robert OSFIELD +Further work on osgShadow::GeometryOccluder -2006-08-22 19:10 don +Wed, 8 Nov 2006 11:49:35 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added osgUtil::Tesselator for SHapeType Polygon to handle concave - polygons. +Wed, 8 Nov 2006 10:00:43 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updates to Xcode project for new osgViewer library -2006-08-22 13:07 robert +Wed, 8 Nov 2006 09:50:27 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, change osgGA::SimpleViewer to osgViewer::Viewer. From Robert Osfield, added -losgViewer & -losgGA to makefiles. - * From Vaclav Bilek, "The purpose of this change is to suppress - "re-reading" of osg::ProxyNodes - ( in OF external references) after the OF file is loaded. The - change do - conditional - execution of already existing code. - - I use this for optimized preprocessing of large databases what - can not - be loaded - in one pass because of memory limits." +Tue, 7 Nov 2006 17:00:56 +0000 +Checked in by : Robert OSFIELD +Added better handling of writeNode operations that arn't successful. -2006-08-22 12:49 robert +Tue, 7 Nov 2006 17:00:29 +0000 +Checked in by : Robert OSFIELD +Fixed the writeNode function so it was properly return FILE_NOT_HANDLED, fixing a big with it writing out an empty .flt file. - * From Gary Quinn, updated to take account of new bin directory - structure. +Tue, 7 Nov 2006 14:26:48 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-08-22 12:46 robert +Tue, 7 Nov 2006 13:48:20 +0000 +Checked in by : Robert OSFIELD +Ben van Basten, "1 Bug fix in reuseParticle where originally an old particle that was already killed would be killed again, but instead should have been placed on the dead stack for future reuse.2 Getter/setter for _maxNumberOfParticlesToSkip that is used for filtering of particles during draw. This enables you to turn the filtering of by setting this value to zero. - * From Joran Jessurun, updated to look for lib/win32. +3 Getter for retrieval of the first particle in the trail. This allows you to directly manipulate the trail from your application by walking from the start particle towards the end of the trail." -2006-08-22 12:33 robert +Submitted on Ben's behalf by Roland Smeenk. - * Changed the default implementation of backdrop text to - DEPTH_RANGE and - tweaked the depth range values to minimize the depth rage witout - causing z fighting - on osgtext example. -2006-08-22 10:23 robert - * From Eric Wing, fix for compute of the bounding box when handling - outline/backdrop text. +Tue, 7 Nov 2006 13:43:01 +0000 +Checked in by : Robert OSFIELD +Added initial cut of osgShadow::OccluderGeometry -2006-08-21 21:09 robert +Tue, 7 Nov 2006 13:26:31 +0000 +Checked in by : Robert OSFIELD +Changed debug output from NOTICE to INFO - * From Eric Wing, compile fix for OSX +Tue, 7 Nov 2006 13:00:14 +0000 +Checked in by : Robert OSFIELD +From Tery Welsh, added support for inheriting all CameraNode CullSettings and then restoring the original values. -2006-08-21 21:00 robert +Tue, 7 Nov 2006 12:08:03 +0000 +Checked in by : Robert OSFIELD +Removed debug comment. - * From Eric Wing, updates to Xcode projects +Tue, 7 Nov 2006 12:02:37 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, workaround fix for problematic run length encoded RGB files. Robert Osfield ammend workaround to support multi-byte colour channels. -2006-08-21 20:29 robert +Mon, 6 Nov 2006 13:22:57 +0000 +Checked in by : Robert OSFIELD +Thanks to Björn Hein for spotting mistakes in EventQueue.cpp and StateSetManipulator, now fixed by Robert Osfield. Problems were:"StateSetManipulator.cpp (rev 1.12, l. 85): cyclePolygonMode() is called but +no aa.requestRedraw() afterwards. Is this intended? - * Added comments on the meaning of button value +EventQueue.cpp (rev 1.8): in keyRelease & keyPressed KEY_Alt_R was mapped to +MODKEY_LEFT_ALT" -2006-08-21 15:07 robert - * Fixed 64 bit support -2006-08-14 19:42 robert +Fri, 3 Nov 2006 14:07:20 +0000 +Checked in by : Robert OSFIELD +Added osgViewer library to build list - * Fixed texture optimization problem associated with mixing already - compiled scene graphs - resulting - in incorrect texture assignment. Solution was to a - compareTextureObjects() test to the Texture*::compare(..) method - that - the osgUtil::Optimizer::StateSetVisitor uses to determine - uniqueness. +Thu, 2 Nov 2006 18:58:01 +0000 +Checked in by : Robert OSFIELD +Added IntersectionVisitor to wrappers -2006-08-14 11:03 robert +Thu, 2 Nov 2006 17:07:32 +0000 +Checked in by : Robert OSFIELD +Added IntersectionVisitor to osgUtil project - * Ran dos2unix to fix inconsistent line endings +Thu, 2 Nov 2006 17:05:46 +0000 +Checked in by : Robert OSFIELD +Added convinience constructors to help support picking with the new osgUtil::Intersector classes. -2006-08-14 07:59 robert +Thu, 2 Nov 2006 15:50:04 +0000 +Checked in by : Robert OSFIELD +Added basic PolytopeIntersector functionality based on checking vertices against polytopes. - * From Paul Martz, "The gist of this change is, if the OpenFlight - version of the - parent file is so old that it doesn't support Light Point - palettes or Shader - palettes, then the parent file is not allowed to override those - palettes in - the child." +Thu, 2 Nov 2006 15:40:42 +0000 +Checked in by : Robert OSFIELD +Renamed osgviewer.dsp to osgviewerapplication.dsp and fixed directory name of osgsimpleviewerProducer -2006-08-13 20:12 robert +Thu, 2 Nov 2006 15:22:38 +0000 +Checked in by : Robert OSFIELD +Fixed bug in Polytope::contains(const std::vector& vertices) which resulted in false positives. - * Updated ChangeLog for 1.1.1 release +Thu, 2 Nov 2006 12:32:41 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-08-13 08:40 robert +Thu, 2 Nov 2006 12:27:15 +0000 +Checked in by : Robert OSFIELD +Moved SimpleViewer and GraphicsWindow into their own osgViewer library, updated simpleviewer examples to reflect this change - * Updated ChangeLog, NEWS, osgversion and AUTHORS.txt for 1.1.1 - release +Thu, 2 Nov 2006 12:17:06 +0000 +Checked in by : Robert OSFIELD +Added prelimnary work on PolytopeIntersector. -2006-08-13 08:24 robert +Wed, 1 Nov 2006 17:18:45 +0000 +Checked in by : Robert OSFIELD +Improved handling of projected coords in new intersection classes - * Changed the texture wrap mode to repeat +Wed, 1 Nov 2006 14:41:32 +0000 +Checked in by : Robert OSFIELD +Added support for osgUtil::Intersectors being in WINDOW, PROJECTION, VIEW or MODEL coordinates -2006-08-13 07:37 robert +Tue, 31 Oct 2006 12:59:51 +0000 +Checked in by : Robert OSFIELD +Implemented HeightAboveTerrain and added usage into osgintersection - * From Chuck Sembroski, fixes for IRIX +Tue, 31 Oct 2006 08:41:24 +0000 +Checked in by : Robert OSFIELD +Added LineOfSight and HeightAboveTerrain classes -2006-08-12 18:19 robert +Mon, 30 Oct 2006 20:29:06 +0000 +Checked in by : Robert OSFIELD +Added osgSim::LineOfSight and osgSim::HeightAboveTerrain classes - * Moved reset to 0 of _createReuseMatrixIndex from CullVistor.cpp - to CullStack.cpp so that - CullStack::reset works correctly for all subclasses - fixing a - memory consumption issue with occluders +Mon, 30 Oct 2006 12:39:05 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-08-12 08:29 robert +Mon, 30 Oct 2006 12:28:37 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, "Attached is a fix to get the proper normals on an md2 model, actually the way it was before would sometimes lead to a crash since it was attaching the wrong array to the geometry..." - * Updated version number for 1.1.1 release +Mon, 30 Oct 2006 12:23:37 +0000 +Checked in by : Robert OSFIELD +From Vladimir Shabanov, "The DDS plugin didn't correctly read mipmapped A8L8 textures. I've attached a small fix for this.Cause: uncompressed mipmap handling was done only for RGB pixel format. -2006-08-12 07:59 robert +Fix: added condition for handling alpha and luminance formats too." - * Updated ChangelLog and AUTHORS file -2006-08-12 07:43 robert - * Removed Xcode 1.x projects +Mon, 30 Oct 2006 12:19:41 +0000 +Checked in by : Robert OSFIELD +From Michael Henheffer, "There's a problem with OverlayNodes where the texture will not display if continuous updating is set to false.The problem was being caused by the camera update call never being made +if continuous updating was not set to true. This fix adds a flag that +is set when dirtyOverlayTexture() is called and checked in the update +visitor section of the traversal to determine if the camera should be +updated. -2006-08-11 21:48 robert +I tested the fix by making some changes to the osgAnimate example +program so it has continuous updating off and calls dirtyOverlayTexture +for each frame. The overlay texture now displays properly." - * From Radu Mihai, removed osgfbo and osgpbuffer projects -2006-08-11 21:39 robert - * Added osg:: to Referenced() to fix IRIX build. +Mon, 30 Oct 2006 12:14:00 +0000 +Checked in by : Robert OSFIELD +From Edgar Ellis, " method may not take the node into consideration when computing its bound.In this case of: +switch->insertChild(0, child, false); +switch->insertChild(1, child, true); -2006-08-11 19:56 don +child will not be used in computeBound, but will be drawn. - * removed CRLF and replaced with LF in ReaderWriteNET.cpp +Solution: +Changed compute bound to loop over children using an index instead of an +iterator. This behaviour matches that of the traverse method." -2006-08-11 18:23 robert +----------------------------------------------- - * Updated wrappers -2006-08-11 18:22 robert - * Fixed if (numProcessors>1), was originally >= +Mon, 30 Oct 2006 12:05:56 +0000 +Checked in by : Robert OSFIELD +From Michael Henheffer, "Bug: The reader would crash when trying to load a .tif image that contained an 8-bit color map. The crash occured at line 545:remap_row(currPtr, inbuf, w, red, green, blue); -2006-08-11 17:39 don - * Added comments to support use of Proxy in the .net plugin. +Cause: The code was trying to write past the end of the buffer while +doing this remapping. The size of the buffer is determined based on the +value of 'format', which was 1 in this case since bitspersample is +8(indicating a 8-bit color map). The buffer should have been created 3 +times as large since that 8-bit value is indexing a 24-bit color. -2006-08-11 17:34 don - * Submission by Carlo Camporesi - Added Proxy support to .net - loader +Fix: I've put in an if statement to set format to 3 if 'photometric' +indicates the tif contains a palette as the output data will always be +24-bit color data in this case." -2006-08-11 16:03 robert - * Fixed value of FLATTEN_BILLBOARDS enum. -2006-08-11 13:06 robert +Mon, 30 Oct 2006 11:55:02 +0000 +Checked in by : Robert OSFIELD +From Mathieu Marache, fixed osgsimpleviewerQt4 so that it uses the correction options - * Added file search path to ESRI reader. +Mon, 30 Oct 2006 11:00:25 +0000 +Checked in by : Robert OSFIELD +Added handling of geometry indices offset when merging geometries with indices -2006-08-11 12:53 robert +Fri, 27 Oct 2006 15:11:17 +0000 +Checked in by : Robert OSFIELD +Added osgUtil::IntersectorGroup to handle groups of osgUtil::Intersectors - * Fixed bug in Group::setChild relating to the accounting for - OccluderNode. +Thu, 26 Oct 2006 16:52:10 +0000 +Checked in by : Robert OSFIELD +From Andrew Lorino and Robert Osfield, Improvements to the handling of texture paths -2006-08-11 12:39 robert +Thu, 26 Oct 2006 16:03:17 +0000 +Checked in by : Robert OSFIELD +Added beginings of new osgUtil::IntersectionVisitor and osgintersection class - * Moved the OpenThreads::GetNumberOfProcessors() inside the if - (_enableProcessAffinitHint) block to - avoid slowing down init of apps that don't require procesor - affinity. +Thu, 26 Oct 2006 16:02:38 +0000 +Checked in by : Robert OSFIELD +Updatd wrappers -2006-08-11 11:05 robert +Tue, 24 Oct 2006 16:24:24 +0000 +Checked in by : Robert OSFIELD +Tweaked doxygen docs. - * Fixed pbuffer usage cross multiple graphics contexts +Tue, 24 Oct 2006 09:45:50 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-08-11 11:04 robert +Tue, 24 Oct 2006 09:06:28 +0000 +Checked in by : Robert OSFIELD +Added FadeText::setFadeSpeed and made internal data structures protected. - * Updated NEWS for rc1 +Mon, 23 Oct 2006 15:29:59 +0000 +Checked in by : Robert OSFIELD +Changed the dependency list to use -losg -losgDB instead of OSG_LIBS -2006-08-11 09:50 robert +Sat, 21 Oct 2006 21:06:27 +0000 +Checked in by : Robert OSFIELD +Fixed OSX x86 endian issue in Quicktime movie plugin. - * Updated AUTHORS file +Tue, 17 Oct 2006 15:17:06 +0000 +Checked in by : Robert OSFIELD +From David Callu:" + the main problem is the wrapper generation: + The PropertyInfo class use MethodInfo class to access to the value. + When the property are define with the I_Property* macro, + the MethodInfo use by the property to have access to the value + are instancied in the I_Property* macro, but there + are already instantied by the I_Method* macro before -2006-08-11 09:30 robert - * Removed osgfbo and osgpbuffer examples + secondary problem: + - the function used by the property could no be customized + in the genwrapper.conf file + - an array property can't insert a value + - the std::map reflector (and indexedProperty in general) haven't remove method + - about the help in wrapper ... why not ... -2006-08-11 09:13 robert - * Updated NEWS -2006-08-10 20:50 robert + solution : + To use the function define by the I_Method, I add a MethodInfo variable in the I_Method0 macro + old macro : + #define I_Method0(ret, fn) (\ + params.clear(),\ + addMethod(new osgIntrospection::TypedMethodIn +fo0(qualifyName(#fn), &reflected_type::fn, params))) - * From Mike Wittman, perl script to assist W64 support. + new macro : + #define I_Method0(ret, fn, signature, briefHelp, detailedHelp) \ + params.clear(); \ + osgIntrospection::MethodInfo* signature = addMethod(new osgIntrospection::TypedMethodInfo0(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) -2006-08-10 20:32 robert - * From Mike Wittman, support for VS 64bit build -2006-08-10 15:53 robert + the osgIntrospection::MethodInfo* signature is used by the I_Property macro to define the MethodInfo that it use - * Moved all platform specific processor out of osgProducer and into - OpenThreads + so for I_Property macro : + old macro : + #define I_PropertyWithReturnType(t, n, r) \ + cap=addProperty(new osgIntrospection::PropertyInfo(osgIntrospection::Reflection::getType(typeid(reflected_type)), osgIntrospection::Reflection::getType(typeid(t)), #n, \ + I_Method0(t, get##n), \ + I_Method1(r, set##n, IN, t, value))) -2006-08-10 13:12 robert + new macro: + #define I_SimpleProperty(t, n, get, set) \ + get, \ + set)) - * From Laurens Voerman, " - osgPlugins\pfb\ConvertFromPerformer.cpp - - Added support for - PFSTATE_ALPHAFUNC - PFSTATE_ALPHAREF - Improved handling of - PFTR_NO_OCCLUDE - - I have tested this with WIN32 performer 3.1 and 3.2.2 - and linux OpenGL Performer 3.1.1" - - ------------------------------------------------ + The genwrapper has been modified in this way. + The method signature is define by the prototype of the method + For example, the "const char* libraryName();" have "__C5_char_P1__libraryName" for signature -2006-08-10 12:13 robert - * From Martijn Kragtwijk, added example text for showing - osgText::Text::CharacterSizeMode in action. + solution for secondary problem: + The genwrapper accept new tokens in the configuration to custumize the property. + The new PropertyInserter and the CustomPropertyInsertAttribute class has been defined + The PropertyRemover has been added to the StdMapReflector + The _briefHelp and _detailedHelp variable has been added in PropertyInfo, MethodInfo and ContructorInfo class -2006-08-10 11:08 robert - * Added write ppn support, use -O ascii to select ascii ppn output, - otherwise binary - is chosen. - - Fixed crash when erroneous pnm files were read. - - Added -O flip option. -2006-08-10 08:45 robert - * From Daniel Larimer, "Apple updated their developer tools again - and broke the __isnanf and - __isnand methods... replacing them with a call to isnan(v) seems - to - work on both Xcode 2.3 and 2.4" -2006-08-10 06:43 robert - * Addd a setNodeMaskOverride(0xffffffff) to cope with models that - are hiding - subgraphs that still need to be accounted for when optimizer. + modification: -2006-08-10 06:20 robert + I have modify the genwrapper files + Configuration.cpp Configuration.h add some tokens to custumize the property + Doxyfile.template add the comment in the output xml + genwrapper.conf customize some property in osg::Geometry + RegistryBuilder.h RegistryBuilder.cpp add the process_help function (to extract help from xml) + TypeRegister.cpp TypeRegister.h optimize the property detection + TypeDesc.h TypeDesc.cpp modify FunctionDesc and PropertyDesc + WrapperGenerator.h WrapperGenerator.cpp modify the output - * Commented out the _textBB contribution of outline/backdrops to - fix bounding box problem. -2006-08-09 13:02 robert - * Removed referecens to the deprecate UByte4 -2006-08-09 12:56 robert + I also modify the fallowing osgIntrospection files: - * Added Vec4ub and removed UByte4 + include/osgIntrospection/Attributes add the PropertyInserter and the CustomPropertyInsertAttribute class + include/osgIntrospection/ConstructorInfo add the _briefHelp and _detailedHelp variable in the ConstructorInfo class + add access function for the two new variables (_briefHelp and _detailedHelp) + modify the constructor to define the two new variables (_briefHelp and _detailedHelp) + include/osgIntrospection/MethodInfo add the _briefHelp and _detailedHelp variable in the MethodInfo class + add access function for the two new variables (_briefHelp and _detailedHelp) + modify the constructor to define the two new variables (_briefHelp and _detailedHelp) + include/osgIntrospection/PropertyInfo add the _briefHelp and _detailedHelp variable in the PropertyInfo class + add access function for the two new variables (_briefHelp and _detailedHelp) + modify the constructor to define the two new variables (_briefHelp and _detailedHelp) + include/osgIntrospection/ReflectionMacro remove unused I_Property* macro + modify all I_Method macro to accept the help string + modify all I_Method macro to define a MethodInfo signature + include/osgIntrospection/Reflector add the PropertyInserter in StdVectorReflector and StdListReflector + add the PropertyRemover in the StdMapReflector + include/osgIntrospection/StaticMethodInfo modify all StaticMethodInfo* to accept the help in parameter + include/osgIntrospection/TypedMethodInfo modify all TypedMethodInfo* to accept the help in parameter + include/osgIntrospection/TypedConstructorInfo modify all TypedConstructorInfo* to accept the help in parameter + include/osgIntrospection/Type add the _briefHelp and _detailedHelp variable in the Type class -2006-08-09 10:09 robert +" - * Added nan dectecion and error reporting -2006-08-08 16:08 robert - * Added TESSELATE_GEOMETRY to Optimizer pass to fix z fighting - issues. +Tue, 17 Oct 2006 12:29:07 +0000 +Checked in by : Robert OSFIELD +Changed name osg osgshadow example.dsp to avoid MS conflicts -2006-08-08 14:57 robert +Tue, 17 Oct 2006 11:28:34 +0000 +Checked in by : Robert OSFIELD +Added osgshadow example - * Added extra defined(CPU_SET) to try and get round RH8 compile - problems. +Sun, 15 Oct 2006 11:56:52 +0000 +Checked in by : Robert OSFIELD +Ported FLTK example across to using GraphicsWindow -2006-08-08 11:59 robert +Sun, 15 Oct 2006 11:39:35 +0000 +Checked in by : Robert OSFIELD +Ported across to using GraphicsWindow. - * Fixed backColor implementation for LightPointAppearancePalette. +Sat, 14 Oct 2006 21:50:29 +0000 +Checked in by : Robert OSFIELD +From Chuck Seberion, added support reading ARB float format textures. -2006-08-08 11:27 robert +Sat, 14 Oct 2006 21:47:13 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, mplemented POINT_ROT_EYE. - * Added support for --affinity command line option for switch on - procesor affinity where supported, +Sat, 14 Oct 2006 10:16:00 +0000 +Checked in by : Robert OSFIELD +From Paul de Repentigny, fix for dvide by zero crash under windows when toggle full screen in ogviewer. From Robert Osfield, tweak to the fix to add comment describing the extra check, and addition of check against width, and change to ==0 rather than <= 0. -2006-08-08 11:26 robert +Sat, 14 Oct 2006 10:07:21 +0000 +Checked in by : Robert OSFIELD +Fixed texture coordinates of cylinder ends. - * First pass at updating NEWS for the up comming 1.1.1 release +Fri, 13 Oct 2006 14:00:08 +0000 +Checked in by : Robert OSFIELD +Added -losgDB to fix OSX build -2006-08-08 11:23 robert +Sat, 7 Oct 2006 11:57:28 +0000 +Checked in by : Robert OSFIELD +Added dae (COLLADA) plugin to OpenSceneGraph.dsw workspace. - * From Paul Martz, "This change causes the new OpenFlight plugin to - behave as the - old plugin by returning the database origin latitude/longitude - (extracted - from the header record) as userData of the top-level scene graph - node." +Sat, 7 Oct 2006 11:53:07 +0000 +Checked in by : Robert OSFIELD +Added project files for the osgsimpleviewerFLTK,GLUT,Producer,QT3,QT4 and SDL examples -2006-08-08 10:41 robert +Fri, 6 Oct 2006 14:46:50 +0000 +Checked in by : Robert OSFIELD +Fixed OSGSHADOW_LIBRARY define - * Fixed the positioning of the graphical stats bars so that they - don't overlap - the stats text +Fri, 6 Oct 2006 14:45:18 +0000 +Checked in by : Robert OSFIELD +Fixed library name -2006-08-06 16:49 robert +Fri, 6 Oct 2006 14:16:11 +0000 +Checked in by : Robert OSFIELD +First cut at class interfaces and stubs for implementations for the new osgShadow NodeKit - * Added preliminary support for process affinity support under - Linux. +Fri, 6 Oct 2006 13:04:48 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "Here's a patch discussed in the thread "OpenFlight Loader Discarding Material" on the osg-user mailing list." -2006-08-06 16:42 robert +Fri, 6 Oct 2006 11:02:34 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Removed debugging code. +Fri, 6 Oct 2006 09:54:45 +0000 +Checked in by : Robert OSFIELD +Removed osgGA::GUIEventHandlerVisitor and osgGA::SetSceneVistor classes/headers as this classes weren't being actively used the distribution, effectively being noops. -2006-08-05 20:39 robert +Fri, 6 Oct 2006 06:58:04 +0000 +Checked in by : Robert OSFIELD +Added workaround for NVidia driver bug into SceneView::init() to prevent the extensions string being initialized within a display list. - * Added fix to code catching error results ReadResult's to first - instance of checking the - value of ReadResult. +Thu, 5 Oct 2006 14:32:39 +0000 +Checked in by : Robert OSFIELD +Removed deprecated GUIEventHandler method -2006-08-05 20:36 robert +Thu, 5 Oct 2006 10:59:50 +0000 +Checked in by : Robert OSFIELD +Renamed variable - * From Jeremy Moles, refactored by Robert Osfield. - - Fixed bug osgDB::Registry::Registry::read(const ReadFunctor& - readFunctor) relating to - the handling of failed loads with the ReadResult::_message value - being lost, this changes - ensure that the original ReadResult from the plugin, with message - intact, is returned correctly. +Thu, 5 Oct 2006 10:59:04 +0000 +Checked in by : Robert OSFIELD +Refactored osgsimpleviewerQT4 to implement a GraphicsWindowQT, and then use multiple inheritance to build the final SimpleViewerQT. -2006-08-05 16:57 robert +Thu, 5 Oct 2006 10:07:16 +0000 +Checked in by : Robert OSFIELD +Added a path with an experiemental GraphicsContexProducer implementation, and a test of mulitple inheritance. - * Added code to reproduce Text outline bounding box compute bug. +Thu, 5 Oct 2006 10:06:19 +0000 +Checked in by : Robert OSFIELD +Added osgGA::GraphicsWindow base class that derives from osg::GraphicsContext but adds default overrides its pure virtue methods, and an EventQueue. -2006-08-05 11:12 robert +Wed, 4 Oct 2006 09:11:37 +0000 +Checked in by : Robert OSFIELD +Added osgGA depedency. - * Added disable vertex arrays. +Tue, 3 Oct 2006 20:42:57 +0000 +Checked in by : Robert OSFIELD +Removed the redundent relaseGLObjects() method declerations -2006-08-05 10:16 robert +Tue, 3 Oct 2006 20:20:23 +0000 +Checked in by : Robert OSFIELD +From John Aughey, "Attached is the Optimizer.cpp file that has the fix to duplicate vertex and normal arrays if there is more than one reference to the data. This fixes the problem where the transforms are applied to the same vertex array multiple times if that vertex array is re-used within the model. " - * Added osgcegui example +Tue, 3 Oct 2006 19:55:24 +0000 +Checked in by : Robert OSFIELD +From John Aughey, "The id name of nodes are not being set in the daeReader::processNode method. The names are retained in most of the other osg::Nodes that are created. In this case, I have an external modeler creating models, and the name of component nodes are used to give that subtree different characteristics." -2006-08-04 13:17 robert +Tue, 3 Oct 2006 12:46:11 +0000 +Checked in by : Robert OSFIELD +Added osgDB to dependency of osgGA - * From Uwe Woessner, implementated by Robert Osfield, Fixed vertex - attribute bug, changed _vertexAttribList[unit] -> - _vertexAttribList[index] +Tue, 3 Oct 2006 11:14:34 +0000 +Checked in by : Robert OSFIELD +Fixed bug related to clean up of text fonts. -2006-08-03 19:14 robert +Tue, 3 Oct 2006 09:55:28 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "This submission adds multitexture support for detecting translucent images used to enable alpha blending.Mesh was syncronized with featureset from Face record." - * Added if search for the current databaseRequest in the - _fileRequestList to handle - cases when the request is moved back in the list, or when the - _fileRequestList is cleared - by an asyncronous call to DatabasePager::clear(). -2006-08-03 16:04 robert - * Updated wrappers +Tue, 3 Oct 2006 09:39:03 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "I think some nitpicking is required. The loop duration was added in OpenFlight version 15.8. With the attached changes the flasher unit on the spinnercar and the character_anim model from the Creator gallery behaves." -2006-08-03 15:57 robert +Mon, 2 Oct 2006 15:59:43 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "I've included render bin checks in the StateSet::compare function, because without them the Optimizer can incorrectly eliminate (otherwise identical) StateSets from different render bins." - * Fixed RenderToTexture bug which occured when the viewport - dimensions where - different than the texture being written to. +Mon, 2 Oct 2006 15:38:31 +0000 +Checked in by : Robert OSFIELD +Added releaseGLObjects to NodeCallbacks, Drawable::DrawCallbacks and wired up osgProducer to use it when doing cleanup_frame. -2006-08-03 14:03 robert +Mon, 2 Oct 2006 15:09:49 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, Bug fix for sequence node direction, It examines the number of children in the Group record destructor, so that the total duration of the sequence matches the specified loopDuration field. - * Removed debug code +Mon, 2 Oct 2006 14:11:40 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "Here is the patch we discussed previously about adding a flag to CullSettings which allows CameraNode to inherit the clear color." -2006-08-03 13:35 robert +Mon, 2 Oct 2006 13:40:58 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "The ColorControl of osg::LightModel is never applied because it incorrectly checks for a valid OpenGL version. Instead of checking if the current version is exactly 1.2, it will check if the version is greater than 1.2." - * Changed: - - static TextureGLModeSet s_textureGLModeSet; - - To: - - static TextureGLModeSet& getTextureGLModeSet() - { - static TextureGLModeSet s_textureGLModeSet; - return s_textureGLModeSet; - } - - to prevent static initialization problems under static builds. +Mon, 2 Oct 2006 13:24:39 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, "Attached is a fix for loading the same file multiple times with the COLLADA plugin. dae->load will not return DAE_OK the second time a model is loaded, so a second check for DAE_ERR_COLLECTION_ALREADY_EXISTS has been added." -2006-08-03 13:12 robert +Mon, 2 Oct 2006 13:11:32 +0000 +Checked in by : Robert OSFIELD +From Edgar Ellis, "Changed return type of osg::equivalent methods from float/double to bool. " - * Added OSG_TEXT_INCREMENTAL_SUBLOADING ON/OFF env var check to - osgText::Font - to optional disable the incremental subloading. +Mon, 2 Oct 2006 13:07:50 +0000 +Checked in by : Robert OSFIELD +From Andreas Ekstrand, "Attached is a small bug fix in the DW plugin. The texture application matrix is read into a double matrix called mx, it was declared as 3x2, it's now fixed to 3x3." -2006-08-02 21:09 robert +Mon, 2 Oct 2006 11:47:55 +0000 +Checked in by : Robert OSFIELD +Added SERIALIZER to ReaderWriterDAE to make sure initialization is thread safe. - * Updated wrappers +Mon, 2 Oct 2006 11:38:25 +0000 +Checked in by : Robert OSFIELD +From Andreas Ekstrand, "Attached is a modified ReaderWriterDAE.cpp which creates the one and only DAE instance when it's first needed instead of in the constructor. This fixes the problem with osgdb_dae.dll not being loaded due to unwanted ordering of global initialization.This fix and the previous fix of the COLLADA plugin might be unnecessary +with the latest COLLADA DOM, but since many of us will probably still +use the older version of the DOM, I guess it's better this way. +" -2006-08-02 21:05 robert - * Reworked the state management within osgText::Text and - osgText::Font so that it - only applies textures locally rather than whole StateSet. -2006-08-02 21:04 robert +Mon, 2 Oct 2006 11:34:45 +0000 +Checked in by : Robert OSFIELD +From Andreas Ekstrand, "It seems my changes to ESRIShape.dsp (to create an osgdb_shp.dll rather than an osgdb_ESRI.dll) were overwritten by later commits to this file. Here are the changes again, made from the latest version of ESRIShape.dsp." - * Added missing include +Mon, 2 Oct 2006 11:26:43 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "There was a bug in ParticleSystem where the bounds is not properly flagged as computed when there is only 1 particle. Attached is the fix." -2006-08-02 19:56 robert +Sun, 1 Oct 2006 19:19:31 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, "These changes break out the implementation of the fill/wireframe/point, texture, lighting and backface culling settings from the event handling code in StatesetManipulator into public methods. The event handler now calls the public methods. This allows user code to invoke this same functionality from non-keyboard event inputs without clashing with the keyboard-invoked functionality."From Robert Osfield, tweaks to the above to kepp the coding style the same as the rest of the OSG, also +made getPolygonMode() const, and updated the wrappers. - * tweaked comment. -2006-08-02 19:55 robert - * Added viewer.cleanup_frame() to all examples. +Sun, 1 Oct 2006 19:09:00 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "I have added "billboardCenter" as a reader option to use the center of a billboard as the pivot point." -2006-08-02 16:14 robert +Sun, 1 Oct 2006 19:00:39 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "I have corrected a byte swapping problem in the new OpenFlight plugin. It was only reading floats & doubles correctly on little endian systems, which require byte swapping, and not on big endian systems which don't require any swapping." - * Moved extension function pointer initilization into a method, and - the pointers from - being static to be local member variables. This should avoid - issues under Windows - with multiple graphics contexts have seperate entry points. +Sun, 1 Oct 2006 16:14:16 +0000 +Checked in by : Robert OSFIELD +Added GLUT based osgsimpleviewerGLUT example -2006-08-02 16:12 robert +Sun, 1 Oct 2006 16:12:21 +0000 +Checked in by : Robert OSFIELD +Added Producer based osgsimplerviewerProducer example - * Added cleanup_frame to prevent crashes on exit. +Sun, 1 Oct 2006 16:10:33 +0000 +Checked in by : Robert OSFIELD +Added FLTK example app - osgsimpleviewerFLTK. -2006-08-02 15:41 robert +Sun, 1 Oct 2006 13:26:02 +0000 +Checked in by : Robert OSFIELD +Added osgsimpleviewerQT4 example - * Reworked the TextureObjectManager singleton so that it no longer - reconstructed itself once deleted, and added checks to against a - null manager to prevent calling code crashing. +Sun, 1 Oct 2006 11:08:40 +0000 +Checked in by : Robert OSFIELD +Refactored the SDL example so that the event conversion in done is a seperate method. -2006-08-02 11:36 robert +Sat, 30 Sep 2006 20:06:26 +0000 +Checked in by : Robert OSFIELD +Added a based SDL viewer - osgsimpleviewerSDL - * Fixed crash due on multipipe systems due by moving the local - camera update code from the cull into the update traversal. +Sat, 30 Sep 2006 20:05:56 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-08-02 10:43 robert +Sat, 30 Sep 2006 20:05:36 +0000 +Checked in by : Robert OSFIELD +Cleaned up build and indenting - * From Daniel Trstenjak, build fixes for Hpux 11.11, Irix 6.5, - Solaris 8 and Aix +Sat, 30 Sep 2006 16:30:31 +0000 +Checked in by : Robert OSFIELD +Various clean ups to comments -2006-08-01 13:08 robert +Sat, 30 Sep 2006 16:29:08 +0000 +Checked in by : Robert OSFIELD +Added SimpleViewer - * Fixed doubleButtonPress. +Sat, 30 Sep 2006 16:26:53 +0000 +Checked in by : Robert OSFIELD +Added osgsimpleviewerQT3 example -2006-08-01 10:27 robert +Sat, 30 Sep 2006 14:12:36 +0000 +Checked in by : Robert OSFIELD +Moved osgGLUTsimple and osgGLUTkeyboardmouse across to using osgGA::SimpleViewer - * Changed the viewer.setUpViewer(..) from default to just - ESCAPE_SETS_DONE. +Sat, 30 Sep 2006 14:10:15 +0000 +Checked in by : Robert OSFIELD +Added subclassing from osg::Referenced to allow the SimpleViewer to be safely managed on the heap. -2006-07-31 20:56 robert +Sat, 30 Sep 2006 13:41:01 +0000 +Checked in by : Robert OSFIELD +Added check to init to prevent crash when no camera manipulator is supplied. - * From Jason Beverage, - "I've attached fixes to DataSet that should fix the problems that - Maya was seeing yesterday. The issue was that the new - interpolation code I submitted didn't use the SourceData's - georef, it was assuming that the GDALDataSet had a proper - geo-ref. I've made the getInterpolatedValue method a member of - SourceData and now it uses the georef the SourceData's georef. - - I also forward declared the GDALRasterBand class in the DataSet - header." +Fri, 29 Sep 2006 21:44:31 +0000 +Checked in by : Robert OSFIELD +Added false to setWindowRectangle() call as the InputRange is already set correctly. -2006-07-31 17:31 robert +Fri, 29 Sep 2006 18:47:20 +0000 +Checked in by : Robert OSFIELD +Added preliminary DatabasePager support. - * Added Matrix*::getRotate()/setRotate(Quat), deprecating - Matrix*::get(Quat&), Matrix*::set(Quat&) +Mon, 25 Sep 2006 16:25:53 +0000 +Checked in by : Robert OSFIELD +Added bare bones osgGA::SimpleViewer class to help simplify OSG setup when embedding the OSG into existing GUI applications, and for one one a single camera, single window is required. -2006-07-31 14:49 robert +Thu, 21 Sep 2006 15:09:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Tweaked the invert() method to avoid silly OSX warnings. +Thu, 21 Sep 2006 11:26:18 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updated to Xcode projects -2006-07-29 16:47 robert +Thu, 21 Sep 2006 10:38:06 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I made a small modification to the CullVisitor class so that it uses the inheritance mask of CameraNodes with respect to the compute near/far mode." - * Fixed multi-threaded/multi-pipe crash when primitive stats where - output in osgProducer::Viewer's stats. +Thu, 21 Sep 2006 10:01:27 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, added function for querring whether a mode is a texture related mode or not. -2006-07-28 13:48 robert +Thu, 21 Sep 2006 09:50:10 +0000 +Checked in by : Robert OSFIELD +From Loic Dachary, renamed _mips to of_mips to prevent compile problem under MIIPS - * Updated osgunittests with a matrix invert unit test, and added a - conditional - calling of invert_4x4 or invert_4x3 depending on the the right - hand column of the matrix. - - Updated wrappers +Thu, 21 Sep 2006 09:24:10 +0000 +Checked in by : Robert OSFIELD +Rationalized on the number of libs required. -2006-07-27 16:41 robert +Thu, 21 Sep 2006 08:56:19 +0000 +Checked in by : Robert OSFIELD +Removed use osg OSG_LIBS, changing to just -losg and -losgDB. - * From Jason Beverage, "This patch should fix Gert's problem that - he posted on osg-users. I downloaded the sample he posted, - reproduced the error, and added an additional check to make sure - the GDAL window size was valid. Now his example works fine. - Changes made against current CVS. - " +Wed, 20 Sep 2006 15:48:27 +0000 +Checked in by : Robert OSFIELD +Updated positions of the text labels to make them move obvious on start up -2006-07-27 15:23 robert +Wed, 20 Sep 2006 13:41:33 +0000 +Checked in by : Robert OSFIELD +Added missining initialization of _radius in constructors - * From David Spilling, "Matrix_implementation.cpp modified as - requested. I ran a version of it through a local version of - osgunittests.cpp and it passes. - - Note that firstly it always returns the positive real quaternion - (positive w) - - Note also that it will sometimes slightly differ from the results - of the other methods because it assumes that the input matrix - really is a rotation matrix - if it isn't, e.g. because of - rounding error, then the output quaternion will be very slightly - different. For example, the test matrix - - 0 1 0 0 - 1 0 0 0 - 0 0 0.999999 0 - 0 0 0 1 - - will return 0.707107 0.707107 0.0005033 0.0005033 - - whereas the previous methods return 0.707107 0.707107 0.0 0.0 - - However, since quaternions are rotations, the meaning of how to - convert a matrix that isn't a rotation is a little unclear..." +Wed, 20 Sep 2006 13:40:58 +0000 +Checked in by : Robert OSFIELD +Added use of ClusterCullingCallback -2006-07-27 12:32 robert +Wed, 20 Sep 2006 12:58:34 +0000 +Checked in by : Robert OSFIELD +Created stress test of fade text labelling - * From Michael Polak, double click fixes/additions +Wed, 20 Sep 2006 10:36:21 +0000 +Checked in by : Robert OSFIELD +Updates for fade text to work properly, but only in perspetive views at present. -2006-07-27 11:58 robert +Tue, 19 Sep 2006 22:57:23 +0000 +Checked in by : Robert OSFIELD +Further work on fade text. - * From Eric Wing, add outline to help text to make it easier to - read on different coloured backgrounds +Tue, 19 Sep 2006 20:19:29 +0000 +Checked in by : Robert OSFIELD +Further work on osgText::FadeText implementation. -2006-07-27 11:25 robert +Tue, 19 Sep 2006 13:54:04 +0000 +Checked in by : Robert OSFIELD +Fixed reading/writing of non C string osg::Text::String's. - * Remove ERSIShape directory. +Mon, 18 Sep 2006 21:03:23 +0000 +Checked in by : Robert OSFIELD +Added osgfadetext example to VS projects -2006-07-27 11:22 robert +Mon, 18 Sep 2006 20:54:48 +0000 +Checked in by : Robert OSFIELD +Introduced new osg::View, and osg::RenderInfo classes into the core OSG to help handle scenes with multiple views with elements that need coordinating on a per view basis.Added beginings of new osgText::FadeText class (not functionality yet). - * From Andreas Ekstrand, "The ESRIShape plugin needs to produce a - osgdb_shp.dll rather than a - osgdb_ESRI.dll in Windows in order to find the correct library - when - loading shp files. A new dsp file is attached to this mail. Also, - the - ERSIShape folder should be deleted." -2006-07-27 11:22 robert - * Added #define snprintf _snprintf for Win32 build +Fri, 15 Sep 2006 13:11:00 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, "I've fixed the dae plugin so it is only using one instance of the DAE. The crashes seen earlier are gone, it is now possible to read multiple .dae files and converting both to and from .dae files." -2006-07-27 11:14 robert +Fri, 15 Sep 2006 10:21:24 +0000 +Checked in by : Robert OSFIELD +Added a _threadHoldingMutex = 0; to ReentrantMutex::unlock() to avoid a potential bug with the mutex being aquired by two threads. - * From David Spilling, fix to Matrix::get(Quat&) +Wed, 13 Sep 2006 16:38:17 +0000 +Checked in by : Robert OSFIELD +Returning revion number to 0 to signify CVS version -2006-07-27 11:13 robert +Wed, 13 Sep 2006 14:55:53 +0000 +Checked in by : Robert OSFIELD +Added extra comment explaining where state reset() should be called. - * From J.P. Delport, added units tests to pick up on erroneous - Matrix::get(Quat&) computation. +Wed, 13 Sep 2006 14:00:19 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updates to OSX build notes. -2006-07-26 15:29 robert +Wed, 13 Sep 2006 13:50:38 +0000 +Checked in by : Robert OSFIELD +Fixed GPU stats display bug. - * Cleaned up per context buffers support +Wed, 13 Sep 2006 13:33:36 +0000 +Checked in by : Robert OSFIELD +Correct HP's AIX to IBM's AIX. -2006-07-26 15:19 robert +Tue, 12 Sep 2006 19:15:04 +0000 +Checked in by : Robert OSFIELD +Updated version for 1.2 release - * Added osgprecipitation to runexamples list. +Tue, 12 Sep 2006 19:09:59 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 1.2 release -2006-07-25 20:43 robert +Tue, 12 Sep 2006 15:21:41 +0000 +Checked in by : Robert OSFIELD +Fixed the drawArrays() method checking of _drawArrayPtr - * Force SingelThreaded usage due to use of osgParticle. +Tue, 12 Sep 2006 12:35:20 +0000 +Checked in by : Robert OSFIELD +Added a check for zero length line segment in bool LineSegment::intersect(const BoundingSphere& bs,float& r1,float& r2) const. -2006-07-25 13:52 robert +Tue, 12 Sep 2006 10:52:32 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog fro 1.2 release - * Fixed auto rotate bug. +Tue, 12 Sep 2006 10:46:59 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for 1.2 release -2006-07-19 21:49 robert +Tue, 12 Sep 2006 09:28:00 +0000 +Checked in by : Robert OSFIELD +Updated NEWS for 1.2 release - * Set release number back to 0 after release +Tue, 12 Sep 2006 09:26:42 +0000 +Checked in by : Robert OSFIELD +Revised the osg::ClampColor API to allow vertex, fragment and read color clamping to be applied together. -2006-07-19 21:11 robert +Fri, 8 Sep 2006 20:08:01 +0000 +Checked in by : Robert OSFIELD +From Bryan Thrall, fix to Optimizer::MergeGeometryVisitor so that it checks the permissable operation status on Drawables. - * Updated ChangedLog and READE for the 1.1 release +Fri, 8 Sep 2006 14:31:50 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for 1.2 release -2006-07-19 20:56 robert +Fri, 8 Sep 2006 13:24:03 +0000 +Checked in by : Robert OSFIELD +Cleaned up NEWS for 1.2 release - * For cases where the RenderBin has its own StateSet do a - popAllStateSets() - to ensure that the state is completely ready for the RenderBin's - StateSet to be at the bottom. +Fri, 8 Sep 2006 10:46:05 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updated to Xcode projects -2006-07-19 19:49 robert +Fri, 8 Sep 2006 10:07:41 +0000 +Checked in by : Robert OSFIELD +Added link to website for build docs. - * UPdated wrappers +Fri, 8 Sep 2006 10:07:04 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, perl script to help remain project files for dumb VisualStudio 6.0 limitations. -2006-07-19 19:45 robert +Thu, 7 Sep 2006 10:41:38 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added missing export to fix osgTerrain wrapper linking under VS - * Fixed error in enum, completely perplexed how the error got in... +Wed, 6 Sep 2006 20:11:02 +0000 +Checked in by : Robert OSFIELD +Updated osgTerrain wrapper project file with gdal dependencies. -2006-07-19 17:39 don +Wed, 6 Sep 2006 14:10:13 +0000 +Checked in by : Robert OSFIELD +Tweak to NEWS - * Fixed HEIGHEST misspelling to HIGHEST +Wed, 6 Sep 2006 13:53:48 +0000 +Checked in by : Robert OSFIELD +Made get methods const -2006-07-19 15:20 robert +Wed, 6 Sep 2006 09:46:32 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "The previous submission didn't handle Objects with transforms. The attached file corrects this.I also removed the multitexture macro for the Object record. Only +Face and Mesh records are valid targets." - * Reverted to LODScale keyboard adjustment -2006-07-19 15:10 robert - * Warning fixes +Tue, 5 Sep 2006 20:18:21 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updates to Xcode projects -2006-07-19 15:07 robert +Tue, 5 Sep 2006 17:15:58 +0000 +Checked in by : Robert OSFIELD +Removed reference to Sony in COLLADA news entry. - * Warning fix +Tue, 5 Sep 2006 15:22:54 +0000 +Checked in by : Robert OSFIELD +Updated NEWS, AUTHORS file and osgversion for the 1.2-rc1 -2006-07-19 14:46 robert +Tue, 5 Sep 2006 15:09:14 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Added extra initializes +Tue, 5 Sep 2006 09:51:33 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, build fixes for Windows. -2006-07-19 14:30 robert +Tue, 5 Sep 2006 09:13:19 +0000 +Checked in by : Robert OSFIELD +Updated to compile against changes to osgTerrain - * Added dummy initializers to avoid warning +Tue, 5 Sep 2006 08:56:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-07-19 14:04 robert +Tue, 5 Sep 2006 08:46:34 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, warning fixes for Cygwin. - * Added reset of the event windowSize +Tue, 5 Sep 2006 08:44:51 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "I have added an optimization to the OpenFlight plugin. By default it ignores the Object records if it's safe to do so. The reader option preserveObject prevents this optimization.I have also removed the flat shading attribute set by the Object +record. This flag is only intended for the "Calculate Shading" +operation in Creator." -2006-07-19 13:02 robert - * Added mutexes to RealizeCallbaks -2006-07-19 12:58 robert +Mon, 4 Sep 2006 20:43:07 +0000 +Checked in by : Robert OSFIELD +Added support for imagery and DEM's that wrap around the dateline, this required two passes over the copying of imagery and DEM's to the destination graphs, once for the original position, and once for the wrap around 360 degrees on or before.Also fixed the GeospationExtents constructor that was setting the _max to DBL_MIN rather +than -DBL_MAX. This bug causesd the y axis to be computed incorrectly. - * Added scene handler init to custom realize callback -2006-07-19 12:35 robert - * Moved sync to before the keyboard mouse startThread to try to - avoid some - threading issue on start up of some apps. +Mon, 4 Sep 2006 13:35:26 +0000 +Checked in by : Robert OSFIELD +Missing part of Farshid Laskari's submission relating to CameraNode RenderOrder. -2006-07-19 11:25 robert +Mon, 4 Sep 2006 13:22:51 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Fixed handling of back colour. +Mon, 4 Sep 2006 13:15:08 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari,"I've made some changes to osg which I think make it easier to control +the render order of CameraNode's. Instead of using the built-in orders +(PRE_RENDER, POST_RENDER, NESTED_RENDER), you can specify an integer +order. Values less than zero are pre rendered in order. Values greater +than zero are post rendered in order. And a value of 0 is equivalent +to NESTED_RENDER. -2006-07-19 08:39 robert +The changes should be fully backward compatible. Also, I changed the +RenderStageList type from a vector to a list because I needed to be +able to insert values anywhere in the list. - * Changed code creating LightPoint on heap to use the stack. +The reason I made these changes was because I wanted to be able to set +the render order of a CameraNode at runtime without having to reorder +it in the scenegraph." -2006-07-18 21:00 robert +and later in the final submission message (relating to what has been finally been merged) : - * Updated ChangeLog for rc3. +"I've rethought my implementation and came up with something a little +better. The setRenderOrder will continue to take an enum, but will +have an optional orderNum parameter which can be both positive and +negative. I think this method is more intuitive and flexible." -2006-07-18 20:59 robert - * Add clause to clean up AUTHORS.txt -2006-07-18 20:53 robert +Mon, 4 Sep 2006 12:52:09 +0000 +Checked in by : Robert OSFIELD +Cleaned up the texture setup code. - * Updated wrappers +Mon, 4 Sep 2006 12:46:49 +0000 +Checked in by : Robert OSFIELD +Added osg::TexMat::s/getScaleByTextureRectangleSize feature that allows one to use the osg::TexMat to automatically scale non dimensional tex coordinats to the size of the last texture rectangle applied. -2006-07-18 20:51 robert +Mon, 4 Sep 2006 06:51:07 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, removed debug message being written to the console. - * Updated wrappers +Mon, 4 Sep 2006 06:47:05 +0000 +Checked in by : Robert OSFIELD +Removed typedef TypeList from osgintrospection -2006-07-18 20:17 robert +Sat, 2 Sep 2006 14:27:42 +0000 +Checked in by : Robert OSFIELD +Added setting of position.w to 1.0 and removed zscale hack. - * Moved the moveToRootStateGraph(,) from - RenderStage::drawImplemenation() to - RenderBin::drawImplementation(); +Fri, 1 Sep 2006 13:34:05 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-07-18 19:26 robert +Fri, 1 Sep 2006 13:22:37 +0000 +Checked in by : Robert OSFIELD +From David Callu, add reflection of std::wstring in the DefaultReflector - * From Eric Wing, fix for VC6 support +Fri, 1 Sep 2006 12:52:15 +0000 +Checked in by : Robert OSFIELD +From David Callu, "bug fix to reflect the wchar_t in Value and Value.cpp I add the toWString() function. in Type and Type.cpp I just add two function to get a map of propertyList and a map of methodList i need this map in my editor a i think it's could be util to put this functionnality in osgIntrospection, -2006-07-18 15:21 robert +Fri, 1 Sep 2006 12:46:45 +0000 +Checked in by : Robert OSFIELD +Removed the String inhertiance from osg::Referenced. - * Updated copyright years. +Thu, 31 Aug 2006 20:55:46 +0000 +Checked in by : Robert OSFIELD +Updated Version number for 1.2 release -2006-07-18 15:11 robert +Thu, 31 Aug 2006 20:54:28 +0000 +Checked in by : Robert OSFIELD +Updated version numbers of the up comming 1.2 release - * Added additional command line docs +Thu, 31 Aug 2006 20:48:49 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, "Attached is a change for GLExtensions.cpp that allows OS X to use dlopen/dlsym instead of NS*Symbol* functions for 10.3 or later. The latter is now deprecated.I'm not completely sure how to test the changes. But I compiled these +new changes in and ran the osgvertexprogram and osgshaders examples +and they seemed to display the same results as before. -2006-07-18 13:37 robert +With respect to the use of dlopen and dlsym, I was uncertain if the +usage should look like Sun or FreeBSD (or something else). Apple's man +pages discourage the use of RTLD_DEFAULT so I avoided the FreeBSD +implementation and copied the Sun implementation. I'm not sure if this +is correct/ideal or not." - * Updated commandline docs -2006-07-18 13:24 robert - * Updated version for the release +Thu, 31 Aug 2006 20:26:56 +0000 +Checked in by : Robert OSFIELD +Updated NEWS for 1.2 release and added COLLADA plugin -2006-07-18 13:17 robert +Thu, 31 Aug 2006 15:47:47 +0000 +Checked in by : Robert OSFIELD +Fixed typo on OSG_PROCESSOR_AFFINITY env var. - * Updated ChangeLog and authors file. +Thu, 31 Aug 2006 15:39:23 +0000 +Checked in by : Robert OSFIELD +Fixed TextureAtlasVisitor bug where repeating textures were incorrectly assigned as non repeating. -2006-07-18 13:05 robert +Thu, 31 Aug 2006 13:53:38 +0000 +Checked in by : Robert OSFIELD +Changed the external file writing to use the DatabasePathList for its path rather than the original files path. - * From Farshid Lashakari, fixed popStateSet. +Thu, 31 Aug 2006 10:37:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-07-18 13:04 robert +Thu, 31 Aug 2006 10:10:42 +0000 +Checked in by : Robert OSFIELD +Made the inheritance of osg::Object in the DrawCallback to be virtual. - * Reduced the verbosity of debug info. +Thu, 31 Aug 2006 10:08:05 +0000 +Checked in by : Robert OSFIELD +Added support for CameraNode's PostDrawCallback. -2006-07-18 12:48 robert +Wed, 30 Aug 2006 19:33:13 +0000 +Checked in by : Robert OSFIELD +Added GPU stats to NEWS list - * Updated wrappers +Wed, 30 Aug 2006 19:21:07 +0000 +Checked in by : Robert OSFIELD +Updated NEWS for rc2 -2006-07-18 12:24 robert +Wed, 30 Aug 2006 16:33:30 +0000 +Checked in by : Robert OSFIELD +To TextureAtlasBuilder add copying of border pixels into margins to help improve quality of lower mipmap levels. - * From Eric Wing, add alternate backdrop implementations. - - From Robert Osfield, updated naming and copy constructor methods. +Wed, 30 Aug 2006 13:50:26 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, changed release build options to reduce binary bloat. -2006-07-18 11:42 robert +Wed, 30 Aug 2006 09:32:05 +0000 +Checked in by : Robert OSFIELD +In TextureAtlasVisitor code added catch for textures that have some geometry with texcoords within 0 to 1.0, but others others out of the 0 to 1 range, these textures are automatically rejected from consideration for adding to a texture atlas. - * Updated wrappers +Tue, 29 Aug 2006 15:05:05 +0000 +Checked in by : Robert OSFIELD +To the TextureAtlasBuilder added detection of instance where a single drawable has multiple textures on the same texture unit inherited down to it from above. -2006-07-18 11:03 robert +Tue, 29 Aug 2006 12:31:07 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added Optimizer::FlattenBillboardsVisitor. +Tue, 29 Aug 2006 11:25:29 +0000 +Checked in by : Robert OSFIELD +Added GPU stats -2006-07-17 16:36 robert +Tue, 29 Aug 2006 06:58:22 +0000 +Checked in by : Robert OSFIELD +Added TexMat(Matrix) constructor. - * From Terrex, improvements to handling of layers w.r.t - PolygonOffset +Tue, 29 Aug 2006 00:10:43 +0000 +Checked in by : Don BURNS +Fixed a crash in removeInternalTriangles() for models without normals. -2006-07-17 13:16 robert +Mon, 28 Aug 2006 19:37:40 +0000 +Checked in by : Robert OSFIELD +Added TexEnv object into Font and apply this in Text::drawImplementation to make sure that a valid TexEnv is applied - * Removed the usage of setenv to avoid portability issues. +Mon, 28 Aug 2006 19:07:30 +0000 +Checked in by : Robert OSFIELD +From Roger James, improved mapping of AC3D lighting model to OSG -2006-07-17 11:43 robert +Mon, 28 Aug 2006 19:06:33 +0000 +Checked in by : Robert OSFIELD +Added support for logging StateSet usage in StatsVisitor. - * Change Unit to Units to keep consistent with OpenGL naming. +Mon, 28 Aug 2006 19:05:40 +0000 +Checked in by : Robert OSFIELD +Added env var docs -2006-07-17 11:37 robert +Mon, 28 Aug 2006 19:01:03 +0000 +Checked in by : Robert OSFIELD +From Roger James, "I have been going through my modified osg files and came across this fix to the Tesselator. From memory it handles a problem with per primitive normal binding. I must have forgotten to submit it." - * Added *,/,+ and - keyboard controls for toggling PolygonOffset - factor and units +Mon, 28 Aug 2006 15:46:02 +0000 +Checked in by : Robert OSFIELD +Futher work on TextureAtlasBuilder/Visitor, now functioning enough to deploy on real models. -2006-07-17 11:36 robert +Mon, 28 Aug 2006 10:49:37 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added getNumLayers method +Mon, 28 Aug 2006 10:46:39 +0000 +Checked in by : Robert OSFIELD +Further work on TextureAlasBuilder and TextureAtlasVisitor. -2006-07-17 10:25 robert +Sat, 26 Aug 2006 21:38:22 +0000 +Checked in by : Robert OSFIELD +Further work of TextureAtlasBuilder - * Increased the unit multiplier to 3 to avoid z fighting. +Fri, 25 Aug 2006 16:31:28 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-07-17 10:24 robert +Fri, 25 Aug 2006 16:30:23 +0000 +Checked in by : Robert OSFIELD +Further work on new TextureAtlasBuilder. - * Changed the Radeon defaults to 1, 128 for the factor and unit - mulitpliers respectively. +Fri, 25 Aug 2006 15:53:16 +0000 +Checked in by : Robert OSFIELD +Checking in first cut of new osgUtil::Optimizer::TextureAtlasBuilder class for building texture atlas for sets of images or textures. -2006-07-14 21:02 robert +Fri, 25 Aug 2006 15:49:29 +0000 +Checked in by : Robert OSFIELD +Added missing setDataType and setPacking functions - * Updated osgversion and AUTHORS.txt for release +Fri, 25 Aug 2006 14:54:54 +0000 +Checked in by : Robert OSFIELD +Added const version of getReadPBuffer() -2006-07-14 20:50 robert +Fri, 25 Aug 2006 14:53:09 +0000 +Checked in by : Robert OSFIELD +Fixed const correctness of get shadow functions - * Updated ChangeLog for the release +Fri, 25 Aug 2006 09:03:26 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-07-14 20:46 robert +Fri, 25 Aug 2006 08:48:16 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I was experiencing hard crashes of my application when using PBO's on machines that don't support PBO's. I think osg incorrectly checks if PBO's are supported.I added a new method to the BufferObject::Extensions class which +returns if the "GL_ARB_pixel_buffer_object" string is supported. This +fixes the problem on my end. Machines without PBO support will +continue to work and machines with PBO support will still be able to +use it." - * Updated news for rc2. -2006-07-14 18:40 robert - * From Brede Johansen, patch to make osgconv.cpp compile on VC - 2005. +Fri, 25 Aug 2006 08:42:17 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updates to Xcode project -2006-07-14 18:37 robert +Thu, 24 Aug 2006 20:16:25 +0000 +Checked in by : Robert OSFIELD +From David Guthrie, "I know there are 50,000 changes to osg/Math for OSX a day, but I think it can be simplified quite a bit. The old code includes for pre-10.2 and anything using something other than g++ 4 and then uses std::isnan. For the most current version, it leaves out cmath and uses isnan(). std::isnan and cmath work for the current version, so I just made it include cmath if __APPLE__ is defined and removed the ifdef between versions of OS X for isnan related things.This way the code is all the same, and it's not fragile to someone +including prior to including osg/Math." - * Updated to officially deprecate VS6.0 support. -2006-07-14 18:20 robert - * Added optional compilation of setenv code +Thu, 24 Aug 2006 20:15:32 +0000 +Checked in by : Robert OSFIELD +Simplified swap bytes code to make it more efficient. -2006-07-14 14:38 robert +Thu, 24 Aug 2006 16:33:23 +0000 +Checked in by : Robert OSFIELD +Add error message report to catch attempts to flip mipmap images. - * Implemented Radeon workaround for polygonoffset +Thu, 24 Aug 2006 13:16:38 +0000 +Checked in by : Robert OSFIELD +Fixed COLLDADA plugin name and remove osgmove example -2006-07-14 14:08 robert +Wed, 23 Aug 2006 15:25:43 +0000 +Checked in by : Robert OSFIELD +From Sebastien Grignard, fix to writing of dds files, write the source data directly rather using a series of memcpy. - * Added s/getFactorMultiplier(), s/getUnitMultiplier(), - areUnitAndMultipliersSet() and - setFactorAndUnitMultipliersUsingBestGuessForDriver() static - methods to - osg::PolygonOffset to help implement workarounds for lack of - portablity of - settings between different hardware. +Wed, 23 Aug 2006 15:11:18 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, fixed typos -2006-07-14 14:04 robert +Wed, 23 Aug 2006 14:17:06 +0000 +Checked in by : Robert OSFIELD +From Daniel Larimer, fix for OSX 10.4 when gcc != 4 - * Removed the default loading of bluemarble.ive +Wed, 23 Aug 2006 13:32:03 +0000 +Checked in by : Robert OSFIELD +From Andrew Lorino and Mike Weiblen, COLLADA 1.4.1 ReaderWriter, kindly developed and donated by Sony Computer Entertainment Inc. US R&D. -2006-07-14 11:34 robert +Wed, 23 Aug 2006 13:18:22 +0000 +Checked in by : Robert OSFIELD +Added sizeof(short int) - * Fixed popStateSet +Wed, 23 Aug 2006 13:16:12 +0000 +Checked in by : Robert OSFIELD +Tweaks to osglogo to allow you to export alpha blended screenshots -2006-07-14 11:29 robert +Tue, 22 Aug 2006 19:10:48 +0000 +Checked in by : Don BURNS +Added osgUtil::Tesselator for SHapeType Polygon to handle concave polygons. - * Removed debug info +Tue, 22 Aug 2006 13:07:20 +0000 +Checked in by : Robert OSFIELD +From Vaclav Bilek, "The purpose of this change is to suppress "re-reading" of osg::ProxyNodes ( in OF external references) after the OF file is loaded. The change do conditional execution of already existing code.I use this for optimized preprocessing of large databases what can not +be loaded +in one pass because of memory limits." -2006-07-14 11:04 robert - * Speeded up merge geometry -2006-07-13 20:50 robert +Tue, 22 Aug 2006 12:49:02 +0000 +Checked in by : Robert OSFIELD +From Gary Quinn, updated to take account of new bin directory structure. - * Typo fixes +Tue, 22 Aug 2006 12:46:13 +0000 +Checked in by : Robert OSFIELD +From Joran Jessurun, updated to look for lib/win32. -2006-07-13 20:42 robert +Tue, 22 Aug 2006 12:33:35 +0000 +Checked in by : Robert OSFIELD +Changed the default implementation of backdrop text to DEPTH_RANGE and tweaked the depth range values to minimize the depth rage witout causing z fighting on osgtext example. - * Optimized the MERGE_GEODES pass +Tue, 22 Aug 2006 10:23:58 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, fix for compute of the bounding box when handling outline/backdrop text. -2006-07-13 19:42 robert +Mon, 21 Aug 2006 21:09:40 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, compile fix for OSX - * Updated ChangeLog +Mon, 21 Aug 2006 21:00:14 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updates to Xcode projects -2006-07-13 15:56 robert +Mon, 21 Aug 2006 20:29:32 +0000 +Checked in by : Robert OSFIELD +Added comments on the meaning of button value - * Updated wrappers +Mon, 21 Aug 2006 15:07:31 +0000 +Checked in by : Robert OSFIELD +Fixed 64 bit support -2006-07-13 15:25 robert +Mon, 14 Aug 2006 19:42:22 +0000 +Checked in by : Robert OSFIELD +Fixed texture optimization problem associated with mixing already compiled scene graphs - resulting in incorrect texture assignment. Solution was to a compareTextureObjects() test to the Texture*::compare(..) method that the osgUtil::Optimizer::StateSetVisitor uses to determine uniqueness. - * Added StatsVisitor to include/osg/Statistics, and usage of it in - osgUtil::Optimizer. - - Added --optimize option to osgconv +Mon, 14 Aug 2006 11:03:43 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix to fix inconsistent line endings -2006-07-13 14:58 robert +Mon, 14 Aug 2006 07:59:28 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "The gist of this change is, if the OpenFlight version of the parent file is so old that it doesn't support Light Point palettes or Shader palettes, then the parent file is not allowed to override those palettes in the child." - * Added share duplicates traversal to optimizer call +Sun, 13 Aug 2006 20:12:49 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 1.1.1 release -2006-07-13 13:00 robert +Sun, 13 Aug 2006 08:40:06 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, NEWS, osgversion and AUTHORS.txt for 1.1.1 release - * Fixed Trajce Nikolov name reversal. +Sun, 13 Aug 2006 08:24:19 +0000 +Checked in by : Robert OSFIELD +Changed the texture wrap mode to repeat -2006-07-13 11:46 robert +Sun, 13 Aug 2006 07:37:55 +0000 +Checked in by : Robert OSFIELD +From Chuck Sembroski, fixes for IRIX - * Fixed Statistics::reset() method to include a reset of all member - variables +Sat, 12 Aug 2006 18:19:43 +0000 +Checked in by : Robert OSFIELD +Moved reset to 0 of _createReuseMatrixIndex from CullVistor.cpp to CullStack.cpp so that CullStack::reset works correctly for all subclasses - fixing a memory consumption issue with occluders -2006-07-13 09:12 robert +Sat, 12 Aug 2006 08:29:16 +0000 +Checked in by : Robert OSFIELD +Updated version number for 1.1.1 release - * Fixed typos. +Sat, 12 Aug 2006 07:59:36 +0000 +Checked in by : Robert OSFIELD +Updated ChangelLog and AUTHORS file -2006-07-13 09:01 robert +Sat, 12 Aug 2006 07:43:37 +0000 +Checked in by : Robert OSFIELD +Removed Xcode 1.x projects - * Fixed management of Text's StateSet so that it works correctly - when the DefaultFont is active. +Fri, 11 Aug 2006 21:48:24 +0000 +Checked in by : Robert OSFIELD +From Radu Mihai, removed osgfbo and osgpbuffer projects -2006-07-12 20:59 robert +Fri, 11 Aug 2006 21:39:41 +0000 +Checked in by : Robert OSFIELD +Added osg:: to Referenced() to fix IRIX build. - * Updated NEWS +Fri, 11 Aug 2006 19:56:03 +0000 +Checked in by : Don BURNS +removed CRLF and replaced with LF in ReaderWriteNET.cpp -2006-07-12 09:50 robert +Fri, 11 Aug 2006 18:23:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Vincent Vivanloc, Removed commas from end of enum lists, and - removed semi-colon - from end of namespace. +Fri, 11 Aug 2006 18:22:16 +0000 +Checked in by : Robert OSFIELD +Fixed if (numProcessors>1), was originally >= -2006-07-12 09:40 robert +Fri, 11 Aug 2006 17:39:10 +0000 +Checked in by : Don BURNS +Added comments to support use of Proxy in the .net plugin. - * From Brede Johansen, - - "I found some artifacts on some models and traced it back to the - external palette override feature. There are some changes in the - layout of the external record the loader have to take into - consideration. - - The other fix is to remove the OF pools from the user data of the - external ProxyNode when it is no longer needed." +Fri, 11 Aug 2006 17:34:04 +0000 +Checked in by : Don BURNS +Submission by Carlo Camporesi - Added Proxy support to .net loader -2006-07-11 21:53 robert +Fri, 11 Aug 2006 16:03:04 +0000 +Checked in by : Robert OSFIELD +Fixed value of FLATTEN_BILLBOARDS enum. - * Removed StateSet::ENCLOSE_RENDERBIN_DETAILS since it is - rendendent, and - implemented the OVERRIDE_RENDERBIN_DETAILS. +Fri, 11 Aug 2006 13:06:36 +0000 +Checked in by : Robert OSFIELD +Added file search path to ESRI reader. -2006-07-11 14:24 robert +Fri, 11 Aug 2006 12:53:57 +0000 +Checked in by : Robert OSFIELD +Fixed bug in Group::setChild relating to the accounting for OccluderNode. - * From Brede Johansen, "Here's a small patch to - BlendFunc::setFunction(source,destination) to - make it consistent with the constructor and prevent the - BlendFuncSeparate path being called. This patch fixed the - artifact - with the osgpointsprite demo on ATI cards reported by Mike - Weiblen." +Fri, 11 Aug 2006 12:39:42 +0000 +Checked in by : Robert OSFIELD +Moved the OpenThreads::GetNumberOfProcessors() inside the if (_enableProcessAffinitHint) block to avoid slowing down init of apps that don't require procesor affinity. -2006-07-11 10:34 robert +Fri, 11 Aug 2006 11:05:09 +0000 +Checked in by : Robert OSFIELD +Fixed pbuffer usage cross multiple graphics contexts - * From Antoine Hue, - - "There was a typo in "int setNotifyOffset()", appear to be a - getter => - "int getNotifyOffset()". - - Then I have added a switch to create GDALTermProgress only when - the - current notify level + local offset permit message display. In - fact, if - the offset is set to 0 and the notify level is at the default, - DataSet - is quiet but for the GDALTermProgress. That is quite disturbing - since - you think the progress is related to the complete processing but - it is - actually only related to the GDAL Warp." +Fri, 11 Aug 2006 11:04:49 +0000 +Checked in by : Robert OSFIELD +Updated NEWS for rc1 -2006-07-11 10:33 robert +Fri, 11 Aug 2006 09:50:32 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file - * Added preciption effects to NEWS +Fri, 11 Aug 2006 09:30:42 +0000 +Checked in by : Robert OSFIELD +Removed osgfbo and osgpbuffer examples -2006-07-11 09:06 robert +Fri, 11 Aug 2006 09:13:04 +0000 +Checked in by : Robert OSFIELD +Updated NEWS - * Updates osgversion and AUTHORS.txt for typo. +Thu, 10 Aug 2006 20:50:00 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, perl script to assist W64 support. -2006-07-06 20:44 robert +Thu, 10 Aug 2006 20:32:51 +0000 +Checked in by : Robert OSFIELD +From Mike Wittman, support for VS 64bit build - * Updated AUTHORS.txt and ChangeLog for 1.1-rc1 +Thu, 10 Aug 2006 15:53:01 +0000 +Checked in by : Robert OSFIELD +Moved all platform specific processor out of osgProducer and into OpenThreads -2006-07-06 20:43 robert +Thu, 10 Aug 2006 13:12:47 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, " osgPlugins\pfb\ConvertFromPerformer.cppAdded support for + PFSTATE_ALPHAFUNC + PFSTATE_ALPHAREF +Improved handling of + PFTR_NO_OCCLUDE - * Tweak for VS6.0 build +I have tested this with WIN32 performer 3.1 and 3.2.2 +and linux OpenGL Performer 3.1.1" -2006-07-06 15:47 robert +------------------------------------------------ - * Fixed scoping for for loop varaible for VS6.0 build. -2006-07-06 15:00 robert - * Tweaks to try and fix VS6.0 problems. +Thu, 10 Aug 2006 12:13:02 +0000 +Checked in by : Robert OSFIELD +From Martijn Kragtwijk, added example text for showing osgText::Text::CharacterSizeMode in action. -2006-07-06 14:50 robert +Thu, 10 Aug 2006 11:08:20 +0000 +Checked in by : Robert OSFIELD +Added write ppn support, use -O ascii to select ascii ppn output, otherwise binary is chosen.Fixed crash when erroneous pnm files were read. - * Removed explict definition of osgUtil::Optimizer::StateVisitor to - attempt - to get round VS 6.0 cruddiness. +Added -O flip option. -2006-07-06 14:43 robert - * Tweaked for loop variaible definition. -2006-07-06 14:36 robert +Thu, 10 Aug 2006 08:45:42 +0000 +Checked in by : Robert OSFIELD +From Daniel Larimer, "Apple updated their developer tools again and broke the __isnanf and __isnand methods... replacing them with a call to isnan(v) seems to work on both Xcode 2.3 and 2.4" - * Updated NEWS and ChangeLog +Thu, 10 Aug 2006 06:43:09 +0000 +Checked in by : Robert OSFIELD +Addd a setNodeMaskOverride(0xffffffff) to cope with models that are hiding subgraphs that still need to be accounted for when optimizer. -2006-07-06 14:14 robert +Thu, 10 Aug 2006 06:20:28 +0000 +Checked in by : Robert OSFIELD +Commented out the _textBB contribution of outline/backdrops to fix bounding box problem. - * From Eric Sokolowsky, - "If a texture is used that is not a multiple of four, and - compression - was requested through the texture's internal format, the - texture's - internal format reverts to a non-compressed type and a NOTICE is - given. - At present, compressed textures must have a multiple of four in - each - dimension." +Wed, 9 Aug 2006 13:02:52 +0000 +Checked in by : Robert OSFIELD +Removed referecens to the deprecate UByte4 -2006-07-06 14:10 robert +Wed, 9 Aug 2006 12:56:37 +0000 +Checked in by : Robert OSFIELD +Added Vec4ub and removed UByte4 - * Updated wrappers +Wed, 9 Aug 2006 10:09:11 +0000 +Checked in by : Robert OSFIELD +Added nan dectecion and error reporting -2006-07-06 14:02 robert +Tue, 8 Aug 2006 16:08:06 +0000 +Checked in by : Robert OSFIELD +Added TESSELATE_GEOMETRY to Optimizer pass to fix z fighting issues. - * From Eric Sokolowsky, - - "Attached is some fixes for Image::readImageFromCurrentTexture. - It was - failing when used with a new Image object (some of the fields - were - not set before they were used, and some were set to the wrong - values). - A new optional parameter was added to give the desired data type, - which - defaults to GL_UNSIGNED_BYTE, so programs should only need a - recompile - to work properly." +Tue, 8 Aug 2006 14:57:14 +0000 +Checked in by : Robert OSFIELD +Added extra defined(CPU_SET) to try and get round RH8 compile problems. -2006-07-06 13:06 robert +Tue, 8 Aug 2006 11:59:53 +0000 +Checked in by : Robert OSFIELD +Fixed backColor implementation for LightPointAppearancePalette. - * Fixed typo and unpdated AUTHORS file +Tue, 8 Aug 2006 11:27:36 +0000 +Checked in by : Robert OSFIELD +Added support for --affinity command line option for switch on procesor affinity where supported, -2006-07-06 11:40 robert +Tue, 8 Aug 2006 11:26:55 +0000 +Checked in by : Robert OSFIELD +First pass at updating NEWS for the up comming 1.1.1 release - * Added setting of name from the .obj goup name and object names. +Tue, 8 Aug 2006 11:23:57 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "This change causes the new OpenFlight plugin to behave as the old plugin by returning the database origin latitude/longitude (extracted from the header record) as userData of the top-level scene graph node." -2006-07-06 11:33 robert +Tue, 8 Aug 2006 10:41:51 +0000 +Checked in by : Robert OSFIELD +Fixed the positioning of the graphical stats bars so that they don't overlap the stats text - * Removed redundent debug message. +Sun, 6 Aug 2006 16:49:48 +0000 +Checked in by : Robert OSFIELD +Added preliminary support for process affinity support under Linux. -2006-07-06 11:30 robert +Sun, 6 Aug 2006 16:42:43 +0000 +Checked in by : Robert OSFIELD +Removed debugging code. - * Add "hack" fix for black materials being exported from Maya. +Sat, 5 Aug 2006 20:39:47 +0000 +Checked in by : Robert OSFIELD +Added fix to code catching error results ReadResult's to first instance of checking the value of ReadResult. -2006-07-06 11:08 robert +Sat, 5 Aug 2006 20:36:49 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, refactored by Robert Osfield.Fixed bug osgDB::Registry::Registry::read(const ReadFunctor& readFunctor) relating to +the handling of failed loads with the ReadResult::_message value being lost, this changes +ensure that the original ReadResult from the plugin, with message intact, is returned correctly. - * Tweaked osgversion to catch typos and updates AUTHORS.txt -2006-07-06 10:39 robert - * Updated ChangeLog and AUTHORS.txt for release +Sat, 5 Aug 2006 16:57:52 +0000 +Checked in by : Robert OSFIELD +Added code to reproduce Text outline bounding box compute bug. -2006-07-06 10:28 robert +Sat, 5 Aug 2006 11:12:47 +0000 +Checked in by : Robert OSFIELD +Added disable vertex arrays. - * Updated version numbers for 1.1 release +Sat, 5 Aug 2006 10:16:28 +0000 +Checked in by : Robert OSFIELD +Added osgcegui example -2006-07-06 10:27 robert +Fri, 4 Aug 2006 13:17:56 +0000 +Checked in by : Robert OSFIELD +From Uwe Woessner, implementated by Robert Osfield, Fixed vertex attribute bug, changed _vertexAttribList[unit] -> _vertexAttribList[index] - * Tweaked polygon offset +Thu, 3 Aug 2006 19:14:52 +0000 +Checked in by : Robert OSFIELD +Added if search for the current databaseRequest in the _fileRequestList to handle cases when the request is moved back in the list, or when the _fileRequestList is cleared by an asyncronous call to DatabasePager::clear(). -2006-07-06 09:11 robert +Thu, 3 Aug 2006 16:04:43 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Eric Wing, updaetes to Xcode projects +Thu, 3 Aug 2006 15:57:39 +0000 +Checked in by : Robert OSFIELD +Fixed RenderToTexture bug which occured when the viewport dimensions where different than the texture being written to. -2006-07-06 08:36 robert +Thu, 3 Aug 2006 14:03:06 +0000 +Checked in by : Robert OSFIELD +Removed debug code - * From Vivek Rajan, "Rotated text in SCREEN_COORDS was looking a - little squished especially - in orthographic projection. Performing the rotation before the - scaling - fixed the problem. I've attached Text.cpp with the fix." - - From Robert Osfield, in keeping with Vivek's change moved the - auto rotate to screen befor the scale as well. +Thu, 3 Aug 2006 13:35:21 +0000 +Checked in by : Robert OSFIELD +Changed: static TextureGLModeSet s_textureGLModeSet; -2006-07-05 21:52 robert +To: - * From Eric Sokolowsky, "The attached Texture.cpp fixes a problem - when subloading compressed - textures. Near the top of the function that implements texture - subloading, osg::Texture::applyTexImage2D_subload(), the local - variable - compressed_image examines the _image's_ pixel format to see if it - is - compressed. However, further on, in calls to getCompressedSize() - the - _texture's_ pixel format is used. In my application's Texture2D - class, - I use osg::Texture::USE_ARB_COMPRESSION to - osg::Texture2D::setInternalFormatMode(), which causes the - internal format - to become one of the generic ARB_COMPRESSED types, which do not - have a - specific size. Thus the recent warning message added to - osg::Texture::getCompressedSize() is triggered. The correct - behavior is - to use the format mode from the Image class instead of the - Texture class - within the subload implementation, and then the size is - calculated - correctly." + static TextureGLModeSet& getTextureGLModeSet() + { + static TextureGLModeSet s_textureGLModeSet; + return s_textureGLModeSet; + } -2006-07-05 21:12 robert +to prevent static initialization problems under static builds. - * Updated AUTHORS file -2006-07-05 21:12 robert - * Fixed typo. +Thu, 3 Aug 2006 13:12:14 +0000 +Checked in by : Robert OSFIELD +Added OSG_TEXT_INCREMENTAL_SUBLOADING ON/OFF env var check to osgText::Font to optional disable the incremental subloading. -2006-07-05 20:56 robert +Wed, 2 Aug 2006 21:09:25 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Brede Johansen, "Changed ">" to ">=" when testing for - version 16.1 or later." +Wed, 2 Aug 2006 21:05:56 +0000 +Checked in by : Robert OSFIELD +Reworked the state management within osgText::Text and osgText::Font so that it only applies textures locally rather than whole StateSet. -2006-07-05 13:44 robert +Wed, 2 Aug 2006 21:04:29 +0000 +Checked in by : Robert OSFIELD +Added missing include - * From Eric Sokolowsky, "There is code in Image.cpp that calculates - the size of a compressed image - based on the internal format. There is similar code in the - Texture class - but it does not account for the ARB types. I modified the Texture - class - implementation to show a warning when an incomplete internal - format is - used to calculate the image size." +Wed, 2 Aug 2006 19:56:36 +0000 +Checked in by : Robert OSFIELD +tweaked comment. -2006-07-05 13:31 robert +Wed, 2 Aug 2006 19:55:03 +0000 +Checked in by : Robert OSFIELD +Added viewer.cleanup_frame() to all examples. - * Added mutex to the test context. +Wed, 2 Aug 2006 16:14:17 +0000 +Checked in by : Robert OSFIELD +Moved extension function pointer initilization into a method, and the pointers from being static to be local member variables. This should avoid issues under Windows with multiple graphics contexts have seperate entry points. -2006-07-05 13:18 robert +Wed, 2 Aug 2006 16:12:46 +0000 +Checked in by : Robert OSFIELD +Added cleanup_frame to prevent crashes on exit. - * Added vertex program hack to get round apparent NVidia bug when - handling - vertex texture read. +Wed, 2 Aug 2006 15:41:47 +0000 +Checked in by : Robert OSFIELD +Reworked the TextureObjectManager singleton so that it no longer reconstructed itself once deleted, and added checks to against a null manager to prevent calling code crashing. -2006-07-05 12:54 robert +Wed, 2 Aug 2006 11:36:13 +0000 +Checked in by : Robert OSFIELD +Fixed crash due on multipipe systems due by moving the local camera update code from the cull into the update traversal. - * Updated AUTHORS file +Wed, 2 Aug 2006 10:43:26 +0000 +Checked in by : Robert OSFIELD +From Daniel Trstenjak, build fixes for Hpux 11.11, Irix 6.5, Solaris 8 and Aix -2006-07-05 12:51 robert +Tue, 1 Aug 2006 13:08:37 +0000 +Checked in by : Robert OSFIELD +Fixed doubleButtonPress. - * More fixes for typos +Tue, 1 Aug 2006 10:27:11 +0000 +Checked in by : Robert OSFIELD +Changed the viewer.setUpViewer(..) from default to just ESCAPE_SETS_DONE. -2006-07-05 10:48 robert +Mon, 31 Jul 2006 20:56:22 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "I've attached fixes to DataSet that should fix the problems that Maya was seeing yesterday. The issue was that the new interpolation code I submitted didn't use the SourceData's georef, it was assuming that the GDALDataSet had a proper geo-ref. I've made the getInterpolatedValue method a member of SourceData and now it uses the georef the SourceData's georef.I also forward declared the GDALRasterBand class in the DataSet header." - * Updated AUTHORS file -2006-07-05 10:47 robert - * Updated osgversion to correct for ChangeLog typos. - -2006-07-05 10:29 robert - - * Updated ChangeLog. - -2006-07-05 10:24 robert - - * Updated NEWS. - -2006-07-05 10:23 robert - - * First steps towards updating NEWS for 1.1 release - -2006-07-05 09:52 robert - - * Fixed warnings - -2006-07-05 08:59 robert - - * From Markus Trenkwalder, "Mingws gcc includes a file called - types.h which in turn defines - _TYPES_H_. types.h in the directx plugin defines the same include - guard. I've renamed the guard name in this file to _DX_TYPES_H_. - Now - the plugin compile in mingw too." - -2006-07-05 08:55 robert - - * From Brede Johansen, renaned FLT_preserveFace to preserveFace - -2006-07-04 19:58 robert - - * Changed parameter name from osberver_ptr to observer. - -2006-07-04 19:54 robert - - * From Paul Martz, - - "Previously, the new OpenFlight plugin only allowed ext ref - models to use - their own palettes. With this change, parent models can override - child model - palettes with the parent palettes. - - These changes are made against very current CVS (just updated - about 1/2 hour - ago, eliminated conflicts, and retested before this posting). - - To regurgitate what I did: - - A new class, ParentPools (public osg::Referenced), is created - when an ext - ref record is parsed, and it is populated with any parent model - pools that - should override the child model pools (according to bits in the - ext ref - record). The ParentPools object is then set as UserData on the - ProxyNode - corresponding to the ext ref. - - When the ReadExternalsVisitor hits the ProxyNode, it takes its - UserData and - sets it as UserData in the Options parameter to the - osgDB::ReadNode call, - which then read the ext ref model. In the course of parsing the - Options - string, ReaderWriterFLT also looks at the Options UserData and - sets the - parent pools in the Document class accordingly. - - When palette records are encountered while loading a file, they - are ignored - if the corresponding pool was set by the parent. - - Thanks to Brede for consulting with me on the implementation. - " +Mon, 31 Jul 2006 17:31:21 +0000 +Checked in by : Robert OSFIELD +Added Matrix*::getRotate()/setRotate(Quat), deprecating Matrix*::get(Quat&), Matrix*::set(Quat&) -2006-07-04 14:37 robert +Mon, 31 Jul 2006 14:49:36 +0000 +Checked in by : Robert OSFIELD +Tweaked the invert() method to avoid silly OSX warnings. - * Updated wrappers. +Sat, 29 Jul 2006 16:47:28 +0000 +Checked in by : Robert OSFIELD +Fixed multi-threaded/multi-pipe crash when primitive stats where output in osgProducer::Viewer's stats. -2006-07-04 14:18 robert +Fri, 28 Jul 2006 13:48:08 +0000 +Checked in by : Robert OSFIELD +Updated osgunittests with a matrix invert unit test, and added a conditional calling of invert_4x4 or invert_4x3 depending on the the right hand column of the matrix.Updated wrappers - * From Stephan Huber, - - "attached you'll find some modifications to Producer, osgGA and - osgProducer to enable Mac OS X support for - - + scrollwheels, - + mightymouse-srollballs - + new tracking-pads with scroll feature - + tablet-support (pressure, proximity and pointertype) (Wacom - only tested) - - I think there was a bug in the windows-implementation of - scroll-wheel - support (wrong order of ScrollingMotion-enum, casting problem) - which is - fixed now. - - The scrollwheel-code is a bit klunky across platforms, some - devices on - OS X can report an absolute delta in pixel-coordinates not only - the - direction, so for now there is scrollingMotion (which describes - the - direction) and scrolldeltax and scrolldeltay. I decided to leave - the - scrollingmotion-stuff to not break old code relying on this." - -2006-07-04 13:56 robert - - * Updated wrappers. - -2006-07-04 13:56 robert - - * Change osgText so that the Text drawable now can have its own - StateSet - that users can assign to it without it being overriden. If none - is - assigned externally it now uses a StateSet associated wit the - Font assigned - to the Text. -2006-07-04 13:33 robert - * From Brede Johansen, - - "The attached file corrects two small typos in MultiSwitch.cpp. - The - local "values" reference and the "_values" member attribute are - of - different types but both are vectors so the size() operator - happily - compiles. A renaming of _values to _masks or similar may be a - more - future proof solution but the submission only removes the - underscore - in two places. - - The switch_1701.flt model part of the Creator gallery revealed - this bug." +Thu, 27 Jul 2006 16:41:22 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "This patch should fix Gert's problem that he posted on osg-users. I downloaded the sample he posted, reproduced the error, and added an additional check to make sure the GDAL window size was valid. Now his example works fine. Changes made against current CVS. " -2006-07-04 12:57 robert +Thu, 27 Jul 2006 15:23:50 +0000 +Checked in by : Robert OSFIELD +From David Spilling, "Matrix_implementation.cpp modified as requested. I ran a version of it through a local version of osgunittests.cpp and it passes.Note that firstly it always returns the positive real quaternion (positive w) - * Fix to Registry::read(ReadFunctor) to better handle reporting of - errors +Note also that it will sometimes slightly differ from the results of the other methods because it assumes that the input matrix really is a rotation matrix - if it isn't, e.g. because of rounding error, then the output quaternion will be very slightly different. For example, the test matrix -2006-07-04 11:24 robert +0 1 0 0 +1 0 0 0 +0 0 0.999999 0 +0 0 0 1 - * Fixed warnings. +will return 0.707107 0.707107 0.0005033 0.0005033 -2006-07-04 10:55 robert +whereas the previous methods return 0.707107 0.707107 0.0 0.0 - * Warning fix. +However, since quaternions are rotations, the meaning of how to convert a matrix that isn't a rotation is a little unclear..." -2006-07-04 10:52 robert - * Warning fix -2006-07-04 09:46 robert +Thu, 27 Jul 2006 12:32:40 +0000 +Checked in by : Robert OSFIELD +From Michael Polak, double click fixes/additions - * fixed warning and add a few extra tests +Thu, 27 Jul 2006 11:58:55 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, add outline to help text to make it easier to read on different coloured backgrounds -2006-07-04 09:18 robert +Thu, 27 Jul 2006 11:25:01 +0000 +Checked in by : Robert OSFIELD +Remove ERSIShape directory. - * From Roland Smeenk, Added missing initialization to zero of the - _carryOver value in - default and copy constructor. +Thu, 27 Jul 2006 11:22:52 +0000 +Checked in by : Robert OSFIELD +From Andreas Ekstrand, "The ESRIShape plugin needs to produce a osgdb_shp.dll rather than a osgdb_ESRI.dll in Windows in order to find the correct library when loading shp files. A new dsp file is attached to this mail. Also, the ERSIShape folder should be deleted." -2006-07-04 09:13 robert +Thu, 27 Jul 2006 11:22:01 +0000 +Checked in by : Robert OSFIELD +Added #define snprintf _snprintf for Win32 build - * From Ulrich Hertlein, updates to DirectX loader +Thu, 27 Jul 2006 11:14:28 +0000 +Checked in by : Robert OSFIELD +From David Spilling, fix to Matrix::get(Quat&) -2006-07-03 20:28 robert +Thu, 27 Jul 2006 11:13:56 +0000 +Checked in by : Robert OSFIELD +From J.P. Delport, added units tests to pick up on erroneous Matrix::get(Quat&) computation. - * From Brede Johansen, set the default value of texture wrap mode - to REPEAT to fix problem - with database without .attr files. +Wed, 26 Jul 2006 15:29:26 +0000 +Checked in by : Robert OSFIELD +Cleaned up per context buffers support -2006-07-03 16:31 robert +Wed, 26 Jul 2006 15:19:42 +0000 +Checked in by : Robert OSFIELD +Added osgprecipitation to runexamples list. - * Fixed a couple of warnings. +Tue, 25 Jul 2006 20:43:57 +0000 +Checked in by : Robert OSFIELD +Force SingelThreaded usage due to use of osgParticle. -2006-07-03 16:21 robert +Tue, 25 Jul 2006 13:52:10 +0000 +Checked in by : Robert OSFIELD +Fixed auto rotate bug. - * Fixed orientation and lighting of model. +Wed, 19 Jul 2006 21:49:07 +0000 +Checked in by : Robert OSFIELD +Set release number back to 0 after release -2006-07-03 15:21 robert +Wed, 19 Jul 2006 21:11:16 +0000 +Checked in by : Robert OSFIELD +Updated ChangedLog and READE for the 1.1 release - * Removed template methods that were break VS6.0 build. +Wed, 19 Jul 2006 20:56:24 +0000 +Checked in by : Robert OSFIELD +For cases where the RenderBin has its own StateSet do a popAllStateSets() to ensure that the state is completely ready for the RenderBin's StateSet to be at the bottom. -2006-07-03 13:53 robert +Wed, 19 Jul 2006 19:49:28 +0000 +Checked in by : Robert OSFIELD +UPdated wrappers - * Added a performace test section to osgunitests, currently just - does basic C/C++ tests. +Wed, 19 Jul 2006 19:45:32 +0000 +Checked in by : Robert OSFIELD +Fixed error in enum, completely perplexed how the error got in... -2006-07-03 10:47 robert +Wed, 19 Jul 2006 17:39:45 +0000 +Checked in by : Don BURNS +Fixed HEIGHEST misspelling to HIGHEST - * Added merge geodes and geometries optimizer call +Wed, 19 Jul 2006 15:20:47 +0000 +Checked in by : Robert OSFIELD +Reverted to LODScale keyboard adjustment -2006-07-03 09:26 robert +Wed, 19 Jul 2006 15:10:50 +0000 +Checked in by : Robert OSFIELD +Warning fixes - * From Eric Sokolowski, "Added the ability to read and write images - directly in the ive plugin, - through the osgDB::readImageFile and osgDB::writeImageFile - functions. - This is useful for storing compressed textures on disk for rapid - playback - for animations." +Wed, 19 Jul 2006 15:07:00 +0000 +Checked in by : Robert OSFIELD +Warning fix -2006-07-03 09:22 robert +Wed, 19 Jul 2006 14:46:40 +0000 +Checked in by : Robert OSFIELD +Added extra initializes - * From Michael Platings, added support for blend seperates to .ive - and .osg +Wed, 19 Jul 2006 14:30:30 +0000 +Checked in by : Robert OSFIELD +Added dummy initializers to avoid warning -2006-06-30 13:50 robert +Wed, 19 Jul 2006 14:04:16 +0000 +Checked in by : Robert OSFIELD +Added reset of the event windowSize - * Updated wrappers. +Wed, 19 Jul 2006 13:02:35 +0000 +Checked in by : Robert OSFIELD +Added mutexes to RealizeCallbaks -2006-06-30 13:50 robert +Wed, 19 Jul 2006 12:58:45 +0000 +Checked in by : Robert OSFIELD +Added scene handler init to custom realize callback - * From Michael Platings, added support for glBlendFuncSeperate. +Wed, 19 Jul 2006 12:35:33 +0000 +Checked in by : Robert OSFIELD +Moved sync to before the keyboard mouse startThread to try to avoid some threading issue on start up of some apps. -2006-06-30 13:47 robert +Wed, 19 Jul 2006 11:25:26 +0000 +Checked in by : Robert OSFIELD +Fixed handling of back colour. - * From Eric Sokolowsky, made a couple of methods static. +Wed, 19 Jul 2006 08:39:44 +0000 +Checked in by : Robert OSFIELD +Changed code creating LightPoint on heap to use the stack. -2006-06-29 19:38 robert +Tue, 18 Jul 2006 21:00:43 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for rc3. - * From David Callu, compile fix for gcc 4.1 +Tue, 18 Jul 2006 20:59:22 +0000 +Checked in by : Robert OSFIELD +Add clause to clean up AUTHORS.txt -2006-06-29 15:57 robert +Tue, 18 Jul 2006 20:53:16 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added support for RenderBin's have a local top level StateSet. - This is now - used by default in the depth sorted bin. +Tue, 18 Jul 2006 20:51:28 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-06-29 11:57 robert +Tue, 18 Jul 2006 20:17:31 +0000 +Checked in by : Robert OSFIELD +Moved the moveToRootStateGraph(,) from RenderStage::drawImplemenation() to RenderBin::drawImplementation(); - * Updated wrappers +Tue, 18 Jul 2006 19:26:54 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, fix for VC6 support -2006-06-29 11:00 robert +Tue, 18 Jul 2006 15:21:48 +0000 +Checked in by : Robert OSFIELD +Updated copyright years. - * Updated wrappers. +Tue, 18 Jul 2006 15:11:41 +0000 +Checked in by : Robert OSFIELD +Added additional command line docs -2006-06-29 10:19 robert +Tue, 18 Jul 2006 13:37:42 +0000 +Checked in by : Robert OSFIELD +Updated commandline docs - * Updated wrappers +Tue, 18 Jul 2006 13:24:00 +0000 +Checked in by : Robert OSFIELD +Updated version for the release -2006-06-29 10:17 robert +Tue, 18 Jul 2006 13:17:40 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and authors file. - * Changed _WIN32 to _MSC_VER +Tue, 18 Jul 2006 13:05:26 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashakari, fixed popStateSet. -2006-06-29 10:06 robert +Tue, 18 Jul 2006 13:04:57 +0000 +Checked in by : Robert OSFIELD +Reduced the verbosity of debug info. - * From Eric Wing, updates to QuickTime plugin +Tue, 18 Jul 2006 12:48:48 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-06-29 09:34 robert +Tue, 18 Jul 2006 12:24:04 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, add alternate backdrop implementations.From Robert Osfield, updated naming and copy constructor methods. - * Form Brede Johansen, move from istrstream to istringstream. - From Robert Osfield, remapped Paul Martz's changes to Pools.h and - PaletteRecords.cpp w.r.t texturePatternIndex being a in16, and - converted a char* string to a std::string. -2006-06-29 08:08 robert - * Changed unsinged int to GLuint for OSX compile fix. +Tue, 18 Jul 2006 11:42:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-06-28 20:38 robert +Tue, 18 Jul 2006 11:03:46 +0000 +Checked in by : Robert OSFIELD +Added Optimizer::FlattenBillboardsVisitor. - * Changed unsigned int to GLuint for OSX build. +Mon, 17 Jul 2006 16:36:42 +0000 +Checked in by : Robert OSFIELD +From Terrex, improvements to handling of layers w.r.t PolygonOffset -2006-06-28 14:36 robert +Mon, 17 Jul 2006 13:16:44 +0000 +Checked in by : Robert OSFIELD +Removed the usage of setenv to avoid portability issues. - * Change internal variables across to being GLuint. +Mon, 17 Jul 2006 11:43:26 +0000 +Checked in by : Robert OSFIELD +Change Unit to Units to keep consistent with OpenGL naming. -2006-06-28 11:37 robert +Mon, 17 Jul 2006 11:37:51 +0000 +Checked in by : Robert OSFIELD +Added *,/,+ and - keyboard controls for toggling PolygonOffset factor and units - * From Eric Wing, updates to Xcode projects +Mon, 17 Jul 2006 11:36:50 +0000 +Checked in by : Robert OSFIELD +Added getNumLayers method -2006-06-28 11:27 robert +Mon, 17 Jul 2006 10:25:01 +0000 +Checked in by : Robert OSFIELD +Increased the unit multiplier to 3 to avoid z fighting. - * From Eric Wing, updates to Xcode projects +Mon, 17 Jul 2006 10:24:31 +0000 +Checked in by : Robert OSFIELD +Changed the Radeon defaults to 1, 128 for the factor and unit mulitpliers respectively. -2006-06-28 10:22 robert +Fri, 14 Jul 2006 21:02:02 +0000 +Checked in by : Robert OSFIELD +Updated osgversion and AUTHORS.txt for release - * Made the new OpenFlight plugin the default. +Fri, 14 Jul 2006 20:50:03 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for the release -2006-06-28 10:00 robert +Fri, 14 Jul 2006 20:46:21 +0000 +Checked in by : Robert OSFIELD +Updated news for rc2. - * Added a setRadius into the screen space LOD. +Fri, 14 Jul 2006 18:40:25 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, patch to make osgconv.cpp compile on VC 2005. -2006-06-28 07:17 robert +Fri, 14 Jul 2006 18:37:40 +0000 +Checked in by : Robert OSFIELD +Updated to officially deprecate VS6.0 support. - * From Martin Naylor, build fix for windows. +Fri, 14 Jul 2006 18:20:14 +0000 +Checked in by : Robert OSFIELD +Added optional compilation of setenv code -2006-06-28 07:14 robert +Fri, 14 Jul 2006 14:38:55 +0000 +Checked in by : Robert OSFIELD +Implemented Radeon workaround for polygonoffset - * Removed old #include entries. +Fri, 14 Jul 2006 14:08:33 +0000 +Checked in by : Robert OSFIELD +Added s/getFactorMultiplier(), s/getUnitMultiplier(), areUnitAndMultipliersSet() and setFactorAndUnitMultipliersUsingBestGuessForDriver() static methods to osg::PolygonOffset to help implement workarounds for lack of portablity of settings between different hardware. -2006-06-27 20:13 robert +Fri, 14 Jul 2006 14:04:54 +0000 +Checked in by : Robert OSFIELD +Removed the default loading of bluemarble.ive - * Added setting of the CameraConfig:TheradModelDirective +Fri, 14 Jul 2006 11:34:13 +0000 +Checked in by : Robert OSFIELD +Fixed popStateSet -2006-06-27 13:09 robert +Fri, 14 Jul 2006 11:29:41 +0000 +Checked in by : Robert OSFIELD +Removed debug info - * From Eric Wing, added support for outline/shadow and colour - gradient effects. +Fri, 14 Jul 2006 11:04:24 +0000 +Checked in by : Robert OSFIELD +Speeded up merge geometry -2006-06-27 12:08 robert +Thu, 13 Jul 2006 20:50:32 +0000 +Checked in by : Robert OSFIELD +Typo fixes - * From Stephan Huber, remove Platform specific handling of - multi-sample setup as its - now supported within Producer in a generic way. From Robert - Osfield fix to the parameter ordering +Thu, 13 Jul 2006 20:42:10 +0000 +Checked in by : Robert OSFIELD +Optimized the MERGE_GEODES pass -2006-06-27 12:05 robert +Thu, 13 Jul 2006 19:42:55 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * From Eric Wing, added support for outline/shadow and colour - gradient effects. +Thu, 13 Jul 2006 15:56:54 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-06-27 10:07 robert +Thu, 13 Jul 2006 15:25:22 +0000 +Checked in by : Robert OSFIELD +Added StatsVisitor to include/osg/Statistics, and usage of it in osgUtil::Optimizer.Added --optimize option to osgconv - * From Terrex and Andrew Sampsom and Don Tidrow and Robert Osfield, - - email comments from Andew Sampson, - - "I've contacted Terrex, and obtained the 2.2 version - of their trpage library. The library included a - fork of OSG 0.9.8's txp plugin, modified to load 2.1+ - txp DBs. - - I've done the work of incorporating the changes made - to OSG's txp plugin since 0.9.8 into Terrex's fork. - The forked version is now up-to-date with the changes - made to OSG 0.9.9 and 1.0. - - Terrex made a lot of changes (especially differences - in whitespace), so the diff between the forked version - - and OSG 1.0's txp plugin is yucky. I did my best, but - - keep in mind that this is the result of a 4-way merge - (kinda... terrex-0.9.8, stock-0.9.8, stock-0.9.9, - stock-1.0). - - I really want to see this forked version merged back - into the main OSG branch. The new features offered by - - this version of the plugin (2.1+ support, variable - LOD support, bug fixes) are worth the trouble." - - -- - - Don Tidrow then took this code and added his work. - - -- - - Robert Osfield then fixed all the warnings that abound in the - trpage code base. -2006-06-26 20:45 robert - * Replaced ref_ptr<>:take with ref_ptr<>:release, and added - handling of removeal - of ref_ptr<> operator >. +Thu, 13 Jul 2006 14:58:37 +0000 +Checked in by : Robert OSFIELD +Added share duplicates traversal to optimizer call -2006-06-26 20:43 robert +Thu, 13 Jul 2006 13:00:22 +0000 +Checked in by : Robert OSFIELD +Fixed Trajce Nikolov name reversal. - * Added DeleteHandler flush call. +Thu, 13 Jul 2006 11:46:55 +0000 +Checked in by : Robert OSFIELD +Fixed Statistics::reset() method to include a reset of all member variables -2006-06-26 20:41 robert +Thu, 13 Jul 2006 09:12:49 +0000 +Checked in by : Robert OSFIELD +Fixed typos. - * From Tyge Løvset, ref_ptr<> template constructor, operators and - associated functions. - - From Robert Osfield, tweaks and fixes to the above, also removed - the deprecated take() method. +Thu, 13 Jul 2006 09:01:24 +0000 +Checked in by : Robert OSFIELD +Fixed management of Text's StateSet so that it works correctly when the DefaultFont is active. -2006-06-26 20:35 robert +Wed, 12 Jul 2006 20:59:06 +0000 +Checked in by : Robert OSFIELD +Updated NEWS - * Added a functional DeleteHandler. +Wed, 12 Jul 2006 09:50:45 +0000 +Checked in by : Robert OSFIELD +From Vincent Vivanloc, Removed commas from end of enum lists, and removed semi-colon from end of namespace. -2006-06-26 15:18 robert +Wed, 12 Jul 2006 09:40:03 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen,"I found some artifacts on some models and traced it back to the +external palette override feature. There are some changes in the +layout of the external record the loader have to take into +consideration. - * Fixed crash on osgconv --compressed cow.osg cow.ive +The other fix is to remove the OF pools from the user data of the +external ProxyNode when it is no longer needed." -2006-06-26 10:57 robert - * Changed GLunit usage to unsigned int. -2006-06-26 10:39 robert +Tue, 11 Jul 2006 21:53:57 +0000 +Checked in by : Robert OSFIELD +Removed StateSet::ENCLOSE_RENDERBIN_DETAILS since it is rendendent, and implemented the OVERRIDE_RENDERBIN_DETAILS. - * From Andreas Ekstrand, fix for Windows +Tue, 11 Jul 2006 14:24:18 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "Here's a small patch to BlendFunc::setFunction(source,destination) to make it consistent with the constructor and prevent the BlendFuncSeparate path being called. This patch fixed the artifact with the osgpointsprite demo on ATI cards reported by Mike Weiblen." -2006-06-26 09:56 robert +Tue, 11 Jul 2006 10:34:41 +0000 +Checked in by : Robert OSFIELD +From Antoine Hue,"There was a typo in "int setNotifyOffset()", appear to be a getter => +"int getNotifyOffset()". - * From Leandro Motta Barros, documentation additions to - PrimitiveSet & TriangleFunctor. +Then I have added a switch to create GDALTermProgress only when the +current notify level + local offset permit message display. In fact, if +the offset is set to 0 and the notify level is at the default, DataSet +is quiet but for the GDALTermProgress. That is quite disturbing since +you think the progress is related to the complete processing but it is +actually only related to the GDAL Warp." -2006-06-26 09:30 robert - * From Philipp Siemoleit, - - There are some group codes (i.e. "62") which are interpreted as - dxfDataType::SHORT. That's right because the dxf-specification - defines - "16 bit integer" as the type for the corresponding value. - But readerBase::readGroup() calls readValue(std::ifstream&, - unsigned - short). I changed readValue(std::ifstream&, unsigned short) to - readValue(std::ifstream&, short). I found no group code at the - dxf-specs - which needs a "16 bit unsigned integer" value. So the - readValue(std::ifstream&, unsigned short) function is obsolete - - right? -2006-06-26 09:18 robert +Tue, 11 Jul 2006 10:33:50 +0000 +Checked in by : Robert OSFIELD +Added preciption effects to NEWS - * From David Fries, Reset only the RenderLeaf objects used in the - last - frame as given by the _currentReuseRenderLeafIndex instead of - resetting all leaves which can be very time consuming. +Tue, 11 Jul 2006 09:06:31 +0000 +Checked in by : Robert OSFIELD +Updates osgversion and AUTHORS.txt for typo. -2006-06-26 09:09 robert +Thu, 6 Jul 2006 20:44:44 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS.txt and ChangeLog for 1.1-rc1 - * From Martin Naylor, added osgGA dependency to osgkeyboardmouse +Thu, 6 Jul 2006 20:43:23 +0000 +Checked in by : Robert OSFIELD +Tweak for VS6.0 build -2006-06-16 09:28 robert +Thu, 6 Jul 2006 15:47:59 +0000 +Checked in by : Robert OSFIELD +Fixed scoping for for loop varaible for VS6.0 build. - * Fixed typo. +Thu, 6 Jul 2006 15:00:51 +0000 +Checked in by : Robert OSFIELD +Tweaks to try and fix VS6.0 problems. -2006-06-12 14:04 robert +Thu, 6 Jul 2006 14:50:38 +0000 +Checked in by : Robert OSFIELD +Removed explict definition of osgUtil::Optimizer::StateVisitor to attempt to get round VS 6.0 cruddiness. - * Added pick handler. +Thu, 6 Jul 2006 14:43:30 +0000 +Checked in by : Robert OSFIELD +Tweaked for loop variaible definition. -2006-06-12 11:32 robert +Thu, 6 Jul 2006 14:36:04 +0000 +Checked in by : Robert OSFIELD +Updated NEWS and ChangeLog - * Revamped osgkeyboardmouse to use the osgGA. +Thu, 6 Jul 2006 14:14:19 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, "If a texture is used that is not a multiple of four, and compression was requested through the texture's internal format, the texture's internal format reverts to a non-compressed type and a NOTICE is given. At present, compressed textures must have a multiple of four in each dimension." -2006-06-12 09:57 robert +Thu, 6 Jul 2006 14:10:37 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Mathew May, FreeBSD build fixes. +Thu, 6 Jul 2006 14:02:14 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky,"Attached is some fixes for Image::readImageFromCurrentTexture. It was +failing when used with a new Image object (some of the fields were +not set before they were used, and some were set to the wrong values). +A new optional parameter was added to give the desired data type, which +defaults to GL_UNSIGNED_BYTE, so programs should only need a recompile +to work properly." -2006-06-08 15:27 robert - * Martin Spindler, new osg::ClampColor state attribute. -2006-06-08 14:32 robert +Thu, 6 Jul 2006 13:06:24 +0000 +Checked in by : Robert OSFIELD +Fixed typo and unpdated AUTHORS file - * From Paul Martz, added support to textured light points into - osgSim and OpenFlight loader, as part of the OpenFlight v16.0 - spec. +Thu, 6 Jul 2006 11:40:41 +0000 +Checked in by : Robert OSFIELD +Added setting of name from the .obj goup name and object names. -2006-06-08 13:34 robert +Thu, 6 Jul 2006 11:33:07 +0000 +Checked in by : Robert OSFIELD +Removed redundent debug message. - * From Matt Green, fix to handling of centering of multi-line text - entries. +Thu, 6 Jul 2006 11:30:20 +0000 +Checked in by : Robert OSFIELD +Add "hack" fix for black materials being exported from Maya. -2006-06-08 12:09 robert +Thu, 6 Jul 2006 11:08:51 +0000 +Checked in by : Robert OSFIELD +Tweaked osgversion to catch typos and updates AUTHORS.txt - * From Paul Martz, clean up of comments. +Thu, 6 Jul 2006 10:39:40 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS.txt for release -2006-06-08 12:07 robert +Thu, 6 Jul 2006 10:28:12 +0000 +Checked in by : Robert OSFIELD +Updated version numbers for 1.1 release - * From Mike Weiblen, reverted shaders changes due to lack of - hardware/driver support +Thu, 6 Jul 2006 10:27:40 +0000 +Checked in by : Robert OSFIELD +Tweaked polygon offset -2006-06-08 11:58 robert +Thu, 6 Jul 2006 09:11:15 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updaetes to Xcode projects - * From Gustavo Wagner, addition of trim method to TemplateArray - class. - - From Robert Osfield, made trim method a virtual method of the - base Array class - and added a trim implementation to TemplateIndexArray. +Thu, 6 Jul 2006 08:36:12 +0000 +Checked in by : Robert OSFIELD +From Vivek Rajan, "Rotated text in SCREEN_COORDS was looking a little squished especially in orthographic projection. Performing the rotation before the scaling fixed the problem. I've attached Text.cpp with the fix."From Robert Osfield, in keeping with Vivek's change moved the auto rotate to screen befor the scale as well. -2006-06-08 11:56 robert - * From Paul Martz, fixed incorrect filename in project file -2006-06-08 11:39 robert +Wed, 5 Jul 2006 21:52:36 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, "The attached Texture.cpp fixes a problem when subloading compressed textures. Near the top of the function that implements texture subloading, osg::Texture::applyTexImage2D_subload(), the local variable compressed_image examines the _image's_ pixel format to see if it is compressed. However, further on, in calls to getCompressedSize() the _texture's_ pixel format is used. In my application's Texture2D class, I use osg::Texture::USE_ARB_COMPRESSION to osg::Texture2D::setInternalFormatMode(), which causes the internal format to become one of the generic ARB_COMPRESSED types, which do not have a specific size. Thus the recent warning message added to osg::Texture::getCompressedSize() is triggered. The correct behavior is to use the format mode from the Image class instead of the Texture class within the subload implementation, and then the size is calculated correctly." - * With direction from Paul Melis, fixed bug in - CopySharedSubgraphsVisitor which prevented - it being applied. Also fix inappropriate comment. +Wed, 5 Jul 2006 21:12:45 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file -2006-06-08 11:22 robert +Wed, 5 Jul 2006 21:12:24 +0000 +Checked in by : Robert OSFIELD +Fixed typo. - * From Joan Abadie: patch fixes : "osgDB::makeDirectory doesn't - work on win32 when using full path name like : "d:/demo" - it tryes a mkdir("d:")." +Wed, 5 Jul 2006 20:56:37 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "Changed ">" to ">=" when testing for version 16.1 or later." -2006-06-08 11:19 robert +Wed, 5 Jul 2006 13:44:07 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, "There is code in Image.cpp that calculates the size of a compressed image based on the internal format. There is similar code in the Texture class but it does not account for the ARB types. I modified the Texture class implementation to show a warning when an incomplete internal format is used to calculate the image size." - * Added setting of default colour. +Wed, 5 Jul 2006 13:31:38 +0000 +Checked in by : Robert OSFIELD +Added mutex to the test context. -2006-06-08 11:18 robert +Wed, 5 Jul 2006 13:18:00 +0000 +Checked in by : Robert OSFIELD +Added vertex program hack to get round apparent NVidia bug when handling vertex texture read. - * added SphereSegment test code segment, commented out at pressent. +Wed, 5 Jul 2006 12:54:18 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file -2006-06-05 16:25 robert +Wed, 5 Jul 2006 12:51:41 +0000 +Checked in by : Robert OSFIELD +More fixes for typos - * Added missing clip against maximum azimuth. +Wed, 5 Jul 2006 10:48:04 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file -2006-06-05 16:25 robert +Wed, 5 Jul 2006 10:47:38 +0000 +Checked in by : Robert OSFIELD +Updated osgversion to correct for ChangeLog typos. - * Added extra SphereSegment intersection tests. +Wed, 5 Jul 2006 10:29:46 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog. -2006-06-05 16:06 robert +Wed, 5 Jul 2006 10:24:24 +0000 +Checked in by : Robert OSFIELD +Updated NEWS. - * Improved stats sizing in presense of wide screens. +Wed, 5 Jul 2006 10:23:39 +0000 +Checked in by : Robert OSFIELD +First steps towards updating NEWS for 1.1 release -2006-05-29 09:08 robert +Wed, 5 Jul 2006 09:52:03 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Reverted changes from revision 1.4, as they look like a temporary - hack not intended - to be merged. +Wed, 5 Jul 2006 08:59:23 +0000 +Checked in by : Robert OSFIELD +From Markus Trenkwalder, "Mingws gcc includes a file called types.h which in turn defines _TYPES_H_. types.h in the directx plugin defines the same include guard. I've renamed the guard name in this file to _DX_TYPES_H_. Now the plugin compile in mingw too." -2006-05-26 15:19 robert +Wed, 5 Jul 2006 08:55:23 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, renaned FLT_preserveFace to preserveFace - * From Jason Baverage, support for interpolating DEM data from GDAL - to the positions - required for the current tile. +Tue, 4 Jul 2006 19:58:53 +0000 +Checked in by : Robert OSFIELD +Changed parameter name from osberver_ptr to observer. -2006-05-23 19:03 robert +Tue, 4 Jul 2006 19:54:29 +0000 +Checked in by : Robert OSFIELD +From Paul Martz,"Previously, the new OpenFlight plugin only allowed ext ref models to use +their own palettes. With this change, parent models can override child model +palettes with the parent palettes. - * Ran dos2unix of files +These changes are made against very current CVS (just updated about 1/2 hour +ago, eliminated conflicts, and retested before this posting). -2006-05-22 19:30 robert +To regurgitate what I did: - * Cleaned up the OpenGL error reporting. +A new class, ParentPools (public osg::Referenced), is created when an ext +ref record is parsed, and it is populated with any parent model pools that +should override the child model pools (according to bits in the ext ref +record). The ParentPools object is then set as UserData on the ProxyNode +corresponding to the ext ref. -2006-05-16 21:32 robert +When the ReadExternalsVisitor hits the ProxyNode, it takes its UserData and +sets it as UserData in the Options parameter to the osgDB::ReadNode call, +which then read the ext ref model. In the course of parsing the Options +string, ReaderWriterFLT also looks at the Options UserData and sets the +parent pools in the Document class accordingly. - * Updated wrappers. +When palette records are encountered while loading a file, they are ignored +if the corresponding pool was set by the parent. -2006-05-16 21:20 robert +Thanks to Brede for consulting with me on the implementation. +" - * Minor tweaks of ints to unsigned ints -2006-05-16 21:00 robert - * From Mike Weiblen, futher work on Uniform array support. +Tue, 4 Jul 2006 14:37:56 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2006-05-16 21:00 robert +Tue, 4 Jul 2006 14:18:44 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber,"attached you'll find some modifications to Producer, osgGA and +osgProducer to enable Mac OS X support for - * From Mike Weiblen, support for new Uniform arrays. - From Robert Osfield, refactor of above with original code to - ensure backwards compatibility. ++ scrollwheels, ++ mightymouse-srollballs ++ new tracking-pads with scroll feature ++ tablet-support (pressure, proximity and pointertype) (Wacom only tested) -2006-05-16 10:21 robert +I think there was a bug in the windows-implementation of scroll-wheel +support (wrong order of ScrollingMotion-enum, casting problem) which is +fixed now. - * Compile fixes for OSX +The scrollwheel-code is a bit klunky across platforms, some devices on +OS X can report an absolute delta in pixel-coordinates not only the +direction, so for now there is scrollingMotion (which describes the +direction) and scrolldeltax and scrolldeltay. I decided to leave the +scrollingmotion-stuff to not break old code relying on this." -2006-05-15 15:46 robert - * From Mike Weiblen, support GLSL uniform arrays. A couple of - tweaks and fixes from Robert Osfield. -2006-05-15 13:22 robert +Tue, 4 Jul 2006 13:56:38 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * From Paul Martz, "This change is based on current CVS. (Note both - Brede and I have submitted - changes to this plugin that aren't in current CVS yet -- this - change is - based on current CVS, not our changed files.) - - This changes how shader palette records are parsed to support - GLSL per the - OpenFlight 16.1 spec. Existing functionality for 16.0 files is - preserved. - - The change to Document.h simply adds an enum for VERSION_16_1." +Tue, 4 Jul 2006 13:56:29 +0000 +Checked in by : Robert OSFIELD +Change osgText so that the Text drawable now can have its own StateSet that users can assign to it without it being overriden. If none is assigned externally it now uses a StateSet associated wit the Font assigned to the Text. -2006-05-15 13:13 robert +Tue, 4 Jul 2006 13:33:19 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen,"The attached file corrects two small typos in MultiSwitch.cpp. The +local "values" reference and the "_values" member attribute are of +different types but both are vectors so the size() operator happily +compiles. A renaming of _values to _masks or similar may be a more +future proof solution but the submission only removes the underscore +in two places. - * Replaced BoundingBox with GeospatialExtents. +The switch_1701.flt model part of the Creator gallery revealed this bug." -2006-05-15 13:12 robert - * From Jason Baverage, A - - dded GeospatialExtents bounding box class which used doubles - in place of the original usage of osg::BoundingBox. - - Added path for computing interpolation elevation data being read - from GDAL. -2006-05-15 11:56 robert +Tue, 4 Jul 2006 12:57:59 +0000 +Checked in by : Robert OSFIELD +Fix to Registry::read(ReadFunctor) to better handle reporting of errors - * From Eric Wing, removed trailing commans from enum lists. +Tue, 4 Jul 2006 11:24:36 +0000 +Checked in by : Robert OSFIELD +Fixed warnings. -2006-05-15 11:53 robert +Tue, 4 Jul 2006 10:55:58 +0000 +Checked in by : Robert OSFIELD +Warning fix. - * From Eric Wing, compile fix for OSX. +Tue, 4 Jul 2006 10:52:16 +0000 +Checked in by : Robert OSFIELD +Warning fix -2006-05-15 11:48 robert +Tue, 4 Jul 2006 09:46:41 +0000 +Checked in by : Robert OSFIELD +fixed warning and add a few extra tests - * From Daniel Trastenjak, added checking of binding modes to ensure - that changes are only applied - when the binding mode changes, thereby avoiding uncessary calls - to dirtyDisplayList. - - Note, from Robert Osfield, moved bodies of set*Binding() into - Geometry.cpp to avoid - clutter in the header. +Tue, 4 Jul 2006 09:18:04 +0000 +Checked in by : Robert OSFIELD +From Roland Smeenk, Added missing initialization to zero of the _carryOver value in default and copy constructor. -2006-05-15 11:38 robert +Tue, 4 Jul 2006 09:13:15 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, updates to DirectX loader - * From Adrian Egli, added std::ifstream::binary qualifier to - ifstream usage. +Mon, 3 Jul 2006 20:28:26 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, set the default value of texture wrap mode to REPEAT to fix problem with database without .attr files. -2006-05-15 11:27 robert +Mon, 3 Jul 2006 16:31:30 +0000 +Checked in by : Robert OSFIELD +Fixed a couple of warnings. - * From Paul Martz, "add support for the v16.0 "Add" texture - environment and "mirrored repeat" wrap mode." +Mon, 3 Jul 2006 16:21:57 +0000 +Checked in by : Robert OSFIELD +Fixed orientation and lighting of model. -2006-05-15 11:22 robert +Mon, 3 Jul 2006 15:21:08 +0000 +Checked in by : Robert OSFIELD +Removed template methods that were break VS6.0 build. - * Changed instances of setCoord(const Vec3) to setCoord(const - Vec3&) style. +Mon, 3 Jul 2006 13:53:39 +0000 +Checked in by : Robert OSFIELD +Added a performace test section to osgunitests, currently just does basic C/C++ tests. -2006-05-15 11:18 robert +Mon, 3 Jul 2006 10:47:16 +0000 +Checked in by : Robert OSFIELD +Added merge geodes and geometries optimizer call - * From Brede Johansen, - "- Replaced some member attributes with local variables in Face - record. - - Multitexture support in Vertex class. - - Renamed VertexList to VertexListRecord (VertexList is now a - Vertex array) - - new Mesh (with reserved field at offset 12, thanks to Paul - Martz) - - new LocalVertexPool - - new MeshPrimitive - - Use ProxyNode for externals. - - Local cache for externals" +Mon, 3 Jul 2006 09:26:12 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowski, "Added the ability to read and write images directly in the ive plugin, through the osgDB::readImageFile and osgDB::writeImageFile functions. This is useful for storing compressed textures on disk for rapid playback for animations." -2006-05-15 09:55 robert +Mon, 3 Jul 2006 09:22:11 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, added support for blend seperates to .ive and .osg - * Added VisualStudio project for Quake3 BSP plugin +Fri, 30 Jun 2006 13:50:32 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2006-05-15 09:46 robert +Fri, 30 Jun 2006 13:50:02 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, added support for glBlendFuncSeperate. - * From Carlos García and Paul Baker, Port of Paul Baker's Quake3 - BSP loader to OSG by Carlos García. - - Added Quake3 BSP plugin. +Fri, 30 Jun 2006 13:47:12 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, made a couple of methods static. -2006-05-09 09:47 robert +Thu, 29 Jun 2006 19:38:07 +0000 +Checked in by : Robert OSFIELD +From David Callu, compile fix for gcc 4.1 - * From Farshid Lashkari, "The drawInner() method of - osgUtil::RenderStage ignores the - checkForGLErrors flag of the osg::State object. The attatched - file - fixes this." +Thu, 29 Jun 2006 15:57:24 +0000 +Checked in by : Robert OSFIELD +Added support for RenderBin's have a local top level StateSet. This is now used by default in the depth sorted bin. -2006-05-09 09:42 robert +Thu, 29 Jun 2006 11:57:15 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Tree, build fixes for JavaOSG build. +Thu, 29 Jun 2006 11:00:08 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2006-05-09 09:35 robert +Thu, 29 Jun 2006 10:19:44 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Farshid Lashari, round funciton. +Thu, 29 Jun 2006 10:17:19 +0000 +Checked in by : Robert OSFIELD +Changed _WIN32 to _MSC_VER -2006-05-09 09:13 robert +Thu, 29 Jun 2006 10:06:27 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updates to QuickTime plugin - * Removed redundent variable declaration. +Thu, 29 Jun 2006 09:34:41 +0000 +Checked in by : Robert OSFIELD +Form Brede Johansen, move from istrstream to istringstream. From Robert Osfield, remapped Paul Martz's changes to Pools.h and PaletteRecords.cpp w.r.t texturePatternIndex being a in16, and converted a char* string to a std::string. -2006-05-09 09:12 robert +Thu, 29 Jun 2006 08:08:39 +0000 +Checked in by : Robert OSFIELD +Changed unsinged int to GLuint for OSX compile fix. - * From Farshid Lashkari, "The setScale(Vec3) method of - osg::AutoTransform does not dirty the - matrix. The fix is attached." +Wed, 28 Jun 2006 20:38:32 +0000 +Checked in by : Robert OSFIELD +Changed unsigned int to GLuint for OSX build. -2006-05-04 19:39 robert +Wed, 28 Jun 2006 14:36:28 +0000 +Checked in by : Robert OSFIELD +Change internal variables across to being GLuint. - * Updated wrappers +Wed, 28 Jun 2006 11:37:22 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updates to Xcode projects -2006-05-04 19:36 robert +Wed, 28 Jun 2006 11:27:16 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updates to Xcode projects - * Added removeChild(unsigned int, unsigned int) back in for - backward compatibility. +Wed, 28 Jun 2006 10:22:04 +0000 +Checked in by : Robert OSFIELD +Made the new OpenFlight plugin the default. -2006-05-04 19:15 robert +Wed, 28 Jun 2006 10:00:54 +0000 +Checked in by : Robert OSFIELD +Added a setRadius into the screen space LOD. - * Fixed expire of children to work with the new - Group::removeChildren method. +Wed, 28 Jun 2006 07:17:56 +0000 +Checked in by : Robert OSFIELD +From Martin Naylor, build fix for windows. -2006-05-02 15:52 robert +Wed, 28 Jun 2006 07:14:39 +0000 +Checked in by : Robert OSFIELD +Removed old #include entries. - * Added selective support for thread safe ref/unref such that the - rendering - backend now doesn't use thread safe ref counting where - multi-buffering exists. - This reduces the overhead of multi-threading. +Tue, 27 Jun 2006 20:13:41 +0000 +Checked in by : Robert OSFIELD +Added setting of the CameraConfig:TheradModelDirective -2006-05-02 09:50 robert +Tue, 27 Jun 2006 13:09:00 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, added support for outline/shadow and colour gradient effects. - * Updated wrappers. +Tue, 27 Jun 2006 12:08:30 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, remove Platform specific handling of multi-sample setup as its now supported within Producer in a generic way. From Robert Osfield fix to the parameter ordering -2006-05-02 09:49 robert +Tue, 27 Jun 2006 12:05:40 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, added support for outline/shadow and colour gradient effects. - * Fixed docs on GL_SCALE_NORMAL +Tue, 27 Jun 2006 10:07:42 +0000 +Checked in by : Robert OSFIELD +From Terrex and Andrew Sampsom and Don Tidrow and Robert Osfield,email comments from Andew Sampson, -2006-05-02 09:45 robert +"I've contacted Terrex, and obtained the 2.2 version +of their trpage library. The library included a +fork of OSG 0.9.8's txp plugin, modified to load 2.1+ +txp DBs. - * Reorganised the Group::removeChild and Geode::removeDrawable - methods so - that removeChild(Node*), removeChild(uint) and equivilant Geode - methods are - now inline methods, not designed to be overriden, and seperated - out the - multiple remove method to be called removeChildren(uint, uint) - which is - now the only virtual method. There removeChildren is now the - method to - override in subclasses. - - This reorganisation requires some call code to be rename - removeChild usage - to removeChildren. +I've done the work of incorporating the changes made +to OSG's txp plugin since 0.9.8 into Terrex's fork. +The forked version is now up-to-date with the changes +made to OSG 0.9.9 and 1.0. -2006-05-02 09:18 robert +Terrex made a lot of changes (especially differences +in whitespace), so the diff between the forked version - * Fixed popping of state frustum. +and OSG 1.0's txp plugin is yucky. I did my best, but -2006-05-01 16:20 robert +keep in mind that this is the result of a 4-way merge +(kinda... terrex-0.9.8, stock-0.9.8, stock-0.9.9, +stock-1.0). - * From Colin MacDonald, fixed handling of an adding a graphics - context after the creating of the osgText::Text. +I really want to see this forked version merged back +into the main OSG branch. The new features offered by -2006-05-01 16:13 robert +this version of the plugin (2.1+ support, variable +LOD support, bug fixes) are worth the trouble." - * Ran dos2unix. +-- -2006-05-01 16:11 robert +Don Tidrow then took this code and added his work. - * From Eric Wing, updated precompiled header list in new project - file template. +-- -2006-05-01 16:05 robert +Robert Osfield then fixed all the warnings that abound in the trpage code base. - * From Eric Wing, removed trailing semi colonds from namespace end - bracket. -2006-05-01 14:51 robert - * From Mathew May, FreeBSD support for AMD64. +Mon, 26 Jun 2006 20:45:51 +0000 +Checked in by : Robert OSFIELD +Replaced ref_ptr<>:take with ref_ptr<>:release, and added handling of removeal of ref_ptr<> operator >. -2006-04-28 10:48 robert +Mon, 26 Jun 2006 20:43:18 +0000 +Checked in by : Robert OSFIELD +Added DeleteHandler flush call. - * Added catch for thread model w.r.t new PrecipitationEffect not - being - sensitive to threading issues. +Mon, 26 Jun 2006 20:41:33 +0000 +Checked in by : Robert OSFIELD +From Tyge Løvset, ref_ptr<> template constructor, operators and associated functions.From Robert Osfield, tweaks and fixes to the above, also removed the deprecated take() method. -2006-04-25 13:50 robert - * UPdated wrappers -2006-04-25 12:56 robert +Mon, 26 Jun 2006 20:35:10 +0000 +Checked in by : Robert OSFIELD +Added a functional DeleteHandler. - * Added UseFarLineSegments option +Mon, 26 Jun 2006 15:18:14 +0000 +Checked in by : Robert OSFIELD +Fixed crash on osgconv --compressed cow.osg cow.ive -2006-04-25 12:39 robert +Mon, 26 Jun 2006 10:57:17 +0000 +Checked in by : Robert OSFIELD +Changed GLunit usage to unsigned int. - * Implemented seemless update of precipitation properties. +Mon, 26 Jun 2006 10:39:38 +0000 +Checked in by : Robert OSFIELD +From Andreas Ekstrand, fix for Windows -2006-04-25 09:00 robert +Mon, 26 Jun 2006 09:56:52 +0000 +Checked in by : Robert OSFIELD +From Leandro Motta Barros, documentation additions to PrimitiveSet & TriangleFunctor. - * Reset the default number of graphics context to 1. +Mon, 26 Jun 2006 09:30:16 +0000 +Checked in by : Robert OSFIELD +From Philipp Siemoleit, There are some group codes (i.e. "62") which are interpreted as + dxfDataType::SHORT. That's right because the dxf-specification defines + "16 bit integer" as the type for the corresponding value. + But readerBase::readGroup() calls readValue(std::ifstream&, unsigned + short). I changed readValue(std::ifstream&, unsigned short) to + readValue(std::ifstream&, short). I found no group code at the dxf-specs + which needs a "16 bit unsigned integer" value. So the + readValue(std::ifstream&, unsigned short) function is obsolete - right? -2006-04-24 21:48 robert - * Moved LessFunctor into header. -2006-04-24 16:21 robert +Mon, 26 Jun 2006 09:18:49 +0000 +Checked in by : Robert OSFIELD +From David Fries, Reset only the RenderLeaf objects used in the last frame as given by the _currentReuseRenderLeafIndex instead of resetting all leaves which can be very time consuming. - * Moved PrecipitationParameters directly into PrecipitationEffect. +Mon, 26 Jun 2006 09:09:10 +0000 +Checked in by : Robert OSFIELD +From Martin Naylor, added osgGA dependency to osgkeyboardmouse -2006-04-24 11:24 robert +Fri, 16 Jun 2006 09:28:35 +0000 +Checked in by : Robert OSFIELD +Fixed typo. - * Added depth sorting of cells. +Mon, 12 Jun 2006 14:04:40 +0000 +Checked in by : Robert OSFIELD +Added pick handler. -2006-04-24 10:32 robert +Mon, 12 Jun 2006 11:32:11 +0000 +Checked in by : Robert OSFIELD +Revamped osgkeyboardmouse to use the osgGA. - * Added near/far compute. +Mon, 12 Jun 2006 09:57:01 +0000 +Checked in by : Robert OSFIELD +From Mathew May, FreeBSD build fixes. -2006-04-24 09:35 robert +Thu, 8 Jun 2006 15:27:18 +0000 +Checked in by : Robert OSFIELD +Martin Spindler, new osg::ClampColor state attribute. - * Added osgParticle dependency to osgPrecipitation example. +Thu, 8 Jun 2006 14:32:02 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, added support to textured light points into osgSim and OpenFlight loader, as part of the OpenFlight v16.0 spec. -2006-04-24 08:37 robert +Thu, 8 Jun 2006 13:34:29 +0000 +Checked in by : Robert OSFIELD +From Matt Green, fix to handling of centering of multi-line text entries. - * Added osgUtil to the osgParticle dependencies. +Thu, 8 Jun 2006 12:09:51 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, clean up of comments. -2006-04-24 06:36 robert +Thu, 8 Jun 2006 12:07:11 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, reverted shaders changes due to lack of hardware/driver support - * Added support for wind. +Thu, 8 Jun 2006 11:58:56 +0000 +Checked in by : Robert OSFIELD +From Gustavo Wagner, addition of trim method to TemplateArray class.From Robert Osfield, made trim method a virtual method of the base Array class +and added a trim implementation to TemplateIndexArray. -2006-04-22 15:08 robert - * Moved PrecipitationEffect node into osgParticle. -2006-04-22 15:07 robert +Thu, 8 Jun 2006 11:56:07 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, fixed incorrect filename in project file - * Decreased notify level of debug message. +Thu, 8 Jun 2006 11:39:10 +0000 +Checked in by : Robert OSFIELD +With direction from Paul Melis, fixed bug in CopySharedSubgraphsVisitor which prevented it being applied. Also fix inappropriate comment. -2006-04-22 06:33 robert +Thu, 8 Jun 2006 11:22:45 +0000 +Checked in by : Robert OSFIELD +From Joan Abadie: patch fixes : "osgDB::makeDirectory doesn't work on win32 when using full path name like : "d:/demo" it tryes a mkdir("d:")." - * Moved PrecipitationDrawable into PrecipitationEffect. +Thu, 8 Jun 2006 11:19:24 +0000 +Checked in by : Robert OSFIELD +Added setting of default colour. -2006-04-21 19:39 robert +Thu, 8 Jun 2006 11:18:27 +0000 +Checked in by : Robert OSFIELD +added SphereSegment test code segment, commented out at pressent. - * Added new precipitation nodes. +Mon, 5 Jun 2006 16:25:29 +0000 +Checked in by : Robert OSFIELD +Added missing clip against maximum azimuth. -2006-04-21 17:16 don +Mon, 5 Jun 2006 16:25:01 +0000 +Checked in by : Robert OSFIELD +Added extra SphereSegment intersection tests. - * Fixed a cut-n-paste error in the ground intersects. +Mon, 5 Jun 2006 16:06:29 +0000 +Checked in by : Robert OSFIELD +Improved stats sizing in presense of wide screens. -2006-04-19 19:00 robert +Mon, 29 May 2006 09:08:48 +0000 +Checked in by : Robert OSFIELD +Reverted changes from revision 1.4, as they look like a temporary hack not intended to be merged. - * Fixed mouse scroll mapping. +Fri, 26 May 2006 15:19:14 +0000 +Checked in by : Robert OSFIELD +From Jason Baverage, support for interpolating DEM data from GDAL to the positions required for the current tile. -2006-04-19 13:04 robert +Tue, 23 May 2006 19:03:29 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix of files - * Convertered shaders across to using modelview matrix instead of - uniforms. +Mon, 22 May 2006 19:30:07 +0000 +Checked in by : Robert OSFIELD +Cleaned up the OpenGL error reporting. -2006-04-17 19:10 robert +Tue, 16 May 2006 21:32:37 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * Standardised the bin number of the particle effects +Tue, 16 May 2006 21:20:36 +0000 +Checked in by : Robert OSFIELD +Minor tweaks of ints to unsigned ints -2006-04-17 13:25 robert +Tue, 16 May 2006 21:00:45 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, futher work on Uniform array support. - * Added setting of the FrameStamp on the RenderStage's local - GraphicsContext to - keep it in sync with the calling graphics context. +Tue, 16 May 2006 21:00:15 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, support for new Uniform arrays. From Robert Osfield, refactor of above with original code to ensure backwards compatibility. -2006-04-14 16:44 robert +Tue, 16 May 2006 10:21:59 +0000 +Checked in by : Robert OSFIELD +Compile fixes for OSX - * Added inline shaders so that the tha example can be run from any - directory. +Mon, 15 May 2006 15:46:08 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, support GLSL uniform arrays. A couple of tweaks and fixes from Robert Osfield. -2006-04-14 15:03 robert +Mon, 15 May 2006 13:22:59 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "This change is based on current CVS. (Note both Brede and I have submitted changes to this plugin that aren't in current CVS yet -- this change is based on current CVS, not our changed files.)This changes how shader palette records are parsed to support GLSL per the +OpenFlight 16.1 spec. Existing functionality for 16.0 files is preserved. - * Further tweaks to settings to improve performance at mid - intensity ranges +The change to Document.h simply adds an enum for VERSION_16_1." -2006-04-14 14:24 robert - * Refined the default settings for rain and snow to achieve better - framerates. -2006-04-14 11:04 robert +Mon, 15 May 2006 13:13:16 +0000 +Checked in by : Robert OSFIELD +Replaced BoundingBox with GeospatialExtents. - * Added fog parameters settings. +Mon, 15 May 2006 13:12:55 +0000 +Checked in by : Robert OSFIELD +From Jason Baverage, Added GeospatialExtents bounding box class which used doubles +in place of the original usage of osg::BoundingBox. -2006-04-14 08:28 robert +Added path for computing interpolation elevation data being read from GDAL. - * From Ben Discoe, added missing drawable->dirtyDisplayList(). -2006-04-13 20:21 robert - * Added --numberOfParticles, --numberOfCellsX, --numberOfCellsY, - --numberOfCellsZ, --boundingBox, --fogEnd and --fogDensity - controls +Mon, 15 May 2006 11:56:59 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, removed trailing commans from enum lists. -2006-04-13 19:05 robert +Mon, 15 May 2006 11:53:21 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, compile fix for OSX. - * Added command line options and various speed improvements. +Mon, 15 May 2006 11:48:05 +0000 +Checked in by : Robert OSFIELD +From Daniel Trastenjak, added checking of binding modes to ensure that changes are only applied when the binding mode changes, thereby avoiding uncessary calls to dirtyDisplayList.Note, from Robert Osfield, moved bodies of set*Binding() into Geometry.cpp to avoid +clutter in the header. -2006-04-12 11:59 robert - * Implement positioning of cells via vertex attribute. -2006-04-12 09:42 robert +Mon, 15 May 2006 11:38:56 +0000 +Checked in by : Robert OSFIELD +From Adrian Egli, added std::ifstream::binary qualifier to ifstream usage. - * Moved common uniforms to top of precipitation subgraph. - - Added a run of the SpatializeGroupVisitor to create a balanced - subgraph. - - Changed the quad to particle transistion distance from 100 to - 50m. +Mon, 15 May 2006 11:27:07 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "add support for the v16.0 "Add" texture environment and "mirrored repeat" wrap mode." -2006-04-11 19:56 robert +Mon, 15 May 2006 11:22:08 +0000 +Checked in by : Robert OSFIELD +Changed instances of setCoord(const Vec3) to setCoord(const Vec3&) style. - * Added support for LOD's with transistion between quads and point - rendering. +Mon, 15 May 2006 11:18:50 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "- Replaced some member attributes with local variables in Face record. - Multitexture support in Vertex class. - Renamed VertexList to VertexListRecord (VertexList is now a Vertex array) - new Mesh (with reserved field at offset 12, thanks to Paul Martz) - new LocalVertexPool - new MeshPrimitive - Use ProxyNode for externals. - Local cache for externals" -2006-04-11 13:22 robert +Mon, 15 May 2006 09:55:53 +0000 +Checked in by : Robert OSFIELD +Added VisualStudio project for Quake3 BSP plugin - * Added support for point sprite particle effects. +Mon, 15 May 2006 09:46:54 +0000 +Checked in by : Robert OSFIELD +From Carlos García and Paul Baker, Port of Paul Baker's Quake3 BSP loader to OSG by Carlos García.Added Quake3 BSP plugin. -2006-04-11 10:53 robert - * Added point and line paths. -2006-04-11 08:44 robert +Tue, 9 May 2006 09:47:26 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "The drawInner() method of osgUtil::RenderStage ignores the checkForGLErrors flag of the osg::State object. The attatched file fixes this." - * Added setting of the - DisplaySettings::setMaxNumberOfGraphicsContext() to the - number of contexts required by Producer. +Tue, 9 May 2006 09:42:17 +0000 +Checked in by : Robert OSFIELD +From Tree, build fixes for JavaOSG build. -2006-04-10 15:45 robert +Tue, 9 May 2006 09:35:12 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashari, round funciton. - * From Martin Naylor, osgprecipitation project file. +Tue, 9 May 2006 09:13:07 +0000 +Checked in by : Robert OSFIELD +Removed redundent variable declaration. -2006-04-07 19:54 robert +Tue, 9 May 2006 09:12:43 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "The setScale(Vec3) method of osg::AutoTransform does not dirty the matrix. The fix is attached." - * Added mipmap generation. +Thu, 4 May 2006 19:39:58 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2006-04-07 18:24 robert +Thu, 4 May 2006 19:36:30 +0000 +Checked in by : Robert OSFIELD +Added removeChild(unsigned int, unsigned int) back in for backward compatibility. - * Added quad based rain effect +Thu, 4 May 2006 19:15:52 +0000 +Checked in by : Robert OSFIELD +Fixed expire of children to work with the new Group::removeChildren method. -2006-04-06 14:06 robert +Tue, 2 May 2006 15:52:46 +0000 +Checked in by : Robert OSFIELD +Added selective support for thread safe ref/unref such that the rendering backend now doesn't use thread safe ref counting where multi-buffering exists. This reduces the overhead of multi-threading. - * From Brede Johansen, added MergeGeode visitor to - osgUtil::Optimizer. +Tue, 2 May 2006 09:50:00 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2006-04-05 15:13 robert +Tue, 2 May 2006 09:49:37 +0000 +Checked in by : Robert OSFIELD +Fixed docs on GL_SCALE_NORMAL - * Added beginings osgprecipitation example. +Tue, 2 May 2006 09:45:31 +0000 +Checked in by : Robert OSFIELD +Reorganised the Group::removeChild and Geode::removeDrawable methods so that removeChild(Node*), removeChild(uint) and equivilant Geode methods are now inline methods, not designed to be overriden, and seperated out the multiple remove method to be called removeChildren(uint, uint) which is now the only virtual method. There removeChildren is now the method to override in subclasses.This reorganisation requires some call code to be rename removeChild usage +to removeChildren. -2006-04-04 23:22 don - * Fixed a bug in the DelaunayTriangulator uniquify points method. - Was always - skipping the first point. -2006-04-04 14:10 robert +Tue, 2 May 2006 09:18:36 +0000 +Checked in by : Robert OSFIELD +Fixed popping of state frustum. - * Added missing .js file. +Mon, 1 May 2006 16:20:26 +0000 +Checked in by : Robert OSFIELD +From Colin MacDonald, fixed handling of an adding a graphics context after the creating of the osgText::Text. -2006-04-04 13:47 robert +Mon, 1 May 2006 16:13:37 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix. - * From Joran Jessurun and Chris Hanson, Visual Studio Static build - support. +Mon, 1 May 2006 16:11:30 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, updated precompiled header list in new project file template. -2006-04-04 13:20 robert +Mon, 1 May 2006 16:05:16 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, removed trailing semi colonds from namespace end bracket. - * Updated wrappers. +Mon, 1 May 2006 14:51:56 +0000 +Checked in by : Robert OSFIELD +From Mathew May, FreeBSD support for AMD64. -2006-04-04 12:58 robert +Fri, 28 Apr 2006 10:48:05 +0000 +Checked in by : Robert OSFIELD +Added catch for thread model w.r.t new PrecipitationEffect not being sensitive to threading issues. - * Converted SceneHandlerList to use Producer::ref_ptr<> +Tue, 25 Apr 2006 13:50:07 +0000 +Checked in by : Robert OSFIELD +UPdated wrappers -2006-04-04 12:53 robert +Tue, 25 Apr 2006 12:56:33 +0000 +Checked in by : Robert OSFIELD +Added UseFarLineSegments option - * From Eric Wing, XCode project files. +Tue, 25 Apr 2006 12:39:00 +0000 +Checked in by : Robert OSFIELD +Implemented seemless update of precipitation properties. -2006-04-03 19:14 robert +Tue, 25 Apr 2006 09:00:07 +0000 +Checked in by : Robert OSFIELD +Reset the default number of graphics context to 1. - * #if'd out use of barrier for stats collection. +Mon, 24 Apr 2006 21:48:23 +0000 +Checked in by : Robert OSFIELD +Moved LessFunctor into header. -2006-04-03 18:25 robert +Mon, 24 Apr 2006 16:21:10 +0000 +Checked in by : Robert OSFIELD +Moved PrecipitationParameters directly into PrecipitationEffect. - * Temporary fix for hang in stats when multi-threaded. +Mon, 24 Apr 2006 11:24:08 +0000 +Checked in by : Robert OSFIELD +Added depth sorting of cells. -2006-03-31 01:37 don +Mon, 24 Apr 2006 10:32:33 +0000 +Checked in by : Robert OSFIELD +Added near/far compute. - * Don Tidrow's ifdef for MingW +Mon, 24 Apr 2006 09:35:01 +0000 +Checked in by : Robert OSFIELD +Added osgParticle dependency to osgPrecipitation example. -2006-03-30 10:20 robert +Mon, 24 Apr 2006 08:37:04 +0000 +Checked in by : Robert OSFIELD +Added osgUtil to the osgParticle dependencies. - * Build fixes to cope with changes to Producer/osgProducer. +Mon, 24 Apr 2006 06:36:26 +0000 +Checked in by : Robert OSFIELD +Added support for wind. -2006-03-29 23:32 don +Sat, 22 Apr 2006 15:08:07 +0000 +Checked in by : Robert OSFIELD +Moved PrecipitationEffect node into osgParticle. - * Updates to osgProducer to bring it up to speed with changes in - Producer +Sat, 22 Apr 2006 15:07:36 +0000 +Checked in by : Robert OSFIELD +Decreased notify level of debug message. -2006-03-28 16:08 robert +Sat, 22 Apr 2006 06:33:01 +0000 +Checked in by : Robert OSFIELD +Moved PrecipitationDrawable into PrecipitationEffect. - * From Mike Weiblen, changes to internal help class in prep for - array uniform support. - Small tweaks for build under Linux from Robert Osfield. +Fri, 21 Apr 2006 19:39:05 +0000 +Checked in by : Robert OSFIELD +Added new precipitation nodes. -2006-03-28 14:45 robert +Fri, 21 Apr 2006 17:16:49 +0000 +Checked in by : Don BURNS +Fixed a cut-n-paste error in the ground intersects. - * From Glenn Waldrom, addition of .ive support for PriorityOffset - and PriorityScale. +Wed, 19 Apr 2006 19:00:04 +0000 +Checked in by : Robert OSFIELD +Fixed mouse scroll mapping. -2006-03-28 10:45 robert +Wed, 19 Apr 2006 13:04:21 +0000 +Checked in by : Robert OSFIELD +Convertered shaders across to using modelview matrix instead of uniforms. - * From Eric Sokolosky, added help for - PRODUCER_CAMERA_BLOCK_ON_VSYNC +Mon, 17 Apr 2006 19:10:06 +0000 +Checked in by : Robert OSFIELD +Standardised the bin number of the particle effects -2006-03-28 10:28 robert +Mon, 17 Apr 2006 13:25:33 +0000 +Checked in by : Robert OSFIELD +Added setting of the FrameStamp on the RenderStage's local GraphicsContext to keep it in sync with the calling graphics context. - * From Mike Weiblen, added support for new OSG_IMAGE_FILE_NAME env - var for - setting the default name to use when writing out captured images - from the - viewer. +Fri, 14 Apr 2006 16:44:12 +0000 +Checked in by : Robert OSFIELD +Added inline shaders so that the tha example can be run from any directory. -2006-03-27 20:30 robert +Fri, 14 Apr 2006 15:03:36 +0000 +Checked in by : Robert OSFIELD +Further tweaks to settings to improve performance at mid intensity ranges - * Updated ChangeLog. +Fri, 14 Apr 2006 14:24:12 +0000 +Checked in by : Robert OSFIELD +Refined the default settings for rain and snow to achieve better framerates. -2006-03-18 07:07 robert +Fri, 14 Apr 2006 11:04:11 +0000 +Checked in by : Robert OSFIELD +Added fog parameters settings. - * From Farshid Lasharki, added IO suppoty fo - osgParticle::ConstantRateContour +Fri, 14 Apr 2006 08:28:35 +0000 +Checked in by : Robert OSFIELD +From Ben Discoe, added missing drawable->dirtyDisplayList(). -2006-03-17 22:25 robert +Thu, 13 Apr 2006 20:21:55 +0000 +Checked in by : Robert OSFIELD +Added --numberOfParticles, --numberOfCellsX, --numberOfCellsY, --numberOfCellsZ, --boundingBox, --fogEnd and --fogDensity controls - * Updated wrappers. +Thu, 13 Apr 2006 19:05:26 +0000 +Checked in by : Robert OSFIELD +Added command line options and various speed improvements. -2006-03-17 22:23 robert +Wed, 12 Apr 2006 11:59:07 +0000 +Checked in by : Robert OSFIELD +Implement positioning of cells via vertex attribute. - * Added exports. +Wed, 12 Apr 2006 09:42:25 +0000 +Checked in by : Robert OSFIELD +Moved common uniforms to top of precipitation subgraph.Added a run of the SpatializeGroupVisitor to create a balanced subgraph. -2006-03-17 22:22 robert +Changed the quad to particle transistion distance from 100 to 50m. - * From Keith Steffen, changed instance of sun to sun_geode to avoid - Solaris10 build issue with it defining "sun"?#! -2006-03-17 14:05 robert - * From Farshid Lashkari, Added ability to read/write the texture - tile - settings of osgParticle::Particle to .osg files. +Tue, 11 Apr 2006 19:56:53 +0000 +Checked in by : Robert OSFIELD +Added support for LOD's with transistion between quads and point rendering. -2006-03-17 11:28 robert +Tue, 11 Apr 2006 13:22:59 +0000 +Checked in by : Robert OSFIELD +Added support for point sprite particle effects. - * From Sohey Yamamoto, fixed eroneous CHECK_BLACK_LISTED_MODES enum - value, changing 0xA0 to 0x100 +Tue, 11 Apr 2006 10:53:46 +0000 +Checked in by : Robert OSFIELD +Added point and line paths. -2006-03-15 15:49 robert +Tue, 11 Apr 2006 08:44:26 +0000 +Checked in by : Robert OSFIELD +Added setting of the DisplaySettings::setMaxNumberOfGraphicsContext() to the number of contexts required by Producer. - * Added createEvent() convinience method. +Mon, 10 Apr 2006 15:45:59 +0000 +Checked in by : Robert OSFIELD +From Martin Naylor, osgprecipitation project file. -2006-03-15 12:26 robert +Fri, 7 Apr 2006 19:54:44 +0000 +Checked in by : Robert OSFIELD +Added mipmap generation. - * Added comment on the meaning of the matrix paramter in the - computeIntersections methods. +Fri, 7 Apr 2006 18:24:52 +0000 +Checked in by : Robert OSFIELD +Added quad based rain effect -2006-03-15 12:26 robert +Thu, 6 Apr 2006 14:06:22 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, added MergeGeode visitor to osgUtil::Optimizer. - * Added moving sphere segment intersections. +Wed, 5 Apr 2006 15:13:17 +0000 +Checked in by : Robert OSFIELD +Added beginings osgprecipitation example. -2006-03-15 11:21 robert +Tue, 4 Apr 2006 23:22:34 +0000 +Checked in by : Don BURNS +Fixed a bug in the DelaunayTriangulator uniquify points method. Was always skipping the first point. - * From Martin Naylor, build fix for Win32. +Tue, 4 Apr 2006 14:10:48 +0000 +Checked in by : Robert OSFIELD +Added missing .js file. -2006-03-15 10:36 robert +Tue, 4 Apr 2006 13:47:35 +0000 +Checked in by : Robert OSFIELD +From Joran Jessurun and Chris Hanson, Visual Studio Static build support. - * From Martin Naylor, added ESRIShape.dsp project +Tue, 4 Apr 2006 13:20:12 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2006-03-14 13:18 robert +Tue, 4 Apr 2006 12:58:56 +0000 +Checked in by : Robert OSFIELD +Converted SceneHandlerList to use Producer::ref_ptr<> - * Build fixes +Tue, 4 Apr 2006 12:53:10 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, XCode project files. -2006-03-14 09:33 robert +Mon, 3 Apr 2006 19:14:58 +0000 +Checked in by : Robert OSFIELD +#if'd out use of barrier for stats collection. - * Added 21 as the version number of xine video plugin to allow it - work with latest versions of xine. +Mon, 3 Apr 2006 18:25:31 +0000 +Checked in by : Robert OSFIELD +Temporary fix for hang in stats when multi-threaded. -2006-03-14 09:23 robert +Fri, 31 Mar 2006 01:37:38 +0000 +Checked in by : Don BURNS +Don Tidrow's ifdef for MingW - * From Martin Naylor, added normals VS project +Thu, 30 Mar 2006 10:20:11 +0000 +Checked in by : Robert OSFIELD +Build fixes to cope with changes to Producer/osgProducer. -2006-03-13 21:29 robert +Wed, 29 Mar 2006 23:32:51 +0000 +Checked in by : Don BURNS +Updates to osgProducer to bring it up to speed with changes in Producer - * From Farshid Lashkari, "The following patch adds a multisample - option to the - osg::DisplaySettings class. OsgCameraGroup will now read the - setting - from the DisplaySettings instead of hardcoding the value. I added - the - following commandline option to be able to set the multisample - value: - - --samples - - One thing to note, OsgCameraGroup would previously check if the - computer is an SGI and set multisample to 4. I retained this - check in - DisplaySettings to be backwards compatible." +Tue, 28 Mar 2006 16:08:32 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, changes to internal help class in prep for array uniform support. Small tweaks for build under Linux from Robert Osfield. -2006-03-13 21:20 robert +Tue, 28 Mar 2006 14:45:48 +0000 +Checked in by : Robert OSFIELD +From Glenn Waldrom, addition of .ive support for PriorityOffset and PriorityScale. - * From Andrew Sampson, "The terravista terrain generation tool can - insert references to external model files into a terrapage tile. - It unfortunately does not update the bounding sphere of that tile - to include the extents of the external model. This means that if - a large model (such as an airfield model) is attached to a tile, - the model will disappear when the tile is off-screen (outside the - view volume), even though the model is on-screen." +Tue, 28 Mar 2006 10:45:15 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolosky, added help for PRODUCER_CAMERA_BLOCK_ON_VSYNC -2006-03-13 13:19 robert +Tue, 28 Mar 2006 10:28:49 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added support for new OSG_IMAGE_FILE_NAME env var for setting the default name to use when writing out captured images from the viewer. - * Added an EventQueue directly into osgProducer::Viewer. +Mon, 27 Mar 2006 20:30:10 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog. -2006-03-09 15:16 robert +Sat, 18 Mar 2006 07:07:19 +0000 +Checked in by : Robert OSFIELD +From Farshid Lasharki, added IO suppoty fo osgParticle::ConstantRateContour - * Checked in the genwrapper generated Export.cpp. This does seem to - be an eroneously - built file though since Export.cpp doesn't appear in the other - plugins... I have checked - it in here to keep the builds running, there isn't actually any - useful body in the Export.cpp. +Fri, 17 Mar 2006 22:25:32 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2006-03-09 13:02 robert +Fri, 17 Mar 2006 22:23:37 +0000 +Checked in by : Robert OSFIELD +Added exports. - * Ran dos2unix on new OpenFlight files. +Fri, 17 Mar 2006 22:22:57 +0000 +Checked in by : Robert OSFIELD +From Keith Steffen, changed instance of sun to sun_geode to avoid Solaris10 build issue with it defining "sun"?#! -2006-03-08 21:38 robert +Fri, 17 Mar 2006 14:05:40 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, Added ability to read/write the texture tile settings of osgParticle::Particle to .osg files. - * From Brede Johansen, new OpenFlight plugin!!!!! - - By default the original flt plugin is still used, to select at - runtime - the new plugin set the env OSG_OPEN_FLIGHT_PLUGIN=new +Fri, 17 Mar 2006 11:28:35 +0000 +Checked in by : Robert OSFIELD +From Sohey Yamamoto, fixed eroneous CHECK_BLACK_LISTED_MODES enum value, changing 0xA0 to 0x100 -2006-03-08 16:11 robert +Wed, 15 Mar 2006 15:49:21 +0000 +Checked in by : Robert OSFIELD +Added createEvent() convinience method. - * From Bob Kuehne, added osg::getGlVersion() and fixed a minor typo - in Texture3D. +Wed, 15 Mar 2006 12:26:48 +0000 +Checked in by : Robert OSFIELD +Added comment on the meaning of the matrix paramter in the computeIntersections methods. -2006-03-08 15:40 robert +Wed, 15 Mar 2006 12:26:10 +0000 +Checked in by : Robert OSFIELD +Added moving sphere segment intersections. - * Added EventQueue. +Wed, 15 Mar 2006 11:21:44 +0000 +Checked in by : Robert OSFIELD +From Martin Naylor, build fix for Win32. -2006-03-08 15:30 robert +Wed, 15 Mar 2006 10:36:10 +0000 +Checked in by : Robert OSFIELD +From Martin Naylor, added ESRIShape.dsp project - * From Farshid Lashkari, "A while back the behaviour of extension - alias' was modified so that - the user can override existing alias'. The change allowed for - circular - references, so the createLibraryNameForExtension would get caught - in - an endless loop. The following fix will catch circular - references." +Tue, 14 Mar 2006 13:18:21 +0000 +Checked in by : Robert OSFIELD +Build fixes -2006-03-08 15:26 robert +Tue, 14 Mar 2006 09:33:14 +0000 +Checked in by : Robert OSFIELD +Added 21 as the version number of xine video plugin to allow it work with latest versions of xine. - * From Farshid Lashkari, "I noticed that sometimes when a particle - emitter is re-enabled, a few - particles will appear at the location it was disabled at. The - problem - is that the previous local to world matrix is not being updated - while - it is disabled. I modified the particle processor so that it will - set - the dirty flag for the previous local to world matrix when the - processor is skipped for a frame, since the value will no longer - be - relevant." - -2006-03-08 15:16 robert - - * From Roger James, "1. Fixed a problem with the caching of - textures when the associated image file was not in the current - working directory. In this case the texture object was being - placed in the cache with the short filename, but was looked up - with the full path. - - 2. Fixed a problem with the caching of textures when CACHE_IMAGES - was enabled. This caused a conflict is the names used to cache - the image and texture objects. - - 3. Fixed a problem where AC3D generates surfaces with duplicate - vertex indices. - - 4. Removed what I believe are redundant calls to the tesselator. - - 5. Added a couple of asserts which should fire in debug mode if - my assumptions about 4. are incorrect. - - 6. Removed obviously unused code. (Stuff that was commented or - ifdeffed out.)" - - Note, from Robert Osfield, changed the asserts to if () report - error using notify so we can catch errors in both optimized and - debug builds, but without crashing. +Tue, 14 Mar 2006 09:23:30 +0000 +Checked in by : Robert OSFIELD +From Martin Naylor, added normals VS project -2006-03-08 14:09 robert +Mon, 13 Mar 2006 21:29:17 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "The following patch adds a multisample option to the osg::DisplaySettings class. OsgCameraGroup will now read the setting from the DisplaySettings instead of hardcoding the value. I added the following commandline option to be able to set the multisample value:--samples - * Converted osgGA::GUIEventAdapter into a concrete class capable of - respresenting - keyboard and mouse events. - - Added osgGA::EventQueue class to support a thread safe event - queue and adaption - of keyboard and mouse events. - - Removed osgProducer::EventAdapter as GUIEventAdapter replaces it. - - Adapted osgProducer and examples to work with the new changes to - osgGA. +One thing to note, OsgCameraGroup would previously check if the +computer is an SGI and set multisample to 4. I retained this check in +DisplaySettings to be backwards compatible." -2006-03-07 18:26 don - * Improved the GET protocol for the http socket. By adding - Connection: close - the server sends a EOF immediately after the data, improving - performance - because readers are not left waiting for EOF. -2006-03-05 20:46 robert +Mon, 13 Mar 2006 21:20:07 +0000 +Checked in by : Robert OSFIELD +From Andrew Sampson, "The terravista terrain generation tool can insert references to external model files into a terrapage tile. It unfortunately does not update the bounding sphere of that tile to include the extents of the external model. This means that if a large model (such as an airfield model) is attached to a tile, the model will disappear when the tile is off-screen (outside the view volume), even though the model is on-screen." - * Began work on making EventVisitor capable of adapting events - directly. +Mon, 13 Mar 2006 13:19:37 +0000 +Checked in by : Robert OSFIELD +Added an EventQueue directly into osgProducer::Viewer. -2006-03-02 20:39 robert +Thu, 9 Mar 2006 15:16:18 +0000 +Checked in by : Robert OSFIELD +Checked in the genwrapper generated Export.cpp. This does seem to be an eroneously built file though since Export.cpp doesn't appear in the other plugins... I have checked it in here to keep the builds running, there isn't actually any useful body in the Export.cpp. - * From Farshid Lashkari, support for writing to istream for the the - TIFF plugin and support for - controlling PNG compression level via the the - ReaderWriter::Option string "PNG_COMPRESSION " - -2006-03-02 20:31 robert - - * Added automatic toggling between png and jpeg when - compressImageData option is used. Jpeg - is used to compress RGB data only, the just of the formats are - passed on to the png plugin. - -2006-03-02 15:26 robert - - * From Robert Swain, compile fix for debian unstable. - -2006-03-02 14:58 robert - - * From Farshid Lashakari, support for png write. - -2006-03-01 10:17 robert - - * From Farshid Lashkari, "I've attached another modified version of - the IVE loader which - supports compressing the image data. The option to compress the - data - is "compressImageData". Currently it uses the jpeg plugin to - write the - image. Maybe we could add an option that allows the user to - specify - which image format to use. The jpeg writer supports specifying - the - quality of the jpeg, so you could use the following command line - to - convert the skydome.osg model to IVE using 50% jpeg quality: - - osgconv -O "compressImageData JPEG_QUALITY 50" skydome.osg - skydome.ive" - -2006-02-28 21:18 robert - - * Added TextureRectangle.cpp +Thu, 9 Mar 2006 13:02:11 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix on new OpenFlight files. -2006-02-28 20:10 robert +Wed, 8 Mar 2006 21:38:37 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, new OpenFlight plugin!!!!!By default the original flt plugin is still used, to select at runtime +the new plugin set the env OSG_OPEN_FLIGHT_PLUGIN=new - * Compile fix. -2006-02-28 19:46 robert - * From Brede Johansen, added missing array handling into - Geometry::accept(AttributeFunctor& - af) and Geometry::accept(ConstAttributeFunctor& af). +Wed, 8 Mar 2006 16:11:54 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, added osg::getGlVersion() and fixed a minor typo in Texture3D. -2006-02-28 19:36 robert +Wed, 8 Mar 2006 15:40:02 +0000 +Checked in by : Robert OSFIELD +Added EventQueue. - * Further clean up of RefNodePath references. +Wed, 8 Mar 2006 15:30:07 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "A while back the behaviour of extension alias' was modified so that the user can override existing alias'. The change allowed for circular references, so the createLibraryNameForExtension would get caught in an endless loop. The following fix will catch circular references." -2006-02-28 19:12 robert +Wed, 8 Mar 2006 15:26:39 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I noticed that sometimes when a particle emitter is re-enabled, a few particles will appear at the location it was disabled at. The problem is that the previous local to world matrix is not being updated while it is disabled. I modified the particle processor so that it will set the dirty flag for the previous local to world matrix when the processor is skipped for a frame, since the value will no longer be relevant." - * Updated wrappers. +Wed, 8 Mar 2006 15:16:59 +0000 +Checked in by : Robert OSFIELD +From Roger James, "1. Fixed a problem with the caching of textures when the associated image file was not in the current working directory. In this case the texture object was being placed in the cache with the short filename, but was looked up with the full path.2. Fixed a problem with the caching of textures when CACHE_IMAGES was enabled. This caused a conflict is the names used to cache the image and texture objects. -2006-02-28 18:54 robert +3. Fixed a problem where AC3D generates surfaces with duplicate vertex indices. - * Fixes to removed dependency on RefNodePath. +4. Removed what I believe are redundant calls to the tesselator. -2006-02-27 19:51 robert +5. Added a couple of asserts which should fire in debug mode if my assumptions about 4. are incorrect. - * Updated wrappers. +6. Removed obviously unused code. (Stuff that was commented or ifdeffed out.)" -2006-02-27 19:49 robert +Note, from Robert Osfield, changed the asserts to if () report error using notify so we can catch errors in both optimized and debug builds, but without crashing. - * Ported NodeTrackCallback and NodeTrackManipulator across to use - oberserver_ptr - instead of RefNodePath. - - Removed now redundent RefNodePath. -2006-02-27 19:48 robert - * Added support in osg::computeWorldToLocal and compteLocalToWorld - functions for automatically - stripping any absolute or root CameraNode's from the NodePaths. - - Added osg::Node::getWorldMatrices() convinience method. +Wed, 8 Mar 2006 14:09:47 +0000 +Checked in by : Robert OSFIELD +Converted osgGA::GUIEventAdapter into a concrete class capable of respresenting keyboard and mouse events.Added osgGA::EventQueue class to support a thread safe event queue and adaption +of keyboard and mouse events. -2006-02-27 19:44 robert +Removed osgProducer::EventAdapter as GUIEventAdapter replaces it. - * Added new observer_ptr templated smart pointer to allow one to - retain pointers - to objects but have the pointer reset to null if that object is - deleted. +Adapted osgProducer and examples to work with the new changes to osgGA. -2006-02-26 17:45 robert - * From Farshid Lashkari, "I've made some changes to the IVE loader - which will add the capability - of saving image files inside the IVE file. Currently, only the - raw - image data is saved into the file. If your model uses jpg images - as - textures then this will cause your file size to increase. - - I've added an option that will embed the original image file into - the - IVE file. The IVE file will then attempt to read the image from - memory. Since most image loaders support reading from memory, - this - shouldn't be a problem. To use this new feature the user must - specify - the option "includeImageFileInIVEFile" when converting to IVE. - - I tested this out on the "skydome.osg" model that comes with OSG. - Using the old method, the IVE file size would be 785 KB, with the - new - method it is only 42 KB. - - Also, I've added the support for TextureRectangle's to the IVE - reader/writer." -2006-02-24 13:57 robert +Tue, 7 Mar 2006 18:26:32 +0000 +Checked in by : Don BURNS +Improved the GET protocol for the http socket. By adding Connection: close the server sends a EOF immediately after the data, improving performance because readers are not left waiting for EOF. - * Added debugging code to help pick out instablilities in - osgParticle. Debugging - code now commented out. +Sun, 5 Mar 2006 20:46:59 +0000 +Checked in by : Robert OSFIELD +Began work on making EventVisitor capable of adapting events directly. -2006-02-24 13:56 robert +Thu, 2 Mar 2006 20:39:20 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, support for writing to istream for the the TIFF plugin and support for controlling PNG compression level via the the ReaderWriter::Option string "PNG_COMPRESSION " - * Added clamping of the wind force contribution to acceletion of - particle so - that the de-acceleration never exceed the actual wind vector - itself. +Thu, 2 Mar 2006 20:31:40 +0000 +Checked in by : Robert OSFIELD +Added automatic toggling between png and jpeg when compressImageData option is used. Jpeg is used to compress RGB data only, the just of the formats are passed on to the png plugin. -2006-02-23 20:37 robert +Thu, 2 Mar 2006 15:26:12 +0000 +Checked in by : Robert OSFIELD +From Robert Swain, compile fix for debian unstable. - * Completed .osg support for ClusterCullingCallback. +Thu, 2 Mar 2006 14:58:13 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashakari, support for png write. -2006-02-23 16:47 robert +Wed, 1 Mar 2006 10:17:53 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've attached another modified version of the IVE loader which supports compressing the image data. The option to compress the data is "compressImageData". Currently it uses the jpeg plugin to write the image. Maybe we could add an option that allows the user to specify which image format to use. The jpeg writer supports specifying the quality of the jpeg, so you could use the following command line to convert the skydome.osg model to IVE using 50% jpeg quality:osgconv -O "compressImageData JPEG_QUALITY 50" skydome.osg skydome.ive" - * Disabled the running of tristripping and smoothing from within - the Simplifier. -2006-02-23 12:41 robert - * From Gordon Tomlinson, spelling fixes. +Tue, 28 Feb 2006 21:18:45 +0000 +Checked in by : Robert OSFIELD +Added TextureRectangle.cpp -2006-02-23 12:39 robert +Tue, 28 Feb 2006 20:10:25 +0000 +Checked in by : Robert OSFIELD +Compile fix. - * Fixed function name call. +Tue, 28 Feb 2006 19:46:02 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, added missing array handling into Geometry::accept(AttributeFunctor& af) and Geometry::accept(ConstAttributeFunctor& af). -2006-02-22 20:51 robert +Tue, 28 Feb 2006 19:36:18 +0000 +Checked in by : Robert OSFIELD +Further clean up of RefNodePath references. - * Fixed getBound() comment. +Tue, 28 Feb 2006 19:12:27 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2006-02-22 19:28 robert +Tue, 28 Feb 2006 18:54:29 +0000 +Checked in by : Robert OSFIELD +Fixes to removed dependency on RefNodePath. - * Updated wrappers. +Mon, 27 Feb 2006 19:51:32 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2006-02-22 19:14 robert +Mon, 27 Feb 2006 19:49:47 +0000 +Checked in by : Robert OSFIELD +Ported NodeTrackCallback and NodeTrackManipulator across to use oberserver_ptr instead of RefNodePath.Removed now redundent RefNodePath. - * Fixed typo of Validity. -2006-02-22 16:05 robert - * From Thom Carlo, with tweak from Robert Osfield, removed the - setting of the outline colour - (the emission part of material) during setup of the Carton - effects for the second pass. +Mon, 27 Feb 2006 19:48:34 +0000 +Checked in by : Robert OSFIELD +Added support in osg::computeWorldToLocal and compteLocalToWorld functions for automatically stripping any absolute or root CameraNode's from the NodePaths.Added osg::Node::getWorldMatrices() convinience method. -2006-02-22 14:35 robert - * Fixed documentation. -2006-02-22 14:31 robert +Mon, 27 Feb 2006 19:44:33 +0000 +Checked in by : Robert OSFIELD +Added new observer_ptr templated smart pointer to allow one to retain pointers to objects but have the pointer reset to null if that object is deleted. - * Added support for OpenGL mode black listing to provide better - support - for extension checking and invalidation of OpenGL modes - associated with - extensions. +Sun, 26 Feb 2006 17:45:52 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've made some changes to the IVE loader which will add the capability of saving image files inside the IVE file. Currently, only the raw image data is saved into the file. If your model uses jpg images as textures then this will cause your file size to increase.I've added an option that will embed the original image file into the +IVE file. The IVE file will then attempt to read the image from +memory. Since most image loaders support reading from memory, this +shouldn't be a problem. To use this new feature the user must specify +the option "includeImageFileInIVEFile" when converting to IVE. -2006-02-21 21:29 robert +I tested this out on the "skydome.osg" model that comes with OSG. +Using the old method, the IVE file size would be 785 KB, with the new +method it is only 42 KB. - * Added ClusterCullingCallback.cpp +Also, I've added the support for TextureRectangle's to the IVE reader/writer." -2006-02-21 21:28 robert - * Added initial cut of ClusterCullingCallback .osg support. -2006-02-21 14:34 robert +Fri, 24 Feb 2006 13:57:47 +0000 +Checked in by : Robert OSFIELD +Added debugging code to help pick out instablilities in osgParticle. Debugging code now commented out. - * From Gordon Tomlinson, spelling fixes. +Fri, 24 Feb 2006 13:56:07 +0000 +Checked in by : Robert OSFIELD +Added clamping of the wind force contribution to acceletion of particle so that the de-acceleration never exceed the actual wind vector itself. -2006-02-21 13:55 robert +Thu, 23 Feb 2006 20:37:19 +0000 +Checked in by : Robert OSFIELD +Completed .osg support for ClusterCullingCallback. - * From Gordon Tomlinson, VS2005 Syntax highling regonition. +Thu, 23 Feb 2006 16:47:36 +0000 +Checked in by : Robert OSFIELD +Disabled the running of tristripping and smoothing from within the Simplifier. -2006-02-21 13:51 robert +Thu, 23 Feb 2006 12:41:05 +0000 +Checked in by : Robert OSFIELD +From Gordon Tomlinson, spelling fixes. - * From Paul Martz, "I've attempted to make AutoTransform override - computeBounds() to return - an invalid bounding sphere if it hasn't seen a cull traversal - yet. It - depends on _firstTimeToSetEyePoint, which is initially true, then - false - after a cull. There might be a better way? If so, let me know. - - This change does resolve the issue I had encountered with auto - scale to - screen and incorrect culling." +Thu, 23 Feb 2006 12:39:31 +0000 +Checked in by : Robert OSFIELD +Fixed function name call. -2006-02-21 12:39 robert +Wed, 22 Feb 2006 20:51:26 +0000 +Checked in by : Robert OSFIELD +Fixed getBound() comment. - * From Trajce Nikolov, "small fix for the flt loader - the back - color of the bidirectional light points" +Wed, 22 Feb 2006 19:28:34 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2006-02-20 21:05 robert +Wed, 22 Feb 2006 19:14:01 +0000 +Checked in by : Robert OSFIELD +Fixed typo of Validity. - * From Ulrich Hertlein, spelling corrections and a few Doxgen - comments. +Wed, 22 Feb 2006 16:05:37 +0000 +Checked in by : Robert OSFIELD +From Thom Carlo, with tweak from Robert Osfield, removed the setting of the outline colour (the emission part of material) during setup of the Carton effects for the second pass. -2006-02-20 20:06 robert +Wed, 22 Feb 2006 14:35:06 +0000 +Checked in by : Robert OSFIELD +Fixed documentation. - * From Eric Sokolowsky, "There was a problem with the PNG plugin - when it encounters an image that is - less than 8 bits per pixel (this can happen with greyscale or - paletted images). - It was a pretty simple problem to fix." +Wed, 22 Feb 2006 14:31:13 +0000 +Checked in by : Robert OSFIELD +Added support for OpenGL mode black listing to provide better support for extension checking and invalidation of OpenGL modes associated with extensions. -2006-02-20 19:13 robert +Tue, 21 Feb 2006 21:29:49 +0000 +Checked in by : Robert OSFIELD +Added ClusterCullingCallback.cpp - * From Nathan Monteleone, addition of AutoTransform support. +Tue, 21 Feb 2006 21:28:57 +0000 +Checked in by : Robert OSFIELD +Added initial cut of ClusterCullingCallback .osg support. -2006-02-20 16:50 robert +Tue, 21 Feb 2006 14:34:58 +0000 +Checked in by : Robert OSFIELD +From Gordon Tomlinson, spelling fixes. - * Moved the intialization variable reset to end of the init - funciton to - avoid multi-thread initialization from producing different - results. +Tue, 21 Feb 2006 13:55:30 +0000 +Checked in by : Robert OSFIELD +From Gordon Tomlinson, VS2005 Syntax highling regonition. -2006-02-20 16:20 robert +Tue, 21 Feb 2006 13:51:10 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "I've attempted to make AutoTransform override computeBounds() to return an invalid bounding sphere if it hasn't seen a cull traversal yet. It depends on _firstTimeToSetEyePoint, which is initially true, then false after a cull. There might be a better way? If so, let me know.This change does resolve the issue I had encountered with auto scale to +screen and incorrect culling." - * From Ed Ralston, "According to the OSX Developer Documentation, - CFRelease - cannot be called with a NULL argument. - - This patch prevents osgDB::FileUtils from doing this." -2006-02-20 15:46 robert - * Added missing swap byte operations to readVec*sArray() methods. +Tue, 21 Feb 2006 12:39:47 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, "small fix for the flt loader - the back color of the bidirectional light points" -2006-02-20 15:32 robert +Mon, 20 Feb 2006 21:05:23 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, spelling corrections and a few Doxgen comments. - * From Daniel Larimer, fixed error is swap byte code handling - vector +Mon, 20 Feb 2006 20:06:26 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, "There was a problem with the PNG plugin when it encounters an image that is less than 8 bits per pixel (this can happen with greyscale or paletted images). It was a pretty simple problem to fix." -2006-02-20 15:25 robert +Mon, 20 Feb 2006 19:13:11 +0000 +Checked in by : Robert OSFIELD +From Nathan Monteleone, addition of AutoTransform support. - * From Markus Trenkwalder, "when building debug libs in mingw the - .dll.a files are not copied to - the lib/MINGW(32) folder. The makefiles in the attached zip - should fix this." +Mon, 20 Feb 2006 16:50:47 +0000 +Checked in by : Robert OSFIELD +Moved the intialization variable reset to end of the init funciton to avoid multi-thread initialization from producing different results. -2006-02-09 19:31 don +Mon, 20 Feb 2006 16:20:50 +0000 +Checked in by : Robert OSFIELD +From Ed Ralston, "According to the OSX Developer Documentation, CFRelease cannot be called with a NULL argument.This patch prevents osgDB::FileUtils from doing this." - * Fixed a bug spotted in UFOManipulator where a Vec3's 4th - component was - being inspected (ip[3]). -2006-02-09 12:20 robert - * Added BlenColour(Vec4) constructor and updated wrappers. +Mon, 20 Feb 2006 15:46:29 +0000 +Checked in by : Robert OSFIELD +Added missing swap byte operations to readVec*sArray() methods. -2006-02-08 23:41 don +Mon, 20 Feb 2006 15:32:03 +0000 +Checked in by : Robert OSFIELD +From Daniel Larimer, fixed error is swap byte code handling vector - * Added a filter to the Delaunay Triangulator to insure that - incoming points - are unique in the X and Y components. +Mon, 20 Feb 2006 15:25:09 +0000 +Checked in by : Robert OSFIELD +From Markus Trenkwalder, "when building debug libs in mingw the .dll.a files are not copied to the lib/MINGW(32) folder. The makefiles in the attached zip should fix this." -2006-02-06 20:36 robert +Thu, 9 Feb 2006 19:31:05 +0000 +Checked in by : Don BURNS +Fixed a bug spotted in UFOManipulator where a Vec3's 4th component was being inspected (ip[3]). - * Added s/getDoTriStrip and s/getSmoothing method. +Thu, 9 Feb 2006 12:20:42 +0000 +Checked in by : Robert OSFIELD +Added BlenColour(Vec4) constructor and updated wrappers. -2006-02-06 19:41 don +Wed, 8 Feb 2006 23:41:32 +0000 +Checked in by : Don BURNS +Added a filter to the Delaunay Triangulator to insure that incoming points are unique in the X and Y components. - * Added normals and ESRIshape directories to makedirdefs +Mon, 6 Feb 2006 20:36:09 +0000 +Checked in by : Robert OSFIELD +Added s/getDoTriStrip and s/getSmoothing method. -2006-02-06 19:40 don +Mon, 6 Feb 2006 19:41:30 +0000 +Checked in by : Don BURNS +Added normals and ESRIshape directories to makedirdefs - * Added 'normals' pseudoloader +Mon, 6 Feb 2006 19:40:45 +0000 +Checked in by : Don BURNS +Added 'normals' pseudoloader -2006-02-06 19:16 robert +Mon, 6 Feb 2006 19:16:04 +0000 +Checked in by : Robert OSFIELD +Improved default settings, re-enambled smoothing and tri stripping of sampled data. - * Improved default settings, re-enambled smoothing and tri - stripping of sampled data. +Mon, 6 Feb 2006 17:12:35 +0000 +Checked in by : Robert OSFIELD +Added support for up sampling by dividing longest edges. -2006-02-06 17:12 robert +Sun, 5 Feb 2006 21:53:37 +0000 +Checked in by : Robert OSFIELD +From David Guthrie, OSX marco reworking to better handling different OSX versions. - * Added support for up sampling by dividing longest edges. +Sat, 4 Feb 2006 21:25:33 +0000 +Checked in by : Robert OSFIELD +From Edmond Gheury, fixe and bug in the PrimitiveShapeVisitor. -2006-02-05 21:53 robert +Sat, 4 Feb 2006 21:20:25 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, " I've modified in order to make FBO mipmapping work. In FrameBufferObject.cpp there is also another fix: when initializing a FBO attachment from a CameraNode attachment, the renderbuffer's format must be set to the attachment's internal format, not to the image's pixel format.Another problem is that attaching a renderbuffer to the FBO through +CameraNode is not simple (if not impossible) if you don't intend to specify +an Image object. Probably CameraNode could be enriched with an +"attach(buffer, width, height, format)" method. For example if you attach a +color buffer as a texture whose size is different than that of the +CameraNode's viewport you also need to attach a depth buffer of the same +size, because the depth buffer that is automatically attached by RenderStage +has the viewport's size. FBOs require that all attachment have the same +dimensions, so said setup will fail if you can't specify a custom depth +renderbuffer" - * From David Guthrie, OSX marco reworking to better handling - different OSX versions. -2006-02-04 21:25 robert - * From Edmond Gheury, fixe and bug in the PrimitiveShapeVisitor. +Sat, 4 Feb 2006 21:12:45 +0000 +Checked in by : Robert OSFIELD +From Brad Anderegg, add _frameNumber and associated code to ensure that particles only get updated once per frame. -2006-02-04 21:20 robert +Sat, 4 Feb 2006 21:06:48 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, added get methods for size of file request and data to compile lists. - * From Marco Jez, " I've modified in order to make FBO mipmapping - work. In - FrameBufferObject.cpp there is also another fix: when - initializing a FBO - attachment from a CameraNode attachment, the renderbuffer's - format must be - set to the attachment's internal format, not to the image's pixel - format. - - Another problem is that attaching a renderbuffer to the FBO - through - CameraNode is not simple (if not impossible) if you don't intend - to specify - an Image object. Probably CameraNode could be enriched with an - "attach(buffer, width, height, format)" method. For example if - you attach a - color buffer as a texture whose size is different than that of - the - CameraNode's viewport you also need to attach a depth buffer of - the same - size, because the depth buffer that is automatically attached by - RenderStage - has the viewport's size. FBOs require that all attachment have - the same - dimensions, so said setup will fail if you can't specify a custom - depth - renderbuffer" +Tue, 24 Jan 2006 17:43:53 +0000 +Checked in by : Don BURNS +Changes to zip and tgz plug-ins to allow for use of TEMP variable on Windows. Submitted by Zach Deedler -2006-02-04 21:12 robert +Tue, 24 Jan 2006 12:02:40 +0000 +Checked in by : Robert OSFIELD +cleaned up clampNearNar code. - * From Brad Anderegg, add _frameNumber and associated code to - ensure that particles - only get updated once per frame. +Mon, 23 Jan 2006 20:38:28 +0000 +Checked in by : Robert OSFIELD +Improved the env var reporting to avoid the overlong lines. -2006-02-04 21:06 robert +Mon, 23 Jan 2006 20:16:05 +0000 +Checked in by : Robert OSFIELD +Added explanation of --no-terrain-simplification - * From Chris Hanson, added get methods for size of file request and - data to compile lists. +Sat, 21 Jan 2006 13:02:03 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2006-01-24 17:43 don +Wed, 18 Jan 2006 12:16:45 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, adding osgDB::findDataFile() usage. - * Changes to zip and tgz plug-ins to allow for use of TEMP variable - on Windows. - Submitted by Zach Deedler +Wed, 18 Jan 2006 12:13:48 +0000 +Checked in by : Robert OSFIELD +From Marco Jez:here is a patch that enables a new option named "BIND_TEXTURE_MAP" in the LWO plugin. Its purpose is to allow explicit binding between texture UV maps defined in the LWO file and OpenGL texture units, overriding the default mechanism that allocates texture units automatically. This is useful when you have an UV map built in Lightwave (for example an atlas map) but no textures actually using it, so you can keep the UV map (that would be discarded otherwise) and add a texture later int your program. -2006-01-24 12:02 robert +Syntax is: +BIND_TEXTURE_MAP - * cleaned up clampNearNar code. -2006-01-23 20:38 robert - * Improved the env var reporting to avoid the overlong lines. +Wed, 18 Jan 2006 12:03:55 +0000 +Checked in by : Robert OSFIELD +From Maya Leonard, ERSIShape VS project file, and compile fixes for Win32. -2006-01-23 20:16 robert +Wed, 18 Jan 2006 11:45:58 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, addition of glw extension checking under Windows, and tweaks to BlendEquation and RenderStage to correct the extensions being tested. - * Added explanation of --no-terrain-simplification +Tue, 17 Jan 2006 17:04:40 +0000 +Checked in by : Robert OSFIELD +From Zbigniew Sroczynski, fix for handling of paths with spaces. -2006-01-21 13:02 robert +Tue, 17 Jan 2006 15:18:44 +0000 +Checked in by : Robert OSFIELD +Added new BoxPlacer files. - * Updated wrappers. +Tue, 17 Jan 2006 15:17:15 +0000 +Checked in by : Robert OSFIELD +From Zach Deedler, addition of osgParticle/BoxSpacer. -2006-01-18 12:16 robert +Mon, 16 Jan 2006 17:05:17 +0000 +Checked in by : Robert OSFIELD +Improved handling of clean up of osg::Program/osg::Shader on closing of a graphis context. - * From Marco Jez, adding osgDB::findDataFile() usage. +Mon, 16 Jan 2006 17:03:34 +0000 +Checked in by : Robert OSFIELD +Fixed indenting. -2006-01-18 12:13 robert +Thu, 12 Jan 2006 22:43:36 +0000 +Checked in by : Robert OSFIELD +Added support for tracking mouse movement and computing the intersection of the mouse position into texture coords. - * From Marco Jez: - - here is a patch that enables a new option named - "BIND_TEXTURE_MAP" in the LWO plugin. Its purpose is to allow - explicit binding between texture UV maps defined in the LWO file - and OpenGL texture units, overriding the default mechanism that - allocates texture units automatically. This is useful when you - have an UV map built in Lightwave (for example an atlas map) but - no textures actually using it, so you can keep the UV map (that - would be discarded otherwise) and add a texture later int your - program. - - Syntax is: - BIND_TEXTURE_MAP +Tue, 3 Jan 2006 16:52:06 +0000 +Checked in by : Robert OSFIELD +Added ability to write out the selected parts of the scene graph. -2006-01-18 12:03 robert +Tue, 3 Jan 2006 10:44:14 +0000 +Checked in by : Robert OSFIELD +Moved the body of the FBOExtensions::instance() to the .cpp and added bool to control whether that an FBOExtensions structure can be created if missing. - * From Maya Leonard, ERSIShape VS project file, and compile fixes - for Win32. +Mon, 2 Jan 2006 12:03:18 +0000 +Checked in by : Robert OSFIELD +Standardised compile code to use _maximumNumOfObjectsToCompilePerFrame. -2006-01-18 11:45 robert +Fri, 23 Dec 2005 10:59:31 +0000 +Checked in by : Robert OSFIELD +Ported picking across to using PickVisitor. - * From Marco Jez, addition of glw extension checking under Windows, - and tweaks to - BlendEquation and RenderStage to correct the extensions being - tested. +Fri, 23 Dec 2005 10:59:12 +0000 +Checked in by : Robert OSFIELD +Added setting of the parent path on the new PickVisitor. -2006-01-17 17:04 robert +Thu, 22 Dec 2005 14:06:33 +0000 +Checked in by : Robert OSFIELD +Seperated out the view and model matrices in IntersectVisitor to allow handling of world coordinates better when using PickVisitor. - * From Zbigniew Sroczynski, fix for handling of paths with spaces. +Wed, 21 Dec 2005 10:32:48 +0000 +Checked in by : Robert OSFIELD +Added support for an externally referenced shader file, via the keyword combinations file "shader.vert" -2006-01-17 15:18 robert +OR - * Added new BoxPlacer files. + file shader.vert. -2006-01-17 15:17 robert - * From Zach Deedler, addition of osgParticle/BoxSpacer. -2006-01-16 17:05 robert +Tue, 20 Dec 2005 09:29:26 +0000 +Checked in by : Robert OSFIELD +Removed "if (mapExt!=toExt)" from alias map assignement to allow aliases to be overriden for all cases. - * Improved handling of clean up of osg::Program/osg::Shader on - closing of a graphis context. +Tue, 20 Dec 2005 09:13:59 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, compile fix -2006-01-16 17:03 robert +Mon, 19 Dec 2005 15:05:26 +0000 +Checked in by : Robert OSFIELD +Added check against the validity of the _inverse matrix pointer. - * Fixed indenting. +Mon, 19 Dec 2005 14:48:04 +0000 +Checked in by : Robert OSFIELD +From Ali Botorabi, adding of osg::Depth support in .ive format. -2006-01-12 22:43 robert +Mon, 19 Dec 2005 13:57:04 +0000 +Checked in by : Robert OSFIELD +Added debugging info for future reference (currently commented out.) - * Added support for tracking mouse movement and computing the - intersection of the mouse position - into texture coords. +Mon, 19 Dec 2005 13:40:32 +0000 +Checked in by : Robert OSFIELD +Added transform of the eye point into local coordinates to properly account for transforms within the scene graph. -2006-01-03 16:52 robert +Mon, 19 Dec 2005 12:00:40 +0000 +Checked in by : Robert OSFIELD +Fixed computeWindowMatrix so that it properly accounts for x,y position of the viewport. - * Added ability to write out the selected parts of the scene graph. +Mon, 19 Dec 2005 11:18:26 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, made getLineCount() const. -2006-01-03 10:44 robert +Sun, 18 Dec 2005 16:06:17 +0000 +Checked in by : Robert OSFIELD +Improved handling of clamping of projection matrix for scenes with close to zero depth range. - * Moved the body of the FBOExtensions::instance() to the .cpp and - added bool to - control whether that an FBOExtensions structure can be created if - missing. +Fri, 16 Dec 2005 17:01:30 +0000 +Checked in by : Robert OSFIELD +Fixed null matrix op. -2006-01-02 12:03 robert +Fri, 16 Dec 2005 16:27:17 +0000 +Checked in by : Robert OSFIELD +Fixed handling of absolute transforms in IntersectVisitor. - * Standardised compile code to use - _maximumNumOfObjectsToCompilePerFrame. +Fri, 16 Dec 2005 14:53:51 +0000 +Checked in by : Robert OSFIELD +Fixed typo in text string. -2005-12-23 10:59 robert +Fri, 16 Dec 2005 11:04:33 +0000 +Checked in by : Robert OSFIELD +Added back in Switch::removeChild(Node*) - * Ported picking across to using PickVisitor. +Thu, 15 Dec 2005 20:56:06 +0000 +Checked in by : Robert OSFIELD +Added proper catch of Paul de Repentinguy name -2005-12-23 10:59 robert +Thu, 15 Dec 2005 19:38:24 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * Added setting of the parent path on the new PickVisitor. +Thu, 15 Dec 2005 17:14:40 +0000 +Checked in by : Robert OSFIELD +Improved stats handling, and fixed a couple of stats bugs. -2005-12-22 14:06 robert +Thu, 15 Dec 2005 16:30:31 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, added option to control whether simplification of tiles is done during osgdem builds. - * Seperated out the view and model matrices in IntersectVisitor to - allow - handling of world coordinates better when using PickVisitor. +Thu, 15 Dec 2005 16:24:22 +0000 +Checked in by : Robert OSFIELD +From Matthew May, fixes for threading problems under FreeBSD build. -2005-12-21 10:32 robert +Thu, 15 Dec 2005 15:50:17 +0000 +Checked in by : Robert OSFIELD +Removed Switch::removedChild(Node*) as the Group::removeChild(Node*) implementation should be sufficient, as it calls the virtual removeChild(uint,uint). - * Added support for an externally referenced shader file, via the - keyword combinations - - file "shader.vert" - - OR - - file shader.vert. +Thu, 15 Dec 2005 15:36:55 +0000 +Checked in by : Robert OSFIELD +From Paul de Repentigny, ciyple fo fixes for the DXF reader. -2005-12-20 09:29 robert +Thu, 15 Dec 2005 15:25:02 +0000 +Checked in by : Robert OSFIELD +From Yefei He, fix to QUAD_STRIP stats. - * Removed "if (mapExt!=toExt)" from alias map assignement to allow - aliases to - be overriden for all cases. +Fri, 9 Dec 2005 22:53:32 +0000 +Checked in by : Robert OSFIELD +Updated version/revision for 1.0.0 release. -2005-12-20 09:13 robert +Fri, 9 Dec 2005 20:17:11 +0000 +Checked in by : Robert OSFIELD +Updated NEWS and AUTHORS files for the release. - * From Farshid Lashkari, compile fix +Fri, 9 Dec 2005 20:10:22 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 1.0 release. -2005-12-19 15:05 robert +Fri, 9 Dec 2005 20:03:04 +0000 +Checked in by : Robert OSFIELD +Fixed typo in comments and onscreen help. - * Added check against the validity of the _inverse matrix pointer. +Fri, 9 Dec 2005 19:54:31 +0000 +Checked in by : Robert OSFIELD +Fixed the text to match the implementation. -2005-12-19 14:48 robert +Fri, 9 Dec 2005 19:34:09 +0000 +Checked in by : Robert OSFIELD +From Thom DeCarlo, changed of ?= to = in Cygwin/minw options for INST_LOCATION. - * From Ali Botorabi, adding of osg::Depth support in .ive format. +Fri, 9 Dec 2005 19:14:55 +0000 +Checked in by : Robert OSFIELD +From Simon Julier, library reordering for compiling osgTerrain under cygwin. -2005-12-19 13:57 robert +Fri, 9 Dec 2005 16:00:01 +0000 +Checked in by : Robert OSFIELD +Changed constructors to use unsigned int to get round VS6.0 + wrapper problems. - * Added debugging info for future reference (currently commented - out.) +Fri, 9 Dec 2005 15:05:50 +0000 +Checked in by : Robert OSFIELD +From Simon Julier, fix for .exe extension under Mingw/Cygwin. -2005-12-19 13:40 robert +Fri, 9 Dec 2005 14:52:19 +0000 +Checked in by : Robert OSFIELD +Build fix for VS6.0 in the template constructors - * Added transform of the eye point into local coordinates to - properly account - for transforms within the scene graph. +Fri, 9 Dec 2005 11:22:09 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, added missing removeChildren method. -2005-12-19 12:00 robert +Fri, 9 Dec 2005 09:38:46 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolosky, add setting of _cameraRequiresSetUp in constructor to avoid uninitialized variable. - * Fixed computeWindowMatrix so that it properly accounts for x,y - position of the viewport. +Thu, 8 Dec 2005 22:12:42 +0000 +Checked in by : Robert OSFIELD +Updated NEWS. -2005-12-19 11:18 robert +Thu, 8 Dec 2005 20:32:06 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, changed Vec3 to Vec3d to ensure that the lazy evaluation of computeBound work properly. - * From Eric Wing, made getLineCount() const. +Thu, 8 Dec 2005 14:08:09 +0000 +Checked in by : Robert OSFIELD +From Simon Julier, fixed typo of unknown. -2005-12-18 16:06 robert +Thu, 8 Dec 2005 12:02:06 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and ChangeLog for rc9. - * Improved handling of clamping of projection matrix for scenes - with close to zero depth range. +Thu, 8 Dec 2005 11:53:06 +0000 +Checked in by : Robert OSFIELD +Updated NEWS from wiki ammendments. -2005-12-16 17:01 robert +Thu, 8 Dec 2005 11:37:55 +0000 +Checked in by : Robert OSFIELD +From Simon Julier, build fixes for Cygwin/mingw - * Fixed null matrix op. +Thu, 8 Dec 2005 11:01:38 +0000 +Checked in by : Robert OSFIELD +Added support for pre and post relative transforms on cameranode. -2005-12-16 16:27 robert +Thu, 8 Dec 2005 10:06:57 +0000 +Checked in by : Robert OSFIELD +Added CameraNode::releaseGLObejcts() to help in clean up, and changed the ordering in SceneView::flushDeleteGLObjects() so that fbo's are deleted before any texture objects they use are deleted. - * Fixed handling of absolute transforms in IntersectVisitor. +Thu, 8 Dec 2005 10:03:39 +0000 +Checked in by : Robert OSFIELD +Changed s/getGdalDataset() methods to use void* to avoid introspeciton wrapping problems. -2005-12-16 14:53 robert +Thu, 8 Dec 2005 08:57:16 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, fix to comment. - * Fixed typo in text string. +Wed, 7 Dec 2005 15:29:29 +0000 +Checked in by : Robert OSFIELD +Added new Node::getParentalNodePaths() method.Added better handling in computeIntersections(..) of nodes that are internal +to the scene graph, correctly accounting for the accumulated transforms. -2005-12-16 11:04 robert +Changed the EventVisitor so that it only traveses active children rather than +all children. - * Added back in Switch::removeChild(Node*) +Updated wrappers. -2005-12-15 20:56 robert - * Added proper catch of Paul de Repentinguy name -2005-12-15 19:38 robert +Wed, 7 Dec 2005 15:26:45 +0000 +Checked in by : Robert OSFIELD +From Antonoine Hue, a small modification to the osgTerrain::DataSet to be able to pass an already opened GDAL Dataset to the osgTerrain::DataSet::Source - * Updated wrappers. +Wed, 7 Dec 2005 12:29:36 +0000 +Checked in by : Robert OSFIELD +Updated NEWS for release -2005-12-15 17:14 robert +Wed, 7 Dec 2005 11:38:39 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, fixed typo induced bug. - * Improved stats handling, and fixed a couple of stats bugs. +Wed, 7 Dec 2005 11:36:56 +0000 +Checked in by : Robert OSFIELD +Added Camera::isRenderToTextureCamera() method, and improved support in PickVisitor and IntersectVisitor for CameraNode, including the ignoring of render to texture cameras, such that HUD's etc are still intersected against. -2005-12-15 16:30 robert +Wed, 7 Dec 2005 10:25:50 +0000 +Checked in by : Robert OSFIELD +Moved PickVistor into osgUtil - * From Jason Beverage, added option to control whether - simplification of - tiles is done during osgdem builds. +Wed, 7 Dec 2005 09:48:28 +0000 +Checked in by : Robert OSFIELD +Enabled thread safe counting by default. -2005-12-15 16:24 robert +Tue, 6 Dec 2005 21:59:43 +0000 +Checked in by : Robert OSFIELD +Improved the PickVisitor to make it more flexible and robust. - * From Matthew May, fixes for threading problems under FreeBSD - build. +Tue, 6 Dec 2005 12:07:34 +0000 +Checked in by : Robert OSFIELD +Removed osgdemeter example from distribution because it no longer compiles, and Demeter itself nolonger compiles, osgdemeter has now been moved to the community section of openscenegraph.org. -2005-12-15 15:50 robert +Tue, 6 Dec 2005 11:24:24 +0000 +Checked in by : Robert OSFIELD +Added checks in the drawImplementation to catch when attribute bindings are set on but the relevant arrays remain unset, this prevents previous crash when this occured. - * Removed Switch::removedChild(Node*) as the - Group::removeChild(Node*) implementation - should be sufficient, as it calls the virtual - removeChild(uint,uint). +Tue, 6 Dec 2005 10:26:48 +0000 +Checked in by : Robert OSFIELD +From Gideon May, fixed typo in docs. -2005-12-15 15:36 robert +Tue, 6 Dec 2005 10:18:33 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, removed second redundent dirtyDisplayList() call. - * From Paul de Repentigny, ciyple fo fixes for the DXF reader. +Tue, 6 Dec 2005 10:16:21 +0000 +Checked in by : Robert OSFIELD +From Louis Hamilton, fix to LightPoint's under 64 bit build, changing longs to ints in colour conversion code. -2005-12-15 15:25 robert +Mon, 5 Dec 2005 20:11:50 +0000 +Checked in by : Robert OSFIELD +Changed debug message to INFO. - * From Yefei He, fix to QUAD_STRIP stats. +Mon, 5 Dec 2005 10:24:02 +0000 +Checked in by : Robert OSFIELD +Attempt at build fixes for IRIX. -2005-12-09 22:53 robert +Mon, 5 Dec 2005 10:23:37 +0000 +Checked in by : Robert OSFIELD +Removed the closeLibraries call from the registry singleton desctuction. - * Updated version/revision for 1.0.0 release. +Mon, 5 Dec 2005 10:08:52 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, Fix to prevent Producer::Trackball being set up with a negative radius. -2005-12-09 20:17 robert +Sun, 4 Dec 2005 20:08:41 +0000 +Checked in by : Robert OSFIELD +Fixed tabbing. - * Updated NEWS and AUTHORS files for the release. +Sat, 3 Dec 2005 15:12:52 +0000 +Checked in by : Robert OSFIELD +Added OSG_EXPORT to PrimitiveSet. -2005-12-09 20:10 robert +Sat, 3 Dec 2005 00:03:31 +0000 +Checked in by : Robert OSFIELD +Moved the body of the getNumPrimitives() into the .cpp. - * Updated ChangeLog for 1.0 release. +Fri, 2 Dec 2005 12:30:14 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, AUTHTORS.txt and osgversion for next release candidate. -2005-12-09 20:03 robert +Fri, 2 Dec 2005 12:10:02 +0000 +Checked in by : Robert OSFIELD +Fixed typos in NEWS, improved formating. - * Fixed typo in comments and onscreen help. +Fri, 2 Dec 2005 11:59:36 +0000 +Checked in by : Robert OSFIELD +Updated NEWS with quotes. -2005-12-09 19:54 robert +Fri, 2 Dec 2005 09:57:19 +0000 +Checked in by : Robert OSFIELD +Added a static_cast to get round IRIX64 build problem. - * Fixed the text to match the implementation. +Fri, 2 Dec 2005 00:25:40 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, hack/fix for VS compile/link problems related to STL containers. -2005-12-09 19:34 robert +Fri, 2 Dec 2005 00:21:00 +0000 +Checked in by : Robert OSFIELD +Updated NEWS - * From Thom DeCarlo, changed of ?= to = in Cygwin/minw options for - INST_LOCATION. +Thu, 1 Dec 2005 16:44:40 +0000 +Checked in by : Robert OSFIELD +Updated NEWS -2005-12-09 19:14 robert +Thu, 1 Dec 2005 16:43:40 +0000 +Checked in by : Robert OSFIELD +Added comments. - * From Simon Julier, library reordering for compiling osgTerrain - under cygwin. +Thu, 1 Dec 2005 14:37:15 +0000 +Checked in by : Robert OSFIELD +From Ali Botorabi, fixed the setDefault() fallback to properly handle the case when no scene view light is requested. -2005-12-09 16:00 robert +Thu, 1 Dec 2005 14:09:38 +0000 +Checked in by : Robert OSFIELD +Added TestSupportCallback to properly handle querry of OpenGL support of vertex texturing in GLSL. - * Changed constructors to use unsigned int to get round VS6.0 + - wrapper problems. +Thu, 1 Dec 2005 13:38:27 +0000 +Checked in by : Robert OSFIELD +From Thom DeCarlo, build fix for Cygwin. -2005-12-09 15:05 robert +Thu, 1 Dec 2005 13:19:16 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, fixed the handling of zfar values of 0.0. - * From Simon Julier, fix for .exe extension under Mingw/Cygwin. +Wed, 30 Nov 2005 15:30:40 +0000 +Checked in by : Robert OSFIELD +Updated NEWS. -2005-12-09 14:52 robert +Tue, 29 Nov 2005 22:29:44 +0000 +Checked in by : Robert OSFIELD +Updated changed log for 1.0-rc7. - * Build fix for VS6.0 in the template constructors +Tue, 29 Nov 2005 18:38:40 +0000 +Checked in by : Robert OSFIELD +Added default opening of the file as a binary file, and once the type is confirmed then close and reopen as an ascii as required. This is done to get round problems under Windows.Also made the running of the SmoothingVisitor optional, now use -O smooth to +make the loader run the osgUtil::SmoothingVisitor over the model. -2005-12-09 11:22 robert - * From Eric Wing, added missing removeChildren method. -2005-12-09 09:38 robert +Tue, 29 Nov 2005 14:20:37 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, osgversion.cpp and AUTHORS.txt for 1.0-rc6. - * From Eric Sokolosky, add setting of _cameraRequiresSetUp in - constructor to - avoid uninitialized variable. +Tue, 29 Nov 2005 14:07:39 +0000 +Checked in by : Robert OSFIELD +Updated NEWS with second draft of press release. -2005-12-08 22:12 robert +Tue, 29 Nov 2005 12:09:45 +0000 +Checked in by : Robert OSFIELD +Added CameraBarrierCallback so that multi-thread multi-cameras are synconized correctly when do stats collection. - * Updated NEWS. +Tue, 29 Nov 2005 11:39:07 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, fixes for "warning: converting of negative value '-0x00000000000000001' to 'unsigned int'" -2005-12-08 20:32 robert +Tue, 29 Nov 2005 08:59:30 +0000 +Checked in by : Robert OSFIELD +Switched off the VBO usage in osgparametric as it was tripping up ATI and 3DLabs drivers. - * From Paul Martz, changed Vec3 to Vec3d to ensure that the lazy - evaluation of computeBound work properly. +Mon, 28 Nov 2005 20:08:36 +0000 +Checked in by : Robert OSFIELD +Added temporary ref_ptr to prevent the _image going out of scope due to another thread complete the texture::apply() while the present texture::apply() is still running. -2005-12-08 14:08 robert +Mon, 28 Nov 2005 10:58:09 +0000 +Checked in by : Robert OSFIELD +Fixed warning. - * From Simon Julier, fixed typo of unknown. +Mon, 28 Nov 2005 09:15:46 +0000 +Checked in by : Robert OSFIELD +From Gideon May, port to OSX of GLUT examples. -2005-12-08 12:02 robert +Sun, 27 Nov 2005 15:32:57 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, fix for the scaling of the random number generation. - * Updated AUTHORS and ChangeLog for rc9. +Fri, 25 Nov 2005 20:23:07 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and authors file. -2005-12-08 11:53 robert +Fri, 25 Nov 2005 19:18:12 +0000 +Checked in by : Robert OSFIELD +From John Donovan, typo fixes. - * Updated NEWS from wiki ammendments. +Fri, 25 Nov 2005 14:58:37 +0000 +Checked in by : Robert OSFIELD +Added disable of spurious VS6.0 warning. -2005-12-08 11:37 robert +Fri, 25 Nov 2005 13:45:23 +0000 +Checked in by : Robert OSFIELD +Fixed docs of setImage. - * From Simon Julier, build fixes for Cygwin/mingw +Fri, 25 Nov 2005 12:31:04 +0000 +Checked in by : Robert OSFIELD +Added releaseGLObjects to PrimitiveSet. -2005-12-08 11:01 robert +Fri, 25 Nov 2005 10:32:25 +0000 +Checked in by : Robert OSFIELD +Fixed typo of dxf. - * Added support for pre and post relative transforms on cameranode. +Thu, 24 Nov 2005 19:53:20 +0000 +Checked in by : Robert OSFIELD +Lightened by the ambientBias term. -2005-12-08 10:06 robert +Thu, 24 Nov 2005 15:18:12 +0000 +Checked in by : Robert OSFIELD +Added FBO deletion support, and better FBO querry and fallback mechansim in RenderStage. - * Added CameraNode::releaseGLObejcts() to help in clean up, and - changed the - ordering in SceneView::flushDeleteGLObjects() so that fbo's are - deleted - before any texture objects they use are deleted. +Thu, 24 Nov 2005 15:17:28 +0000 +Checked in by : Robert OSFIELD +Changed the VS template export block to just compile when VS verion >= 1300 (VS.NET onwards.) -2005-12-08 10:03 robert +Thu, 24 Nov 2005 10:28:09 +0000 +Checked in by : Robert OSFIELD +Changed the default value of Texture::_resizeNonPowerOfTwoHint to true, to improve the backwards compatibility of peformance on systems that have OpenGL2.0 drivers but without hardware that can't handle non power of two textures. - * Changed s/getGdalDataset() methods to use void* to avoid - introspeciton wrapping problems. +Thu, 24 Nov 2005 10:14:05 +0000 +Checked in by : Robert OSFIELD +Added automatic setting of thread safe reference counting when multi-threaded cameras are used. -2005-12-08 08:57 robert +Wed, 23 Nov 2005 16:32:55 +0000 +Checked in by : Robert OSFIELD +Changed CameraNode::getDataChangeMutex() to be a pointer rather than a reference to get around osgIntrospeciton build problem with the OpenThreads::Mutex copy constructor being private. - * From Eric Wing, fix to comment. +Wed, 23 Nov 2005 16:24:50 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORES, ChangeLog, NEWS and version number for 1.0-rc6 -2005-12-07 15:29 robert +Wed, 23 Nov 2005 15:25:56 +0000 +Checked in by : Robert OSFIELD +Changed the linux implement of getGLExtensionFuncPtr to querry for glXGetProcAddressARB and then use this if its available, otherwise fallback to the original dlsym usage. - * Added new Node::getParentalNodePaths() method. - - Added better handling in computeIntersections(..) of nodes that - are internal - to the scene graph, correctly accounting for the accumulated - transforms. - - Changed the EventVisitor so that it only traveses active children - rather than - all children. - - Updated wrappers. +Wed, 23 Nov 2005 13:44:27 +0000 +Checked in by : Robert OSFIELD +Added multi-buffering of the CameraNode::_renderingCache to help cope with multiple graphis context usages. -2005-12-07 15:26 robert +Wed, 23 Nov 2005 12:16:22 +0000 +Checked in by : Robert OSFIELD +Fixed mistmatch of ReadFileCallback type. - * From Antonoine Hue, a small modification to the - osgTerrain::DataSet - to be able to pass an already opened GDAL Dataset to the - osgTerrain::DataSet::Source +Wed, 23 Nov 2005 10:16:25 +0000 +Checked in by : Robert OSFIELD +Moved getGLExtensionFuncPtr implementation into the .cpp to make it easier to change it implementation without forcing a complete recompile. -2005-12-07 12:29 robert +Wed, 23 Nov 2005 10:15:11 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, typo fix if GL extension name. - * Updated NEWS for release +Tue, 22 Nov 2005 21:14:26 +0000 +Checked in by : Robert OSFIELD +Simplified the TangentSpaceGenerator so that is automatically converts any models with indices to one without indices and then runs the tangent space generation code on the result. -2005-12-07 11:38 robert +Tue, 22 Nov 2005 14:35:12 +0000 +Checked in by : Robert OSFIELD +From Markus Trenkwalder, fixed placment of libs in mingw build. - * From Eric Wing, fixed typo induced bug. +Tue, 22 Nov 2005 13:56:50 +0000 +Checked in by : Robert OSFIELD +Added missing dirtyDisplayList call into osg::Geometry::set calls. -2005-12-07 11:36 robert +Tue, 22 Nov 2005 13:14:00 +0000 +Checked in by : Robert OSFIELD +Added DatabasePager::s/getDrawablePolicy() to allow the way that the display list/VBO settings are applied to loaded databases. - * Added Camera::isRenderToTextureCamera() method, and improved - support in PickVisitor - and IntersectVisitor for CameraNode, including the ignoring of - render to texture cameras, - such that HUD's etc are still intersected against. +Tue, 22 Nov 2005 10:26:27 +0000 +Checked in by : Robert OSFIELD +Added check against LODScale being zero, and fixed the search for the maximum LOD range in the pixel size range fallback. -2005-12-07 10:25 robert +Tue, 22 Nov 2005 10:08:00 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, add LODScale support to pixel based LOD range selection. - * Moved PickVistor into osgUtil +Tue, 22 Nov 2005 09:57:32 +0000 +Checked in by : Robert OSFIELD +From Jason Daly, (with small tweak by Robert Osfield) fix for Prorgram::removeShader(Shader*) so that it properly remove the shader and its entry in the _shaderList. -2005-12-07 09:48 robert +Tue, 22 Nov 2005 09:51:02 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, warning fixes for gcc4.0/OSX. - * Enabled thread safe counting by default. +Tue, 22 Nov 2005 09:47:18 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, fix for wchar_t being redefined. -2005-12-06 21:59 robert +Mon, 21 Nov 2005 16:29:47 +0000 +Checked in by : Robert OSFIELD +Updated NEWS - * Improved the PickVisitor to make it more flexible and robust. +Mon, 21 Nov 2005 16:15:48 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and authors file. -2005-12-06 12:07 robert +Mon, 21 Nov 2005 13:51:24 +0000 +Checked in by : Robert OSFIELD +From Roger James, reworked the export of std::vector<> on standard types to prevent problems with .lib being built for all targets under VS7.x - * Removed osgdemeter example from distribution because it no longer - compiles, - and Demeter itself nolonger compiles, osgdemeter has now been - moved to the community - section of openscenegraph.org. +Sun, 20 Nov 2005 22:07:43 +0000 +Checked in by : Robert OSFIELD +Replaced asserts with notification of error. -2005-12-06 11:24 robert +Sun, 20 Nov 2005 22:06:16 +0000 +Checked in by : Robert OSFIELD +From Donn Mielcarek, added support Materials being declared globally. - * Added checks in the drawImplementation to catch when attribute - bindings are set on - but the relevant arrays remain unset, this prevents previous - crash when this - occured. +Sat, 19 Nov 2005 12:18:51 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, osgversion and AUTHORS file. -2005-12-06 10:26 robert +Fri, 18 Nov 2005 17:04:55 +0000 +Checked in by : Robert OSFIELD +Added the ability for osgParticle::ParticleEffect to switch off the automatic setup. Normally the automatic setup is useful, but in the case of the .osg support this automatic update was forcing premature loading of imagery that wasn't necessarily, and can lead to reports of looking for files that arn't present. - * From Gideon May, fixed typo in docs. +Fri, 18 Nov 2005 15:00:34 +0000 +Checked in by : Robert OSFIELD +Added s/getCenter and s/getRotation methods, and updated wrapper. -2005-12-06 10:18 robert +Fri, 18 Nov 2005 14:49:05 +0000 +Checked in by : Robert OSFIELD +From Toshiyuki Takeahei, addition of s/getDistance() methods - * From Farshid Lashkari, removed second redundent - dirtyDisplayList() call. +Fri, 18 Nov 2005 14:46:38 +0000 +Checked in by : Robert OSFIELD +The OpenFlight plugin was crashing with pre 15.6 .flt files that contained light points. This was due to the mismatch is size and fiels in the LightPointRecord before 15.6 and after it, the OSG's flt plugin was assuming just 15.6 record structure. As a temporary solution I have disabled the processing of light point records on .flt file version before 15.6, this allows these files to be loaded safely, but without light points. -2005-12-06 10:16 robert +Fri, 18 Nov 2005 10:03:11 +0000 +Checked in by : Robert OSFIELD +From Andrew Reyonolds : changed the endian conversion code to work on a temporary rather then on a flt structure to prevent repeated conversion of the same value, something that led to eroneously large light point string sizes. - * From Louis Hamilton, fix to LightPoint's under 64 bit build, - changing longs to ints in - colour conversion code. +Fri, 18 Nov 2005 09:52:24 +0000 +Checked in by : Robert OSFIELD +From Rodger James, changed the Win32 static library compilation support to use OSG_LIBRARY_STATIC to avoid problems with building libs when not required. -2005-12-05 20:11 robert +Thu, 17 Nov 2005 20:22:55 +0000 +Checked in by : Robert OSFIELD +Replaced tabs with spaces in examples. - * Changed debug message to INFO. +Thu, 17 Nov 2005 17:45:04 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2005-12-05 10:24 robert +Thu, 17 Nov 2005 17:44:48 +0000 +Checked in by : Robert OSFIELD +Convert tabs to spaces. - * Attempt at build fixes for IRIX. +Thu, 17 Nov 2005 15:18:48 +0000 +Checked in by : Robert OSFIELD +From Toshiyuki Takahei, added #pragam to avoid build problem with special characters. From Robert Osfield, added #if _MSC_VER to restrict pragma usage to just VisualStudio, and added comment explaining all the extra parsing code in osgversion. -2005-12-05 10:23 robert +Thu, 17 Nov 2005 15:03:51 +0000 +Checked in by : Robert OSFIELD +Replaced tabs with spaces. - * Removed the closeLibraries call from the registry singleton - desctuction. +Thu, 17 Nov 2005 13:35:53 +0000 +Checked in by : Robert OSFIELD +Coverted tabs to space in core libraries. -2005-12-05 10:08 robert +Thu, 17 Nov 2005 11:27:25 +0000 +Checked in by : Robert OSFIELD +From Toshiyuki Takahei, fixed order intialiation problem in Viewer::selectCameraManipulator(..). - * From Geoff Michel, Fix to prevent Producer::Trackball being set - up with a negative - radius. +Thu, 17 Nov 2005 11:22:09 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, "fix for another one of those GLSL syntax errors that slip thru the nvidia compiler. gl_TexCoord[] is an array of vec4, and must be reduced to a vec2 for use with texture2D()" -2005-12-04 20:08 robert +Thu, 17 Nov 2005 11:13:36 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolosky, for Cygwin and Minw sections changed definition of INST_SHARE so that it is based on INST_LOCATION, providing the same default as before but also allow it to be override by env vars when required. - * Fixed tabbing. +Thu, 17 Nov 2005 11:09:22 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolosky, made spacing more consistent. -2005-12-03 15:12 robert +Thu, 17 Nov 2005 11:03:20 +0000 +Checked in by : Robert OSFIELD +From Mikkel Gjøl, addition of paramter set/get methods to osgGA::*Manipulators, change of ' ' to GUIEventAdapter::KEY_Space, fix to url in Matrix_implementation.cpp. Syntax fixes by Robert Osfield to above submission fix inconsistencies with normal OSG coding style. - * Added OSG_EXPORT to PrimitiveSet. +Thu, 17 Nov 2005 09:57:40 +0000 +Checked in by : Robert OSFIELD +Improved handling of core OSG being compile with float Matrices. -2005-12-03 00:03 robert +Thu, 17 Nov 2005 09:20:58 +0000 +Checked in by : Robert OSFIELD +Added (_data || rhs._data) extra qualify to Image::compare is data equal test. - * Moved the body of the getNumPrimitives() into the .cpp. +Wed, 16 Nov 2005 21:08:16 +0000 +Checked in by : Robert OSFIELD +Removed redundent copyop. -2005-12-02 12:30 robert +Wed, 16 Nov 2005 20:27:28 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix on makefile. - * Updated ChangeLog, AUTHTORS.txt and osgversion for next release - candidate. +Wed, 16 Nov 2005 16:35:56 +0000 +Checked in by : Robert OSFIELD +Started experimenting with sections and table of contents. -2005-12-02 12:10 robert +Wed, 16 Nov 2005 16:30:51 +0000 +Checked in by : Robert OSFIELD +Converted remaining osg::Matrix usage to osg::Matrixd. - * Fixed typos in NEWS, improved formating. +Wed, 16 Nov 2005 12:14:18 +0000 +Checked in by : Robert OSFIELD +Updated changelog and authors file. -2005-12-02 11:59 robert +Wed, 16 Nov 2005 12:07:21 +0000 +Checked in by : Robert OSFIELD +Fixed typo entry. - * Updated NEWS with quotes. +Wed, 16 Nov 2005 09:28:09 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, support for ARB_texture_rectangle extension name. -2005-12-02 09:57 robert +Tue, 15 Nov 2005 22:18:29 +0000 +Checked in by : Robert OSFIELD +From Joakim Simonsson/Robert Osfield. Fixed line endings. - * Added a static_cast to get round IRIX64 build - problem. +Tue, 15 Nov 2005 22:14:50 +0000 +Checked in by : Robert OSFIELD +Did a unix2dos and trimmed end of file of rendundent newlines. -2005-12-02 00:25 robert +Tue, 15 Nov 2005 22:07:54 +0000 +Checked in by : Robert OSFIELD +Added proper descriptions of examples in place of the copy and paste description. - * From Marco Jez, hack/fix for VS compile/link problems related to - STL containers. +Tue, 15 Nov 2005 21:47:24 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, compile fixes. -2005-12-02 00:21 robert +Tue, 15 Nov 2005 21:24:35 +0000 +Checked in by : Robert OSFIELD +From Gideon May, "I've added an alias for the new mpeg 4 format used by quicktime and podcasts." - * Updated NEWS +Tue, 15 Nov 2005 18:31:40 +0000 +Checked in by : Robert OSFIELD +From Sean Spicer, compile fixes for Intel compiler. -2005-12-01 16:44 robert +Tue, 15 Nov 2005 16:15:26 +0000 +Checked in by : Robert OSFIELD +From Joakim Simonsson, updated VS handling of extensionless headers to be consistent with 1.0 release of OSG - * Updated NEWS +Tue, 15 Nov 2005 16:06:09 +0000 +Checked in by : Robert OSFIELD +Fixed typo of Jason. -2005-12-01 16:43 robert +Tue, 15 Nov 2005 15:07:43 +0000 +Checked in by : Robert OSFIELD +Updated authors list from osgversion -r ChangeLog output. - * Added comments. +Tue, 15 Nov 2005 15:07:17 +0000 +Checked in by : Robert OSFIELD +Updated the output of the contributors list. -2005-12-01 14:37 robert +Tue, 15 Nov 2005 14:25:03 +0000 +Checked in by : Robert OSFIELD +Added catch of erase of the last element of heap. - * From Ali Botorabi, fixed the setDefault() fallback to properly - handle the case - when no scene view light is requested. +Tue, 15 Nov 2005 11:43:29 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, warning fixes. -2005-12-01 14:09 robert +Tue, 15 Nov 2005 11:39:48 +0000 +Checked in by : Robert OSFIELD +Warning fixes. - * Added TestSupportCallback to properly handle querry of OpenGL - support of - vertex texturing in GLSL. +Tue, 15 Nov 2005 11:23:44 +0000 +Checked in by : Robert OSFIELD +Warning fix. -2005-12-01 13:38 robert +Tue, 15 Nov 2005 10:05:31 +0000 +Checked in by : Robert OSFIELD +Added remapping of Drew's fullname. - * From Thom DeCarlo, build fix for Cygwin. +Tue, 15 Nov 2005 08:56:05 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, switched off lighting of points to make them clearer -2005-12-01 13:19 robert +Tue, 15 Nov 2005 08:43:24 +0000 +Checked in by : Robert OSFIELD +Warning fix. - * From Geoff Michel, fixed the handling of zfar values of 0.0. +Mon, 14 Nov 2005 21:40:28 +0000 +Checked in by : Robert OSFIELD +Fixed handling of initials. -2005-11-30 15:30 robert +Mon, 14 Nov 2005 20:54:53 +0000 +Checked in by : Robert OSFIELD +Added typo correction for "Jolley". - * Updated NEWS. +Mon, 14 Nov 2005 20:51:28 +0000 +Checked in by : Robert OSFIELD +Added more typo catches. -2005-11-29 22:29 robert +Mon, 14 Nov 2005 17:21:49 +0000 +Checked in by : Robert OSFIELD +Further improvements to the name filtering. - * Updated changed log for 1.0-rc7. +Mon, 14 Nov 2005 17:15:58 +0000 +Checked in by : Robert OSFIELD +Improved handling on special characters in names -2005-11-29 18:38 robert +Mon, 14 Nov 2005 17:07:11 +0000 +Checked in by : Robert OSFIELD +Added support for mining the ChangeLog for a list of contributors. - * Added default opening of the file as a binary file, and once the - type is - confirmed then close and reopen as an ascii as required. This is - done to get - round problems under Windows. - - Also made the running of the SmoothingVisitor optional, now use - -O smooth to - make the loader run the osgUtil::SmoothingVisitor over the model. +Mon, 14 Nov 2005 13:34:47 +0000 +Checked in by : Robert OSFIELD +Updated changelog. -2005-11-29 14:20 robert +Mon, 14 Nov 2005 12:49:05 +0000 +Checked in by : Robert OSFIELD +Fixed warnings in geo plugin - * Updated ChangeLog, osgversion.cpp and AUTHORS.txt for 1.0-rc6. +Mon, 14 Nov 2005 11:14:58 +0000 +Checked in by : Robert OSFIELD +Updated package version to 1.0,0 -2005-11-29 14:07 robert +Mon, 14 Nov 2005 11:08:16 +0000 +Checked in by : Robert OSFIELD +From Toshiyuki Takehei, typo fix of getTrackerMode(). - * Updated NEWS with second draft of press release. +Mon, 14 Nov 2005 11:00:36 +0000 +Checked in by : Robert OSFIELD +Change the KeySwitchMatrixManipulator so that it two sets of getMatrixManipulator methods, two that takes an index,two that takes a key value. Updated the ViewEventHandler so the it now uses the getMatrixManipulatorWithIndex() method to avoid previous ambiguity. -2005-11-29 12:09 robert +Mon, 14 Nov 2005 09:31:06 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari : "I reported earlier about a problem with a custom emitter I was using. I spent some more time debugging and it turns out there was a bug in the ParticleSystem::update_bounds function. When the bound is being reset, both the min and max are being set to the same postion without the radius being subtracted/added to it. When there is only one particle alive in the system this causes it to be culled by small feature culling. I've modifed the function so that when the bound is reset, the radius is subtracted/added to the position. This fixes my problem." - * Added CameraBarrierCallback so that multi-thread multi-cameras - are synconized - correctly when do stats collection. +Sat, 12 Nov 2005 21:29:59 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, geo plugin updated to for latest updates in .geo format. -2005-11-29 11:39 robert +Sat, 12 Nov 2005 13:38:32 +0000 +Checked in by : Robert OSFIELD +Added support for ConnectedParticleSystem. - * From Eric Wing, fixes for "warning: converting of negative value - '-0x00000000000000001' to 'unsigned int'" +Sat, 12 Nov 2005 13:27:49 +0000 +Checked in by : Robert OSFIELD +Added .osg support for osgParticle::SmokeTrailEffect -2005-11-29 08:59 robert +Fri, 11 Nov 2005 19:29:53 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Switched off the VBO usage in osgparametric as it was tripping up - ATI and 3DLabs drivers. +Fri, 11 Nov 2005 17:00:36 +0000 +Checked in by : Robert OSFIELD +Added scene stats support to osgProducer::ViewerEventHandler. -2005-11-28 20:08 robert +Fri, 11 Nov 2005 14:22:57 +0000 +Checked in by : Robert OSFIELD +Added s/getMaxNumOfTextureUnits control to osgGA::StateSetManipulator, and set the default to 4. - * Added temporary ref_ptr to prevent the _image going - out of scope - due to another thread complete the texture::apply() while the - present texture::apply() - is still running. +Fri, 11 Nov 2005 12:45:59 +0000 +Checked in by : Robert OSFIELD +Fixes for VS6.0 build. -2005-11-28 10:58 robert +Fri, 11 Nov 2005 08:45:18 +0000 +Checked in by : Robert OSFIELD +From Markus Trenkwalder, fix for Mingw build - * Fixed warning. +Thu, 10 Nov 2005 20:56:16 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, compile for a syntax error problem. -2005-11-28 09:15 robert +Thu, 10 Nov 2005 20:20:13 +0000 +Checked in by : Robert OSFIELD +Added /Zm200 to loads of project to try and salavage something from VS6.0 being such a bog awful compiler. - * From Gideon May, port to OSX of GLUT examples. +Thu, 10 Nov 2005 20:04:16 +0000 +Checked in by : Robert OSFIELD +Fixes for VS6.0 -2005-11-27 15:32 robert +Thu, 10 Nov 2005 19:32:37 +0000 +Checked in by : Robert OSFIELD +Fixes for dumb VS6.0 compiler - * From Geoff Michel, fix for the scaling of the random number - generation. +Thu, 10 Nov 2005 19:16:01 +0000 +Checked in by : Robert OSFIELD +Fixes for VS6.0 -2005-11-25 20:23 robert +Thu, 10 Nov 2005 17:24:41 +0000 +Checked in by : Robert OSFIELD +Compile fixes for VS6.0. - * Updated ChangeLog and authors file. +Thu, 10 Nov 2005 16:47:48 +0000 +Checked in by : Robert OSFIELD +From Markus Trenkwalder, added freetype-config support to Mingw section. -2005-11-25 19:18 robert +Thu, 10 Nov 2005 15:52:02 +0000 +Checked in by : Robert OSFIELD +Added osgshaderterrain and osgparametric to runexamples.bat - * From John Donovan, typo fixes. +Thu, 10 Nov 2005 15:27:49 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2005-11-25 14:58 robert +Thu, 10 Nov 2005 15:25:06 +0000 +Checked in by : Robert OSFIELD +Added better control for cancel GraphicsThreads. - * Added disable of spurious VS6.0 warning. +Thu, 10 Nov 2005 14:41:42 +0000 +Checked in by : Robert OSFIELD +Ran unix2dos on OpenSceneGraph.dsw -2005-11-25 13:45 robert +Thu, 10 Nov 2005 11:56:18 +0000 +Checked in by : Robert OSFIELD +Fixed typo of CoordinateSystem. - * Fixed docs of setImage. +Thu, 10 Nov 2005 11:39:01 +0000 +Checked in by : Robert OSFIELD +Addd OsgSceneHandler::s/getCleanUpOnNextFrame() and support for it in the draw() method, when CleanUpOnNextFrame is enabled the next frame simple deleted OpenGL objects without doing any draw traversal. -2005-11-25 12:31 robert +Thu, 10 Nov 2005 10:29:56 +0000 +Checked in by : Robert OSFIELD +Added checks against the values returned from dynamic_cast<>'s. - * Added releaseGLObjects to PrimitiveSet. +Thu, 10 Nov 2005 09:42:34 +0000 +Checked in by : Robert OSFIELD +Compile fixes for VS7.1 -2005-11-25 10:32 robert +Wed, 9 Nov 2005 22:09:46 +0000 +Checked in by : Don BURNS +small change to test osg-cvs.... - * Fixed typo of dxf. +Wed, 9 Nov 2005 22:07:47 +0000 +Checked in by : Don BURNS +Small modification to change 2004 to 2005 in README.txt (this is mostly a test of osg-cvs) -2005-11-24 19:53 robert +Wed, 9 Nov 2005 20:30:47 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Lightened by the ambientBias term. +Wed, 9 Nov 2005 20:26:34 +0000 +Checked in by : Robert OSFIELD +Added release and flush of OpenGL objects after build of the terrain database to prevent the build graphics context state leaking into the viewers graphics context set. -2005-11-24 15:18 robert +Wed, 9 Nov 2005 20:24:47 +0000 +Checked in by : Robert OSFIELD +Added a s/getState() to osgTerrain::DataSet to allow better integration with applications. - * Added FBO deletion support, and better FBO querry and fallback - mechansim in RenderStage. +Wed, 9 Nov 2005 17:20:15 +0000 +Checked in by : Robert OSFIELD +Added some docs on command line options. -2005-11-24 15:17 robert +Wed, 9 Nov 2005 17:19:34 +0000 +Checked in by : Robert OSFIELD +Added writing of commandline options in getFormatedString when there is no description string. - * Changed the VS template export block to just compile when VS - verion >= 1300 (VS.NET onwards.) +Wed, 9 Nov 2005 17:08:50 +0000 +Checked in by : Robert OSFIELD +Moved the blink sequence light points down so they are visible in the default camera position. -2005-11-24 10:28 robert +Wed, 9 Nov 2005 17:06:12 +0000 +Checked in by : Robert OSFIELD +Changed the NO_ROTATION label so it is aligned with the XZ plane to make it easier to see. - * Changed the default value of Texture::_resizeNonPowerOfTwoHint to - true, to - improve the backwards compatibility of peformance on systems that - have OpenGL2.0 - drivers but without hardware that can't handle non power of two - textures. +Wed, 9 Nov 2005 15:27:30 +0000 +Checked in by : Robert OSFIELD +Quick updates to NEWS. -2005-11-24 10:14 robert +Wed, 9 Nov 2005 15:19:11 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * Added automatic setting of thread safe reference counting when - multi-threaded - cameras are used. +Wed, 9 Nov 2005 15:14:15 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2005-11-23 16:32 robert +Wed, 9 Nov 2005 15:11:22 +0000 +Checked in by : Robert OSFIELD +Added the support in AnimationPathCallback for taking a pivot, axis and rotation rate paramters in its constructor to allow it to be used to create rotations around a point. This provides the same interface and functionality as osgUtil::TransformCallback but has the advantage and AnimationPathCallback is fully supported by the .osg and .ive file formats. - * Changed CameraNode::getDataChangeMutex() to be a pointer rather - than a reference to - get around osgIntrospeciton build problem with the - OpenThreads::Mutex copy constructor being private. +Wed, 9 Nov 2005 13:39:48 +0000 +Checked in by : Robert OSFIELD +Updated the runexamples.bat to include glsl_mandelbrot.osg and glsl_julia.osg references -2005-11-23 16:24 robert +Wed, 9 Nov 2005 13:39:08 +0000 +Checked in by : Robert OSFIELD +Reduced the size of the "oversized" cessna.osg - * Updated AUTHORES, ChangeLog, NEWS and version number for 1.0-rc6 +Wed, 9 Nov 2005 13:26:11 +0000 +Checked in by : Robert OSFIELD +Added a test of isRealized to requestWrapPointer to prevent a deadlock condition occur when a wap pointer is done before a window is realized. -2005-11-23 15:25 robert +Wed, 9 Nov 2005 13:18:46 +0000 +Checked in by : Robert OSFIELD +Update texture file names to reflect new files in OpenSceneGraph-Data distribution. - * Changed the linux implement of getGLExtensionFuncPtr to querry - for glXGetProcAddressARB - and then use this if its available, otherwise fallback to the - original dlsym usage. +Wed, 9 Nov 2005 11:59:18 +0000 +Checked in by : Robert OSFIELD +Added dxf VS6.0 project -2005-11-23 13:44 robert +Wed, 9 Nov 2005 10:49:56 +0000 +Checked in by : Robert OSFIELD +Bumped the version numbers up to 1.0 in preparation for 1.0-rc1. - * Added multi-buffering of the CameraNode::_renderingCache to help - cope with multiple graphis context usages. +Wed, 9 Nov 2005 10:41:52 +0000 +Checked in by : Robert OSFIELD +Fixed warnings. -2005-11-23 12:16 robert +Wed, 9 Nov 2005 10:37:10 +0000 +Checked in by : Robert OSFIELD +Fixed compile warning. - * Fixed mistmatch of ReadFileCallback type. +Wed, 9 Nov 2005 09:30:16 +0000 +Checked in by : Robert OSFIELD +Updated the bin number to be 100 for the logo overlay to force it to draw later. -2005-11-23 10:16 robert +Tue, 8 Nov 2005 16:41:34 +0000 +Checked in by : Robert OSFIELD +Added .ive support for osg::Texture SourceFormat and SourceType - * Moved getGLExtensionFuncPtr implementation into the .cpp to make - it easier to - change it implementation without forcing a complete recompile. +Tue, 8 Nov 2005 16:22:33 +0000 +Checked in by : Robert OSFIELD +Added support for SourceType and SourceFormat to .osg. -2005-11-23 10:15 robert +Tue, 8 Nov 2005 16:02:09 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * From Marco Jez, typo fix if GL extension name. +Tue, 8 Nov 2005 15:52:21 +0000 +Checked in by : Robert OSFIELD +From Brad Colbert/Robert Osfield: added s/getSourceFormat and s/getSourceType to osg::Texture along with support for this Texture1D, 2D, 3D, TextureCubeMap and TextureRectangle. The new SourceFormat and SourceType parameters are only used when no osg::Image is assigned to an osg::Texture, and main use is for render to texture effects.Added support for --hdr option in osgprerender, which utilises the new Texture::setSourceFormat/Type() methods. -2005-11-22 21:14 robert - * Simplified the TangentSpaceGenerator so that is automatically - converts any models - with indices to one without indices and then runs the tangent - space generation code on the result. -2005-11-22 14:35 robert +Tue, 8 Nov 2005 14:03:00 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Markus Trenkwalder, fixed placment of libs in mingw build. +Tue, 8 Nov 2005 13:51:28 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, fixed image size calculation in getTotalSizeInBytesIncludingMipmaps(), added checks on success of opening files for writing in the .ive plugin. -2005-11-22 13:56 robert +Tue, 8 Nov 2005 11:46:52 +0000 +Checked in by : Robert OSFIELD +Added sorting and clearing of pre and post RenderStages stored in RenderStage, and added some debugging comments which are currently commented out from compilation - these are left in just in case future debug work requires them. - * Added missing dirtyDisplayList call into osg::Geometry::set - calls. +Tue, 8 Nov 2005 09:36:42 +0000 +Checked in by : Robert OSFIELD +Changed the occluder traversal so that checks the children of the SceneView's Cameara rather than starting at the camera itself. -2005-11-22 13:14 robert +Mon, 7 Nov 2005 16:52:09 +0000 +Checked in by : Robert OSFIELD +Renamed VisualStudio.dsw to OpenSceneGraph.dsw - * Added DatabasePager::s/getDrawablePolicy() to allow the way that - the display list/VBO settings - are applied to loaded databases. +Mon, 7 Nov 2005 16:48:45 +0000 +Checked in by : Robert OSFIELD +Improved the handling of CameraNode and viewers with projection matrices contained NaN's. -2005-11-22 10:26 robert +Mon, 7 Nov 2005 15:46:05 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, proper c++ cast instead of c-cast for ApplicationUsage - * Added check against LODScale being zero, and fixed the search for - the maximum - LOD range in the pixel size range fallback. +Mon, 7 Nov 2005 15:43:29 +0000 +Checked in by : Robert OSFIELD +From Steve Lunsford, added psuedo event dispatch to init within selectCameraManipulator to force the new minpulator to update correctly. -2005-11-22 10:08 robert +Mon, 7 Nov 2005 14:42:36 +0000 +Checked in by : Robert OSFIELD +From David Spilling, added "noRotation" ReaderWriter::Option into the .obj plugin to enable disabling of the automatic rotation from Y up coordinate frame to Z up coordinate frame. - * From Chris Hanson, add LODScale support to pixel based LOD range - selection. +Mon, 7 Nov 2005 13:54:25 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, Added an unregister of the GraphicsContextImplement on unload. -2005-11-22 09:57 robert +Mon, 7 Nov 2005 12:41:32 +0000 +Checked in by : Robert OSFIELD +From David Spilling, fix for typo of OVERRIDE. - * From Jason Daly, (with small tweak by Robert Osfield) fix for - Prorgram::removeShader(Shader*) - so that it properly remove the shader and its entry in the - _shaderList. +Mon, 7 Nov 2005 11:14:23 +0000 +Checked in by : Robert OSFIELD +From Gideon May, compile fixes for OSX. -2005-11-22 09:51 robert +Mon, 7 Nov 2005 11:09:59 +0000 +Checked in by : Robert OSFIELD +From Norman Vine, "Cygwin uses unix style path separators" - * From Eric Wing, warning fixes for gcc4.0/OSX. +Mon, 7 Nov 2005 11:05:16 +0000 +Checked in by : Robert OSFIELD +From Wang Lam,"The changes allow users of OpenSceneGraph to call a new function readFontStream() to load fonts from a std::istream, rather than from the local filesystem by name. Such a call may be used, for example, if the user has a font fetched over a network, or a font available in memory without a correspondng filename.The changes implement the new function by following the corresponding code +for readFontFile(). readFontStream() reads a stream into memory, and +holds that memory for FreeType. -2005-11-22 09:47 robert +As a basic test, I mangled the osgtext example to use +readFontStream(std::ifstream("font")) in lieu of a readFontFile call, and +the modified example ran completely." - * From Marco Jez, fix for wchar_t being redefined. -2005-11-21 16:29 robert - * Updated NEWS +Mon, 7 Nov 2005 10:29:24 +0000 +Checked in by : Robert OSFIELD +From Ruben (with a few addition/changes from Robert), fixed the commandline of the osgsimplifier example. It now reads --ratio and --max-error.--------------------------------------------------- -2005-11-21 16:15 robert - * Updated ChangeLog and authors file. -2005-11-21 13:51 robert +Fri, 4 Nov 2005 19:00:49 +0000 +Checked in by : Robert OSFIELD +Added extra debugging checks on FBO's - * From Roger James, reworked the export of std::vector<> on - standard types to prevent - problems with .lib being built for all targets under VS7.x +Fri, 4 Nov 2005 12:08:16 +0000 +Checked in by : Robert OSFIELD +Improved support for texture subload/render to texture in various Texture classes and RenderStage. -2005-11-20 22:07 robert +Thu, 3 Nov 2005 21:35:45 +0000 +Checked in by : Robert OSFIELD +Improvements to CameraNode IO support, now handles render to texture. - * Replaced asserts with notification of error. +Thu, 3 Nov 2005 19:20:04 +0000 +Checked in by : Robert OSFIELD +Changed the CameraNode read/write code to use Transform as its parent. -2005-11-20 22:06 robert +Thu, 3 Nov 2005 17:12:49 +0000 +Checked in by : Robert OSFIELD +Removed debugging message - * From Donn Mielcarek, added support Materials being declared - globally. +Thu, 3 Nov 2005 17:08:40 +0000 +Checked in by : Robert OSFIELD +Further work on osg::CameraNode support. -2005-11-19 12:18 robert +Thu, 3 Nov 2005 15:59:17 +0000 +Checked in by : Robert OSFIELD +Further work on added IO support from CameraNode. - * Updated ChangeLog, osgversion and AUTHORS file. +Thu, 3 Nov 2005 12:25:25 +0000 +Checked in by : Robert OSFIELD +Completed osg::CameraView support in .osg and .ive formats. -2005-11-18 17:04 robert +Thu, 3 Nov 2005 10:59:22 +0000 +Checked in by : Robert OSFIELD +Added env var docs on OSG_MAX_TEXTURE_SIZE - * Added the ability for osgParticle::ParticleEffect to switch off - the automatic setup. - Normally the automatic setup is useful, but in the case of the - .osg support this automatic - update was forcing premature loading of imagery that wasn't - necessarily, and can lead to - reports of looking for files that arn't present. +Thu, 3 Nov 2005 10:57:10 +0000 +Checked in by : Robert OSFIELD +Added --help-env option. -2005-11-18 15:00 robert +Thu, 3 Nov 2005 10:18:19 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added s/getCenter and s/getRotation methods, and updated wrapper. +Thu, 3 Nov 2005 10:16:38 +0000 +Checked in by : Robert OSFIELD +Added initial CameraNode and CameraView stups for the .ive loader -2005-11-18 14:49 robert +Thu, 3 Nov 2005 10:01:09 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, added writeEnvironmentSettings to help report what OSG centric environment variables are used. - * From Toshiyuki Takeahei, addition of s/getDistance() methods +Thu, 3 Nov 2005 09:03:46 +0000 +Checked in by : Robert OSFIELD +Added CameraNode.cpp and CameraView.cpp -2005-11-18 14:46 robert +Wed, 2 Nov 2005 19:52:58 +0000 +Checked in by : Robert OSFIELD +Inital work on adding .osg support for CameraNode and CameraView. - * The OpenFlight plugin was crashing with pre 15.6 .flt files that - contained - light points. This was due to the mismatch is size and fiels in - the LightPointRecord - before 15.6 and after it, the OSG's flt plugin was assuming just - 15.6 record - structure. As a temporary solution I have disabled the processing - of light point - records on .flt file version before 15.6, this allows these files - to be loaded - safely, but without light points. +Wed, 2 Nov 2005 19:35:35 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2005-11-18 10:03 robert +Wed, 2 Nov 2005 19:15:41 +0000 +Checked in by : Robert OSFIELD +Added request for accumulator buffer. - * From Andrew Reyonolds : changed the endian conversion code to - work on a temporary - rather then on a flt structure to prevent repeated conversion of - the same value, - something that led to eroneously large light point string sizes. +Wed, 2 Nov 2005 19:15:18 +0000 +Checked in by : Robert OSFIELD +Added support in DisplaySettings and OscCameraGroup for requesting accumulator buffer. -2005-11-18 09:52 robert +Wed, 2 Nov 2005 16:20:55 +0000 +Checked in by : Robert OSFIELD +From Alan Ott, added support for palletted imagery. - * From Rodger James, changed the Win32 static library compilation - support to use - OSG_LIBRARY_STATIC to avoid problems with building libs when not - required. +Wed, 2 Nov 2005 15:56:29 +0000 +Checked in by : Robert OSFIELD +From Brede Johnasen, changed wrap mode to CLAMP_TO_EDGE to avoid edges being seen when zoomed into the reflectio map. -2005-11-17 20:22 robert +Wed, 2 Nov 2005 15:23:54 +0000 +Checked in by : Robert OSFIELD +Added handling of CameraNode into PickVisitor in src/osgProducer/Viewer.cpp. This is unlikely to be the final solution, but does at least fix part of the problem of handling picking HUD's underneath CameraNodes. - * Replaced tabs with spaces in examples. +Wed, 2 Nov 2005 14:24:29 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added Image/ path to image files to help find them from the OpenSceneGraph-Data directory. -2005-11-17 17:45 robert +Wed, 2 Nov 2005 14:22:31 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, moved the rear view camera's viewport to the bottom left of window to accomdate a greater range of display sizes. From Robert Osfield, made the background colour of the intersted camera a scaled down verson of the main background colour to make it more obvious. - * Updated wrappers. +Wed, 2 Nov 2005 12:22:12 +0000 +Checked in by : Robert OSFIELD +Added a setSupportsDisplayList(false) to constructor to prevent end users enabling display lists, something that can break the osgText's managment of state. -2005-11-17 17:44 robert +Wed, 2 Nov 2005 11:55:02 +0000 +Checked in by : Robert OSFIELD +Fixed setCameraRequiresSetUp so it properly uses the bool passed to it. - * Convert tabs to spaces. +Wed, 2 Nov 2005 11:33:10 +0000 +Checked in by : Robert OSFIELD +Added doc comment and removed redundent inline keyword -2005-11-17 15:18 robert +Wed, 2 Nov 2005 10:57:42 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I need the ability to check for a font file without actually loading the font object. I've modified font.h/cpp of osgText so that it exports the findFontFile function." - * From Toshiyuki Takahei, added #pragam to avoid build problem with - special characters. - From Robert Osfield, added #if _MSC_VER to restrict pragma usage - to just VisualStudio, - and added comment explaining all the extra parsing code in - osgversion. +Wed, 2 Nov 2005 10:55:20 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, commented out debuggin message. -2005-11-17 15:03 robert +Wed, 2 Nov 2005 10:49:38 +0000 +Checked in by : Robert OSFIELD +Added static orthoNormal function to match equivilant in Matrixd - * Replaced tabs with spaces. +Wed, 2 Nov 2005 10:45:56 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "Fix for missing class name qualifier on the orthoNormal function." -2005-11-17 13:35 robert +Wed, 2 Nov 2005 10:29:38 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "Fixes for some duplicate global symbol definitions in the plugins, which cause errors when creating a statically linked executable." - * Coverted tabs to space in core libraries. +Wed, 2 Nov 2005 10:29:13 +0000 +Checked in by : Robert OSFIELD +Fixed compile warning -2005-11-17 11:27 robert +Tue, 1 Nov 2005 20:16:31 +0000 +Checked in by : Robert OSFIELD +Changed the error number reporting to be reported as hex. - * From Toshiyuki Takahei, fixed order intialiation problem in - Viewer::selectCameraManipulator(..). +Tue, 1 Nov 2005 19:32:26 +0000 +Checked in by : Robert OSFIELD +Added an image negation callback to the render to image. Added commandline docs for the new --image and --texture-rectangle options. -2005-11-17 11:22 robert +Tue, 1 Nov 2005 19:31:30 +0000 +Checked in by : Robert OSFIELD +Removed the double call to the camera post draw callback. - * From Mike Weiblen, "fix for another one of those GLSL syntax - errors that slip thru the nvidia compiler. - gl_TexCoord[] is an array of vec4, and must be reduced to a vec2 - for use with texture2D()" +Tue, 1 Nov 2005 17:07:55 +0000 +Checked in by : Robert OSFIELD +Added usage of image copy and modification. -2005-11-17 11:13 robert +Tue, 1 Nov 2005 15:39:26 +0000 +Checked in by : Robert OSFIELD +Set the draw and read buffer to GL_NONE when using FBO's, thereby avoid invalid enumrates being generated. - * From Eric Sokolosky, for Cygwin and Minw sections changed - definition of INST_SHARE - so that it is based on INST_LOCATION, providing the same default - as before but - also allow it to be override by env vars when required. +Tue, 1 Nov 2005 15:23:03 +0000 +Checked in by : Robert OSFIELD +Improved handling of osg::Image copying. -2005-11-17 11:09 robert +Tue, 1 Nov 2005 11:18:40 +0000 +Checked in by : Robert OSFIELD +From Brad Colbert, Added checking for a NULL return string rom gluErrorString (with slight reformating of this by Robert Osfield.) - * From Eric Sokolosky, made spacing more consistent. +Tue, 1 Nov 2005 11:00:07 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2005-11-17 11:03 robert +Tue, 1 Nov 2005 10:42:54 +0000 +Checked in by : Robert OSFIELD +Added RenderTargetFallback option into osg::CameraNode. - * From Mikkel Gjøl, addition of paramter set/get methods to - osgGA::*Manipulators, - change of ' ' to GUIEventAdapter::KEY_Space, fix to url in - Matrix_implementation.cpp. - Syntax fixes by Robert Osfield to above submission fix - inconsistencies with normal - OSG coding style. +Mon, 31 Oct 2005 16:40:23 +0000 +Checked in by : Robert OSFIELD +From Steve Lunsford, "Attached is a copy of TXPNode.cpp with the repaired computeBounds call. I discovered that TXPNodes were being culled out prematurely because the loaded sub-tiles resulted in a computed bounds that was smaller than the extents indicated in the archive. I think this fix should be fine. I can't think of any reason why we would want to use anything other than the archive extents." -2005-11-17 09:57 robert +Mon, 31 Oct 2005 14:48:11 +0000 +Checked in by : Robert OSFIELD +Added default setting of _threading_model to ThreadPerCamera when multiple cameras are present, and SingleThreaded when a single camera is being used. - * Improved handling of core OSG being compile with float Matrices. +Mon, 31 Oct 2005 11:43:54 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, "some tweaks to the osgSim lightpoints.- The first change is to start fadeing a lightpoint just before the +maximum distance of a light is reached. +- The second change is to start fading a lightpoint when pixelSize is +less than _minPixelSize instead of 1.0." -2005-11-17 09:20 robert - * Added (_data || rhs._data) extra qualify to Image::compare is - data equal test. -2005-11-16 21:08 robert +Sat, 29 Oct 2005 11:29:58 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * Removed redundent copyop. +Sat, 29 Oct 2005 10:04:35 +0000 +Checked in by : Robert OSFIELD +Added catch for NULL return from glGetString( GL_VERSION ); -2005-11-16 20:27 robert +Sat, 29 Oct 2005 09:52:56 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * Ran dos2unix on makefile. +Fri, 28 Oct 2005 18:39:14 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, Fix for the class name lookup in osgDB::Registry::writeObject(), which can silently fail when a NodeKit's class (for example osgNVCg::Program) has the same name as that of an OSG's class (for example osg::Program). -2005-11-16 16:35 robert +Fri, 28 Oct 2005 18:37:15 +0000 +Checked in by : Robert OSFIELD +Fixed env var docs for sharing graphics contexts. - * Started experimenting with sections and table of contents. +Fri, 28 Oct 2005 14:02:37 +0000 +Checked in by : Robert OSFIELD +Added warning message for when no file is loaded. -2005-11-16 16:30 robert +Fri, 28 Oct 2005 13:18:09 +0000 +Checked in by : Robert OSFIELD +From Ravi Mathur, "Here is an update to BlendEquation that adds checking for the SGIX_blend_alpha_minmax and EXT_blend_logic_op extensions. It is tested with the osgblendequation example. If the extensions are not supported, a WARN level notification is generated." - * Converted remaining osg::Matrix usage to osg::Matrixd. +Fri, 28 Oct 2005 13:11:56 +0000 +Checked in by : Robert OSFIELD +Moved SceneView across to use an osg::CameraNode to store the projection and view matrices, the viewport, the clear colour and the subgraph needing rendered. This is done transparently so all existing functionality will behave as before. What it does add is the ability to set a SceneView directly by a single osg::CameraNode when required. -2005-11-16 12:14 robert +Fri, 28 Oct 2005 10:33:11 +0000 +Checked in by : Robert OSFIELD +Changed debug message from NOTICE to INFO level of notification - * Updated changelog and authors file. +Fri, 28 Oct 2005 10:11:12 +0000 +Checked in by : Robert OSFIELD +Added command line option --overlay to turn on the use of an OverlayNode. -2005-11-16 12:07 robert +Fri, 28 Oct 2005 09:20:21 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * Fixed typo entry. +Fri, 28 Oct 2005 08:35:55 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added check to make sure that vertex texture was supported in the OpenGL driver. -2005-11-16 09:28 robert +Thu, 27 Oct 2005 13:53:55 +0000 +Checked in by : Robert OSFIELD +Added option to osgdepthpartion for loading the model specified on the commandline. - * From Mike Weiblen, support for ARB_texture_rectangle extension - name. +Thu, 27 Oct 2005 11:15:25 +0000 +Checked in by : Robert OSFIELD +Added documentation line about 32 being the maximum permitted number of line segmenets -2005-11-15 22:18 robert +Thu, 27 Oct 2005 11:11:02 +0000 +Checked in by : Robert OSFIELD +Added error message to report when too many line segments are added to an IntersectVisitor. - * From Joakim Simonsson/Robert Osfield. Fixed line endings. +Thu, 27 Oct 2005 10:48:44 +0000 +Checked in by : Robert OSFIELD +Added support for tracking the directory of the output file whilst still maintaining local file references within this directory. -2005-11-15 22:14 robert +Thu, 27 Oct 2005 09:38:06 +0000 +Checked in by : Robert OSFIELD +From Ravi Mathur, "New functionality is the ability to automatically determine the maximum traversal depth necessary to obtain an accurate estimate of the minimum number of required cameras. In addition, the user can specify an absolute maximum traversal depth that will not be exceeded." - * Did a unix2dos and trimmed end of file of rendundent newlines. +Thu, 27 Oct 2005 09:37:38 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, update to osgdelaunday. -2005-11-15 22:07 robert +Wed, 26 Oct 2005 20:30:15 +0000 +Checked in by : Robert OSFIELD +From Don Tidrow, bug fix to setOutputTextureFiles(bool). - * Added proper descriptions of examples in place of the copy and - paste description. +Wed, 26 Oct 2005 20:22:59 +0000 +Checked in by : Robert OSFIELD +Added friend declarations of nested classes to prevent compile problems under VS6.0 -2005-11-15 21:47 robert +Wed, 26 Oct 2005 20:00:10 +0000 +Checked in by : Robert OSFIELD +Changed the minimum tile image size to be 4x4 to avoid problems in mipmap generation that was occuring at sizes of 2x2, seemingly somewhere in the OpenGL driver. - * From Eric Wing, compile fixes. +Wed, 26 Oct 2005 16:02:24 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, "changed two set methods (setFocalLength,setFieldOfView) to perform assignment." -2005-11-15 21:24 robert +Wed, 26 Oct 2005 09:22:13 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, compile fixes for VS6.0 - * From Gideon May, "I've added an alias for the new mpeg 4 format - used by quicktime and - podcasts." +Tue, 25 Oct 2005 18:34:46 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2005-11-15 18:31 robert +Tue, 25 Oct 2005 15:49:48 +0000 +Checked in by : Robert OSFIELD +Added command line support for the interlaced stereo modes. - * From Sean Spicer, compile fixes for Intel compiler. +Tue, 25 Oct 2005 15:43:04 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari & Robert Osfield: Added support for VERTICAL_INTERLACE and HORIZONTAL_INTERLACE stereo modes use the stencil buffer. -2005-11-15 16:15 robert +Tue, 25 Oct 2005 14:01:50 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * From Joakim Simonsson, updated VS handling of extensionless - headers to be consistent with 1.0 release of OSG +Tue, 25 Oct 2005 13:28:48 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, added support for constrain delaunay triangultion, and osgdelaunay example. -2005-11-15 16:06 robert +Tue, 25 Oct 2005 13:24:39 +0000 +Checked in by : Robert OSFIELD +Added check against glGetString(GL_VERSION) returning NULL. - * Fixed typo of Jason. +Tue, 25 Oct 2005 10:30:32 +0000 +Checked in by : Robert OSFIELD +Added missing projects -2005-11-15 15:07 robert +Tue, 25 Oct 2005 10:29:11 +0000 +Checked in by : Robert OSFIELD +Added osgcatch project - * Updated authors list from osgversion -r ChangeLog output. +Tue, 25 Oct 2005 10:12:18 +0000 +Checked in by : Robert OSFIELD +Added missing projects. -2005-11-15 15:07 robert +Tue, 25 Oct 2005 09:54:15 +0000 +Checked in by : Robert OSFIELD +From Markus Trenkwalder, added meanigful return types in Registry::read(const ReadFunctor& readFunctor) for ERROR_IN_READING_FILE and FILE_NOT_FOUND cases. - * Updated the output of the contributors list. +Tue, 25 Oct 2005 09:49:53 +0000 +Checked in by : Robert OSFIELD +Added protected destructors. -2005-11-15 14:25 robert +Tue, 25 Oct 2005 09:43:37 +0000 +Checked in by : Robert OSFIELD +From Don Tidrow, removed unncessary includes. - * Added catch of erase of the last element of heap. +Tue, 25 Oct 2005 09:23:21 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, changed osg_InverseViewMatrix to osg_ViewMatrixInverse to bring into line with OpenGL shader languague conventions.From Robert Osfield, changed the SceneView::ActiveUnforms enum to from INVERSE_VIEW_MATRIX_UNIFORM +VIEW_MATRIX_INVERSE_UNIFORM to be convistent with the above change. -2005-11-15 11:43 robert - * From Marco Jez, warning fixes. -2005-11-15 11:39 robert +Mon, 24 Oct 2005 18:51:36 +0000 +Checked in by : Robert OSFIELD +Changes to fix divide by 0 warning under VS. - * Warning fixes. +Mon, 24 Oct 2005 13:49:19 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2005-11-15 11:23 robert +Mon, 24 Oct 2005 13:46:31 +0000 +Checked in by : Robert OSFIELD +Fixed compile warnings. - * Warning fix. +Mon, 24 Oct 2005 11:46:51 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, "some fixes for OSG_OPTIMIZER envar parsing and help display" -2005-11-15 10:05 robert +Mon, 24 Oct 2005 11:44:07 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added missing example project files. - * Added remapping of Drew's fullname. +Mon, 24 Oct 2005 11:37:03 +0000 +Checked in by : Robert OSFIELD +From Tony Horrobin: "This is a small fix for flt2osg.[cpp|h] that handles + old style road segments ( from Multigen II w/road + tools on IRIX ) in the same way as the newer road + constructions. ie create a group and do a nested + traversal. -2005-11-15 08:56 robert + This makes roads appear in older format files where + there was previously a gap. This actually works + properly with the paths which are marked as hidden in + the openflight database." - * From Mike Weiblen, switched off lighting of points to make them - clearer -2005-11-15 08:43 robert - * Warning fix. +Mon, 24 Oct 2005 11:34:12 +0000 +Checked in by : Robert OSFIELD +From Don Tidrow, "I discovered that externally-referenced models in the TXP format didn't get positioned correctly when the TXP database was built using the 'tile-offset' mode. I've included a tarball with what I believe are the needed changes - they work for the sample databases I have available, but not all conditions have been tested. I've set things up such that these changes shouldn't affect 'normal' txp databases." -2005-11-14 21:40 robert +Mon, 24 Oct 2005 11:25:20 +0000 +Checked in by : Robert OSFIELD +Warning fixes for Win32 build. - * Fixed handling of initials. +Mon, 24 Oct 2005 10:53:01 +0000 +Checked in by : Robert OSFIELD +Added copyright notices. -2005-11-14 20:54 robert +Mon, 24 Oct 2005 10:51:50 +0000 +Checked in by : Robert OSFIELD +Added beginnings of Programming Guide, and NodeTrackerCallback. - * Added typo correction for "Jolley". +Fri, 14 Oct 2005 21:40:03 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, compile fix for VS 2002. -2005-11-14 20:51 robert +Fri, 14 Oct 2005 21:38:44 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, fixed INVERSE_VIEW_MATRIX_UNIFORM enum value. - * Added more typo catches. +Fri, 14 Oct 2005 09:29:13 +0000 +Checked in by : Robert OSFIELD +From Farshid Laskari, changed the compute of the text bounding box to include the spaces. -2005-11-14 17:21 robert +Thu, 13 Oct 2005 12:51:00 +0000 +Checked in by : Robert OSFIELD +Renamed osgUtil::RenderGraph to osgUtil::StateGraph - * Further improvements to the name filtering. +Thu, 13 Oct 2005 10:29:40 +0000 +Checked in by : Robert OSFIELD +Changed the "Cessna" text so that it is sized according to OBJECT_COORDS rather than SCREEN_COORDS as the later was causing problems with the pixel size based LOD selection. -2005-11-14 17:15 robert +Thu, 13 Oct 2005 08:18:12 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * Improved handling on special characters in names +Thu, 13 Oct 2005 08:07:36 +0000 +Checked in by : Robert OSFIELD +Added Producer.lib to osgdepthpartion project file -2005-11-14 17:07 robert +Thu, 13 Oct 2005 08:05:46 +0000 +Checked in by : Robert OSFIELD +Added PRODUCER_INSTALLED=yes make options to the unix build system, not defining PRODUCER_INSTALLED=yes or setting it to another value than yes (i.e no) will result in the osgProducer library, OSG applications and demos not being built.PRODUCER_INSTALLED=yes is the default. - * Added support for mining the ChangeLog for a list of - contributors. -2005-11-14 13:34 robert - * Updated changelog. +Wed, 12 Oct 2005 18:42:36 +0000 +Checked in by : Robert OSFIELD +Added SmokeTrailEffect which renders created particles as single quad or line strip, in the case of the quad strip the strip is aligned to the be orthogonal with the eye point. -2005-11-14 12:49 robert +Tue, 11 Oct 2005 09:47:28 +0000 +Checked in by : Robert OSFIELD +Added new shell of new class ConnectedParticleSystem, which will be used for managing connect particle system for the purpose of doing missile trails etc. - * Fixed warnings in geo plugin +Mon, 10 Oct 2005 10:10:44 +0000 +Checked in by : Robert OSFIELD +From Ravi Mathur, osgdepthpartition example program. -2005-11-14 11:14 robert +Mon, 10 Oct 2005 09:17:22 +0000 +Checked in by : Robert OSFIELD +From Alberto Jaspe, added double precision interpolation method - * Updated package version to 1.0,0 +Fri, 7 Oct 2005 07:46:48 +0000 +Checked in by : Robert OSFIELD +Added into CVS missing PolgonMode files. -2005-11-14 11:08 robert +Thu, 6 Oct 2005 20:02:18 +0000 +Checked in by : Robert OSFIELD +Improved the UpdateCameraAndTexGenCallback so it properly handles rotation and translations within the reflector nodepath. - * From Toshiyuki Takehei, typo fix of getTrackerMode(). +Thu, 6 Oct 2005 15:43:29 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, added support for PolygonMode into .ive format. -2005-11-14 11:00 robert +Thu, 6 Oct 2005 15:41:47 +0000 +Checked in by : Robert OSFIELD +Changed the fallback code to use the result form the realize() call, removed the code path from running a PBuffer as a seperate graphics context (this was found to be slower than running single threaded so its not worth the extra complexity). - * Change the KeySwitchMatrixManipulator so that it two sets of - getMatrixManipulator - methods, two that takes an index,two that takes a key value. - Updated the ViewEventHandler - so the it now uses the getMatrixManipulatorWithIndex() method to - avoid previous ambiguity. +Thu, 6 Oct 2005 13:31:23 +0000 +Checked in by : Robert OSFIELD +Added env var reporting for the OSG_CAMERA_THREADING and OSG_SHARE_GRAPHICS_CONTEXTS env vars. -2005-11-14 09:31 robert +Thu, 6 Oct 2005 13:20:08 +0000 +Checked in by : Robert OSFIELD +Added catch for disabling ThreadPerCamera when contexts are shared. - * From Farshid Lashkari : "I reported earlier about a problem with - a custom emitter I was using. - I spent some more time debugging and it turns out there was a bug - in - the ParticleSystem::update_bounds function. When the bound is - being - reset, both the min and max are being set to the same postion - without - the radius being subtracted/added to it. When there is only one - particle alive in the system this causes it to be culled by small - feature culling. I've modifed the function so that when the bound - is - reset, the radius is subtracted/added to the position. This fixes - my - problem." +Thu, 6 Oct 2005 11:26:07 +0000 +Checked in by : Robert OSFIELD +Improved the fallback mechanism from FBO, down to PBuffer_RTT down to PBuffer down to frame buffer. -2005-11-12 21:29 robert +Wed, 5 Oct 2005 16:21:51 +0000 +Checked in by : Robert OSFIELD +Moved the testing and setting up of FBO/Pbuffer extension from CullVisitor to support into RenderStage to allow better fallback implementations. - * From Geoff Michel, geo plugin updated to for latest updates in - .geo format. +Wed, 5 Oct 2005 09:48:53 +0000 +Checked in by : Robert OSFIELD +Added support for CameraView into NodeVistor, and support for CameraNode and CameraView into the AnimationPathCallback so you can now animate both via animation paths. -2005-11-12 13:38 robert +Tue, 4 Oct 2005 18:50:00 +0000 +Checked in by : Robert OSFIELD +Added code paths for PBuffer RTT support. - * Added support for ConnectedParticleSystem. +Tue, 4 Oct 2005 13:41:20 +0000 +Checked in by : Robert OSFIELD +Added osg::CameraView to help application/modellers position their cameras in scenes. Note, CameraView is *not* a camera, it isn't an active object, but a passive one that camera must track each frame to following the path of the CameraView. -2005-11-12 13:27 robert +Mon, 3 Oct 2005 19:37:54 +0000 +Checked in by : Robert OSFIELD +From Keith Steffen, fixed bug in StateSet::clear() where parents of texture attributes where not being reset correctly due to incorrect ordering of _textureAttributeList.clear(). - * Added .osg support for osgParticle::SmokeTrailEffect +Mon, 3 Oct 2005 19:33:54 +0000 +Checked in by : Robert OSFIELD +From MFM, Added FreeBSD specific implementation for getGLExtensionFuncPtr using dlsym(RTLD_DEFAULT, xxx) -2005-11-11 19:29 robert +Mon, 3 Oct 2005 19:24:12 +0000 +Checked in by : Robert OSFIELD +Added a couple of (double) casts for VS7 build. - * Updated ChangeLog +Mon, 3 Oct 2005 19:18:53 +0000 +Checked in by : Robert OSFIELD +Added closing of loops. -2005-11-11 17:00 robert +Mon, 3 Oct 2005 16:13:26 +0000 +Checked in by : Robert OSFIELD +Added fusing of ends of lines - * Added scene stats support to osgProducer::ViewerEventHandler. +Mon, 3 Oct 2005 13:19:03 +0000 +Checked in by : Robert OSFIELD +Improved handling of convex azim ranges. -2005-11-11 14:22 robert +Sat, 1 Oct 2005 19:28:34 +0000 +Checked in by : Robert OSFIELD +Added test cases for SphereSegment intersection code. - * Added s/getMaxNumOfTextureUnits control to - osgGA::StateSetManipulator, and set the default to 4. +Sat, 1 Oct 2005 19:27:52 +0000 +Checked in by : Robert OSFIELD +Added a dirtyDisplayList() to the setColor() and setTesselationHint() methods. -2005-11-11 12:45 robert +Sat, 1 Oct 2005 12:23:10 +0000 +Checked in by : Robert OSFIELD +Adding handling of case of convex azimuth side ways of sphere segment. - * Fixes for VS6.0 build. +Fri, 30 Sep 2005 19:36:22 +0000 +Checked in by : Robert OSFIELD +Changed the line intersection algorithm to computer full line intersections then trim down to size by intersecting with the sphere segmenet sufaces -2005-11-11 08:45 robert +Thu, 29 Sep 2005 15:55:55 +0000 +Checked in by : Robert OSFIELD +Fix to intersection code. - * From Markus Trenkwalder, fix for Mingw build +Thu, 29 Sep 2005 13:07:26 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2005-11-10 20:56 robert +Thu, 29 Sep 2005 13:00:23 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, fix for gcc build. - * From Marco Jez, compile for a syntax error problem. +Thu, 29 Sep 2005 10:25:44 +0000 +Checked in by : Robert OSFIELD +Fixed typo of Primitive -2005-11-10 20:20 robert +Thu, 29 Sep 2005 10:22:06 +0000 +Checked in by : Robert OSFIELD +Added setOverlayClearColor and setTexEnvMode and automatic set up of TexEnv. - * Added /Zm200 to loads of project to try and salavage something - from VS6.0 being such a bog awful compiler. +Thu, 29 Sep 2005 09:49:20 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added fallback to TextureCubeMap subloading that calls load when mipmaps are required, but non are present. -2005-11-10 20:04 robert +Thu, 29 Sep 2005 09:36:51 +0000 +Checked in by : Robert OSFIELD +Fixed typo of CameraNode::setRenderTargetImplementation(..) - * Fixes for VS6.0 +Wed, 28 Sep 2005 16:05:35 +0000 +Checked in by : Robert OSFIELD +From Volker Walkiewicz (with tweaks from Robert Osfield):Fix to the update of the error metrics on the edges in the simplification mesh that are affected by an edge collapse. -2005-11-10 19:32 robert +Addition of 'n' and 'p' keyboard control in osgsimplifier example to allow users to control the sample ratio manually. - * Fixes for dumb VS6.0 compiler -2005-11-10 19:16 robert - * Fixes for VS6.0 +Wed, 28 Sep 2005 14:18:31 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, "Problems fixed:1. type converters created automatically by the I_BaseType macro use +static_cast<> even for base-to-derived conversions. dynamic_cast<> should be +used instead. +2. as a consequence of the above fix, I_BaseType must now differentiate +between polymorphic and non-polymorphic base classes, because the latter +can't be dynamic_cast'd to derived classes. Some template magic (see +is_polymorphic<> in ReflectionMacros) is used to detect polymorphism at +compile time (I'm NOT sure it works on all platforms as it's partly +implementation-dependent. Please test!). +3. predefined custom property getters/setters/counters/etc. (as those +defined for STL containers) only work on Value objects that contain +non-pointer instances. This was an unwanted restriction that no longer +exists. -2005-11-10 17:24 robert +Wrappers will need to be recompiled. This is a good time to give them a +fresh update with genwrapper. - * Compile fixes for VS6.0. +NOTE: fix #1 should get rid of those crashes and strange behaviours that +some users noticed while using osgIntrospection through osgTcl or in their +own code." -2005-11-10 16:47 robert - * From Markus Trenkwalder, added freetype-config support to Mingw - section. -2005-11-10 15:52 robert +Wed, 28 Sep 2005 14:05:05 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, "The following files are drop-in replacements for the include/*/Export files to permit building statically linked osg libraries under Win32." - * Added osgshaderterrain and osgparametric to runexamples.bat +Wed, 28 Sep 2005 13:55:22 +0000 +Checked in by : Robert OSFIELD +From Leandro Motta Barros: fixed type of ATTRIBUTE_* -2005-11-10 15:27 robert +Wed, 28 Sep 2005 13:53:54 +0000 +Checked in by : Robert OSFIELD +From A. Botorabi, "slightly modified osgUtil's TangentSpaceGenerator class to allow the option for using or not using geom's indices for tangent space vectors generation. now, Ruben's code is also used (it was disabled before). in order to keep backward compatibility, the compute method behaves as before in default case." - * Updated wrappers +Wed, 28 Sep 2005 13:45:32 +0000 +Checked in by : Robert OSFIELD +From Joran Jessurun, comments explaining font search rules -2005-11-10 15:25 robert +Wed, 28 Sep 2005 13:39:26 +0000 +Checked in by : Robert OSFIELD +From Joran Jessurun, added font search fallbck that strips the leading path from the font file and then looks again. - * Added better control for cancel GraphicsThreads. +Wed, 28 Sep 2005 13:33:58 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson: Spelling fixes in include/osg/LOD -2005-11-10 14:41 robert + Negated priority in PagedLOD when using _rangeMode==PIXEL_SIZE_ON_SCREEN - * Ran unix2dos on OpenSceneGraph.dsw + Added clampedPixelSize() methods to CullStack and CullingSet to return fabs()ed values. -2005-11-10 11:56 robert + Changed LOD and PagedLOD ::traverse to use clampedPixelSize() methods. - * Fixed typo of CoordinateSystem. -2005-11-10 11:39 robert - * Addd OsgSceneHandler::s/getCleanUpOnNextFrame() and support for - it in the draw() method, - when CleanUpOnNextFrame is enabled the next frame simple deleted - OpenGL objects without doing any draw traversal. +Tue, 27 Sep 2005 20:28:42 +0000 +Checked in by : Robert OSFIELD +Added degugging methods. -2005-11-10 10:29 robert +Tue, 27 Sep 2005 14:48:09 +0000 +Checked in by : Robert OSFIELD +From Don Tidrow, Added support for locally referenced origins. - * Added checks against the values returned from dynamic_cast<>'s. +Tue, 27 Sep 2005 12:15:40 +0000 +Checked in by : Robert OSFIELD +Various improvements to the sphere segment intersection code. -2005-11-10 09:42 robert +Mon, 26 Sep 2005 11:24:37 +0000 +Checked in by : Robert OSFIELD +Set the defaul clear colour to 0,0,0,0. - * Compile fixes for VS7.1 +Mon, 26 Sep 2005 11:24:14 +0000 +Checked in by : Robert OSFIELD +Added TexEnv DECAL mode. -2005-11-09 22:09 don +Sun, 25 Sep 2005 20:41:56 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, fixes from VS 7.1 build. - * small change to test osg-cvs.... +Sat, 24 Sep 2005 16:11:55 +0000 +Checked in by : Don BURNS +Brede's changes for limited morphed vertex support. These changes allow a model with morphed vertecies to load correctly with LOD switches, but does not implement the vertex morphing. -2005-11-09 22:07 don +Sat, 24 Sep 2005 14:53:22 +0000 +Checked in by : Robert OSFIELD +Improvements to the clipping of polygons at boundary edges. - * Small modification to change 2004 to 2005 in README.txt (this is - mostly - a test of osg-cvs) +Wed, 21 Sep 2005 14:38:36 +0000 +Checked in by : Robert OSFIELD +Further work on intersection code. -2005-11-09 20:30 robert +Mon, 19 Sep 2005 19:49:23 +0000 +Checked in by : Robert OSFIELD +Added multiple intersect triangle visualization for testing purposes. - * Updated wrappers +Mon, 19 Sep 2005 15:33:25 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen: support for OSGHANGGLIDE_REVERSE_CONTROLS env which reverses the pitch and roll control to account from Mike's "unique" way of flying hang gliders :-) -2005-11-09 20:26 robert +Mon, 19 Sep 2005 15:28:31 +0000 +Checked in by : Robert OSFIELD +From Ravi Mathur, added extension checks for point sprite support. From Robert Osfield, tweaks of the above to use osg::buffer_object and a local struct to store initialized to help with multi-thread and out of order context usage. - * Added release and flush of OpenGL objects after build of the - terrain database to prevent - the build graphics context state leaking into the viewers - graphics context set. +Mon, 19 Sep 2005 14:07:44 +0000 +Checked in by : Robert OSFIELD +Added support for "-O OutputTextureFiles" options string in .osg plugin to allow texture files to be written out when writing out a .osg file. -2005-11-09 20:24 robert +Mon, 19 Sep 2005 13:15:59 +0000 +Checked in by : Robert OSFIELD +Added countMultipleIntersections to help with debugging. - * Added a s/getState() to osgTerrain::DataSet to allow better - integration with applications. +Sat, 17 Sep 2005 18:50:26 +0000 +Checked in by : Robert OSFIELD +Improved the region classifaction of the intersection code. -2005-11-09 17:20 robert +Fri, 16 Sep 2005 14:52:56 +0000 +Checked in by : Robert OSFIELD +Improved accuracy of spheresegment to mesh intersections uses mathematical models of surface geometry. - * Added some docs on command line options. +Fri, 16 Sep 2005 09:28:22 +0000 +Checked in by : Robert OSFIELD +Added Azimuth and Elevation intersector functors. -2005-11-09 17:19 robert +Thu, 15 Sep 2005 20:55:35 +0000 +Checked in by : Robert OSFIELD +Changed destinationRowDelta and destination_pixelSpace to int's, solving a memory corruption crash under 64 bit build. - * Added writing of commandline options in getFormatedString when - there is no description string. +Thu, 15 Sep 2005 20:03:37 +0000 +Checked in by : Robert OSFIELD +Added line connectivity code. -2005-11-09 17:08 robert +Thu, 15 Sep 2005 09:03:14 +0000 +Checked in by : Robert OSFIELD +Moved copyLeavesFromRenderGraphListToRenderLeafList into public. - * Moved the blink sequence light points down so they are visible in - the default - camera position. +Mon, 12 Sep 2005 19:42:36 +0000 +Checked in by : Robert OSFIELD +Added querry of video size during open() call and associated allocImage to ensure that the imagestream passed back is of a valid size. -2005-11-09 17:06 robert +Sun, 11 Sep 2005 19:12:54 +0000 +Checked in by : Robert OSFIELD +From Henrique Bucher, add check against null light entry in LightPool. - * Changed the NO_ROTATION label so it is aligned with the XZ plane - to make it easier to see. +Sun, 11 Sep 2005 19:08:41 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, append "\fonts" to end of windows font search path. -2005-11-09 15:27 robert +Sun, 11 Sep 2005 19:05:30 +0000 +Checked in by : Robert OSFIELD +From Sondra Iverson, "The options to rewind/restart and to toggle looping in the osgmovie example have been implemented. " - * Quick updates to NEWS. +Sun, 11 Sep 2005 19:02:20 +0000 +Checked in by : Robert OSFIELD +converted hardware tabs to spaces. -2005-11-09 15:19 robert +Sun, 11 Sep 2005 19:00:57 +0000 +Checked in by : Robert OSFIELD +From Sonda Iverson, fix for repeated pause/unpause toggleing in Xine plugin - * Updated ChangeLog +Sat, 10 Sep 2005 13:07:08 +0000 +Checked in by : Robert OSFIELD +From Joran Jessurun, fix to let the Viewer::computeNearFarPoints function work correctly when used with multiple camera's on one render surface. -2005-11-09 15:14 robert +Sat, 10 Sep 2005 12:51:18 +0000 +Checked in by : Robert OSFIELD +Removed some debugging messages - * Updated wrappers. +Sat, 10 Sep 2005 12:51:03 +0000 +Checked in by : Robert OSFIELD +Added more intersection testing code. -2005-11-09 15:11 robert +Fri, 9 Sep 2005 20:26:50 +0000 +Checked in by : Don BURNS +Added initial ESRIShape file loader.Untabbed and formated LOGO loader. Removed extraneous noise from NET loader - * Added the support in AnimationPathCallback for taking a pivot, - axis and rotation rate - paramters in its constructor to allow it to be used to create - rotations around a point. - This provides the same interface and functionality as - osgUtil::TransformCallback but - has the advantage and AnimationPathCallback is fully supported by - the .osg and .ive file formats. -2005-11-09 13:39 robert - * Updated the runexamples.bat to include glsl_mandelbrot.osg and - glsl_julia.osg references +Fri, 9 Sep 2005 15:42:48 +0000 +Checked in by : Robert OSFIELD +Removed duplicate typedef. -2005-11-09 13:39 robert +Fri, 9 Sep 2005 11:13:40 +0000 +Checked in by : Robert OSFIELD +Added triangle index functor to src/osgUtil/SphereSegment.cpp for computing the intersection between an indivual geometry and the sphere segment.Converted the terrain in osgspheresegment to be an osg::Geometry based +drawable rather than a osg::ShapeDrawable/osg::HeightField one to make it +more practicle to use as a test for the new SphereSegment intersection code. - * Reduced the size of the "oversized" cessna.osg -2005-11-09 13:26 robert - * Added a test of isRealized to requestWrapPointer to prevent a - deadlock condition occur when a wap pointer is done before a - window is realized. +Thu, 8 Sep 2005 18:56:37 +0000 +Checked in by : Robert OSFIELD +Added PolytopeVisitor to SphereSegment.cpp to help cull down to only drawables that intersect with the frustum of the SphereSegment. PolytopeVisitor may eventually be pulled out to be more generally used along the lines of osgUtil::IntersectVisitor. -2005-11-09 13:18 robert +Thu, 8 Sep 2005 13:10:04 +0000 +Checked in by : Robert OSFIELD +Added initial interface for computing intersections between sphere segments and terrain. - * Update texture file names to reflect new files in - OpenSceneGraph-Data distribution. +Wed, 7 Sep 2005 16:18:43 +0000 +Checked in by : Robert OSFIELD +Added support for cullable state, that uses a polytope to define the extents of objects that will be influenced by it. -2005-11-09 11:59 robert +Tue, 6 Sep 2005 20:28:53 +0000 +Checked in by : Robert OSFIELD +Added a grid of lines into the OverlaySubgraph to demonstate use the OverlayNode for applying general drawing onto terrain. - * Added dxf VS6.0 project +Tue, 6 Sep 2005 19:54:29 +0000 +Checked in by : Robert OSFIELD +Added s/getContinousUpdate(bool) method to OverlayNode. -2005-11-09 10:49 robert +Tue, 6 Sep 2005 15:48:18 +0000 +Checked in by : Robert OSFIELD +Added osgSim::OverlayNode to osganimate and osgspheresegment examples, and added support for setting texture size hint and coping with scene graphs with CoordinateSystemNode in them. - * Bumped the version numbers up to 1.0 in preparation for 1.0-rc1. +Mon, 5 Sep 2005 13:27:48 +0000 +Checked in by : Robert OSFIELD +Changed #if -2005-11-09 10:41 robert +Mon, 5 Sep 2005 13:26:50 +0000 +Checked in by : Robert OSFIELD +Added checking of EventVisitor type - * Fixed warnings. +Mon, 5 Sep 2005 13:23:27 +0000 +Checked in by : Robert OSFIELD +Fixed VisitorType of EventVisitor -2005-11-09 10:37 robert +Mon, 5 Sep 2005 13:19:20 +0000 +Checked in by : Robert OSFIELD +Added event handler to shader code so that alphaCuttOff, transparency and sampleDensity are controlled via 'a', 't' and 'd' respectively. - * Fixed compile warning. +Mon, 5 Sep 2005 10:40:04 +0000 +Checked in by : Robert OSFIELD +Integrated shaders into source. -2005-11-09 09:30 robert +Mon, 5 Sep 2005 09:14:30 +0000 +Checked in by : Robert OSFIELD +Added all sides of the shader cube - * Updated the bin number to be 100 for the logo overlay to force it - to draw later. +Mon, 5 Sep 2005 07:48:55 +0000 +Checked in by : Robert OSFIELD +Added preliminary GLSL shader path for volume rendering. -2005-11-08 16:41 robert +Sun, 4 Sep 2005 11:17:00 +0000 +Checked in by : Robert OSFIELD +Standardised the Vec* class interfaces, and added num_components enum to aid generic programming. - * Added .ive support for osg::Texture SourceFormat and SourceType +Sun, 4 Sep 2005 06:36:52 +0000 +Checked in by : Robert OSFIELD +Added support in osgTerrain/osgdem for setting the image format to use when writing tiles out to disk -2005-11-08 16:22 robert +Sat, 3 Sep 2005 20:56:25 +0000 +Checked in by : Robert OSFIELD +Changed red()/green()/blue()/alpha() to r()/g()/b()/a() for greater consistency across Vec* classes and with OpenGL Shander Lanaguage. - * Added support for SourceType and SourceFormat to .osg. +Sat, 3 Sep 2005 20:54:32 +0000 +Checked in by : Robert OSFIELD +Added release() to all GraphicsOperations in GraphicsThread. -2005-11-08 16:02 robert +Fri, 2 Sep 2005 20:06:11 +0000 +Checked in by : Robert OSFIELD +Added commandline arguments for controlling number of cameras through to the windowing library to use. - * Updated wrappers. +Fri, 2 Sep 2005 13:10:46 +0000 +Checked in by : Robert OSFIELD +Added clean up class to help improve the exit of GraphicsThread -2005-11-08 15:52 robert +Fri, 2 Sep 2005 10:35:38 +0000 +Checked in by : Robert OSFIELD +Renamed osgUtil::RenderStageLighting osgUtil::PositionalStateContainer - * From Brad Colbert/Robert Osfield: added s/getSourceFormat and - s/getSourceType to osg::Texture - along with support for this Texture1D, 2D, 3D, TextureCubeMap and - TextureRectangle. The - new SourceFormat and SourceType parameters are only used when no - osg::Image is assigned to - an osg::Texture, and main use is for render to texture effects. - - Added support for --hdr option in osgprerender, which utilises - the new Texture::setSourceFormat/Type() methods. +Thu, 1 Sep 2005 19:55:41 +0000 +Checked in by : Robert OSFIELD +Removed redundent code. -2005-11-08 14:03 robert +Thu, 1 Sep 2005 19:12:06 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Updated wrappers +Thu, 1 Sep 2005 06:19:03 +0000 +Checked in by : Robert OSFIELD +Added osgcamera projects -2005-11-08 13:51 robert +Wed, 31 Aug 2005 20:39:05 +0000 +Checked in by : Robert OSFIELD +Removed circular reference of osg::CameraNode, fixing memory leak. Added a auto exit after a maximum number of frames are completed. - * From Colin McDonald, fixed image size calculation in - getTotalSizeInBytesIncludingMipmaps(), - added checks on success of opening files for writing in the .ive - plugin. +Wed, 31 Aug 2005 15:04:27 +0000 +Checked in by : Robert OSFIELD +Added osgSim::OverlayNode setup in osgsimulation, and added preliminary test code to the osgSim::OverlayNode to test osgsimulation/the architecture. -2005-11-08 11:46 robert +Wed, 31 Aug 2005 13:43:29 +0000 +Checked in by : Robert OSFIELD +Set number of cameras to 3. - * Added sorting and clearing of pre and post RenderStages stored in - RenderStage, - and added some debugging comments which are currently commented - out from compilation - - these are left in just in case future debug work requires them. +Wed, 31 Aug 2005 12:56:15 +0000 +Checked in by : Robert OSFIELD +Added graphics context pointer to osg::Texture in prep for support for Pbuffer Render To Texture. -2005-11-08 09:36 robert +Wed, 31 Aug 2005 12:49:23 +0000 +Checked in by : Robert OSFIELD +Disable the glFinishBarrierOp usage as glFinish was spin locking the CPU :-| - * Changed the occluder traversal so that checks the children of the - SceneView's Cameara - rather than starting at the camera itself. +Wed, 31 Aug 2005 10:55:58 +0000 +Checked in by : Robert OSFIELD +Seperated out the cull and draw traversals into their own operations, and added a glFinishBarrierOp which can be placed between the cull and the draw or after swap. -2005-11-07 16:52 robert +Wed, 31 Aug 2005 09:21:34 +0000 +Checked in by : Robert OSFIELD +Add comments explain how example works. - * Renamed VisualStudio.dsw to OpenSceneGraph.dsw +Tue, 30 Aug 2005 22:28:30 +0000 +Checked in by : Robert OSFIELD +Added support for GrapicsOpeations that are reused each frame, cleaned up osgcamera example. -2005-11-07 16:48 robert +Tue, 30 Aug 2005 19:20:19 +0000 +Checked in by : Robert OSFIELD +Compile fix. - * Improved the handling of CameraNode and viewers with projection - matrices - contained NaN's. +Tue, 30 Aug 2005 19:19:49 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, fix for big endian systems -2005-11-07 15:46 robert +Tue, 30 Aug 2005 19:03:02 +0000 +Checked in by : Robert OSFIELD +Added name and keep member variables to osg::GraphicsThread::Operation to allow the names of the operations to be logged for stats purposes, or used when do searches of the operation list. The keep member variable tells the graphics thread run loop wether to remove the entry from the list once its been called. - * From Bob Kuehne, proper c++ cast instead of c-cast for - ApplicationUsage +Tue, 30 Aug 2005 14:41:08 +0000 +Checked in by : Robert OSFIELD +Clean up and fixes to GraphicThread class, and osgcamera example. -2005-11-07 15:43 robert +Tue, 30 Aug 2005 09:33:42 +0000 +Checked in by : Robert OSFIELD +From Norman Vine, fixed small typo. - * From Steve Lunsford, added psuedo event dispatch to init within - selectCameraManipulator - to force the new minpulator to update correctly. +Mon, 29 Aug 2005 20:38:46 +0000 +Checked in by : Robert OSFIELD +Fixed reading and writng of data. -2005-11-07 14:42 robert +Mon, 29 Aug 2005 20:16:15 +0000 +Checked in by : Robert OSFIELD +Added scratch pad reset. - * From David Spilling, added "noRotation" ReaderWriter::Option into - the .obj plugin - to enable disabling of the automatic rotation from Y up - coordinate frame to Z up coordinate frame. +Mon, 29 Aug 2005 19:57:02 +0000 +Checked in by : Robert OSFIELD +Implement a scratch pad for writing and read data to, to solve issue between running a master and slave on a mix of 32bit and 64bit. -2005-11-07 13:54 robert +Mon, 29 Aug 2005 14:05:30 +0000 +Checked in by : Robert OSFIELD +Improved support for keyboard/mouse events in osgcluster. - * From Marco Jez, Added an unregister of the - GraphicsContextImplement on unload. +Mon, 29 Aug 2005 12:25:16 +0000 +Checked in by : Robert OSFIELD +Added extra debug info. -2005-11-07 12:41 robert +Mon, 29 Aug 2005 12:05:17 +0000 +Checked in by : Robert OSFIELD +Added extra access methods on osgProducer::KeyboardMouseCallback, and added support for reading and writing keyboard/mouse events in osgcluster. - * From David Spilling, fix for typo of OVERRIDE. +Sun, 28 Aug 2005 19:07:09 +0000 +Checked in by : Robert OSFIELD +Disabled the pbuffer graphics thread. -2005-11-07 11:14 robert +Sun, 28 Aug 2005 15:49:58 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, fixed typo of OverlayNode.cpp. - * From Gideon May, compile fixes for OSX. +Fri, 26 Aug 2005 20:01:21 +0000 +Checked in by : Robert OSFIELD +Added OveralyNode into VS project file, and fleshed out more code in the OveralyNode implementation. -2005-11-07 11:09 robert +Fri, 26 Aug 2005 14:00:02 +0000 +Checked in by : Robert OSFIELD +Added beginings of new OverlayNode, for managing a render to texture which is then used to overaly other parts of the scene such as terrain. - * From Norman Vine, "Cygwin uses unix style path separators" +Fri, 26 Aug 2005 13:26:02 +0000 +Checked in by : Robert OSFIELD +Added --num-components option. -2005-11-07 11:05 robert +Fri, 26 Aug 2005 08:48:54 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, fixed warnings. - * From Wang Lam,"The changes allow users of OpenSceneGraph to call - a new function - readFontStream() to load fonts from a std::istream, rather than - from the - local filesystem by name. Such a call may be used, for example, - if the - user has a font fetched over a network, or a font available in - memory - without a correspondng filename. - - The changes implement the new function by following the - corresponding code - for readFontFile(). readFontStream() reads a stream into memory, - and - holds that memory for FreeType. - - As a basic test, I mangled the osgtext example to use - readFontStream(std::ifstream("font")) in lieu of a readFontFile - call, and - the modified example ran completely." +Thu, 25 Aug 2005 19:23:58 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, added istream support to JPEG plugin. -2005-11-07 10:29 robert +Thu, 25 Aug 2005 18:18:27 +0000 +Checked in by : Don BURNS +made removeExpiredSubgraphs virtual. - * From Ruben (with a few addition/changes from Robert), fixed the - commandline of the osgsimplifier example. It now reads - --ratio and --max-error. - - --------------------------------------------------- +Thu, 25 Aug 2005 17:53:01 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, warning fixes for g++ 4.0 under Fedora Core 4. -2005-11-04 19:00 robert +Thu, 25 Aug 2005 14:37:21 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, Support for reading TIF images from stream, and support from reading and writing RGB image to/from stream. - * Added extra debugging checks on FBO's +Thu, 25 Aug 2005 14:12:08 +0000 +Checked in by : Robert OSFIELD +Added support for rapid movement of the emitter, with particle now seeding between the position of the emitter in the previous frame and the new position in the new frame, the number of particles added also scales up to compensate for this movement. -2005-11-04 12:08 robert +Wed, 24 Aug 2005 19:21:12 +0000 +Checked in by : Robert OSFIELD +Removed old commented out code. - * Improved support for texture subload/render to texture in various - Texture classes - and RenderStage. +Wed, 24 Aug 2005 19:20:36 +0000 +Checked in by : Robert OSFIELD +From Domenico Mangieri, added constructor. -2005-11-03 21:35 robert +Wed, 24 Aug 2005 11:53:13 +0000 +Checked in by : Robert OSFIELD +From Gordon Tomlinson: " This fixes some crashing issues I was having with certain FLT files that only had partial colour palettesWhich are typically found in older 14.x files and file converted through Polytrans or Deep exploration etc. - * Improvements to CameraNode IO support, now handles render to - texture. +The code that grabs the color entries in ConvertFromFLT::visitColorPalette was assuming that there were full +palettes always coming in and stepping was out of bounds in certain cases (not all) and thus crashing with +access violations etc, -2005-11-03 19:20 robert +Although the normal from Creator is to have 1024 or 512 entries , this is not a really requirement of the format, just the way Creator creates its default palettes etc. - * Changed the CameraNode read/write code to use Transform as its - parent. +Code changed to look at the number of entries and use just those and fills in any missing entries with a default white colour" -2005-11-03 17:12 robert - * Removed debugging message -2005-11-03 17:08 robert +Wed, 24 Aug 2005 10:48:24 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashari, added support for reading from std::istream's to the BMP, GIF, PNG and TGA image plugins - * Further work on osg::CameraNode support. +Mon, 22 Aug 2005 15:13:04 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, added normal definition for tesselation -2005-11-03 15:59 robert +Mon, 22 Aug 2005 14:13:28 +0000 +Checked in by : Robert OSFIELD +From Carlo Camporesi, fixed .ive handling of character height and aspect ratio. - * Further work on added IO support from CameraNode. +Mon, 22 Aug 2005 14:07:47 +0000 +Checked in by : Robert OSFIELD +From Domenico Mangieri:"I've added a Plane constructor which accepts a normal and a point. +I also removed calculateUpperLowerBBCorners() from the Plane(const +Vec3& v1, const Vec3& v2, const Vec3& v3) since the constructor is +using the function set(const Vec3& v1, const Vec3& v2, const Vec3& v3) +which already computes the upper and lower bounding box." -2005-11-03 12:25 robert - * Completed osg::CameraView support in .osg and .ive formats. -2005-11-03 10:59 robert +Mon, 22 Aug 2005 13:58:23 +0000 +Checked in by : Robert OSFIELD +From Domenico Mangieri, addded some missing const qualifiers in osgUtil::SceneView. - * Added env var docs on OSG_MAX_TEXTURE_SIZE +Mon, 22 Aug 2005 13:54:43 +0000 +Checked in by : Robert OSFIELD +From Fabio Mierlo,"I add a new option in the HDR Reader. -2005-11-03 10:57 robert +The RAW option store the RGBE values into a Image, to use +this option you need to decode the RGBE value in the frag- +ment shader. Follow the cube map glsl decoder: - * Added --help-env option. +vec4 textureCubeRGBE( uniform samplerCube sampler, vec3 coords ) +{ + ivec4 rgbe = textureCube( sampler, coords ) * 255. + 0.5; + float e = rgbe.a - ( 128 + 8 ); + return vec4( rgbe.rgb * exp2( e ), 1.0 ); +} -2005-11-03 10:18 robert +This option is usefull for who have a outdate hardware like +FX cards and want to do cool things. - * Updated wrappers +Finally this patch is need by a new HDR Rendering example +that I will put on the Wiki." -2005-11-03 10:16 robert - * Added initial CameraNode and CameraView stups for the .ive loader -2005-11-03 10:01 robert +Mon, 22 Aug 2005 13:45:15 +0000 +Checked in by : Robert OSFIELD +From Joseph Winston, "Corrected displayed comment about the text size to match the actual text size." - * From Eric Sokolowsky, added writeEnvironmentSettings to help - report what OSG - centric environment variables are used. +Mon, 22 Aug 2005 13:03:23 +0000 +Checked in by : Robert OSFIELD +Tweaked flight manipulator pitch sensitivity. -2005-11-03 09:03 robert +Sun, 21 Aug 2005 15:32:38 +0000 +Checked in by : Robert OSFIELD +Added OSG_EXPORT to GrephicsThread and fixed typo in osg.dsp. - * Added CameraNode.cpp and CameraView.cpp +Sat, 20 Aug 2005 08:59:03 +0000 +Checked in by : Robert OSFIELD +Further work on GraphicsContext/GraphicsThread -2005-11-02 19:52 robert +Sat, 20 Aug 2005 08:20:26 +0000 +Checked in by : Robert OSFIELD +From Joseph Winston, removed #include - * Inital work on adding .osg support for CameraNode and CameraView. +Thu, 18 Aug 2005 20:35:19 +0000 +Checked in by : Robert OSFIELD +Added GraphicsThread class -2005-11-02 19:35 robert +Thu, 18 Aug 2005 20:33:38 +0000 +Checked in by : Robert OSFIELD +Added GraphicsThread to project file - * Updated wrappers. +Thu, 18 Aug 2005 20:17:51 +0000 +Checked in by : Robert OSFIELD +Various updates to support the new GraphicsThread class. -2005-11-02 19:15 robert +Thu, 18 Aug 2005 09:36:40 +0000 +Checked in by : Robert OSFIELD +Added beginings of GraphicsThread class - * Added request for accumulator buffer. +Thu, 18 Aug 2005 08:37:01 +0000 +Checked in by : Robert OSFIELD +Implemented more SceneView operations in main as a move to try and replace SceneView usage in this example. -2005-11-02 19:15 robert +Wed, 17 Aug 2005 16:13:06 +0000 +Checked in by : Robert OSFIELD +Replaced osgUtil::SceneView usage by osg::CameraNode - * Added support in DisplaySettings and OscCameraGroup for - requesting accumulator buffer. +Wed, 17 Aug 2005 10:12:49 +0000 +Checked in by : Robert OSFIELD +Merged RenderToTextureStage functionality into RenderStage -2005-11-02 16:20 robert +Wed, 17 Aug 2005 08:50:17 +0000 +Checked in by : Robert OSFIELD +Fix compile under x64_32. + +Wed, 17 Aug 2005 07:27:51 +0000 +Checked in by : Robert OSFIELD +Disabled assembly code for x64_64 paths. + +Tue, 16 Aug 2005 13:29:07 +0000 +Checked in by : Robert OSFIELD +Added realize() and isRealized() methods to osg::GraphicsContext.Added osgcamera example that uses osg::GraphicsContext to create the required +window for rendering too, will eventually use osg::CameraNode to replace usage +of osgUtil::SceneView. + + + +Mon, 15 Aug 2005 13:54:25 +0000 +Checked in by : Robert OSFIELD +Added osgshaderterrain example. + +Tue, 9 Aug 2005 14:13:24 +0000 +Checked in by : Robert OSFIELD +Added base texture support. + +Tue, 9 Aug 2005 10:48:50 +0000 +Checked in by : Robert OSFIELD +Added getStartTick() acess method + +Tue, 9 Aug 2005 10:48:26 +0000 +Checked in by : Robert OSFIELD +Added getDisplayList access method + +Tue, 9 Aug 2005 10:47:21 +0000 +Checked in by : Robert OSFIELD +Fixed indenting and typo + +Tue, 9 Aug 2005 09:11:15 +0000 +Checked in by : Robert OSFIELD +Added GLSL shader pathway into osgforest. + +Sat, 6 Aug 2005 19:19:15 +0000 +Checked in by : Robert OSFIELD +Added setting up of Producer::VisualChooser. - * From Alan Ott, added support for palletted imagery. +Sat, 6 Aug 2005 19:18:53 +0000 +Checked in by : Robert OSFIELD +Change the frame reference time so that it uses the same time as the KeyboardMouseCallback. + +Sat, 6 Aug 2005 19:16:53 +0000 +Checked in by : Robert OSFIELD +Set the double buffer off when setting up pbuffers. + +Sat, 6 Aug 2005 04:33:56 +0000 +Checked in by : Robert OSFIELD +Added blend shadow fragment shader + +Sat, 30 Jul 2005 18:44:18 +0000 +Checked in by : Robert OSFIELD +Added setStateSet(0) to destructors to force the problem clean up of attached StateSets. + +Wed, 27 Jul 2005 13:38:15 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshtan, setting of the cull traversal mask which visiting camera subgraphs. (with small tweak from Robert Osfield to remove compile warnings.) + +Wed, 27 Jul 2005 11:27:44 +0000 +Checked in by : Robert OSFIELD +Further work on trying to get glGenerateMipMapEXT working in conjunction with frame buffer objects. Still don't work under Linux yet through :-| + +Wed, 27 Jul 2005 09:37:26 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added setEventHandled() and getEventHandled() to osgGA::EventVisitor. + +Tue, 26 Jul 2005 21:07:31 +0000 +Checked in by : Robert OSFIELD +From Jeremy Bell,"My patch is a slight refactoring of the mac specific code in +Registry.cpp and FileUtils.cpp, specifically around the library and +resource file path initilialization methods. This patch cleans up a +lot of the mac specific code by moving repeated code into separate +local functions in FileUtils.cpp that are only compiled on mac builds. +It also adds one function to the API, +appendPlatformSpecificResourceFilePaths in FileUtils. This function +will mirror the already existing +appendPlatformSpecificLibraryFilePaths except for resource file paths. +Currently this function is empty except when built on the mac, in +which case it will add the application bundle's internal Resources +folder and the bundle's parent folder. Previously this code was +implemented as a separate mac specific #ifdef block in Registry.cpp +around the initDataFilePathList method. However, it now is implemented +in appendPlatformSpecificResourceFilePaths in FileUtils.cpp and the +initDataFilePathList method is now the same on all platforms. This +patch should behave the same as before on non-mac platforms. + +This patch already includes the fix that Eric mentioned earlier. This +patch is based off of the 0.99 release code. I have tested this patch +using the following testing scheme: + +Make a proper bundled application. +While Run from the Finder: + Test that it finds plugins in its internal plugins path. + Test that it finds resources in its internal resources path. + Test that it finds resources in the bundle's parent directory + Test that it finds plugins in the user's Application Support Directory + Test that it finds plugins in the system's Application Support Directory + Test that it finds plugins in the Network Application Support Directory + Check the plugin and resource path lists after they have been +initialized to see if they are in the correct order -2005-11-02 15:56 robert +While Run from the command line (both from it's parent directory and +from inside the /Contents/MacOS directory) and repeat the above tests. +Check that it also finds plugins and resources within the paths +defined by various environment variables. - * From Brede Johnasen, changed wrap mode to CLAMP_TO_EDGE to avoid - edges being - seen when zoomed into the reflectio map. +Now, Make an application that is NOT bundled/command line only + Test that it does NOT try to look in an internal bundle +plugin/resource directory for plugins or resources. + Test that it finds plugins/resources in the paths defined by the +environment variables. +" + + + +Tue, 26 Jul 2005 20:31:43 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, fix to be able to handle "spacial" characters under OSX. + +Tue, 26 Jul 2005 16:05:42 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, fix to the isImageTranslucent() method. + +Tue, 26 Jul 2005 15:49:19 +0000 +Checked in by : Robert OSFIELD +From Fabio Mierlo, removed cast from float to RGB8, to allow native float imagery to be correctly importated from HDR files.From Robert Osfield, tweaked the above to allow the original casting to RGB8 as an +options switched on by a osgDB::ReaderWriter::Options string with a value of "RGB8". + + + +Mon, 25 Jul 2005 16:12:24 +0000 +Checked in by : Robert OSFIELD +Perliminary support for glGenerateMinMapEXT. + +Mon, 25 Jul 2005 14:28:22 +0000 +Checked in by : Robert OSFIELD +Added handling of automatic setting up of the contextID. + +Mon, 25 Jul 2005 13:05:57 +0000 +Checked in by : Robert OSFIELD +Added support for TextureCubeMap into osgUtil::RenderToTextureStage. + +Sun, 24 Jul 2005 20:31:21 +0000 +Checked in by : Robert OSFIELD +Added post draw callback to osg::CameraNode/osgUtil::RenderToTextureStage.Added support for Texture1D, 2D, 3D and TextureRectangle into osgUtil::RenderToTextureStage. + + + +Sun, 24 Jul 2005 11:06:39 +0000 +Checked in by : Robert OSFIELD +Port Impostor across to use the new osg::CameraNode. + +Sat, 23 Jul 2005 19:08:02 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. + +Sat, 23 Jul 2005 19:05:42 +0000 +Checked in by : Robert OSFIELD +Added osg::CameraNode to ImpostorSprite in prep for moving across to using camera node in pre rendering of impostors. + +Sat, 23 Jul 2005 15:21:18 +0000 +Checked in by : Robert OSFIELD +Attached ImpostorSpriteManager to the CullVisitor. + +Fri, 22 Jul 2005 16:25:38 +0000 +Checked in by : Robert OSFIELD +Renabled impostor support using old style RenderToTextureStage setup. + +Fri, 22 Jul 2005 09:31:19 +0000 +Checked in by : Robert OSFIELD +Added glSissor suppor via new osg::Scissor class. Added .osg support for osg::Scissor. Added .ive support for osg::Viewport and osg::Scissor. -2005-11-02 15:23 robert +Fri, 22 Jul 2005 08:21:17 +0000 +Checked in by : Robert OSFIELD +Added missing typedef - * Added handling of CameraNode into PickVisitor in - src/osgProducer/Viewer.cpp. This - is unlikely to be the final solution, but does at least fix part - of the problem of handling - picking HUD's underneath CameraNodes. +Thu, 21 Jul 2005 20:45:16 +0000 +Checked in by : Robert OSFIELD +Fixed compile error. -2005-11-02 14:24 robert +Thu, 21 Jul 2005 19:37:44 +0000 +Checked in by : Robert OSFIELD +Added GraphicsContextImplementation - * From Marco Jez, added Image/ path to image files to help find - them from the OpenSceneGraph-Data directory. +Thu, 21 Jul 2005 19:27:19 +0000 +Checked in by : Robert OSFIELD +Implemented the beginings of the osgProducer::GraphicsContexImplementation.Added options into osgprerender for controlling how to do the pre rendering i.e. +--fbo, --pbuffer, --fb --window, and also added the option for controlling the +window size with --width and --height. -2005-11-02 14:22 robert - * From Marco Jez, moved the rear view camera's viewport to the - bottom left of window to accomdate a greater range of display - sizes. - From Robert Osfield, made the background colour of the intersted - camera a scaled down verson of the main background colour to make - it more obvious. -2005-11-02 12:22 robert +Thu, 21 Jul 2005 08:43:24 +0000 +Checked in by : Robert OSFIELD +Checked in graphics context. - * Added a setSupportsDisplayList(false) to constructor to prevent - end users - enabling display lists, something that can break the osgText's - managment - of state. +Wed, 20 Jul 2005 19:42:59 +0000 +Checked in by : Robert OSFIELD +From Marco Jez (with tweaks by Robert Osfield) : clean up of inheritance from std::vector<> classes -2005-11-02 11:55 robert +Wed, 20 Jul 2005 15:55:07 +0000 +Checked in by : Robert OSFIELD +Added new osg::GraphicsContext base class - * Fixed setCameraRequiresSetUp so it properly uses the bool passed - to it. +Wed, 20 Jul 2005 14:31:54 +0000 +Checked in by : Robert OSFIELD +Removed osgIntrospection wrappers -2005-11-02 11:33 robert +Wed, 20 Jul 2005 08:03:37 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * Added doc comment and removed redundent inline keyword +Tue, 19 Jul 2005 20:40:29 +0000 +Checked in by : Robert OSFIELD +Added wrapper projects and updates of autogenerated wrappers. -2005-11-02 10:57 robert +Tue, 19 Jul 2005 20:01:00 +0000 +Checked in by : Robert OSFIELD +Added support for multiple colour buffers into osg::CameraNode/osgUtil::CullVisitor - * From Farshid Lashkari, "I need the ability to check for a font - file without actually loading - the font object. I've modified font.h/cpp of osgText so that it - exports the findFontFile function." +Tue, 19 Jul 2005 16:30:55 +0000 +Checked in by : Robert OSFIELD +Ported all the render to texture examples across to using the new osg::CameraNode. Added support for texture cube maps in FBO + CameraNode. -2005-11-02 10:55 robert +Fri, 15 Jul 2005 21:47:11 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Marco Jez, commented out debuggin message. +Fri, 15 Jul 2005 19:24:46 +0000 +Checked in by : Robert OSFIELD +Added return 1. -2005-11-02 10:49 robert +Fri, 15 Jul 2005 16:26:45 +0000 +Checked in by : Robert OSFIELD +Added .osg suppot for new alignment modes - * Added static orthoNormal function to match equivilant in Matrixd +Fri, 15 Jul 2005 16:22:53 +0000 +Checked in by : Robert OSFIELD +From Yuri Vilmanis, improved multi-line justifaction support and new alignment modes -2005-11-02 10:45 robert +Fri, 15 Jul 2005 14:41:19 +0000 +Checked in by : Robert OSFIELD +Renamed Byte2,3,4 and Short2,3,4 and UByte4 to use the Vec*b, Vec*s and Vec4ub form - * From Colin McDonald, "Fix for missing class name qualifier on the - orthoNormal function." +Fri, 15 Jul 2005 10:48:23 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, fixed range check -2005-11-02 10:29 robert +Fri, 15 Jul 2005 09:56:36 +0000 +Checked in by : Robert OSFIELD +Fixed bug in ProxyNode write out where non existant children were written out. - * From Colin McDonald, "Fixes for some duplicate global symbol - definitions in the plugins, - which cause errors when creating a statically linked executable." +Fri, 15 Jul 2005 08:32:36 +0000 +Checked in by : Robert OSFIELD +Added reference frame to TexGenNode -2005-11-02 10:29 robert +Fri, 15 Jul 2005 08:31:02 +0000 +Checked in by : Robert OSFIELD +Cleaned up osghud and osgprerender examples - * Fixed compile warning +Thu, 14 Jul 2005 21:04:40 +0000 +Checked in by : Robert OSFIELD +Updates -2005-11-01 20:16 robert +Thu, 14 Jul 2005 20:32:25 +0000 +Checked in by : Robert OSFIELD +Fix PagedLOD::addChild(,,) so that they allocate the correct size of range data. - * Changed the error number reporting to be reported as hex. +Thu, 14 Jul 2005 13:21:11 +0000 +Checked in by : Robert OSFIELD +Added back in the call to drawPreRenderStages() as this shouldn't interfere with the stereo code in SceneView as RenderStage should automatically only allow themselves to be draw on per frame. -2005-11-01 19:32 robert +Thu, 14 Jul 2005 10:34:46 +0000 +Checked in by : Robert OSFIELD +Removed the set culling active flag setting - * Added an image negation callback to the render to image. Added - commandline docs - for the new --image and --texture-rectangle options. +Thu, 14 Jul 2005 10:27:00 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, addiding of Program::validateProgram and osg::isNotifyEnabled() method -2005-11-01 19:31 robert +Thu, 14 Jul 2005 10:18:05 +0000 +Checked in by : Robert OSFIELD +Changed osgpagedlod example to convert LOD nodes into PagedLOD ones. - * Removed the double call to the camera post draw callback. +Thu, 14 Jul 2005 10:17:20 +0000 +Checked in by : Robert OSFIELD +Added missing copy _referenceFrame in copy constructor -2005-11-01 17:07 robert +Sun, 10 Jul 2005 14:50:52 +0000 +Checked in by : Robert OSFIELD +Ported osgshadow across to using new osg::CameraNode - * Added usage of image copy and modification. +Sat, 9 Jul 2005 14:35:35 +0000 +Checked in by : Robert OSFIELD +Ported osgdistortion example across to using osg::CameraNode. -2005-11-01 15:39 robert +Sat, 9 Jul 2005 09:56:49 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, fix to memory leak of StateSet's + +Fri, 8 Jul 2005 19:45:18 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, fix to setting of grey band. - * Set the draw and read buffer to GL_NONE when using FBO's, thereby - avoid - invalid enumrates being generated. +Fri, 8 Jul 2005 19:33:38 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly, added setPulse -2005-11-01 15:23 robert +Fri, 8 Jul 2005 14:46:13 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added missing method implementations to CameraNode and added check to ensure FBO extension is support to RenderToTextureStage. - * Improved handling of osg::Image copying. +Thu, 7 Jul 2005 14:14:38 +0000 +Checked in by : Robert OSFIELD +Tweaks for better OSX paging support, 6 and 9 keys for control drive manipulator up and down looking, and removed redundent API from osg::Geometry. -2005-11-01 11:18 robert +Tue, 5 Jul 2005 15:57:53 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshtan, Byte2,3,4 and Short2,3,4 classes and their Array counterparts. With a few build tweaks and bug fixes by Robert Osfield. - * From Brad Colbert, Added checking for a NULL return string rom - gluErrorString (with slight reformating of this by Robert - Osfield.) +Sun, 3 Jul 2005 19:58:21 +0000 +Checked in by : Robert OSFIELD +Changed notice to be an info message -2005-11-01 11:00 robert +Sat, 2 Jul 2005 08:11:55 +0000 +Checked in by : Robert OSFIELD +Added support for equalizing the normals along tile boundaries. - * Updated wrappers +Fri, 1 Jul 2005 09:10:37 +0000 +Checked in by : Robert OSFIELD +Added support for point sprites -2005-11-01 10:42 robert +Thu, 30 Jun 2005 09:08:31 +0000 +Checked in by : Robert OSFIELD +Added tri sripping and support for outputing files. - * Added RenderTargetFallback option into osg::CameraNode. +Thu, 30 Jun 2005 07:59:32 +0000 +Checked in by : Robert OSFIELD +Romoved redudent gdal link -2005-10-31 16:40 robert +Wed, 29 Jun 2005 15:52:01 +0000 +Checked in by : Robert OSFIELD +Added smoothing and tri strip pass. - * From Steve Lunsford, "Attached is a copy of TXPNode.cpp with the - repaired computeBounds call. I - discovered that TXPNodes were being culled out prematurely - because the - loaded sub-tiles resulted in a computed bounds that was smaller - than the - extents indicated in the archive. I think this fix should be - fine. I can't - think of any reason why we would want to use anything other than - the archive - extents." +Wed, 29 Jun 2005 10:23:34 +0000 +Checked in by : Robert OSFIELD +Added support nesting the parameter specification within a [x,y,z] block and float parameters -2005-10-31 14:48 robert +Wed, 29 Jun 2005 10:21:49 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, build fix for Solaris - * Added default setting of _threading_model to ThreadPerCamera when - multiple cameras - are present, and SingleThreaded when a single camera is being - used. +Tue, 28 Jun 2005 17:53:48 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, icon file. -2005-10-31 11:43 robert +Tue, 28 Jun 2005 09:34:20 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, "some polish for 1.0: centralizes the icon resource definition and adjusts all app and example projects to use that single defn. The various existing resources.rc files should be deleted." - * From Brede Johansen, "some tweaks to the osgSim lightpoints. - - - The first change is to start fadeing a lightpoint just before - the - maximum distance of a light is reached. - - The second change is to start fading a lightpoint when - pixelSize is - less than _minPixelSize instead of 1.0." +Mon, 27 Jun 2005 14:28:29 +0000 +Checked in by : Robert OSFIELD +Added / and * controls of the distance attentuations of the point size extension -2005-10-29 11:29 robert +Mon, 27 Jun 2005 08:54:43 +0000 +Checked in by : Robert OSFIELD +Added missing dirtyBound(). - * Updated wrappers. +Fri, 24 Jun 2005 20:19:12 +0000 +Checked in by : Robert OSFIELD +From David Spilling, fixed the incircle test so it handles colinear points. -2005-10-29 10:04 robert +Fri, 24 Jun 2005 19:50:14 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "On fixing the pointer access I discovered that reading osga archives containing ive files went into a cpu loop. This turned out to be a problem with proxy_streambuf on Solaris. Public methods in the Solaris streambuf standard library implementation rely on the gptr() being set, which proxy_streambuf was not doing. So I have modified proxy_streambuf to set the input sequence pointers, and have also aligned it more with the standard library streambuf implementation where all input is through underflow(), not uflow() which merely calls underflow() and advances the pointer."From Robert Osfield, change from using pointer cast and assignment to using + a templated _write and _read method to avoid pointer aliasing to 2/4/8 + byte boundaries that some computer system may produce. These changes + where inspried by Colin McDonalds change to using memcpy, these + changes weren't merged as memcpy is not as clear in naming as _read, + _write and memcpy will incurr a function call just for copy a + uint. - * Added catch for NULL return from glGetString( GL_VERSION ); -2005-10-29 09:52 robert - * Updated wrappers. +Fri, 24 Jun 2005 15:39:29 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald: "Some makedefs fixes for Solaris: -2005-10-28 18:39 robert + For multithreaded applications the -mt option must be specified on both + the compile and link steps, to ensure correct behaviour. According to + the Sun compiler documentation it sets REENTRANT flags in the system + header files, and links the -lthread library in the correct order. - * From Marco Jez, Fix for the class name lookup in - osgDB::Registry::writeObject(), which can silently fail when a - NodeKit's class (for example osgNVCg::Program) has the same name - as that of an OSG's class (for example osg::Program). + When compiling shared libraries the -KPIC option should be specified. + Although Solaris will handle shared libraries without + position-independent code there is a performance penalty. The linker + reference manual says: 'If a shared object is built from code that is + not position-independent, the text segment will usually require a large + number of relocations to be performed at runtime. Although the runtime + linker is equipped to handle this, the system overhead this creates can + cause serious performance degradation'." -2005-10-28 18:37 robert - * Fixed env var docs for sharing graphics contexts. -2005-10-28 14:02 robert +Fri, 24 Jun 2005 15:34:46 +0000 +Checked in by : Robert OSFIELD +From Martijn Kragtwijk: "I ran into the same problems as Karl Martensson (http://openscenegraph.org/archiver/osg-users/2005-June/0575.html); after switching children of a Switch node off and on again, they become unpickable. This issue occurs first in 0.9.9, with 0.9.8 everything is fine. My fix involves calling dirtyBound() every time the on/off-values of the Switch are changed" - * Added warning message for when no file is loaded. +Fri, 24 Jun 2005 15:30:11 +0000 +Checked in by : Robert OSFIELD +From David Guthrie, "The call NSLookupAndBindSymbol was changed to NSLookupSymbolInModule. The former call would lookup the named symbol NOT in the current dynamic library, but in the entire running program while the call NSLookupSymbolInModule, takes the handle to the library the symbol should be found in. This means the current code will fail if one loads multiple bundles at runtime and attempts to load the same named symbol from each one." -2005-10-28 13:18 robert +Fri, 24 Jun 2005 15:15:55 +0000 +Checked in by : Robert OSFIELD +Moved the working createPagedLODScene() implemention into createScene() method replacing the original flaky code. - * From Ravi Mathur, "Here is an update to BlendEquation that adds - checking for the - SGIX_blend_alpha_minmax and EXT_blend_logic_op extensions. It is - tested with the osgblendequation example. If the extensions are - not - supported, a WARN level notification is generated." +Wed, 22 Jun 2005 11:26:56 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, fixes to shaders to correct modification of varying types -2005-10-28 13:11 robert +Wed, 22 Jun 2005 11:02:37 +0000 +Checked in by : Robert OSFIELD +Disabled NPO2T on GeforceFX. - * Moved SceneView across to use an osg::CameraNode to store the - projection and view matrices, - the viewport, the clear colour and the subgraph needing rendered. - This is done - transparently so all existing functionality will behave as - before. What it does - add is the ability to set a SceneView directly by a single - osg::CameraNode when required. +Wed, 22 Jun 2005 11:01:22 +0000 +Checked in by : Robert OSFIELD +Added experimental OpenGL shader path for positioning of trees (doens't work yet though..) -2005-10-28 10:33 robert +Tue, 21 Jun 2005 16:10:04 +0000 +Checked in by : Robert OSFIELD +Added option for terrain texturing. - * Changed debug message from NOTICE to INFO level of notification +Tue, 21 Jun 2005 15:24:23 +0000 +Checked in by : Robert OSFIELD +Added matrix and simple vertex shader paths. -2005-10-28 10:11 robert +Tue, 21 Jun 2005 15:13:42 +0000 +Checked in by : Robert OSFIELD +Combined uniforms. - * Added command line option --overlay to turn on the use of an - OverlayNode. +Tue, 21 Jun 2005 12:12:50 +0000 +Checked in by : Robert OSFIELD +Tweaked the vertex program. -2005-10-28 09:20 robert +Mon, 20 Jun 2005 21:10:32 +0000 +Checked in by : Robert OSFIELD +Added very simply osgparametric example which uses an OpenGL shader program to create an animated parametric surface. - * Updated wrappers. +Mon, 20 Jun 2005 10:38:39 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly, added method for getting the number of frames. -2005-10-28 08:35 robert +Mon, 20 Jun 2005 10:36:06 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, " - adjustments to improve namespacing on VS - clarify compilation status message" - * From Mike Weiblen, added check to make sure that vertex texture - was - supported in the OpenGL driver. +Mon, 20 Jun 2005 10:28:52 +0000 +Checked in by : Robert OSFIELD +From Andreas Jochens (submitted by Loic Dachary), addintion of forward declare of class Progam; to fix compile problem under gcc4.0/amd64/debian unstable. -2005-10-27 13:53 robert +Mon, 20 Jun 2005 10:16:30 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added OSG_EXPORT to FrameBufferObject files. - * Added option to osgdepthpartion for loading the model specified - on the commandline. +Thu, 16 Jun 2005 14:01:38 +0000 +Checked in by : Robert OSFIELD +Further FBO support work. -2005-10-27 11:15 robert +Thu, 16 Jun 2005 13:53:52 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshtan, added support of Drawable::Extensions::glDeleteQueries() - * Added documentation line about 32 being the maximum permitted - number of line segmenets +Thu, 16 Jun 2005 11:45:50 +0000 +Checked in by : Robert OSFIELD +Added copyright notices. -2005-10-27 11:11 robert +Thu, 16 Jun 2005 11:42:59 +0000 +Checked in by : Robert OSFIELD +Moved FBO support from osgfbo example into core osg. - * Added error message to report when too many line segments are - added to an IntersectVisitor. +Wed, 15 Jun 2005 20:06:10 +0000 +Checked in by : Robert OSFIELD +Futher work on FBO support -2005-10-27 10:48 robert +Wed, 15 Jun 2005 20:05:47 +0000 +Checked in by : Robert OSFIELD +Added automatic creation of texture when size is set but not osg::Image is assigned. This is useful for FBO usage. - * Added support for tracking the directory of the output file - whilst still maintaining - local file references within this directory. +Wed, 15 Jun 2005 11:49:25 +0000 +Checked in by : Robert OSFIELD +From David Guthrie, " In the constructor in removes any options beginning with "-psn" from argv on OSX by calling the "remove" method. When a .app run is created in OSX, which is required to get a fully functioning UI application, the OSX finder passes a -psn_XXXX option to the application where the XXXX refers to a unique process number. An example option would be "- psn_0_37617665". The argument parser was choking on this option in all the osg example applications." -2005-10-27 09:38 robert +Wed, 15 Jun 2005 10:59:10 +0000 +Checked in by : Robert OSFIELD +Added osgmultiplecameras example and support for pre/post multiplaction. - * From Ravi Mathur, "New functionality is the ability to - automatically determine the - maximum traversal depth necessary to obtain an accurate estimate - of - the minimum number of required cameras. In addition, the user can - specify an absolute maximum traversal depth that will not be - exceeded." +Tue, 14 Jun 2005 20:51:35 +0000 +Checked in by : Robert OSFIELD +Work on the RenderToTexture usage of the new osg::CameraNode. Both osghud and osgprerender now ported across to osg::CameraNode. -2005-10-27 09:37 robert +Tue, 14 Jun 2005 13:16:58 +0000 +Checked in by : Robert OSFIELD +Added osg::CameraNode. - * From Geoff Michel, update to osgdelaunday. +Tue, 14 Jun 2005 09:12:45 +0000 +Checked in by : Robert OSFIELD +Removed reference to non existant AVI plugin -2005-10-26 20:30 robert +Tue, 14 Jun 2005 08:48:48 +0000 +Checked in by : Robert OSFIELD +Fixed position of glBindBuffer. - * From Don Tidrow, bug fix to setOutputTextureFiles(bool). +Mon, 13 Jun 2005 20:03:26 +0000 +Checked in by : Robert OSFIELD +Fixed with the reprojection so that it doesn't promote all source data to RGBA, but only does this for RGB data. -2005-10-26 20:22 robert +Mon, 13 Jun 2005 11:14:42 +0000 +Checked in by : Robert OSFIELD +From Ken Sewell, fixed for x86_64 build. - * Added friend declarations of nested classes to prevent compile - problems under VS6.0 +Thu, 9 Jun 2005 19:02:55 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added project files for osgfbo example. -2005-10-26 20:00 robert +Thu, 9 Jun 2005 11:53:23 +0000 +Checked in by : Robert OSFIELD +Fixed makefiles - * Changed the minimum tile image size to be 4x4 to avoid problems - in mipmap generation - that was occuring at sizes of 2x2, seemingly somewhere in the - OpenGL driver. +Thu, 9 Jun 2005 11:08:37 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added example that uses FBO extension to do prerendering. -2005-10-26 16:02 robert +Thu, 9 Jun 2005 09:27:43 +0000 +Checked in by : Robert OSFIELD +Added \n to end of a couple shader source lines. - * From Bob Kuehne, "changed two set methods - (setFocalLength,setFieldOfView) to perform - assignment." +Thu, 9 Jun 2005 08:29:22 +0000 +Checked in by : Robert OSFIELD +Added texture2D shader source -2005-10-26 09:22 robert +Wed, 8 Jun 2005 15:57:05 +0000 +Checked in by : Robert OSFIELD +Added experiment GLSL fragment shader to clip out dark areas of videos. - * From Geoff Michel, compile fixes for VS6.0 +Wed, 8 Jun 2005 13:20:09 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2005-10-25 18:34 robert +Wed, 8 Jun 2005 13:16:19 +0000 +Checked in by : Robert OSFIELD +Moved the set/getName() support from osg::Node etc into the osg::Obejct base class - * Updated wrappers +Wed, 8 Jun 2005 10:39:43 +0000 +Checked in by : Robert OSFIELD +Added sizeof(std::string) test to osgunittests -2005-10-25 15:49 robert +Wed, 8 Jun 2005 10:36:56 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added GLSL datatypes mat2 and mat3 to osg::Uniform, with .osg and .ive support - * Added command line support for the interlaced stereo modes. +Wed, 8 Jun 2005 08:33:59 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, "modified .rot pseudoloader plugin so rotation order actually matches the embedded documentation" -2005-10-25 15:43 robert +Mon, 6 Jun 2005 10:18:33 +0000 +Checked in by : Robert OSFIELD +From Mathia Walker: bug fix to LOD ranges in TXP plugin to avoid cracks:"I took a closer look at the conditional code in +SeamFinder::seamReplacement(). - * From Farshid Lashkari & Robert Osfield: Added support for - VERTICAL_INTERLACE and HORIZONTAL_INTERLACE - stereo modes use the stencil buffer. +Because _info.minRange is a double and lod->getMinRange(0) is a float, +the difference will be calculated with double precision. If +_info.minRange is cast as a float it is exactly the same value as +lod->getMinRange(0) and the difference is exactly zero. -2005-10-25 14:01 robert +So if you change - * Updated wrappers. -2005-10-25 13:28 robert + if((fabs(_info.minRange-lod->getMinRange(0))<0.001)&&(fabs(_info.lod0Range-lod->getMaxRange(0))<0.001)) - * From Geoff Michel, added support for constrain delaunay - triangultion, and osgdelaunay example. +to -2005-10-25 13:24 robert - * Added check against glGetString(GL_VERSION) returning NULL. + if((fabs((float)_info.minRange-lod->getMinRange(0))<0.001)&&(fabs((float)_info.lod0Range-lod->getMaxRange(0))<0.001)) -2005-10-25 10:30 robert +it works a lot better." - * Added missing projects -2005-10-25 10:29 robert - * Added osgcatch project +Sun, 5 Jun 2005 18:41:23 +0000 +Checked in by : Robert OSFIELD +Changed VisualStudio 7.0 reference to 7.x -2005-10-25 10:12 robert +Sun, 5 Jun 2005 18:40:49 +0000 +Checked in by : Robert OSFIELD +From Adam Richard, fixed typos + explanation how to use project files. - * Added missing projects. +Tue, 31 May 2005 06:21:16 +0000 +Checked in by : Robert OSFIELD +From Tim Daust, "I fixed the getScale functions in matrixf and matrixd. It was returning the values of the diagonal of the matrix, which only returns the scale if there is not a rotation. I fixed this by returning the length of the vectors that form the basis. I also added a function to orthonormalize the rotation component of the matrix. I seem to always run into situations where non uniform (or even uniform) scale complicate my calculations, and I thought other members of the community could use this function as well." -2005-10-25 09:54 robert +Tue, 31 May 2005 05:48:27 +0000 +Checked in by : Robert OSFIELD +Small fixes to NEWS - * From Markus Trenkwalder, added meanigful return types in - Registry::read(const ReadFunctor& readFunctor) for - ERROR_IN_READING_FILE and - FILE_NOT_FOUND cases. +Tue, 31 May 2005 05:47:40 +0000 +Checked in by : Robert OSFIELD +Changed char* to const char* -2005-10-25 09:49 robert +Tue, 31 May 2005 05:46:41 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly, fixes to the mapping of the billboard rotate mode. - * Added protected destructors. +Tue, 31 May 2005 05:37:13 +0000 +Checked in by : Robert OSFIELD +Added ability to toggle on/off the pre compile of OpenGL objects in the DatabasePager via the setDoPreCompile(bool) method or via the env var OSG_DO_PRE_COMPILE=ON or OFF. -2005-10-25 09:43 robert +Mon, 30 May 2005 16:15:11 +0000 +Checked in by : Robert OSFIELD +Added support for reading: OSG_MINIMUM_COMPILE_TIME_PER_FRAME - * From Don Tidrow, removed unncessary includes. +and -2005-10-25 09:23 robert + OSG_MAXIMUM_OBJECTS_TO_COMPILE_PER_FRAME - * From Brede Johansen, changed osg_InverseViewMatrix to - osg_ViewMatrixInverse to bring - into line with OpenGL shader languague conventions. - - From Robert Osfield, changed the SceneView::ActiveUnforms enum to - from INVERSE_VIEW_MATRIX_UNIFORM - VIEW_MATRIX_INVERSE_UNIFORM to be convistent with the above - change. +environmental variable during the initialization of the DatabasePager +to allow apps to be tweaked for best database pager behavior. -2005-10-24 18:51 robert - * Changes to fix divide by 0 warning under VS. -2005-10-24 13:49 robert +Thu, 26 May 2005 14:38:08 +0000 +Checked in by : Robert OSFIELD +Reverted release number to 0 (development version). - * Updated wrappers. +Thu, 26 May 2005 13:56:23 +0000 +Checked in by : Robert OSFIELD +From James French, fix for multiple definitionwhen compiling osg + plugins into monolithic dll. -2005-10-24 13:46 robert +Wed, 25 May 2005 20:02:25 +0000 +Checked in by : Robert OSFIELD +Updated Version numbers for release.UPdated wrappers. - * Fixed compile warnings. -2005-10-24 11:46 robert - * From Mike Weiblen, "some fixes for OSG_OPTIMIZER envar parsing - and help display" +Wed, 25 May 2005 17:19:47 +0000 +Checked in by : Robert OSFIELD +From Blake Williams, fix for VS8.0 build -2005-10-24 11:44 robert +Wed, 25 May 2005 16:42:36 +0000 +Checked in by : Robert OSFIELD +Renamed ExplosionDebriEffect to ExplosionDebrisEffect - * From Marco Jez, added missing example project files. +Wed, 25 May 2005 15:35:51 +0000 +Checked in by : Robert OSFIELD +Updated change log.From Fredric Marmond, changed unsigned int to unsigned long to avoid compile errors under 64 bit compile. -2005-10-24 11:37 robert - * From Tony Horrobin: - - "This is a small fix for flt2osg.[cpp|h] that handles - old style road segments ( from Multigen II w/road - tools on IRIX ) in the same way as the newer road - constructions. ie create a group and do a nested - traversal. - - This makes roads appear in older format files where - there was previously a gap. This actually works - properly with the paths which are marked as hidden in - the openflight database." -2005-10-24 11:34 robert +Wed, 25 May 2005 15:34:10 +0000 +Checked in by : Robert OSFIELD +Added file to osgkeyboardmouse invokation. - * From Don Tidrow, "I discovered that externally-referenced models - in the TXP format didn't - get positioned correctly when the TXP database was built using - the - 'tile-offset' mode. I've included a tarball with what I believe - are the - needed changes - they work for the sample databases I have - available, - but not all conditions have been tested. I've set things up such - that - these changes shouldn't affect 'normal' txp databases." +Wed, 25 May 2005 11:45:02 +0000 +Checked in by : Robert OSFIELD +Updated doxgen docs. -2005-10-24 11:25 robert +Wed, 25 May 2005 09:50:11 +0000 +Checked in by : Robert OSFIELD +Changd unsigned int's to unsigned char* to fix gcc3.4 64 bit issues. - * Warning fixes for Win32 build. +Wed, 25 May 2005 09:48:10 +0000 +Checked in by : Robert OSFIELD +Updated NEWS -2005-10-24 10:53 robert +Tue, 24 May 2005 20:45:34 +0000 +Checked in by : Robert OSFIELD +Updated NEWS - * Added copyright notices. +Tue, 24 May 2005 18:57:13 +0000 +Checked in by : Robert OSFIELD +Added pragma to remove warnings under VS.8.0 -2005-10-24 10:51 robert +Tue, 24 May 2005 15:34:23 +0000 +Checked in by : Robert OSFIELD +Updates to clean up wrapper generation, and to update wrappers - * Added beginnings of Programming Guide, and NodeTrackerCallback. +Tue, 24 May 2005 15:23:23 +0000 +Checked in by : Robert OSFIELD +Did a dos2unix on all files -2005-10-14 21:40 robert +Tue, 24 May 2005 10:46:21 +0000 +Checked in by : Robert OSFIELD +Added check for an empty compile lists. - * From Farshid Lashkari, compile fix for VS 2002. +Tue, 24 May 2005 10:37:18 +0000 +Checked in by : Robert OSFIELD +Added re-entrent mutex to serialize access to OpenFlight plugin to prevent any multi-threaded issues. -2005-10-14 21:38 robert +Mon, 23 May 2005 11:27:52 +0000 +Checked in by : Robert OSFIELD +Updated changelog - * From Brede Johansen, fixed INVERSE_VIEW_MATRIX_UNIFORM enum - value. +Mon, 23 May 2005 11:18:01 +0000 +Checked in by : Robert OSFIELD +Added new examples to runexamples -2005-10-14 09:29 robert +Mon, 23 May 2005 11:00:03 +0000 +Checked in by : Robert OSFIELD +Updated news. - * From Farshid Laskari, changed the compute of the text bounding - box to include the spaces. +Sun, 22 May 2005 20:30:30 +0000 +Checked in by : Robert OSFIELD +Changed .png files to .jpg to help save space in OpenSceneGraph-Data. -2005-10-13 12:51 robert +Sun, 22 May 2005 20:19:26 +0000 +Checked in by : Robert OSFIELD +Added scoring, welcome page, you've lost and you've won pages. - * Renamed osgUtil::RenderGraph to osgUtil::StateGraph +Sat, 21 May 2005 21:19:11 +0000 +Checked in by : Robert OSFIELD +Added support for multiple levels, and exit on lose of all lives or on finishng the highest level. -2005-10-13 10:29 robert +Sat, 21 May 2005 12:57:28 +0000 +Checked in by : Robert OSFIELD +Updates to osgcatch game to allow different types of falling objects - * Changed the "Cessna" text so that it is sized according to - OBJECT_COORDS rather - than SCREEN_COORDS as the later was causing problems with the - pixel size based LOD selection. +Sat, 21 May 2005 09:55:43 +0000 +Checked in by : Robert OSFIELD +Maded debugging output write out at INFO level -2005-10-13 08:18 robert +Fri, 20 May 2005 22:15:57 +0000 +Checked in by : Robert OSFIELD +Tweaked wrappers by hand to get them to compile - * Updated wrappers. +Fri, 20 May 2005 21:12:57 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2005-10-13 08:07 robert +Fri, 20 May 2005 21:01:57 +0000 +Checked in by : Robert OSFIELD +Fixed doxygen comments. - * Added Producer.lib to osgdepthpartion project file +Fri, 20 May 2005 18:35:30 +0000 +Checked in by : Robert OSFIELD +Removed references to removed files. -2005-10-13 08:05 robert +Fri, 20 May 2005 15:45:12 +0000 +Checked in by : Robert OSFIELD +Reworking to avoid compile issues under VS6.0. - * Added PRODUCER_INSTALLED=yes make options to the unix build - system, not defining - PRODUCER_INSTALLED=yes or setting it to another value than yes - (i.e no) will result - in the osgProducer library, OSG applications and demos not being - built. - - PRODUCER_INSTALLED=yes is the default. +Fri, 20 May 2005 11:35:08 +0000 +Checked in by : Robert OSFIELD +Removed remaining references to old DX writer. -2005-10-12 18:42 robert +Fri, 20 May 2005 11:33:22 +0000 +Checked in by : Robert OSFIELD +Removed long unused and out of date DX writer plugin from distribution, will now be placed on the wiki just in case its needed. - * Added SmokeTrailEffect which renders created particles as single - quad or line - strip, in the case of the quad strip the strip is aligned to the - be orthogonal with - the eye point. +Fri, 20 May 2005 06:39:41 +0000 +Checked in by : Robert OSFIELD +Added env var report. -2005-10-11 09:47 robert +Thu, 19 May 2005 21:42:38 +0000 +Checked in by : Robert OSFIELD +From Martin Aumueller, fixed copy and paste error on getActiveUniforms(). - * Added new shell of new class ConnectedParticleSystem, which will - be used - for managing connect particle system for the purpose of doing - missile trails etc. +Thu, 19 May 2005 15:17:53 +0000 +Checked in by : Robert OSFIELD +Added support for setting the default render bin sort mode via the env OSG_DEFAULT_BIN_SORT_MODE variable or via or RenderBin::setDefaultRenderBinSortMode() method. -2005-10-10 10:10 robert +Thu, 19 May 2005 09:22:45 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, added support for caching of ProxyNode children. - * From Ravi Mathur, osgdepthpartition example program. +Wed, 18 May 2005 21:45:30 +0000 +Checked in by : Don BURNS +Fixed fullscreen toggle in ViewerEventHandler that assumed the first RenderSurface was a window (not a pbuffer). -2005-10-10 09:17 robert +Wed, 18 May 2005 21:34:55 +0000 +Checked in by : Don BURNS +PBuffer example revamped to use a normal CameraConfig for setting up the PBuffer and main cameras, and a PBufferTexture2D for the texture, rather than a subload callback - * From Alberto Jaspe, added double precision interpolation method +Wed, 18 May 2005 21:31:51 +0000 +Checked in by : Robert OSFIELD +Updated NEWS, ChangeLog and runexamples.bat. -2005-10-07 07:46 robert +Wed, 18 May 2005 21:17:31 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * Added into CVS missing PolgonMode files. +Wed, 18 May 2005 19:55:14 +0000 +Checked in by : Robert OSFIELD +Added s/getClearMask() support to osg::ClearNode, osgUtil::SceneView and the .osg plugin. -2005-10-06 20:02 robert +Wed, 18 May 2005 19:04:35 +0000 +Checked in by : Robert OSFIELD +From Joakim Simonsson, DOFTransform multiplication order support added to .ive format. With tweak from Robert Osfield to wrap new read and write with a new version number to allow old files contain DOFTransforms to continue to work. - * Improved the UpdateCameraAndTexGenCallback so it properly handles - rotation and - translations within the reflector nodepath. +Wed, 18 May 2005 18:43:03 +0000 +Checked in by : Robert OSFIELD +From Joakim Simonsson: "DOFAnimation's default state could now be controlled by the RW option. -2005-10-06 15:43 robert + The option string is "dofAnimation" - * From Brede Johansen, added support for PolygonMode into .ive - format. + If the option string is omitted the default animation state is off." -2005-10-06 15:41 robert - * Changed the fallback code to use the result form the realize() - call, removed - the code path from running a PBuffer as a seperate graphics - context (this - was found to be slower than running single threaded so its not - worth the - extra complexity). -2005-10-06 13:31 robert +Wed, 18 May 2005 18:31:03 +0000 +Checked in by : Robert OSFIELD +Fixed copy and paste mistakes in setEventCallback methods - * Added env var reporting for the OSG_CAMERA_THREADING and - OSG_SHARE_GRAPHICS_CONTEXTS env vars. +Tue, 17 May 2005 20:12:13 +0000 +Checked in by : Robert OSFIELD +Added RADEON as render type for disabling mipmapped NPO2T -2005-10-06 13:20 robert +Tue, 17 May 2005 15:00:43 +0000 +Checked in by : Robert OSFIELD +Cleaned up in prep for release. - * Added catch for disabling ThreadPerCamera when contexts are - shared. +Tue, 17 May 2005 14:25:11 +0000 +Checked in by : Robert OSFIELD +Improved the handling of data attached to proxy nodes -2005-10-06 11:26 robert +Tue, 17 May 2005 13:50:07 +0000 +Checked in by : Robert OSFIELD +Changed the default behavior to not writing out proxynode children. - * Improved the fallback mechanism from FBO, down to PBuffer_RTT - down to PBuffer down to frame buffer. +Tue, 17 May 2005 13:47:13 +0000 +Checked in by : Robert OSFIELD +Improved the handling of writing out of proxy node files. -2005-10-05 16:21 robert +Tue, 17 May 2005 13:34:04 +0000 +Checked in by : Robert OSFIELD +From Daniel Sjölie, for the purpose of maintainability, made the load proxy nodes code the standard, remove the older code that remained as part of #else #endif blocks, and remove the erroneous implementation of caching of proxynodes. - * Moved the testing and setting up of FBO/Pbuffer extension from - CullVisitor to - support into RenderStage to allow better fallback - implementations. +Tue, 17 May 2005 13:24:34 +0000 +Checked in by : Robert OSFIELD +Added destructor to fix Cygwin build problem. -2005-10-05 09:48 robert +Tue, 17 May 2005 11:11:58 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * Added support for CameraView into NodeVistor, and support for - CameraNode and CameraView - into the AnimationPathCallback so you can now animate both via - animation paths. +Tue, 17 May 2005 11:00:13 +0000 +Checked in by : Robert OSFIELD +Added differentiation between Non power of two textures when mip mapped vs when not mipped mapped to get round the issue of incomplete support under ATI cards. -2005-10-04 18:50 robert +Tue, 17 May 2005 09:53:41 +0000 +Checked in by : Robert OSFIELD +Removed old GeoSet backward compatibility code since its now redudent. - * Added code paths for PBuffer RTT support. +Tue, 17 May 2005 09:06:12 +0000 +Checked in by : Robert OSFIELD +From Thom DeCarlo, build fixes for Cygwin. -2005-10-04 13:41 robert +Mon, 16 May 2005 18:24:11 +0000 +Checked in by : Robert OSFIELD +Fixed name. - * Added osg::CameraView to help application/modellers position - their cameras in scenes. Note, - CameraView is *not* a camera, it isn't an active object, but a - passive one that - camera must track each frame to following the path of the - CameraView. +Mon, 16 May 2005 17:37:25 +0000 +Checked in by : Robert OSFIELD +Update to NEWS w.r.t contributors -2005-10-03 19:37 robert +Mon, 16 May 2005 17:17:53 +0000 +Checked in by : Robert OSFIELD +Bumped version numbers to 0.9.9 in rediness for 0.9.9 release. - * From Keith Steffen, fixed bug in StateSet::clear() where parents - of texture attributes - where not being reset correctly due to incorrect ordering of - _textureAttributeList.clear(). +Mon, 16 May 2005 16:50:55 +0000 +Checked in by : Robert OSFIELD +Updated NEWS and ChangeLog in prep for release -2005-10-03 19:33 robert +Mon, 16 May 2005 15:51:57 +0000 +Checked in by : Robert OSFIELD +Warning fixes for IRIX - * From MFM, Added FreeBSD specific implementation for - getGLExtensionFuncPtr using dlsym(RTLD_DEFAULT, xxx) +Mon, 16 May 2005 15:50:35 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2005-10-03 19:24 robert +Mon, 16 May 2005 14:27:03 +0000 +Checked in by : Robert OSFIELD +Changed the getHitList and getNumHits methods to take const osg::LineSegment* as a parameter. - * Added a couple of (double) casts for VS7 build. +Mon, 16 May 2005 14:09:39 +0000 +Checked in by : Robert OSFIELD +Workaround for Mipspro compiler bug. -2005-10-03 19:18 robert +Mon, 16 May 2005 11:22:25 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * Added closing of loops. +Mon, 16 May 2005 11:18:11 +0000 +Checked in by : Robert OSFIELD +Fixed method signatures. -2005-10-03 16:13 robert +Mon, 16 May 2005 10:12:22 +0000 +Checked in by : Robert OSFIELD +Added osgUtil osgDB osgFX osgText osgTerrain osgGA osgProducer to the list of wrapper libraries. - * Added fusing of ends of lines +Mon, 16 May 2005 09:41:10 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2005-10-03 13:19 robert +Sun, 15 May 2005 20:32:10 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, fixes to/and for osgIntrospection. - * Improved handling of convex azim ranges. +Sun, 15 May 2005 20:31:22 +0000 +Checked in by : Robert OSFIELD +Moved computeBounds into public scope. -2005-10-01 19:28 robert +Sun, 15 May 2005 05:47:14 +0000 +Checked in by : Robert OSFIELD +From John Grant, added getDrawableList() const. - * Added test cases for SphereSegment intersection code. +Sat, 14 May 2005 18:57:47 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added export symbols. -2005-10-01 19:27 robert +Sat, 14 May 2005 14:31:37 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, change of Doxygen docs name of class from UFOManipulator to osgGA::UFOManipulator, done to avoid automated wrapper issues. - * Added a dirtyDisplayList() to the setColor() and - setTesselationHint() methods. +Fri, 13 May 2005 21:39:34 +0000 +Checked in by : Robert OSFIELD +Yet another using namespace osg to try and work out the spat betwen MipsPro and VS.6.0. -2005-10-01 12:23 robert +Fri, 13 May 2005 21:38:34 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly, removing trailing comma for last entries in enums to fix IRIX compile warnings. - * Adding handling of case of convex azimuth side ways of sphere - segment. +Fri, 13 May 2005 14:54:34 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, updated project files to link to new 3rdParty libs -2005-09-30 19:36 robert +Fri, 13 May 2005 14:36:42 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * Changed the line intersection algorithm to computer full line - intersections then - trim down to size by intersecting with the sphere segmenet - sufaces +Fri, 13 May 2005 13:29:45 +0000 +Checked in by : Robert OSFIELD +Moved BaseOptimizerVisitor out of Optimizer into osgUtil namespace to try and get round MipsPro compile problems. -2005-09-29 15:55 robert +Fri, 13 May 2005 12:06:58 +0000 +Checked in by : Robert OSFIELD +Refinement of includes to help IRIX build - * Fix to intersection code. +Fri, 13 May 2005 11:11:52 +0000 +Checked in by : Robert OSFIELD +Cross platform build fixes. -2005-09-29 13:07 robert +Fri, 13 May 2005 09:52:17 +0000 +Checked in by : Robert OSFIELD +Added #include "dxfBlock.h" - * Updated wrappers. +Fri, 13 May 2005 09:05:10 +0000 +Checked in by : Robert OSFIELD +Added /Zm200 -2005-09-29 13:00 robert +Fri, 13 May 2005 08:54:11 +0000 +Checked in by : Robert OSFIELD +Removed unused function. - * From Marco Jez, fix for gcc build. +Thu, 12 May 2005 20:59:53 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, Added queries of compilation state to Shader (for symmetry with Program's link state queries) -2005-09-29 10:25 robert +Thu, 12 May 2005 20:46:12 +0000 +Checked in by : Robert OSFIELD +fixed warning. - * Fixed typo of Primitive +Thu, 12 May 2005 20:35:15 +0000 +Checked in by : Robert OSFIELD +From Jan Ciger, gcc 4.0 compile fix. -2005-09-29 10:22 robert +Thu, 12 May 2005 20:06:39 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. - * Added setOverlayClearColor and setTexEnvMode and automatic set up - of TexEnv. +Thu, 12 May 2005 20:03:55 +0000 +Checked in by : Robert OSFIELD +Fixed pairing of write and read of Matrixd -2005-09-29 09:49 robert +Thu, 12 May 2005 19:14:17 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, osgpbuffer now needs to link w/ Producer (fixed .dsp file attached) - * From Marco Jez, added fallback to TextureCubeMap subloading that - calls load - when mipmaps are required, but non are present. +Thu, 12 May 2005 19:05:33 +0000 +Checked in by : Robert OSFIELD +Added missing Uniform(Matrixd) constructor implementation -2005-09-29 09:36 robert +Thu, 12 May 2005 15:51:28 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre,"ConvertFromFLT::addMultiTexture makes ENDIAN conversion for SMultiTexture + struct attributes. + When an flt object is multi-instantiated y should be done just first time, + because SMultiTexture struct is always the same, currently is being done for + each instance. - * Fixed typo of CameraNode::setRenderTargetImplementation(..) + Attached file fix the problem but perhaps a more clean fix would be making + ENDIAN conversion at writing attributes time instead of at reading time. " -2005-09-28 16:05 robert - * From Volker Walkiewicz (with tweaks from Robert Osfield): - - Fix to the update of the error metrics on the edges in the - simplification mesh that are affected by an edge collapse. - - Addition of 'n' and 'p' keyboard control in osgsimplifier example - to allow users to control the sample ratio manually. -2005-09-28 14:18 robert +Thu, 12 May 2005 14:48:56 +0000 +Checked in by : Robert OSFIELD +Added IO support for new intialBound and callbacks to .osg, and initialBound to .ive - * From Marco Jez, "Problems fixed: - - 1. type converters created automatically by the I_BaseType macro - use - static_cast<> even for base-to-derived conversions. - dynamic_cast<> should be - used instead. - 2. as a consequence of the above fix, I_BaseType must now - differentiate - between polymorphic and non-polymorphic base classes, because the - latter - can't be dynamic_cast'd to derived classes. Some template magic - (see - is_polymorphic<> in ReflectionMacros) is used to detect - polymorphism at - compile time (I'm NOT sure it works on all platforms as it's - partly - implementation-dependent. Please test!). - 3. predefined custom property getters/setters/counters/etc. (as - those - defined for STL containers) only work on Value objects that - contain - non-pointer instances. This was an unwanted restriction that no - longer - exists. - - Wrappers will need to be recompiled. This is a good time to give - them a - fresh update with genwrapper. - - NOTE: fix #1 should get rid of those crashes and strange - behaviours that - some users noticed while using osgIntrospection through osgTcl or - in their - own code." +Thu, 12 May 2005 14:03:22 +0000 +Checked in by : Robert OSFIELD +Added new Node/Drawable::s/getInitialBound and Node/Drawable::s/getComputeBoundCallback methods and reimplement computeBound so that it passes back a bounding volume rather than modifying the local one. -2005-09-28 14:05 robert +Thu, 12 May 2005 08:58:28 +0000 +Checked in by : Robert OSFIELD +Added setTextureFileName method. - * From Chris Hanson, "The following files are drop-in replacements - for the include/*/Export files to permit - building statically linked osg libraries under Win32." +Thu, 12 May 2005 08:54:11 +0000 +Checked in by : Robert OSFIELD +Added clear of lazy uniform updating structure on relink, also added debug output of shader being compiled. -2005-09-28 13:55 robert +Thu, 12 May 2005 07:47:43 +0000 +Checked in by : Robert OSFIELD +Moved OpenGL2 definitions from Uniform header to GL2Extensions - * From Leandro Motta Barros: fixed type of ATTRIBUTE_* +Wed, 11 May 2005 21:36:04 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2005-09-28 13:53 robert +Wed, 11 May 2005 21:06:29 +0000 +Checked in by : Robert OSFIELD +Added missing required includes - * From A. Botorabi, "slightly modified osgUtil's - TangentSpaceGenerator class to allow the - option for using or not using geom's indices for tangent space - vectors - generation. now, Ruben's code is also used (it was disabled - before). in - order to keep backward compatibility, the compute method behaves - as before - in default case." +Wed, 11 May 2005 20:37:22 +0000 +Checked in by : Robert OSFIELD +Compile fix. -2005-09-28 13:45 robert +Wed, 11 May 2005 20:05:51 +0000 +Checked in by : Robert OSFIELD +Updated wrappers - * From Joran Jessurun, comments explaining font search rules +Wed, 11 May 2005 19:59:21 +0000 +Checked in by : Robert OSFIELD +Moved GL2Extensions back out of Program and into its own header file. -2005-09-28 13:39 robert +Wed, 11 May 2005 19:34:03 +0000 +Checked in by : Robert OSFIELD +From Don Tidrow, "I added some code to assign the archive pointer in TXPnode with the archive that ReaderWriterTXP actually loads. I also added a function in TXPArchive to help in manipulating the lightpoints." - * From Joran Jessurun, added font search fallbck that strips the - leading path from the font file and then looks again. +Wed, 11 May 2005 19:32:57 +0000 +Checked in by : Robert OSFIELD +Changed the info log so that it output to INFO on success, to WARN when an error has occured. -2005-09-28 13:33 robert +Wed, 11 May 2005 19:14:36 +0000 +Checked in by : Robert OSFIELD +From Nathan Monteleone, rewrote the osgpbuffer example so that it uses Producer xplatform support for pbuffer instead of Win32 specific pathways as support before. (with a few code tweaks to simplfy the code, by Robert Osfield). - * From Chris Hanson: - - Spelling fixes in include/osg/LOD - - Negated priority in PagedLOD when using - _rangeMode==PIXEL_SIZE_ON_SCREEN - - Added clampedPixelSize() methods to CullStack and CullingSet to - return fabs()ed values. - - Changed LOD and PagedLOD ::traverse to use clampedPixelSize() - methods. +Wed, 11 May 2005 16:05:27 +0000 +Checked in by : Robert OSFIELD +Added .osg support for new ParticleEffect::s/getDefaultParticleTemplate. -2005-09-27 20:28 robert +Wed, 11 May 2005 15:26:16 +0000 +Checked in by : Robert OSFIELD +Added support for setting the texture filename and more fine control over the particle template used in ParticleEffects - * Added degugging methods. +Wed, 11 May 2005 13:40:07 +0000 +Checked in by : Robert OSFIELD +Fixed compile warning. -2005-09-27 14:48 robert +Wed, 11 May 2005 13:37:38 +0000 +Checked in by : Robert OSFIELD +Completed GLSL support in .ive - * From Don Tidrow, Added support for locally referenced origins. +Wed, 11 May 2005 11:42:09 +0000 +Checked in by : Robert OSFIELD +Further work on GLSL support in .ive -2005-09-27 12:15 robert +Wed, 11 May 2005 11:41:44 +0000 +Checked in by : Robert OSFIELD +Cleaned up API of BindAttributeLocation, added deletion of shader objects. - * Various improvements to the sphere segment intersection code. +Tue, 10 May 2005 20:20:20 +0000 +Checked in by : Robert OSFIELD +Put in place the class to implement GLSL support in .ive -2005-09-26 11:24 robert +Tue, 10 May 2005 18:21:31 +0000 +Checked in by : Robert OSFIELD +Moved the infolog to the error handling block and upping its notification level to WARN to provide better feedback on failure with needing to use DEBUG notification level. - * Set the defaul clear colour to 0,0,0,0. +Tue, 10 May 2005 16:13:37 +0000 +Checked in by : Robert OSFIELD +Added tab to space converted to .obj plugin -2005-09-26 11:24 robert +Tue, 10 May 2005 13:56:05 +0000 +Checked in by : Robert OSFIELD +Added support for PROTECTED and OVERRIDE to uniforms. - * Added TexEnv DECAL mode. +Tue, 10 May 2005 10:01:13 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, bumped IVE version number to 9, and added support in Texture for _borderWidth _useHardwareMipMapGeneration _unrefImageDataAfterApply _clientStorageHint _resizeNonPowerOfTwoHint -2005-09-25 20:41 robert +Tue, 10 May 2005 09:07:38 +0000 +Checked in by : Robert OSFIELD +Changed -ne to $LINK_ECHO_OPTION to fix cross platform compile issues - * From Mike Weiblen, fixes from VS 7.1 build. +Tue, 10 May 2005 08:07:37 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, and non power of two resize hint support to .osg ascii -2005-09-24 16:11 don +Mon, 9 May 2005 15:29:18 +0000 +Checked in by : Robert OSFIELD +Added code to prevent ProxyNode's from been "flattened" by osgUtil::Optimizer::FlattenStaticTransforms. - * Brede's changes for limited morphed vertex support. These changes - allow - a model with morphed vertecies to load correctly with LOD - switches, but - does not implement the vertex morphing. +Mon, 9 May 2005 13:09:07 +0000 +Checked in by : Robert OSFIELD +Removed deprecated API in preparation for 0.9.9 release. -2005-09-24 14:53 robert +Mon, 9 May 2005 10:17:56 +0000 +Checked in by : Robert OSFIELD +Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA and osgProducer to osgWrappers directory.Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim, +but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile +errors. I am assuming that these compilers are fixable so I'm checked all the +source code so that members of the community can help fix them. - * Improvements to the clipping of polygons at boundary edges. -2005-09-21 14:38 robert - * Further work on intersection code. +Sun, 8 May 2005 19:21:43 +0000 +Checked in by : Robert OSFIELD +Removed debug info -2005-09-19 19:49 robert +Sun, 8 May 2005 18:37:13 +0000 +Checked in by : Robert OSFIELD +Updated osgWrappers. - * Added multiple intersect triangle visualization for testing - purposes. +Sun, 8 May 2005 15:24:26 +0000 +Checked in by : Robert OSFIELD +Added missing copy of _stereo -2005-09-19 15:33 robert +Sat, 7 May 2005 20:47:09 +0000 +Checked in by : Robert OSFIELD +Added more comprehensive releaseGLObjects(State*=0) throughout Nodes, Drawables,StateSet, and osgDB::Registry.Added cleanup_frame() from to osgProducer::OsgCamerGroup to help with proper +clean of OpenGL objects before exit, and modified osgviewer, osghangglider, +osgwindows examples to do the extra frame call to cleanup_frame() before exit. - * From Mike Weiblen: support for OSGHANGGLIDE_REVERSE_CONTROLS env - which reverses - the pitch and roll control to account from Mike's "unique" way of - flying hang gliders :-) -2005-09-19 15:28 robert - * From Ravi Mathur, added extension checks for point sprite - support. - From Robert Osfield, tweaks of the above to use - osg::buffer_object and a local struct to store - initialized to help with multi-thread and out of order context - usage. +Sat, 7 May 2005 09:17:55 +0000 +Checked in by : Robert OSFIELD +From Tim Daoust/Robert Osfield, added Font::releaseGLobjects(State*state=0) to facilate clean up of scene when a graphics context is deleted/reused. -2005-09-19 14:07 robert +Fri, 6 May 2005 19:44:24 +0000 +Checked in by : Robert OSFIELD +Added handling of sharing of graphics context data which is now supported by Producer. You can get the osgProducer::Viewer to share graphics contexts by using the env var OSG_SHARE_GRAPHICS_CONTEXTS set to ON or OFF i.e. setenv OSG_SHARE_GRAPHICS_CONTEXTS ON - * Added support for "-O OutputTextureFiles" options string in .osg - plugin to - allow texture files to be written out when writing out a .osg - file. -2005-09-19 13:15 robert - * Added countMultipleIntersections to help with debugging. +Fri, 6 May 2005 17:43:40 +0000 +Checked in by : Robert OSFIELD +Added X11 include and lib paths to find freetype under OSX. -2005-09-17 18:50 robert +Fri, 6 May 2005 14:28:43 +0000 +Checked in by : Robert OSFIELD +Made OSX default to using single threaded keyboard mouse. - * Improved the region classifaction of the intersection code. +Fri, 6 May 2005 14:07:02 +0000 +Checked in by : Robert OSFIELD +Made USE_AGL=yes the default under OSX. -2005-09-16 14:52 robert +Fri, 6 May 2005 10:32:31 +0000 +Checked in by : Robert OSFIELD +Added osg_DeltaFrameTime uniform to default set. - * Improved accuracy of spheresegment to mesh intersections uses - mathematical - models of surface geometry. +Fri, 6 May 2005 09:58:49 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, further work on GLSL support -2005-09-16 09:28 robert +Fri, 6 May 2005 09:04:41 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, support for non power of two extension. - * Added Azimuth and Elevation intersector functors. +Thu, 5 May 2005 21:21:14 +0000 +Checked in by : Robert OSFIELD +Fix for OSX build across both Tiger and 10.3.x -2005-09-15 20:55 robert +Thu, 5 May 2005 20:05:11 +0000 +Checked in by : Robert OSFIELD +Removed rgb alias for Quicktime mapping since the Quicktime is not reliable at loading all rgb files that the standard OSG rgb reader can read. - * Changed destinationRowDelta and destination_pixelSpace to int's, - solving a - memory corruption crash under 64 bit build. +Thu, 5 May 2005 19:46:04 +0000 +Checked in by : Robert OSFIELD +Changed check() method name to checkConsistency() to avoid perculiar OSX Tiger build error. -2005-09-15 20:03 robert +Thu, 5 May 2005 14:03:54 +0000 +Checked in by : Robert OSFIELD +Removed the defaulting to setting the camera threading model to MultiThreaded, instead leave it to Producer's defaults. - * Added line connectivity code. +Thu, 5 May 2005 12:30:54 +0000 +Checked in by : Robert OSFIELD +Added support for osg_FrameNumber, osg_FrameTime, osg_ViewMatrix, osg_InverseViewMatrix into SceneView, controlled via a setActiveUniforms(.) method. -2005-09-15 09:03 robert +Thu, 5 May 2005 09:18:03 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, added Texture::Extension support for non power of two extension. - * Moved copyLeavesFromRenderGraphListToRenderLeafList into public. +Wed, 4 May 2005 11:38:34 +0000 +Checked in by : Robert OSFIELD +Fix for Tiger build -2005-09-12 19:42 robert +Wed, 4 May 2005 09:11:32 +0000 +Checked in by : Robert OSFIELD +Fixed bug where the Optimizer::StateVisitor was trying to optimize non existant StateSet's. - * Added querry of video size during open() call and associated - allocImage to - ensure that the imagestream passed back is of a valid size. +Tue, 3 May 2005 22:02:37 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2005-09-11 19:12 robert +Tue, 3 May 2005 21:53:25 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, "Missed a FilepathList pop_back line from my last submission.I have also commented out the option string set with FLT_VER because it +overwrites other option string and I found it redundant and not needed." - * From Henrique Bucher, add check against null light entry in - LightPool. -2005-09-11 19:08 robert - * From Farshid Lashkari, append "\fonts" to end of windows font - search path. +Tue, 3 May 2005 21:49:21 +0000 +Checked in by : Robert OSFIELD +Removed the default compile of single threaded KeyboardMouse -2005-09-11 19:05 robert +Tue, 3 May 2005 21:46:47 +0000 +Checked in by : Robert OSFIELD +Added support for lazy state updating of uniforms. - * From Sondra Iverson, "The options to rewind/restart and to toggle - looping in the osgmovie - example have been implemented. " +Tue, 3 May 2005 16:34:54 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, OSX 10.4 fix. -2005-09-11 19:02 robert +Tue, 3 May 2005 14:31:01 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, fixes for OSX 10.4 build. - * converted hardware tabs to spaces. +Tue, 3 May 2005 10:09:51 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2005-09-11 19:00 robert +Tue, 3 May 2005 06:23:02 +0000 +Checked in by : Robert OSFIELD +Removed Impostor.cpp - * From Sonda Iverson, fix for repeated pause/unpause toggleing in - Xine plugin +Mon, 2 May 2005 20:00:42 +0000 +Checked in by : Robert OSFIELD +Fixed TIFF readers handling of interleaved data -2005-09-10 13:07 robert +Mon, 2 May 2005 19:42:13 +0000 +Checked in by : Robert OSFIELD +Improvements to the repojection code so that it can generate RGBA reprojected data. - * From Joran Jessurun, fix to let the Viewer::computeNearFarPoints - function work correctly when used with multiple camera's on one - render - surface. +Mon, 2 May 2005 14:16:25 +0000 +Checked in by : Robert OSFIELD +Added support for generating RGBA, RGBA-16 and RGBA-compressed texture databases -2005-09-10 12:51 robert +Mon, 2 May 2005 13:00:17 +0000 +Checked in by : Robert OSFIELD +Added support for reading from RGBA source textures - * Removed some debugging messages +Mon, 2 May 2005 10:18:37 +0000 +Checked in by : Robert OSFIELD +Added support for optimization of Uniforms -2005-09-10 12:51 robert +Mon, 2 May 2005 09:57:58 +0000 +Checked in by : Robert OSFIELD +Improved the handling of update/event callbacks on Drawable and Geodes - * Added more intersection testing code. +Mon, 2 May 2005 09:34:27 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added \n newlines to inline shader program strings. From Robert Osfield, changed tabs to spaces. -2005-09-09 20:26 don +Sun, 1 May 2005 21:33:12 +0000 +Checked in by : Robert OSFIELD +Moved Impostor from osg to osgSim .osg plugin - * Added initial ESRIShape file loader. - - Untabbed and formated LOGO loader. Removed extraneous noise from - NET loader +Sun, 1 May 2005 20:56:44 +0000 +Checked in by : Robert OSFIELD +Added include for OSX build -2005-09-09 15:42 robert +Sun, 1 May 2005 19:48:49 +0000 +Checked in by : Robert OSFIELD +Moved osg::Impostor to osgSim::Impostor, as Impostor isn't a core feature. - * Removed duplicate typedef. +Sun, 1 May 2005 10:34:48 +0000 +Checked in by : Robert OSFIELD +From Don Tidrow, spelling fixes -2005-09-09 11:13 robert +Sat, 30 Apr 2005 15:16:05 +0000 +Checked in by : Robert OSFIELD +Added RemoveLoadedProxyNodes pass to Optimizer, set on by default at present. - * Added triangle index functor to src/osgUtil/SphereSegment.cpp for - computing - the intersection between an indivual geometry and the sphere - segment. - - Converted the terrain in osgspheresegment to be an osg::Geometry - based - drawable rather than a osg::ShapeDrawable/osg::HeightField one to - make it - more practicle to use as a test for the new SphereSegment - intersection code. +Sat, 30 Apr 2005 13:54:21 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel : ac3d loader - better sharing of states between objects and Roger James' bug fix for missing normals. -2005-09-08 18:56 robert + Tesselator.cpp - faster processing of polygon tesselation for single triangles (which dont need to be tesselated) - * Added PolytopeVisitor to SphereSegment.cpp to help cull down to - only drawables - that intersect with the frustum of the SphereSegment. - PolytopeVisitor may - eventually be pulled out to be more generally used along the - lines of osgUtil::IntersectVisitor. + osgtesselate.cpp - added wrap for texture so that appearance is as originally. Default texture behaviour has changed to clamp." -2005-09-08 13:10 robert - * Added initial interface for computing intersections between - sphere segments - and terrain. -2005-09-07 16:18 robert +Sat, 30 Apr 2005 07:25:15 +0000 +Checked in by : Robert OSFIELD +Combine LOD fixed properly this time :) - * Added support for cullable state, that uses a polytope to define - the extents - of objects that will be influenced by it. +Sat, 30 Apr 2005 07:22:56 +0000 +Checked in by : Robert OSFIELD +fixed combined LOD bug -2005-09-06 20:28 robert +Sat, 30 Apr 2005 07:02:02 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, Progra/Shader fixes - * Added a grid of lines into the OverlaySubgraph to demonstate use - the - OverlayNode for applying general drawing onto terrain. +Fri, 29 Apr 2005 20:57:04 +0000 +Checked in by : Robert OSFIELD +Updated wrappers -2005-09-06 19:54 robert +Fri, 29 Apr 2005 20:56:20 +0000 +Checked in by : Robert OSFIELD +Added support for controlling the frequency of checking for OpenGL errors via: enum CheckForGLErrors + { + /** NEVER_CHECK_GL_ERRORS hints that OpenGL need not be checked for, this + is the fastest option since checking for errors does incurr a small overhead.*/ + NEVER_CHECK_GL_ERRORS, + /** ONCE_PER_FRAME means that OpenGl errors will be checked for once per + frame, the overhead is still small, but at least OpenGL errors that are occurring + will be caught, the reporting isn't fine grained enough for debugging purposes.*/ + ONCE_PER_FRAME, + /** ONCE_PER_ATTRIBUTE means that OpenGL errors will be checked for after + every attribute is applied, allow errors to be directly associated with + particular operations which makes debugging much easier.*/ + ONCE_PER_ATTRIBUTE + }; - * Added s/getContinousUpdate(bool) method to OverlayNode. + /** Set whether and how often OpenGL errors should be checked for.*/ + void setCheckForGLErrors(CheckForGLErrors check) { _checkGLErrors = check; } -2005-09-06 15:48 robert + /** Get whether and how often OpenGL errors should be checked for.*/ + CheckForGLErrors getCheckForGLErrors() const { return _checkGLErrors; } - * Added osgSim::OverlayNode to osganimate and osgspheresegment - examples, and - added support for setting texture size hint and coping with scene - graphs - with CoordinateSystemNode in them. -2005-09-05 13:27 robert - * Changed #if +Fri, 29 Apr 2005 18:51:14 +0000 +Checked in by : Robert OSFIELD +VS.7.1 linker warning fix -2005-09-05 13:26 robert +Fri, 29 Apr 2005 13:30:59 +0000 +Checked in by : Robert OSFIELD +Commented out notify messages to prevent crash under OSX at start up. - * Added checking of EventVisitor type +Fri, 29 Apr 2005 11:22:15 +0000 +Checked in by : Robert OSFIELD +Compile fix -2005-09-05 13:23 robert +Fri, 29 Apr 2005 11:19:58 +0000 +Checked in by : Robert OSFIELD +Moved osgIntrospection across to standard OSG coding style. - * Fixed VisitorType of EventVisitor +Fri, 29 Apr 2005 10:06:50 +0000 +Checked in by : Robert OSFIELD +Added Copyright -2005-09-05 13:19 robert +Fri, 29 Apr 2005 09:47:57 +0000 +Checked in by : Robert OSFIELD +Moved osgParticle across to standard OSG coding style. - * Added event handler to shader code so that alphaCuttOff, - transparency and - sampleDensity are controlled via 'a', 't' and 'd' respectively. +Fri, 29 Apr 2005 06:32:45 +0000 +Checked in by : Robert OSFIELD +Coding style update -2005-09-05 10:40 robert +Fri, 29 Apr 2005 06:32:13 +0000 +Checked in by : Robert OSFIELD +Moved to standard OSG coding style. - * Integrated shaders into source. +Thu, 28 Apr 2005 19:50:07 +0000 +Checked in by : Robert OSFIELD +Reduced the verboseness of the notifaction messages -2005-09-05 09:14 robert +Thu, 28 Apr 2005 19:41:16 +0000 +Checked in by : Robert OSFIELD +Fixed the Mingw settings for GDAL_LIBS (was written as GDAL_LIB which wasn't being picked up as the GNUmakefiles were looking for GDAL_LIBS). - * Added all sides of the shader cube +Thu, 28 Apr 2005 19:24:09 +0000 +Checked in by : Robert OSFIELD +Changed the default texture size to 512x512 to reduce the number of textures required when rendering text. -2005-09-05 07:48 robert +Thu, 28 Apr 2005 19:08:44 +0000 +Checked in by : Robert OSFIELD +Removed old LUMINANCE_ALPHA code pathways since they are no longer used. - * Added preliminary GLSL shader path for volume rendering. +Thu, 28 Apr 2005 18:55:08 +0000 +Checked in by : Robert OSFIELD +Added proper handling of freeing of font implememtation either when unloading the freetype plugin or deleting osgText::Font first. -2005-09-04 11:17 robert +Thu, 28 Apr 2005 12:45:55 +0000 +Checked in by : Robert OSFIELD +Added version number #define's - * Standardised the Vec* class interfaces, and added num_components - enum to aid - generic programming. +Thu, 28 Apr 2005 05:58:20 +0000 +Checked in by : Robert OSFIELD +Added check to see if autoTransformCache had been initialized before using it in the computeBound. -2005-09-04 06:36 robert +Thu, 28 Apr 2005 05:21:27 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, removed redundent fusion distance calculations from computeRightEyeProjectionImplementation and computeLeftEyeProjectionImplementation methods. - * Added support in osgTerrain/osgdem for setting the image format - to use when writing tiles out to disk +Thu, 28 Apr 2005 05:15:21 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, changed = to ?= in COMPILE_INTROSPECTION line -2005-09-03 20:56 robert +Thu, 28 Apr 2005 05:12:54 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, converted line endings to unix. - * Changed red()/green()/blue()/alpha() to r()/g()/b()/a() for - greater consistency - across Vec* classes and with OpenGL Shander Lanaguage. +Thu, 28 Apr 2005 05:08:02 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added -ne option echo usage to fix stdout/stderr redirection error under Mingw. -2005-09-03 20:54 robert +Tue, 26 Apr 2005 20:35:53 +0000 +Checked in by : Robert OSFIELD +From Ruben, fix for PIV executation by disabling MMXEXT selection. - * Added release() to all GraphicsOperations in GraphicsThread. +Tue, 26 Apr 2005 19:34:03 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, tweaks to emitter classes to make them more extensible. -2005-09-02 20:06 robert +Tue, 26 Apr 2005 18:55:51 +0000 +Checked in by : Robert OSFIELD +Added $(GL_LIBS) to link line to get things linking ok under OSX. - * Added commandline arguments for controlling number of cameras - through to the windowing library to use. +Tue, 26 Apr 2005 14:29:25 +0000 +Checked in by : Robert OSFIELD +Updated wrappers. -2005-09-02 13:10 robert +Tue, 26 Apr 2005 13:15:27 +0000 +Checked in by : Robert OSFIELD +Added support for per context extension string.Note, this required adding a unsigned int context ID to the osg::isGLUExtensionSupported(,) +and osg::isGLExtensionSupported(,) functions. This may require reimplementation +of end user code to accomodate the new calling convention. - * Added clean up class to help improve the exit of GraphicsThread -2005-09-02 10:35 robert - * Renamed osgUtil::RenderStageLighting - osgUtil::PositionalStateContainer +Tue, 26 Apr 2005 11:20:19 +0000 +Checked in by : Robert OSFIELD +Added #include for VS.NET build -2005-09-01 19:55 robert +Tue, 26 Apr 2005 09:58:19 +0000 +Checked in by : Robert OSFIELD +Added support notification of Drawable parents of StateSet that event/update callbacks have been called. - * Removed redundent code. +Tue, 26 Apr 2005 07:49:18 +0000 +Checked in by : Robert OSFIELD +From Vivek Rajan, "osg::Text was getting stretched when the CharacterSizeMode was set to SCREEN_COORDS and the SceneView's projection matrix was set to an Ortho2D matrix (sceneView->setProjectionMatrixAsOrtho2D(-1,1,-1,1)).Computing the pixel size separately vertically and horizontally, and +setting the scaling factors appropriately based on that fixed the +problem." -2005-09-01 19:12 robert - * Fixed typo -2005-09-01 06:19 robert +Mon, 25 Apr 2005 20:46:46 +0000 +Checked in by : Robert OSFIELD +Updated wrappers using Marco Jez's genwrapper utility. - * Added osgcamera projects +Mon, 25 Apr 2005 20:34:23 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added support for --clear-color r,g,b,a and --clear-color r,g,b to osgProducer::Viewer. -2005-08-31 20:39 robert +Mon, 25 Apr 2005 14:28:16 +0000 +Checked in by : Robert OSFIELD +Reduced the verbosness of debugging messages - * Removed circular reference of osg::CameraNode, fixing memory - leak. Added - a auto exit after a maximum number of frames are completed. +Mon, 25 Apr 2005 13:37:12 +0000 +Checked in by : Robert OSFIELD +Futher work on supporting update and event callbacks in StateSet, Uniform and StateAttribute -2005-08-31 15:04 robert +Mon, 25 Apr 2005 13:27:56 +0000 +Checked in by : Robert OSFIELD +Added SINGLE_THREADED_KEYBOARDMOUSE pathway as a means of testing exit issues. - * Added osgSim::OverlayNode setup in osgsimulation, and added - preliminary test - code to the osgSim::OverlayNode to test osgsimulation/the - architecture. +Mon, 25 Apr 2005 11:05:02 +0000 +Checked in by : Robert OSFIELD +Futher work on adding event and update callbacks to StateSet, Uniform and StateAttributes -2005-08-31 13:43 robert +Sun, 24 Apr 2005 21:04:54 +0000 +Checked in by : Robert OSFIELD +Added ParentList's into StateSet, Uniform and StateAttribute in preparation for providing update and event handling. - * Set number of cameras to 3. +Sun, 24 Apr 2005 19:30:01 +0000 +Checked in by : Robert OSFIELD +Added THREAD_ infront of PRIORITY_MIN settings to reflect changes to OpentThreads -2005-08-31 12:56 robert +Sat, 23 Apr 2005 16:09:20 +0000 +Checked in by : Robert OSFIELD +Added MergeGeometryVisitor::setTargetMaximumNumberOfVertices(uint); - * Added graphics context pointer to osg::Texture in prep for - support for Pbuffer - Render To Texture. +Sat, 23 Apr 2005 10:45:38 +0000 +Checked in by : Robert OSFIELD +Removed the use of the post swap callback -2005-08-31 12:49 robert +Sat, 23 Apr 2005 10:41:30 +0000 +Checked in by : Robert OSFIELD +Added missing bodes of Uniform::operator = and setEvent/UpdateCallback in StateSet. - * Disable the glFinishBarrierOp usage as glFinish was spin locking - the CPU :-| +Sat, 23 Apr 2005 10:31:52 +0000 +Checked in by : Robert OSFIELD +Added support for using TextureRectangle in --move support in readNodeFile -2005-08-31 10:55 robert +Fri, 22 Apr 2005 22:45:39 +0000 +Checked in by : Robert OSFIELD +Preliminary steps to adding update and event callbacks to StateSet, StateAttribute and Uniform. - * Seperated out the cull and draw traversals into their own - operations, - and added a glFinishBarrierOp which can be placed between the - cull and the - draw or after swap. +Fri, 22 Apr 2005 20:56:03 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, tweaked refraction and fresnel coefficients for a better visual effect. -2005-08-31 09:21 robert +Fri, 22 Apr 2005 15:44:21 +0000 +Checked in by : Robert OSFIELD +Improved handling of unsupported formats - * Add comments explain how example works. +Fri, 22 Apr 2005 15:44:03 +0000 +Checked in by : Robert OSFIELD +Improved handling of unsupported file formats. -2005-08-30 22:28 robert +Fri, 22 Apr 2005 15:43:34 +0000 +Checked in by : Robert OSFIELD +Improved handling of invalid imagery in BufferObject - * Added support for GrapicsOpeations that are reused each frame, - cleaned up - osgcamera example. +Fri, 22 Apr 2005 14:40:22 +0000 +Checked in by : Robert OSFIELD +Removed unusaged methods -2005-08-30 19:20 robert +Fri, 22 Apr 2005 14:40:06 +0000 +Checked in by : Robert OSFIELD +From Tree, removed dependency on Producer - * Compile fix. +Fri, 22 Apr 2005 13:47:54 +0000 +Checked in by : Robert OSFIELD +Removed ViewPoint.h and .cpp from the ive plugin -2005-08-30 19:19 robert +Fri, 22 Apr 2005 13:32:46 +0000 +Checked in by : Robert OSFIELD +Cleaned up the xine plugin to better handle unsupported video files. - * From Colin McDonald, fix for big endian systems +Fri, 22 Apr 2005 07:13:50 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added support for samplers and mat4 to .osg -2005-08-30 19:03 robert +Thu, 21 Apr 2005 21:07:27 +0000 +Checked in by : Robert OSFIELD +Added initialize of version number - * Added name and keep member variables to - osg::GraphicsThread::Operation to allow - the names of the operations to be logged for stats purposes, or - used when - do searches of the operation list. The keep member variable tells - the graphics - thread run loop wether to remove the entry from the list once its - been called. +Thu, 21 Apr 2005 21:05:48 +0000 +Checked in by : Robert OSFIELD +From Garrat Potts, fixed face memory leak in FreTypeFont destructor. -2005-08-30 14:41 robert +Wed, 20 Apr 2005 19:53:07 +0000 +Checked in by : Robert OSFIELD +Small tweaks - * Clean up and fixes to GraphicThread class, and osgcamera example. +Wed, 20 Apr 2005 18:50:50 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, removed Uniform not quite ready notice, and added .h files into osgshaders project file. -2005-08-30 09:33 robert +Wed, 20 Apr 2005 14:51:13 +0000 +Checked in by : Robert OSFIELD +Removed the enabling of the point smooth mode. - * From Norman Vine, fixed small typo. +Wed, 20 Apr 2005 12:32:43 +0000 +Checked in by : Robert OSFIELD +From Brede Johnansen, adding support for EXT, ARB and GL version 1.4 point parameters. -2005-08-29 20:38 robert +Wed, 20 Apr 2005 09:55:24 +0000 +Checked in by : Robert OSFIELD +Removed increment of the cursor position by the bearing value in the compute last character code as this should not be used when moving the cursor. - * Fixed reading and writng of data. +Wed, 20 Apr 2005 08:51:48 +0000 +Checked in by : Robert OSFIELD +Commented out support for the -m option for inserting 3d models in a terrain database, as this feature isn't yet supported by osgTerrain. -2005-08-29 20:16 robert +Tue, 19 Apr 2005 07:37:59 +0000 +Checked in by : Robert OSFIELD +From Reinhard Sainitzer, bug fix, added missing break; - * Added scratch pad reset. +Mon, 18 Apr 2005 18:23:25 +0000 +Checked in by : Robert OSFIELD +Removed eroneous /dv1 flag (should have been /vd1, but it this is default anway so can safely remove entirely). -2005-08-29 19:57 robert +Mon, 18 Apr 2005 13:36:10 +0000 +Checked in by : Robert OSFIELD +Further work on uniforms support in .osg - * Implement a scratch pad for writing and read data to, to solve - issue between - running a master and slave on a mix of 32bit and 64bit. +Mon, 18 Apr 2005 13:29:59 +0000 +Checked in by : Robert OSFIELD +Added more complete support for writing out data of Uniforms -2005-08-29 14:05 robert +Mon, 18 Apr 2005 12:34:28 +0000 +Checked in by : Robert OSFIELD +Added next stage of support for osg::Uniform in .osg plugin - * Improved support for keyboard/mouse events in osgcluster. +Mon, 18 Apr 2005 09:17:56 +0000 +Checked in by : Robert OSFIELD +Removed mpeg plugin from CVS, now moved to the Community section of openscenegraph.org as a seperate project. -2005-08-29 12:25 robert +Sun, 17 Apr 2005 19:14:32 +0000 +Checked in by : Robert OSFIELD +Fixed typo in testLookAt debug info. - * Added extra debug info. +Sun, 17 Apr 2005 19:10:32 +0000 +Checked in by : Robert OSFIELD +Fixed warnings. -2005-08-29 12:05 robert +Sun, 17 Apr 2005 11:35:26 +0000 +Checked in by : Robert OSFIELD +Changed the animation on default to false, so things only move if you ask them to. - * Added extra access methods on osgProducer::KeyboardMouseCallback, - and added - support for reading and writing keyboard/mouse events in - osgcluster. +Sun, 17 Apr 2005 11:30:33 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, osgWrappers updates to latest changes in core osg. -2005-08-28 19:07 robert +Sun, 17 Apr 2005 10:41:23 +0000 +Checked in by : Robert OSFIELD +Moved istream/ostream includes out of Vec3f, and reimpleted osg::Matrix*::compare. - * Disabled the pbuffer graphics thread. +Sun, 17 Apr 2005 09:41:48 +0000 +Checked in by : Robert OSFIELD +From Tony Horrobin, fix for VS6.0 -2005-08-28 15:49 robert +Sat, 16 Apr 2005 17:44:11 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added operator >> for Plane and Quat to io_utils, and added OSG_EXPORT to PerContextProgram. - * From Marco Jez, fixed typo of OverlayNode.cpp. +Sat, 16 Apr 2005 10:18:56 +0000 +Checked in by : Robert OSFIELD +Fixed wrapping of text string to allow internal "" strings -2005-08-26 20:01 robert +Sat, 16 Apr 2005 10:11:18 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen,added debug info to osg::Program and changed shader uniform names to avoid conflict with built in functions - * Added OveralyNode into VS project file, and fleshed out more code - in the OveralyNode implementation. +Sat, 16 Apr 2005 04:00:18 +0000 +Checked in by : Don BURNS +CHanged line 101 in PageLOD.cpp to read if ( in->getVersion() >= VERSION_0006 ) { setDatabasePath(in->readString()); }instead of + if ( in->getVersion() > VERSION_0006 ) { + setDatabasePath(in->readString()); + } -2005-08-26 14:00 robert +Seems DatabasePath _is_ present in ive files of version 6. - * Added beginings of new OverlayNode, for managing a render to - texture which is - then used to overaly other parts of the scene such as terrain. -2005-08-26 13:26 robert - * Added --num-components option. +Fri, 15 Apr 2005 20:59:24 +0000 +Checked in by : Robert OSFIELD +Moved Plane and Quat << operators into the io_utils headers -2005-08-26 08:48 robert +Fri, 15 Apr 2005 20:44:28 +0000 +Checked in by : Robert OSFIELD +Added dxf to the list of projects - * From Farshid Lashkari, fixed warnings. +Fri, 15 Apr 2005 20:39:06 +0000 +Checked in by : Robert OSFIELD +From Paul de Repentinguy, DXF loader plugin. Ported to Linux by Robert Osfield. -2005-08-25 19:23 robert +Fri, 15 Apr 2005 20:11:50 +0000 +Checked in by : Robert OSFIELD +From Joran Jessurun, Added setting of original node mask to flatten transforms - * From Farshid Lashkari, added istream support to JPEG plugin. +Fri, 15 Apr 2005 20:05:30 +0000 +Checked in by : Robert OSFIELD +Added setValue and setSwitchSet methods -2005-08-25 18:18 don +Fri, 15 Apr 2005 18:28:44 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, fix for Win32 build - * made removeExpiredSubgraphs virtual. +Fri, 15 Apr 2005 10:15:26 +0000 +Checked in by : Robert OSFIELD +Removed link reference to osgGL2 in doxygen file, added osgIntrospection -2005-08-25 17:53 robert +Fri, 15 Apr 2005 10:09:51 +0000 +Checked in by : Robert OSFIELD +Changed all instances of /vd0 to /vd1 - * From Eric Sokolowsky, warning fixes for g++ 4.0 under Fedora Core - 4. +Fri, 15 Apr 2005 09:56:28 +0000 +Checked in by : Robert OSFIELD +In the ldexp(,) call removed the /256.0f by replacing it with a -8 on the exponent. -2005-08-25 14:37 robert +Fri, 15 Apr 2005 08:35:06 +0000 +Checked in by : Robert OSFIELD +Removed osgGL2 from CVS, osgGL2 now can be found on the Community/NodeKits section on the OSG website. - * From Farshid Lashkari, Support for reading TIF images from - stream, and support - from reading and writing RGB image to/from stream. +Thu, 14 Apr 2005 21:41:28 +0000 +Checked in by : Robert OSFIELD +Updated Copyright notices to 1998-2005. -2005-08-25 14:12 robert +Thu, 14 Apr 2005 20:34:59 +0000 +Checked in by : Robert OSFIELD +Changed uint for unsigned int. - * Added support for rapid movement of the emitter, with particle - now seeding between - the position of the emitter in the previous frame and the new - position in the new - frame, the number of particles added also scales up to compensate - for this movement. +Thu, 14 Apr 2005 20:14:53 +0000 +Checked in by : Robert OSFIELD +Uniforms open for business :) -2005-08-24 19:21 robert +Thu, 14 Apr 2005 20:05:16 +0000 +Checked in by : Robert OSFIELD +Fixed getUniformLocation and getAttribLocation methods - * Removed old commented out code. +Thu, 14 Apr 2005 15:53:28 +0000 +Checked in by : Robert OSFIELD +Removed setProgram from osg::StateSet as Program works just fine right now as a standard osg::StateAttribute and set in a StateSet with setAttribute. -2005-08-24 19:20 robert +Thu, 14 Apr 2005 11:28:23 +0000 +Checked in by : Robert OSFIELD +Preparation for moving osgGL2 out of the core OSG into its own seperate distribution. - * From Domenico Mangieri, added constructor. +Thu, 14 Apr 2005 08:00:25 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, fixed copy and paste error in new osgshaders.cpp example. -2005-08-24 11:53 robert +Thu, 14 Apr 2005 07:55:45 +0000 +Checked in by : Robert OSFIELD +From Joson Daly, fix for forward/backward/swing animation handling both 15.8 and versions prior to 15.8, and..." Here's another fix for OpenFlight. The symptom was that ATTR files were +not being read correctly, and the TexEnv on a texture that should have +been set to DECAL was instead defaulting to MODULATE. The cause is that +the ATTR reader cannot tell by itself what version it's reading (the +version information isn't present in the ATTR files), and instead relies +on the ReaderWriter::Options passed in to get the OpenFlight version. - * From Gordon Tomlinson: - " - This fixes some crashing issues I was having with certain FLT - files that only had partial colour palettes - - Which are typically found in older 14.x files and file converted - through Polytrans or Deep exploration etc. - - The code that grabs the color entries in - ConvertFromFLT::visitColorPalette was assuming that there were - full - palettes always coming in and stepping was out of bounds in - certain cases (not all) and thus crashing with - access violations etc, - - Although the normal from Creator is to have 1024 or 512 entries , - this is not a really requirement of the format, just the way - Creator creates its default palettes etc. - - Code changed to look at the number of entries and use just those - and fills in any missing entries with a default white colour" +My change clones the current ReaderWriter::Options and prepends the +appropriate FLT_VER option before the ReaderWriterATTR object is +called. I also made the parsing of the FLT_VER string and value more +robust in the ReaderWriterATTR itself. I think I commented things OK, +but let me know if you need me to explain anything." -2005-08-24 10:48 robert - * From Farshid Lashari, added support for reading from - std::istream's to the BMP, GIF, PNG and TGA image plugins -2005-08-22 15:13 robert +Wed, 13 Apr 2005 18:19:38 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, added copy texture support to TextureRectangle - * From Geoff Michel, added normal definition for tesselation +Wed, 13 Apr 2005 14:31:25 +0000 +Checked in by : Robert OSFIELD +Added applying of all parents uniforms -2005-08-22 14:13 robert +Wed, 13 Apr 2005 14:12:06 +0000 +Checked in by : Robert OSFIELD +Added basic support for applying uniforms to programs, non lazy state updating is yet applied though. - * From Carlo Camporesi, fixed .ive handling of character height and - aspect ratio. +Wed, 13 Apr 2005 12:00:28 +0000 +Checked in by : Robert OSFIELD +Work in progress on shader language uniform support + +Tue, 12 Apr 2005 19:28:37 +0000 +Checked in by : Robert OSFIELD +Added #if block for swith between imagery -2005-08-22 14:07 robert +Tue, 12 Apr 2005 19:17:01 +0000 +Checked in by : Robert OSFIELD +Fixed bug - * From Domenico Mangieri: - - "I've added a Plane constructor which accepts a normal and a - point. - I also removed calculateUpperLowerBBCorners() from the - Plane(const - Vec3& v1, const Vec3& v2, const Vec3& v3) since the constructor - is - using the function set(const Vec3& v1, const Vec3& v2, const - Vec3& v3) - which already computes the upper and lower bounding box." +Tue, 12 Apr 2005 08:59:33 +0000 +Checked in by : Robert OSFIELD +Added inline to float convertComponent(,) -2005-08-22 13:58 robert +Tue, 12 Apr 2005 08:55:52 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, change from powf to ldexp. - * From Domenico Mangieri, addded some missing const qualifiers in - osgUtil::SceneView. +Mon, 11 Apr 2005 17:14:17 +0000 +Checked in by : Robert OSFIELD +Renamed SG_LIBRARY and SG_EXPORT macro's to OSG_LIBRARY and OSG_EXPORT -2005-08-22 13:54 robert +Mon, 11 Apr 2005 15:40:30 +0000 +Checked in by : Robert OSFIELD +Changed optimization flag to -O instead of -O2 to aid compile speed. - * From Fabio Mierlo, - - "I add a new option in the HDR Reader. - - The RAW option store the RGBE values into a Image, to use - this option you need to decode the RGBE value in the frag- - ment shader. Follow the cube map glsl decoder: - - vec4 textureCubeRGBE( uniform samplerCube sampler, vec3 coords ) - { - ivec4 rgbe = textureCube( sampler, coords ) * 255. + 0.5; - float e = rgbe.a - ( 128 + 8 ); - return vec4( rgbe.rgb * exp2( e ), 1.0 ); - } - - This option is usefull for who have a outdate hardware like - FX cards and want to do cool things. - - Finally this patch is need by a new HDR Rendering example - that I will put on the Wiki." +Mon, 11 Apr 2005 15:22:29 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, compile fix for Sun. -2005-08-22 13:45 robert +Mon, 11 Apr 2005 15:17:24 +0000 +Checked in by : Robert OSFIELD +Moved #include from header into .cpp to clean up build. - * From Joseph Winston, "Corrected displayed comment about the text - size - to match the actual text size." +Mon, 11 Apr 2005 15:01:57 +0000 +Checked in by : Robert OSFIELD +Build fix -2005-08-22 13:03 robert +Mon, 11 Apr 2005 10:12:32 +0000 +Checked in by : Robert OSFIELD +Fixed warning, and sorted entries in GNUmakefile - * Tweaked flight manipulator pitch sensitivity. +Mon, 11 Apr 2005 08:15:43 +0000 +Checked in by : Robert OSFIELD +Added friend class PerContextProgram; -2005-08-21 15:32 robert +Mon, 11 Apr 2005 07:51:43 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, Fixed cross platform compile error - * Added OSG_EXPORT to GrephicsThread and fixed typo in osg.dsp. +Sun, 10 Apr 2005 21:26:49 +0000 +Checked in by : Robert OSFIELD +From Randall Hopper, fixed typo of setRedMask. -2005-08-20 08:59 robert +Sun, 10 Apr 2005 21:25:37 +0000 +Checked in by : Robert OSFIELD +Further work on kiddies game. - * Further work on GraphicsContext/GraphicsThread +Sat, 9 Apr 2005 11:17:12 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2005-08-20 08:20 robert +Fri, 8 Apr 2005 19:40:16 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, osgGLUTsimple and osgGLUTkeyboardmouse examples - * From Joseph Winston, removed #include +Fri, 8 Apr 2005 19:39:05 +0000 +Checked in by : Don BURNS +Added check for _last_of for fileName and merged all definitions for socklen_t to one line. -2005-08-18 20:35 robert +Fri, 8 Apr 2005 19:29:12 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, updates to reflect new osgIntrospection API - * Added GraphicsThread class +Fri, 8 Apr 2005 18:46:51 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, changed fixed string sizes for dynamically allocated ones in OSX file system gets. -2005-08-18 20:33 robert +Fri, 8 Apr 2005 14:44:44 +0000 +Checked in by : Robert OSFIELD +From James French, a tweak with fix a compile problem related to STLport. - * Added GraphicsThread to project file +Fri, 8 Apr 2005 14:11:15 +0000 +Checked in by : Robert OSFIELD +From Olad Flebbe, compile fix for HP-UX. -2005-08-18 20:17 robert +Fri, 8 Apr 2005 14:10:22 +0000 +Checked in by : Robert OSFIELD +Moved UByte4 i/ostream support into io_utils. - * Various updates to support the new GraphicsThread class. +Fri, 8 Apr 2005 14:09:32 +0000 +Checked in by : Robert OSFIELD +From James French, fix to header guard -2005-08-18 09:36 robert +Fri, 8 Apr 2005 13:52:03 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber (contains Registry.cpp changes from David Guthrie): "Attached is the new source for the Quicktime-Plugin which adds the ability to write pictures in various formats (tested: jpg, png, tif, psd) (24bit + 32bit only, 8bit not tested)There are changes in the attached osgDB::Registry, which allows osg to +find resources/plugins in the right folders under OS X" - * Added beginings of GraphicsThread class +Note, from Robert Osfield, changed the FilePathList* filepath + delete to a +FilePathList filepath to avoid possible memory leaks when expections are thrown/ +make it more maintainable. Also didn't merge the automatic playing of movies. -2005-08-18 08:37 robert - * Implemented more SceneView operations in main as a move to try - and replace SceneView usage in this example. -2005-08-17 16:13 robert +Fri, 8 Apr 2005 13:10:44 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, updates to GL Shadler Language support - * Replaced osgUtil::SceneView usage by osg::CameraNode +Fri, 8 Apr 2005 13:06:14 +0000 +Checked in by : Robert OSFIELD +From Carlo Camporesi, add support for text into .ive plugin, tweak by Robert Osfield to allow font names to be exported correctly with extension -2005-08-17 10:12 robert +Fri, 8 Apr 2005 12:22:03 +0000 +Checked in by : Robert OSFIELD +Added #include - * Merged RenderToTextureStage functionality into RenderStage +Fri, 8 Apr 2005 10:32:10 +0000 +Checked in by : Robert OSFIELD +Added #include -2005-08-17 08:50 robert +Fri, 8 Apr 2005 09:59:40 +0000 +Checked in by : Robert OSFIELD +Added #include - * Fix compile under x64_32. +Fri, 8 Apr 2005 09:55:52 +0000 +Checked in by : Robert OSFIELD +Reverted back to not test version of osgsimulation -2005-08-17 07:27 robert +Fri, 8 Apr 2005 09:51:56 +0000 +Checked in by : Robert OSFIELD +Added #include - * Disabled assembly code for x64_64 paths. +Fri, 8 Apr 2005 09:45:06 +0000 +Checked in by : Robert OSFIELD +Added #include -2005-08-16 13:29 robert +Fri, 8 Apr 2005 09:36:42 +0000 +Checked in by : Robert OSFIELD +Added #include - * Added realize() and isRealized() methods to osg::GraphicsContext. - - Added osgcamera example that uses osg::GraphicsContext to create - the required - window for rendering too, will eventually use osg::CameraNode to - replace usage - of osgUtil::SceneView. +Fri, 8 Apr 2005 09:18:15 +0000 +Checked in by : Robert OSFIELD +Added #include -2005-08-15 13:54 robert +Fri, 8 Apr 2005 09:14:50 +0000 +Checked in by : Robert OSFIELD +Added io_utils include - * Added osgshaderterrain example. +Fri, 8 Apr 2005 09:13:07 +0000 +Checked in by : Robert OSFIELD +Added osg/io_utils include -2005-08-09 14:13 robert +Fri, 8 Apr 2005 09:01:23 +0000 +Checked in by : Robert OSFIELD +Moved the istream and ostream support from Vec* and Matrix* into a seperate io_utils file. - * Added base texture support. +Thu, 7 Apr 2005 21:28:57 +0000 +Checked in by : Robert OSFIELD +Added iostream operators -2005-08-09 10:48 robert +Thu, 7 Apr 2005 20:28:36 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, removed supporios BufferObject:: - * Added getStartTick() acess method +Thu, 7 Apr 2005 20:23:58 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, "adds sourcefiles for beginnings of .osg fileformat i/o support > - enhancemens to core GLSL classes to support file i/o" -2005-08-09 10:48 robert +Thu, 7 Apr 2005 20:20:09 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, ported osgshaders example from osgGL2 to core osg based. - * Added getDisplayList access method +Thu, 7 Apr 2005 20:08:54 +0000 +Checked in by : Robert OSFIELD +Warning fixes by Mike Weiblen + Robert Osfield -2005-08-09 10:47 robert +Thu, 7 Apr 2005 20:06:16 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, .dsp updates - * Fixed indenting and typo +Thu, 7 Apr 2005 20:00:17 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, improvements to osgIntrospection, and new automatically generated osgWrappers/osg set. -2005-08-09 09:11 robert +Thu, 7 Apr 2005 17:15:48 +0000 +Checked in by : Don BURNS +Set PagedLOD::removeExpiredSubgraph() to be virtual - * Added GLSL shader pathway into osgforest. +Thu, 7 Apr 2005 16:09:34 +0000 +Checked in by : Robert OSFIELD +Fix to compute coordinate frame callback so that it can handle scaled coordinate frames, rescaling as required. -2005-08-06 19:19 robert +Thu, 7 Apr 2005 15:27:53 +0000 +Checked in by : Robert OSFIELD +Fixed the MatrixTransform(Matrix&) constructor so that it correct sets _inverseDirty = true; - * Added setting up of Producer::VisualChooser. +Thu, 7 Apr 2005 13:49:54 +0000 +Checked in by : Robert OSFIELD +Introduced a flight path that goes around the earth going into the north and sound hemisphere's with heading and roll adjustment. -2005-08-06 19:18 robert +Thu, 7 Apr 2005 10:55:17 +0000 +Checked in by : Robert OSFIELD +Fixed sort of sources so that the layer number is taken into account. - * Change the frame reference time so that it uses the same time as - the - KeyboardMouseCallback. +Thu, 7 Apr 2005 10:19:47 +0000 +Checked in by : Robert OSFIELD +Fixed layer and levels handling in reprojection of source imagery. -2005-08-06 19:16 robert +Wed, 6 Apr 2005 20:54:36 +0000 +Checked in by : Robert OSFIELD +Beginnings of litte kiddies game example, written in collaboration with my 5 year old daughter who is the game designer and artist on this little task :) - * Set the double buffer off when setting up pbuffers. +Tue, 5 Apr 2005 19:08:48 +0000 +Checked in by : Don BURNS +Rolled in Olaf's changes for HP-UX build -2005-08-06 04:33 robert +Mon, 4 Apr 2005 20:25:57 +0000 +Checked in by : Robert OSFIELD +Renamed _A and _B to make them more meanigful - * Added blend shadow fragment shader +Mon, 4 Apr 2005 18:07:27 +0000 +Checked in by : Don BURNS +Removed annoying "Can't find the ground" message -2005-07-30 18:44 robert +Mon, 4 Apr 2005 16:06:28 +0000 +Checked in by : Robert OSFIELD +Fixed output of MultiTextureControl. - * Added setStateSet(0) to destructors to force the problem clean up - of attached - StateSets. +Mon, 4 Apr 2005 15:23:18 +0000 +Checked in by : Robert OSFIELD +Added layer support -2005-07-27 13:38 robert +Mon, 4 Apr 2005 13:50:07 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, updates to osgIntrospection. - * From Pavel Moloshtan, setting of the cull traversal mask which - visiting camera - subgraphs. (with small tweak from Robert Osfield to remove - compile warnings.) +Mon, 4 Apr 2005 13:49:20 +0000 +Checked in by : Robert OSFIELD +Made osgIntrospection an optional compile -2005-07-27 11:27 robert +Mon, 4 Apr 2005 13:22:24 +0000 +Checked in by : Robert OSFIELD +Fixed comment - * Further work on trying to get glGenerateMipMapEXT working in - conjunction with - frame buffer objects. Still don't work under Linux yet through - :-| +Mon, 4 Apr 2005 12:24:18 +0000 +Checked in by : Robert OSFIELD +Fixes for VS6.0 build -2005-07-27 09:37 robert +Mon, 4 Apr 2005 11:47:50 +0000 +Checked in by : Robert OSFIELD +From Carlo Camporesi,fixed for loop bug - * From Marco Jez, added setEventHandled() and getEventHandled() to - osgGA::EventVisitor. +Mon, 4 Apr 2005 11:42:43 +0000 +Checked in by : Robert OSFIELD +Added missing makefiles -2005-07-26 21:07 robert +Mon, 4 Apr 2005 11:22:43 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, nested files bug fix. - * From Jeremy Bell, - - "My patch is a slight refactoring of the mac specific code in - Registry.cpp and FileUtils.cpp, specifically around the library - and - resource file path initilialization methods. This patch cleans up - a - lot of the mac specific code by moving repeated code into - separate - local functions in FileUtils.cpp that are only compiled on mac - builds. - It also adds one function to the API, - appendPlatformSpecificResourceFilePaths in FileUtils. This - function - will mirror the already existing - appendPlatformSpecificLibraryFilePaths except for resource file - paths. - Currently this function is empty except when built on the mac, in - which case it will add the application bundle's internal - Resources - folder and the bundle's parent folder. Previously this code was - implemented as a separate mac specific #ifdef block in - Registry.cpp - around the initDataFilePathList method. However, it now is - implemented - in appendPlatformSpecificResourceFilePaths in FileUtils.cpp and - the - initDataFilePathList method is now the same on all platforms. - This - patch should behave the same as before on non-mac platforms. - - This patch already includes the fix that Eric mentioned earlier. - This - patch is based off of the 0.99 release code. I have tested this - patch - using the following testing scheme: - - Make a proper bundled application. - While Run from the Finder: - Test that it finds plugins in its internal plugins path. - Test that it finds resources in its internal resources path. - Test that it finds resources in the bundle's parent directory - Test that it finds plugins in the user's Application Support - Directory - Test that it finds plugins in the system's Application Support - Directory - Test that it finds plugins in the Network Application Support - Directory - Check the plugin and resource path lists after they have been - initialized to see if they are in the correct order - - While Run from the command line (both from it's parent directory - and - from inside the /Contents/MacOS directory) and repeat the above - tests. - Check that it also finds plugins and resources within the paths - defined by various environment variables. - - Now, Make an application that is NOT bundled/command line only - Test that it does NOT try to look in an internal bundle - plugin/resource directory for plugins or resources. - Test that it finds plugins/resources in the paths defined by the - environment variables. - " +Mon, 4 Apr 2005 11:18:02 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre: "Here there are fixes for several flt loader problems.First one was an small bug when root database was an empty string we got a database path "/" instead of "./". +Second one is more complex. Flt loader works in two passes, first one reads flt database and second one builds osg scenegraph. Special care must be taken for properly tracking database path as nested files are entered. Because textures are loaded in second pass, mentioned care should be taken once again. I wrote time ago a piece of code and I placed it in both files fltFile.cpp and flt2osg.cpp. After a long period offline I have seen the portion of code at flt2osg was missing, I just made some tests and I could see it is still required. -2005-07-26 20:31 robert +Finally, I have seen that pool.cpp always try to make IMAGE cache instead of reading what Options says. - * From Eric Wing, fix to be able to handle "spacial" characters - under OSX. +Aditonally, I recently wrote an osg change, now it has external references "a la flt" what is called osg::ProxyNode. As part of the change now flt loader builds external references as ProxyNodes. I made the same mistake like pool.cpp and always made ARCHIVE cache instead of see what Options says, it has also been fixed." -2005-07-26 16:05 robert - * From Brede Johansen, fix to the isImageTranslucent() method. -2005-07-26 15:49 robert +Mon, 4 Apr 2005 10:08:15 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, updates to Shander Language support - * From Fabio Mierlo, removed cast from float to RGB8, to allow - native float imagery - to be correctly importated from HDR files. - - From Robert Osfield, tweaked the above to allow the original - casting to RGB8 as an - options switched on by a osgDB::ReaderWriter::Options string with - a value of "RGB8". +Mon, 4 Apr 2005 10:05:35 +0000 +Checked in by : Robert OSFIELD +Added FluidProgram -2005-07-25 16:12 robert +Mon, 4 Apr 2005 09:22:59 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen (VisualStudio.dsw changes done by hand by Robert), fixes to VS project files - * Perliminary support for glGenerateMinMapEXT. +Mon, 4 Apr 2005 08:47:21 +0000 +Checked in by : Robert OSFIELD +Added osgparticleeffects example -2005-07-25 14:28 robert +Mon, 4 Apr 2005 07:54:52 +0000 +Checked in by : Robert OSFIELD +Improved ParticleEffects - * Added handling of automatic setting up of the contextID. +Sat, 26 Mar 2005 10:04:31 +0000 +Checked in by : Robert OSFIELD +From Farshid Laskari, addiition of FrontFace support to .ive -2005-07-25 13:05 robert +Fri, 25 Mar 2005 11:17:33 +0000 +Checked in by : Robert OSFIELD +From Waltice (don't have full name at time of submission), added support for 16bit tiff files - * Added support for TextureCubeMap into - osgUtil::RenderToTextureStage. +Fri, 25 Mar 2005 11:07:48 +0000 +Checked in by : Robert OSFIELD +Added State::getActiveUnit and usage of it in the glTexCopyImage*() implementations -2005-07-24 20:31 robert +Fri, 25 Mar 2005 11:06:44 +0000 +Checked in by : Robert OSFIELD +Made the ground intersection warning just output to INFO level. - * Added post draw callback to - osg::CameraNode/osgUtil::RenderToTextureStage. - - Added support for Texture1D, 2D, 3D and TextureRectangle into - osgUtil::RenderToTextureStage. +Thu, 24 Mar 2005 09:37:45 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, "updates for GLSL core integration: Code compiles and runs on win32. Basic functionality of Program and Shader in place. Program derived from StateAttribute. Uniform value propagation is not yet functional (in development) Includes some patches by Nathan Cournia. includes example testcase to demo use of new classes." -2005-07-24 11:06 robert +Wed, 23 Mar 2005 21:00:28 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, fixed constness of data return type - * Port Impostor across to use the new osg::CameraNode. +Wed, 23 Mar 2005 20:48:50 +0000 +Checked in by : Robert OSFIELD +From Randall Hopper, with small order tweak from Robert and addition to GNUmakefile.inst, added $(GDAL_LIBS) to fix build under FreeBSD. -2005-07-23 19:08 robert +Wed, 23 Mar 2005 20:38:40 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen: change paths to .cpp files from "examples" to "applications" - * Updated wrappers. +Wed, 23 Mar 2005 20:35:19 +0000 +Checked in by : Robert OSFIELD +Fixed indenting. -2005-07-23 19:05 robert +Wed, 23 Mar 2005 20:34:02 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen: "Fix for VS7.1 warning C4715: not all control paths return a value" - * Added osg::CameraNode to ImpostorSprite in prep for moving across - to using - camera node in pre rendering of impostors. +Wed, 23 Mar 2005 20:31:42 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, " Move update of shader values after shader rebuild opportunity, to ensure uniform state of shaders is consistent" -2005-07-23 15:21 robert +Wed, 23 Mar 2005 17:05:21 +0000 +Checked in by : Robert OSFIELD +Added extra controls for ParticleEffects. - * Attached ImpostorSpriteManager to the CullVisitor. +Wed, 23 Mar 2005 10:46:08 +0000 +Checked in by : Robert OSFIELD +Fixed the scaling in pixelSize computation and the autoscale usage of it. -2005-07-22 16:25 robert +Wed, 23 Mar 2005 10:41:51 +0000 +Checked in by : Robert OSFIELD +Removed multiple inheritance from TechniqueEventHandler. - * Renabled impostor support using old style RenderToTextureStage - setup. +Wed, 23 Mar 2005 08:30:15 +0000 +Checked in by : Robert OSFIELD +Commented out the if (!node->getName().empty()) return false; in isOperationPermissibleImplementation() -2005-07-22 09:31 robert +Tue, 22 Mar 2005 21:06:06 +0000 +Checked in by : Robert OSFIELD +Added MatrixManipulator::s/getIntersectTraversalMask(uint) to allow control of which subgraphs should be used in intersection calculations. Updated Terrain,Drive and UFO manipulator to use this new flag. - * Added glSissor suppor via new osg::Scissor class. - Added .osg support for osg::Scissor. - Added .ive support for osg::Viewport and osg::Scissor. +Tue, 22 Mar 2005 20:26:45 +0000 +Checked in by : Robert OSFIELD +Moved ParticleSystemUpdater into ParticleEffect nodes to simplify usage of nodes. -2005-07-22 08:21 robert +Tue, 22 Mar 2005 17:00:41 +0000 +Checked in by : Robert OSFIELD +Fixed the double transform of ParticleEffects - * Added missing typedef +Tue, 22 Mar 2005 12:11:03 +0000 +Checked in by : Robert OSFIELD +Updated sphere segment example to use original osgsimulation source, adding in terrain, moving models and particle effects. -2005-07-21 20:45 robert +Tue, 22 Mar 2005 12:04:03 +0000 +Checked in by : Robert OSFIELD +Corrected orientation of aeroplane and direction of rotation around earth. - * Fixed compile error. +Mon, 21 Mar 2005 00:33:37 +0000 +Checked in by : Don BURNS +Added getCameraByName method to viewer -2005-07-21 19:37 robert +Sun, 20 Mar 2005 23:57:17 +0000 +Checked in by : Don BURNS +Added getCameraByName method to viewer and home(double currentTime) to MatrixManipulator, UFO, Trackball and ANimation manipulator. - * Added GraphicsContextImplementation +Sun, 20 Mar 2005 23:29:05 +0000 +Checked in by : Don BURNS +Updated some visual studio files for the new applications. -2005-07-21 19:27 robert +Sun, 20 Mar 2005 21:43:33 +0000 +Checked in by : Don BURNS +Added (for real this time) application project files for visual studio - * Implemented the beginings of the - osgProducer::GraphicsContexImplementation. - - Added options into osgprerender for controlling how to do the pre - rendering i.e. - --fbo, --pbuffer, --fb --window, and also added the option for - controlling the - window size with --width and --height. +Fri, 18 Mar 2005 11:21:01 +0000 +Checked in by : Robert OSFIELD +Added support for handling transparent geometries and textures. -2005-07-21 08:43 robert +Fri, 18 Mar 2005 11:07:35 +0000 +Checked in by : Robert OSFIELD +Moved osgarchive, osgconv, osgdem, osgversion and osgviewer .dsp's to applications folder. - * Checked in graphics context. +Fri, 18 Mar 2005 10:46:15 +0000 +Checked in by : Robert OSFIELD +Moved COMPILE_EXAMPLES ?= no to top of Make/dependencies to make it more clear, and removed the application programs fully from the examples list -2005-07-20 19:42 robert +Fri, 18 Mar 2005 10:45:18 +0000 +Checked in by : Robert OSFIELD +Removed the redundent subclassing from osg::NodeVisitor in examples event handlers - * From Marco Jez (with tweaks by Robert Osfield) : clean up of - inheritance from std::vector<> classes +Fri, 18 Mar 2005 10:27:49 +0000 +Checked in by : Robert OSFIELD +updates to reflect changes to StateAttribute::Types -2005-07-20 15:55 robert +Fri, 18 Mar 2005 10:00:16 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, fixes to ProxyNode. - * Added new osg::GraphicsContext base class +Fri, 18 Mar 2005 09:48:09 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added OSGNVEXT_ prefex to StateAttribute enums. -2005-07-20 14:31 robert +Fri, 18 Mar 2005 09:37:46 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, "minor patches to osgFX consisting of changing from "state.matrix.modelview[0]" to the equivalent "state.matrix.modelview". Per ARB_vertex_program, the "[0]" syntax is supported only when EXT_vertex_weighting or ARB_vertex_blend are supported." - * Removed osgIntrospection wrappers +Fri, 18 Mar 2005 02:45:54 +0000 +Checked in by : Robert OSFIELD +Improvements to the handling of textures and texture coords. -2005-07-20 08:03 robert +Fri, 18 Mar 2005 02:45:02 +0000 +Checked in by : Robert OSFIELD +Made the can't find ground intersection message only appear as INFO. - * Updated wrappers +Fri, 18 Mar 2005 02:44:08 +0000 +Checked in by : Robert OSFIELD +Added support for a new IsOperationPermissibleForObjectCallback in osgUtil::Optimizer. -2005-07-19 20:40 robert +Fri, 18 Mar 2005 02:42:59 +0000 +Checked in by : Robert OSFIELD +Made supports(..) methods use support(const ...) - * Added wrapper projects and updates of autogenerated wrappers. +Fri, 18 Mar 2005 01:51:13 +0000 +Checked in by : Don BURNS +Randal Hopper fix to GNUmakefile for osgsimulation. -2005-07-19 20:01 robert +Thu, 17 Mar 2005 19:32:09 +0000 +Checked in by : Robert OSFIELD +Added extra controls into osgDB::DatabasePager for customizing how much time is allocated to compiling and deleting OpenGL objects, also added support into osgProducer::OsgSceneHandler.cpp for these new parameters.The new cotrols are: - * Added support for multiple colour buffers into - osg::CameraNode/osgUtil::CullVisitor + DatabasePager::s/getTargetFrameRate(..) + DatabasePager::s/getMinimumTimeAvailableForGLCompileAndDeletePerFrame() + DatabasePager::s/getMaximumNumOfObjectsToCompilePerFrame() -2005-07-19 16:30 robert - * Ported all the render to texture examples across to using the new - osg::CameraNode. - Added support for texture cube maps in FBO + CameraNode. -2005-07-15 21:47 robert +Thu, 17 Mar 2005 18:29:56 +0000 +Checked in by : Don BURNS +Removed redundant examples, that have been moved to the applications directory - * Updated wrappers +Thu, 17 Mar 2005 14:40:30 +0000 +Checked in by : Robert OSFIELD +Added guard to texture image to avoid seg fault when dealing with incomplete databases. -2005-07-15 19:24 robert +Thu, 17 Mar 2005 10:24:22 +0000 +Checked in by : Robert OSFIELD +Added check against node.getName() into isNodeEmpty(Node&) method so that nodes with names arn't assumed to be empty. - * Added return 1. +Thu, 17 Mar 2005 08:54:23 +0000 +Checked in by : Robert OSFIELD +Added if (image ..) check to prevent seg fault on imcomplete models -2005-07-15 16:26 robert +Wed, 16 Mar 2005 20:44:10 +0000 +Checked in by : Robert OSFIELD +Added --addMissingColours / --addMissingColor support into osgconv which provides a mechansim for adding in a white colour where none previously existed. This solves the problem that exists on some databases where no colour is present, causing the colour to be inherited randomly. - * Added .osg suppot for new alignment modes +Wed, 16 Mar 2005 14:48:52 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added UFOManipulator to osgGA project file. -2005-07-15 16:22 robert +Wed, 16 Mar 2005 14:14:12 +0000 +Checked in by : Robert OSFIELD +Added --smooth option to osgconv - * From Yuri Vilmanis, improved multi-line justifaction support and - new alignment modes +Wed, 16 Mar 2005 14:09:03 +0000 +Checked in by : Robert OSFIELD +Removed applications from examples list -2005-07-15 14:41 robert +Mon, 14 Mar 2005 09:28:31 +0000 +Checked in by : Robert OSFIELD +Changed tabs to four spaces - * Renamed Byte2,3,4 and Short2,3,4 and UByte4 to use the Vec*b, - Vec*s and Vec4ub form +Mon, 14 Mar 2005 09:13:38 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, fix for data corruption bug in TypedMethodInfo*::invoke() -2005-07-15 10:48 robert +Sun, 13 Mar 2005 21:22:56 +0000 +Checked in by : Robert OSFIELD +Added guard to osgdem build - * From Brede Johansen, fixed range check +Sun, 13 Mar 2005 17:51:31 +0000 +Checked in by : Don BURNS +Added GNUmakefile for the new applications directory -2005-07-15 09:56 robert +Sun, 13 Mar 2005 17:26:52 +0000 +Checked in by : Robert OSFIELD +Added osgGL2 to .ive list of dependencies - * Fixed bug in ProxyNode write out where non existant children were - written out. +Sun, 13 Mar 2005 05:02:02 +0000 +Checked in by : Don BURNS +Chagned osg::Matrix to osg::Matrixd -2005-07-15 08:32 robert +Sun, 13 Mar 2005 01:47:46 +0000 +Checked in by : Don BURNS +Added applications directory. Copied (not moved) osgarchive osgconv osgdem osgversion osgviewerinto applications directory. Leaving them in the examples directory +as well, for now. - * Added reference frame to TexGenNode +Made examples optional via the make COMPILE_EXAMPLES=yes option -2005-07-15 08:31 robert +Added static lib and static plugin build support. - * Cleaned up osghud and osgprerender examples -2005-07-14 21:04 robert - * Updates +Sat, 12 Mar 2005 15:57:44 +0000 +Checked in by : Don BURNS +Added M_PI definition for winders -2005-07-14 20:32 robert +Sat, 12 Mar 2005 05:31:26 +0000 +Checked in by : Don BURNS +Added a few things to osgProducer::Viewer to support UFO manipulator and cleaned up UFOManipulator. - * Fix PagedLOD::addChild(,,) so that they allocate the correct size - of range data. +Fri, 11 Mar 2005 20:29:21 +0000 +Checked in by : Robert OSFIELD +Added support for set/getUniform and set/getProgram into osg::StateSet. -2005-07-14 13:21 robert +Fri, 11 Mar 2005 20:19:16 +0000 +Checked in by : Robert OSFIELD +Fixed old handle(..) method call parameters - * Added back in the call to drawPreRenderStages() as this shouldn't - interfere - with the stereo code in SceneView as RenderStage should - automatically only - allow themselves to be draw on per frame. +Fri, 11 Mar 2005 17:48:01 +0000 +Checked in by : Don BURNS +Added methods getCameraManipulatorNameList() and selectCameraManipulatorByName(). -2005-07-14 10:34 robert +Fri, 11 Mar 2005 17:46:34 +0000 +Checked in by : Don BURNS +Added the 'H' - home to usage message - * Removed the set culling active flag setting +Fri, 11 Mar 2005 17:46:12 +0000 +Checked in by : Don BURNS +Changed class name to UFO instead of UFOManipulator to conform to the other manipulators -2005-07-14 10:27 robert +Fri, 11 Mar 2005 09:53:13 +0000 +Checked in by : Robert OSFIELD +Improvements to handling smoothing - * From Mike Weiblen, addiding of Program::validateProgram and - osg::isNotifyEnabled() method +Fri, 11 Mar 2005 06:10:07 +0000 +Checked in by : Don BURNS +Added UFO Manipulator to Viewer -2005-07-14 10:18 robert +Fri, 11 Mar 2005 06:09:38 +0000 +Checked in by : Don BURNS +Added UFOManipulator to Viewer - * Changed osgpagedlod example to convert LOD nodes into PagedLOD - ones. +Fri, 11 Mar 2005 06:09:16 +0000 +Checked in by : Don BURNS +Added UFO manipulator -2005-07-14 10:17 robert +Thu, 10 Mar 2005 11:11:57 +0000 +Checked in by : Robert OSFIELD +Added null pointer check to avoid crash - * Added missing copy _referenceFrame in copy constructor +Wed, 9 Mar 2005 22:01:15 +0000 +Checked in by : Robert OSFIELD +Added support for writing base layer 0 texture into texture layer 1 and above to use as a background. -2005-07-10 14:50 robert +Wed, 9 Mar 2005 20:40:31 +0000 +Checked in by : Robert OSFIELD +Improvements to MultiTextureControl and texture layer handling in osgTerrain::DataSet. - * Ported osgshadow across to using new osg::CameraNode +Wed, 9 Mar 2005 16:54:10 +0000 +Checked in by : Robert OSFIELD +Added osgFX::MultiTextureControl node for managing blending between different texture layers. -2005-07-09 14:35 robert +Tue, 8 Mar 2005 16:51:48 +0000 +Checked in by : Robert OSFIELD +Added basic multiple texture layer support into osgTerrain::DataSet. - * Ported osgdistortion example across to using osg::CameraNode. +Mon, 7 Mar 2005 22:02:44 +0000 +Checked in by : Robert OSFIELD +First steps to adding support for multiple texture layers. -2005-07-09 09:56 robert +Mon, 7 Mar 2005 17:25:30 +0000 +Checked in by : Robert OSFIELD +From Ruben, added handling of vertex indices.Note from Robert. New codes produces errors when running +osgfxbrowser cow.osg so I have elected to keep the original +implementation of compute_basis_vectors around and as the default +compile to keep the CVS version working. Ruben's new version +of compute_basis_vectors has to be explicitly compiled in by +toggling an #if 1 block to #if 0. - * From Paul Martz, fix to memory leak of StateSet's -2005-07-08 19:45 robert - * From Jason Beverage, fix to setting of grey band. +Mon, 7 Mar 2005 14:38:43 +0000 +Checked in by : Robert OSFIELD +Sebastien Grignard, fixed getMember methods to properly use const type. -2005-07-08 19:33 robert +Mon, 7 Mar 2005 14:30:55 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, improved Texture2D and Image handling of compare(). - * From Tom Jolly, added setPulse +Mon, 7 Mar 2005 14:27:34 +0000 +Checked in by : Robert OSFIELD +Added ProxyNode.h -2005-07-08 14:46 robert +Mon, 7 Mar 2005 14:16:15 +0000 +Checked in by : Robert OSFIELD +Added support for event callbacks - * From Marco Jez, added missing method implementations to - CameraNode and - added check to ensure FBO extension is support to - RenderToTextureStage. +Mon, 7 Mar 2005 14:14:35 +0000 +Checked in by : Robert OSFIELD +From Sebastien Grignard, added support for reading and writing callbacks -2005-07-07 14:14 robert +Mon, 7 Mar 2005 14:06:09 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, addition of ProxyNode, with support in .osg, .ive and .flt loaders - * Tweaks for better OSX paging support, 6 and 9 keys for control - drive manipulator - up and down looking, and removed redundent API from - osg::Geometry. +Mon, 7 Mar 2005 12:32:58 +0000 +Checked in by : Robert OSFIELD +Fixed tabbing. -2005-07-05 15:57 robert +Mon, 7 Mar 2005 12:14:24 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, "Current version of the LWO plugin creates one Geode with a single Geometry for each Lighwave surface, in order to keep surface names (geometries can't have names). The attached fix adds a plugin option named "COMBINE_GEODES" that allows to place all geometries under a single Geode whenever possible, thus offering better chances of further optimization through osgUtil::Optimizer. The downside is that surface names are no longer stored in the scene graph when using this option." - * From Pavel Moloshtan, Byte2,3,4 and Short2,3,4 classes and their - Array counterparts. - With a few build tweaks and bug fixes by Robert Osfield. +Mon, 7 Mar 2005 12:05:48 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, warning fix for VS7.1 -2005-07-03 19:58 robert +Mon, 7 Mar 2005 12:05:22 +0000 +Checked in by : Robert OSFIELD +Added the use of pixel buffer object in ImageStream so that it is only compiled in on non OSX platforms. - * Changed notice to be an info message +Mon, 7 Mar 2005 11:58:41 +0000 +Checked in by : Robert OSFIELD +Added looping -2005-07-02 08:11 robert +Thu, 3 Mar 2005 12:40:15 +0000 +Checked in by : Robert OSFIELD +Added checking for video file via normal file path checking and handling of .xine extension as a special case for XINE style filenames. - * Added support for equalizing the normals along tile boundaries. +Thu, 3 Mar 2005 12:35:07 +0000 +Checked in by : Robert OSFIELD +Added video aliases to xine plugin -2005-07-01 09:10 robert +Thu, 3 Mar 2005 12:33:07 +0000 +Checked in by : Robert OSFIELD +Added improved handling of center justificaion of multiline text - * Added support for point sprites +Thu, 3 Mar 2005 12:25:37 +0000 +Checked in by : Robert OSFIELD +Added EDventVisitor reference -2005-06-30 09:08 robert +Wed, 2 Mar 2005 15:06:23 +0000 +Checked in by : Don BURNS +In osg::isGLUExtensionSupported, fixed gluGetString to call GLU_EXTENSIONS rather than GL_EXTENSIONS. - * Added tri sripping and support for outputing files. +Sat, 26 Feb 2005 21:44:16 +0000 +Checked in by : Robert OSFIELD +From Paul Melis, fixed typo of setFunctionMask. -2005-06-30 07:59 robert +Fri, 25 Feb 2005 23:02:23 +0000 +Checked in by : Robert OSFIELD +Improved support GUIEventHandler's being node event callbacks. - * Romoved redudent gdal link +Fri, 25 Feb 2005 23:01:07 +0000 +Checked in by : Robert OSFIELD +Added event callback to Optizimer isNodeEmpty function -2005-06-29 15:52 robert +Fri, 25 Feb 2005 14:02:48 +0000 +Checked in by : Robert OSFIELD +Added support for new event visitor type into osgGA and osgProducer::Viewer, and event callback into Drawable. - * Added smoothing and tri strip pass. +Fri, 25 Feb 2005 11:26:28 +0000 +Checked in by : Robert OSFIELD +Added reference to avifile based plugin. -2005-06-29 10:23 robert +Fri, 25 Feb 2005 08:38:05 +0000 +Checked in by : Robert OSFIELD +New simplified timer implementation. - * Added support nesting the parameter specification within a - [x,y,z] block and - float parameters +Thu, 24 Feb 2005 17:07:37 +0000 +Checked in by : Robert OSFIELD +Added pause, rewind and play support into xine plugin. -2005-06-29 10:21 robert +Thu, 24 Feb 2005 13:33:35 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, adding prelimimnary GL Shader Language support into core OSG lib. with renaming and reordering by Robert Osfield, - * From Colin McDonald, build fix for Solaris +Wed, 23 Feb 2005 12:50:10 +0000 +Checked in by : Robert OSFIELD +Made Referenced::ref() and unref() inline methods. -2005-06-28 17:53 robert +Tue, 22 Feb 2005 20:56:56 +0000 +Checked in by : Robert OSFIELD +Removed the default play() in the MPEG, QuickTime and Xine plugins, moving it into the osgmovie application, and into readNodeFile method where --movie is now available for detecting movie code. - * From Mike Weiblen, icon file. +Tue, 22 Feb 2005 20:25:58 +0000 +Checked in by : Robert OSFIELD +Made the osg::Referenced Mutex be declared as a pointer to a Mutex, with the Mutex allocated dynamically when required. Added the following methods to help manage the usage of the mutex: void setThreadSafeRefUnref(bool threadSafe); -2005-06-28 09:34 robert + bool getThreadSafeRefUnref() const; - * From Mike Weiblen, "some polish for 1.0: centralizes the icon - resource definition and adjusts all - app and example projects to use that single defn. The various - existing - resources.rc files should be deleted." -2005-06-27 14:28 robert - * Added / and * controls of the distance attentuations of the point - size extension +Tue, 22 Feb 2005 19:19:50 +0000 +Checked in by : Robert OSFIELD +Added support for control the pitch of the drive manipulator via the up and down cursor keys. -2005-06-27 08:54 robert +Tue, 22 Feb 2005 14:42:14 +0000 +Checked in by : Robert OSFIELD +Added size of Mutex. - * Added missing dirtyBound(). +Tue, 22 Feb 2005 13:34:24 +0000 +Checked in by : Robert OSFIELD +Added improved PBO support. -2005-06-24 20:19 robert +Tue, 22 Feb 2005 11:55:30 +0000 +Checked in by : Robert OSFIELD +Fixes from Marco Jez. - * From David Spilling, fixed the incircle test so it handles - colinear points. +Tue, 22 Feb 2005 10:16:22 +0000 +Checked in by : Robert OSFIELD +From Igor Kravtchenko, add #define's for OpenGL float internal texture formats. -2005-06-24 19:50 robert +Tue, 22 Feb 2005 10:08:01 +0000 +Checked in by : Robert OSFIELD +Changed the Switch::addChild(Node*) behavior so it doesn't override the any pre-exisitng _values value. - * From Colin McDonald, - "On fixing the pointer access I discovered that reading osga - archives - containing ive files went into a cpu loop. This turned out to be - a - problem with proxy_streambuf on Solaris. Public methods in the - Solaris - streambuf standard library implementation rely on the gptr() - being set, - which proxy_streambuf was not doing. So I have modified - proxy_streambuf to set the input sequence pointers, and have also - aligned it more with the standard library streambuf - implementation - where all input is through underflow(), not uflow() which merely - calls - underflow() and advances the pointer." - - From Robert Osfield, change from using pointer cast and - assignment to using - a templated _write and _read method to avoid pointer aliasing to - 2/4/8 - byte boundaries that some computer system may produce. These - changes - where inspried by Colin McDonalds change to using memcpy, these - changes weren't merged as memcpy is not as clear in naming as - _read, - _write and memcpy will incurr a function call just for copy a - uint. +Mon, 21 Feb 2005 17:02:44 +0000 +Checked in by : Robert OSFIELD +Added support for interpolating low res source data onto higher res destination tiles. -2005-06-24 15:39 robert +Tue, 15 Feb 2005 09:37:20 +0000 +Checked in by : Robert OSFIELD +Tweak to comment. - * From Colin McDonald: - - "Some makedefs fixes for Solaris: - - For multithreaded applications the -mt option must be specified - on both - the compile and link steps, to ensure correct behaviour. - According to - the Sun compiler documentation it sets REENTRANT flags in the - system - header files, and links the -lthread library in the correct - order. - - When compiling shared libraries the -KPIC option should be - specified. - Although Solaris will handle shared libraries without - position-independent code there is a performance penalty. The - linker - reference manual says: 'If a shared object is built from code - that is - not position-independent, the text segment will usually require a - large - number of relocations to be performed at runtime. Although the - runtime - linker is equipped to handle this, the system overhead this - creates can - cause serious performance degradation'." +Mon, 14 Feb 2005 15:17:20 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, fix to nested OpenFlight file problem. -2005-06-24 15:34 robert +Sun, 13 Feb 2005 18:10:05 +0000 +Checked in by : Robert OSFIELD +Made conversion use BGRA. - * From Martijn Kragtwijk: "I ran into the same problems as Karl - Martensson - (http://openscenegraph.org/archiver/osg-users/2005-June/0575.html); - after switching children of a Switch node off and on again, they - become - unpickable. This issue occurs first in 0.9.9, with 0.9.8 - everything is fine. - My fix involves calling dirtyBound() every time the on/off-values - of the - Switch are changed" +Sun, 13 Feb 2005 16:35:52 +0000 +Checked in by : Robert OSFIELD +Added usage of the new xine_register_plugins() call. -2005-06-24 15:30 robert +Sun, 13 Feb 2005 15:07:41 +0000 +Checked in by : Robert OSFIELD +Disable the MMX usage - * From David Guthrie, "The call NSLookupAndBindSymbol was changed - to - NSLookupSymbolInModule. The former call would lookup the named - symbol NOT in the current dynamic library, but in the entire - running - program while the call NSLookupSymbolInModule, takes the handle - to - the library the symbol should be found in. This means the current - code will fail if one loads multiple bundles at runtime and - attempts - to load the same named symbol from each one." +Sat, 12 Feb 2005 19:47:38 +0000 +Checked in by : Robert OSFIELD +Remerged Tugkan's fix to flatten static transforms. -2005-06-24 15:15 robert +Sat, 12 Feb 2005 16:49:28 +0000 +Checked in by : Robert OSFIELD +Put spaitalize groups to end. - * Moved the working createPagedLODScene() implemention into - createScene() - method replacing the original flaky code. +Sat, 12 Feb 2005 16:24:28 +0000 +Checked in by : Robert OSFIELD +From Tugkan Calapoglu, bug fix to FLATTEN_STATIC_TRANSFORMS. Small tweak of the code to make the comparison against Identity matrix clearer. -2005-06-22 11:26 robert +Fri, 11 Feb 2005 20:43:50 +0000 +Checked in by : Robert OSFIELD +Added --prune-StateSet option into osgconv for bottleneck testing. - * From Mike Weiblen, fixes to shaders to correct modification of - varying types +Fri, 11 Feb 2005 17:22:55 +0000 +Checked in by : Robert OSFIELD +Fixed spatial groups. -2005-06-22 11:02 robert +Fri, 11 Feb 2005 16:43:54 +0000 +Checked in by : Robert OSFIELD +Added support for fixing transprency on objects that should have been placed in the opaque bin. - * Disabled NPO2T on GeforceFX. +Fri, 11 Feb 2005 10:09:06 +0000 +Checked in by : Robert OSFIELD +From Sebastien Grignard, fixed memory leak where header and databuffers wern't deleted. -2005-06-22 11:01 robert +Fri, 11 Feb 2005 10:00:50 +0000 +Checked in by : Robert OSFIELD +Added support into passing the ReaderWriter::Options structure onto readImageFile - * Added experimental OpenGL shader path for positioning of trees - (doens't work yet though..) +Fri, 11 Feb 2005 09:59:16 +0000 +Checked in by : Robert OSFIELD +Removed debugging messages -2005-06-21 16:10 robert +Fri, 11 Feb 2005 09:58:30 +0000 +Checked in by : Robert OSFIELD +Added new utilities for handling different '/' and '\' entries. - * Added option for terrain texturing. +Thu, 10 Feb 2005 21:30:03 +0000 +Checked in by : Robert OSFIELD +Removed redundent _nodePath entry. -2005-06-21 15:24 robert +Thu, 10 Feb 2005 21:18:04 +0000 +Checked in by : Robert OSFIELD +From Chris Xennon, add support for billboard intersections + fix to addLineSegments.Small addition from Robert Osfield of setLODSelectionMode(..) to control +the LOD selection behavior. - * Added matrix and simple vertex shader paths. -2005-06-21 15:13 robert - * Combined uniforms. +Thu, 10 Feb 2005 20:38:50 +0000 +Checked in by : Robert OSFIELD +From Igor Kravtchenko, new HDR plugin. -2005-06-21 12:12 robert +Thu, 10 Feb 2005 20:21:01 +0000 +Checked in by : Robert OSFIELD +warning fix - * Tweaked the vertex program. +Thu, 10 Feb 2005 20:14:22 +0000 +Checked in by : Robert OSFIELD +Put pixel buffer define's into their own block. -2005-06-20 21:10 robert +Thu, 10 Feb 2005 15:53:19 +0000 +Checked in by : Robert OSFIELD +Fixed the pixelFormat to be RGBA. - * Added very simply osgparametric example which uses an OpenGL - shader program - to create an animated parametric surface. +Thu, 10 Feb 2005 15:52:18 +0000 +Checked in by : Robert OSFIELD +Implemented the osg::Image::isImagTranslucent function. -2005-06-20 10:38 robert +Wed, 9 Feb 2005 16:18:44 +0000 +Checked in by : Robert OSFIELD +Changed the mpeg plugin to read movies the original way up rather than the OpenGL way up to keep them consistent with the xine and quicktime movie codes - * From Tom Jolly, added method for getting the number of frames. +Wed, 9 Feb 2005 15:31:33 +0000 +Checked in by : Robert OSFIELD +Created local XineImageStream class to ensure xine streams are cleaned up correctly. -2005-06-20 10:36 robert +Wed, 9 Feb 2005 14:27:54 +0000 +Checked in by : Robert OSFIELD +Added setting of the filename - * From Mike Weiblen, - " - adjustments to improve namespacing on VS - - clarify compilation status message" +Wed, 9 Feb 2005 13:22:23 +0000 +Checked in by : Robert OSFIELD +Added getenv OSG_XINE_AUDIO_DRIVER to xine plugin to allow users to set what the default audio to use -2005-06-20 10:28 robert +Wed, 9 Feb 2005 12:29:09 +0000 +Checked in by : Robert OSFIELD +Commented out the debug messages, added back in the audio into the xine plugin - * From Andreas Jochens (submitted by Loic Dachary), addintion of - forward declare - of class Progam; to fix compile problem under gcc4.0/amd64/debian - unstable. +Wed, 9 Feb 2005 11:30:42 +0000 +Checked in by : Robert OSFIELD +Added vertical offset to multiple movies instances -2005-06-20 10:16 robert +Wed, 9 Feb 2005 10:39:45 +0000 +Checked in by : Robert OSFIELD +Added osg::BufferObject and a made a number associated to accomodate this new class. osg::BufferObject wraps up OpenGL pixel and array buffer objects. Currently implementation is work in progress. - * From Mike Weiblen, added OSG_EXPORT to FrameBufferObject files. +Mon, 7 Feb 2005 20:45:52 +0000 +Checked in by : Robert OSFIELD +Removed the repeated entry of HiehgtFieldNode in include list -2005-06-16 14:01 robert +Mon, 7 Feb 2005 20:44:18 +0000 +Checked in by : Robert OSFIELD +From Paul Melis, fixed the setFrameStatsMode() method - * Further FBO support work. +Mon, 7 Feb 2005 17:28:03 +0000 +Checked in by : Robert OSFIELD +Added the full set of buffer object methods -2005-06-16 13:53 robert +Mon, 7 Feb 2005 15:00:02 +0000 +Checked in by : Robert OSFIELD +Temporarily added xine video_out_rgb xine-plugin inline to the OSG's xine plugin - * From Pavel Moloshtan, added support of - Drawable::Extensions::glDeleteQueries() +Sun, 6 Feb 2005 10:14:26 +0000 +Checked in by : Robert OSFIELD +Changed the LightSource::setReferenceFrame() read code so that it doesn't enable the culling active flag if its was already set to false. -2005-06-16 11:45 robert +Fri, 4 Feb 2005 20:36:50 +0000 +Checked in by : Robert OSFIELD +Turned off lighting. - * Added copyright notices. +Fri, 4 Feb 2005 19:34:46 +0000 +Checked in by : Robert OSFIELD +Added prototype xine movie plugin. -2005-06-16 11:42 robert +Fri, 4 Feb 2005 03:58:49 +0000 +Checked in by : Don BURNS +Updated IRIX dist generation file for IRIX binaries - * Moved FBO support from osgfbo example into core osg. +Thu, 3 Feb 2005 13:10:03 +0000 +Checked in by : Robert OSFIELD +Change unsigned long to unsigned int to avoid 64/32 bit problems. -2005-06-15 20:06 robert +Wed, 2 Feb 2005 22:13:07 +0000 +Checked in by : Don BURNS +Added Viewport State Attribute to .osg reader/writer - * Futher work on FBO support +Wed, 2 Feb 2005 15:08:55 +0000 +Checked in by : Robert OSFIELD +From, Leandro Motta Barros, Doxygen comments.Ammendments by Robert Osfield, a few comment rewrites to better reflect API functionality/usage. -2005-06-15 20:05 robert - * Added automatic creation of texture when size is set but not - osg::Image is assigned. - This is useful for FBO usage. -2005-06-15 11:49 robert +Tue, 1 Feb 2005 22:36:05 +0000 +Checked in by : Robert OSFIELD +Added support for modulating alpha values - * From David Guthrie, " In the constructor - in removes any options beginning with "-psn" from argv on OSX by - calling the "remove" method. When a .app run is created in OSX, - which is required to get a fully functioning UI application, the - OSX - finder passes a -psn_XXXX option to the application where the - XXXX - refers to a unique process number. An example option would be "- - psn_0_37617665". The argument parser was choking on this option - in - all the osg example applications." +Tue, 1 Feb 2005 15:03:14 +0000 +Checked in by : Robert OSFIELD +Removed debugging messages. -2005-06-15 10:59 robert +Tue, 1 Feb 2005 13:19:34 +0000 +Checked in by : Robert OSFIELD +Added support for OSG_CAMERA_THREADING env variable which is set to "SingleThreaded" will ensure that OsgCameraGroup runs singe threaded. - * Added osgmultiplecameras example and support for pre/post - multiplaction. +Tue, 1 Feb 2005 10:38:08 +0000 +Checked in by : Robert OSFIELD +Added support for internalTextureMode -2005-06-14 20:51 robert +Tue, 1 Feb 2005 09:38:07 +0000 +Checked in by : Robert OSFIELD +Added conversion of dataType to GL_UNSIGNED in raw data reading path. - * Work on the RenderToTexture usage of the new osg::CameraNode. - Both osghud - and osgprerender now ported across to osg::CameraNode. +Tue, 1 Feb 2005 09:02:01 +0000 +Checked in by : Robert OSFIELD +Added code for rescaling images. -2005-06-14 13:16 robert +Tue, 1 Feb 2005 09:00:32 +0000 +Checked in by : Robert OSFIELD +Added red, green, blue and alpha values. - * Added osg::CameraNode. +Tue, 1 Feb 2005 09:00:10 +0000 +Checked in by : Robert OSFIELD +Added support for 8 parameters. -2005-06-14 09:12 robert +Mon, 31 Jan 2005 20:09:24 +0000 +Checked in by : Robert OSFIELD +Added support for raw image formats - * Removed reference to non existant AVI plugin +Fri, 28 Jan 2005 17:24:47 +0000 +Checked in by : Robert OSFIELD +Removed include of Producer/RenderSurface -2005-06-14 08:48 robert +Fri, 28 Jan 2005 16:09:11 +0000 +Checked in by : Robert OSFIELD +From Tree, removed redundent "inline"s - * Fixed position of glBindBuffer. +Fri, 28 Jan 2005 11:01:11 +0000 +Checked in by : Robert OSFIELD +Added definitation for GL_COMPRESSED_* tokens for case where early OpenGL headers don't provide them. -2005-06-13 20:03 robert +Thu, 27 Jan 2005 20:26:51 +0000 +Checked in by : Robert OSFIELD +Moved the template function into the global namespace. - * Fixed with the reprojection so that it doesn't promote all source - data to - RGBA, but only does this for RGB data. +Thu, 27 Jan 2005 20:18:49 +0000 +Checked in by : Robert OSFIELD +Fixes to osg::Image's handling of compressed formats. -2005-06-13 11:14 robert +Thu, 27 Jan 2005 15:54:10 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build - * From Ken Sewell, fixed for x86_64 build. +Thu, 27 Jan 2005 14:54:33 +0000 +Checked in by : Robert OSFIELD +Added /Zm 200 option to avoid heap problems -2005-06-09 19:02 robert +Thu, 27 Jan 2005 14:39:58 +0000 +Checked in by : Robert OSFIELD +From Nicolas Brodu, new faster osg::Quat::makeRotate(Vec3d,Vec3d) implmentation.From Robert Osfield, modes to osg::Quat to keep the original implmentation around +as makeRotate_original(,) and added tests into osgunittest to test the new +methods provide equivilant results to the original implemementation. The +orignal implementation will be removed once the new method is more widely tested. - * From Marco Jez, added project files for osgfbo example. -2005-06-09 11:53 robert - * Fixed makefiles +Thu, 27 Jan 2005 13:23:46 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, minor tweaks to docs on getDescriptions. -2005-06-09 11:08 robert +Thu, 27 Jan 2005 13:15:21 +0000 +Checked in by : Robert OSFIELD +From Leandro Motta Barros, doxygen comments - * From Marco Jez, added example that uses FBO extension to do - prerendering. +Thu, 27 Jan 2005 11:18:33 +0000 +Checked in by : Robert OSFIELD +Changed template instances to template -2005-06-09 09:27 robert +Thu, 27 Jan 2005 11:16:03 +0000 +Checked in by : Robert OSFIELD +Fixed tabbing. - * Added \n to end of a couple shader source lines. +Thu, 27 Jan 2005 11:10:50 +0000 +Checked in by : Robert OSFIELD +Changed Font::setSize to Font::setFontResolution -2005-06-09 08:29 robert +Tue, 25 Jan 2005 22:15:40 +0000 +Checked in by : Robert OSFIELD +From Donn Mielcarek, change of long and unsigned long to int32 and uint32 to avoid 32bit vs 64bit issues. - * Added texture2D shader source +Sat, 22 Jan 2005 16:55:48 +0000 +Checked in by : Robert OSFIELD +From Mason Menninger, addition of setTrackballSize() parameter. -2005-06-08 15:57 robert +Sat, 22 Jan 2005 15:41:03 +0000 +Checked in by : Robert OSFIELD +From Leandro Motta Barros, Doxygen comments for OsgCameraGroup and Viewer. With a few small ammendments/additions from Robert Osfield. - * Added experiment GLSL fragment shader to clip out dark areas of - videos. +Fri, 21 Jan 2005 21:00:33 +0000 +Checked in by : Robert OSFIELD +From Yuzhong Shen, removed repeated statements in Hit operator =. -2005-06-08 13:20 robert +Fri, 21 Jan 2005 19:33:56 +0000 +Checked in by : Robert OSFIELD +From Kevin Moiule, rewrote PNM plugin to handle grayscale PNM images. - * Updated wrappers. +Fri, 21 Jan 2005 19:31:56 +0000 +Checked in by : Robert OSFIELD +build fix -2005-06-08 13:16 robert +Fri, 21 Jan 2005 19:30:35 +0000 +Checked in by : Robert OSFIELD +From Tree, add get methods - * Moved the set/getName() support from osg::Node etc into the - osg::Obejct - base class +Fri, 21 Jan 2005 19:28:50 +0000 +Checked in by : Robert OSFIELD +Change dhte CullSettings to be correct to new changes in osgProducer -2005-06-08 10:39 robert +Fri, 21 Jan 2005 19:21:01 +0000 +Checked in by : Robert OSFIELD +Fixed the input/output handling of ReferenceFrame values to be RELATIVE and ABSOLUTE rather than long original names. - * Added sizeof(std::string) test to osgunittests +Fri, 21 Jan 2005 19:15:13 +0000 +Checked in by : Robert OSFIELD +From Tugkan Calapoglu, bugfix to prevents reloading already loaded images. -2005-06-08 10:36 robert +Wed, 12 Jan 2005 15:37:02 +0000 +Checked in by : Robert OSFIELD +From Rainer Oder, with additions from Robert. osgslice example which generates a 3d volume from a source geometry model. - * From Mike Weiblen, added GLSL datatypes mat2 and mat3 to - osg::Uniform, with .osg and .ive support +Wed, 12 Jan 2005 10:32:36 +0000 +Checked in by : Robert OSFIELD +From Fredrick Mammond, fix to 64 bit build. -2005-06-08 08:33 robert +Sun, 9 Jan 2005 19:30:56 +0000 +Checked in by : Robert OSFIELD +Added setImageReadFormat and setImageReadDataType methods to RenderToTextureStage to allow customization of what format/data type to read such as reading from the depth buffer etc. - * From Mike Weiblen, "modified .rot pseudoloader plugin so rotation - order actually matches the embedded documentation" +Sat, 8 Jan 2005 10:21:49 +0000 +Checked in by : Robert OSFIELD +Tweaked the #define's of GL_ALPHA_MIN_SGIX and GL_ALPHA_MAX_SGIX to ensure compilation across OGL drivers. -2005-06-06 10:18 robert +Fri, 7 Jan 2005 20:36:04 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, support for 16bit imagery. - * From Mathia Walker: bug fix to LOD ranges in TXP plugin to avoid - cracks: - - "I took a closer look at the conditional code in - SeamFinder::seamReplacement(). - - Because _info.minRange is a double and lod->getMinRange(0) is a - float, - the difference will be calculated with double precision. If - _info.minRange is cast as a float it is exactly the same value as - lod->getMinRange(0) and the difference is exactly zero. - - So if you change - - - if((fabs(_info.minRange-lod->getMinRange(0))<0.001)&&(fabs(_info.lod0Range-lod->getMaxRange(0))<0.001)) - - to - - - if((fabs((float)_info.minRange-lod->getMinRange(0))<0.001)&&(fabs((float)_info.lod0Range-lod->getMaxRange(0))<0.001)) - - it works a lot better." +Fri, 7 Jan 2005 20:24:36 +0000 +Checked in by : Robert OSFIELD +From Kevin Moule, fix to memory overwrite error. -2005-06-05 18:41 robert +Fri, 7 Jan 2005 20:01:06 +0000 +Checked in by : Robert OSFIELD +From Tree, change to naming of plugins when building OSG with Java to avoid conflicts. - * Changed VisualStudio 7.0 reference to 7.x +Fri, 7 Jan 2005 19:00:40 +0000 +Checked in by : Robert OSFIELD +From Tree, moved GL_ #define's out of osg namespaces -2005-06-05 18:40 robert +Fri, 7 Jan 2005 14:31:33 +0000 +Checked in by : Robert OSFIELD +Fixed crash in osgUtl::Simplifier which was due to an dereference of an empty array. - * From Adam Richard, fixed typos + explanation how to use project - files. +Wed, 5 Jan 2005 17:14:38 +0000 +Checked in by : Robert OSFIELD +Cleaned up the types. -2005-05-31 06:21 robert +Wed, 5 Jan 2005 16:16:52 +0000 +Checked in by : Robert OSFIELD +From Fredric Mammond, fix for build using full extension checked mechansim - * From Tim Daust, "I fixed the getScale functions in matrixf and - matrixd. It was returning the values of the diagonal - of the matrix, which only returns the scale if there - is not a rotation. I fixed this by returning the - length of the vectors that form the basis. - I also added a function to orthonormalize the - rotation component of the matrix. I seem to always run - into situations where non uniform (or even uniform) - scale complicate my calculations, and I thought other - members of the community could use this function as - well." +Mon, 3 Jan 2005 16:42:27 +0000 +Checked in by : Robert OSFIELD +From Fredric Mammond, addid osgblendequation and osglogicop examples. -2005-05-31 05:48 robert +Mon, 3 Jan 2005 16:39:28 +0000 +Checked in by : Robert OSFIELD +From Fredric Mammond, added new osg::BlendEquation state attribute wrapping up glBlendEquation. - * Small fixes to NEWS +Mon, 3 Jan 2005 13:49:35 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, fixed handling of loading of relative file paths. -2005-05-31 05:47 robert +Mon, 3 Jan 2005 12:27:58 +0000 +Checked in by : Robert OSFIELD +Added stripping of trailing spaces to readline call to fix problems associated with eroneous spaces hanging around at ends of lines causing string matching problems - * Changed char* to const char* +Mon, 3 Jan 2005 11:20:21 +0000 +Checked in by : Robert OSFIELD +Added check against ac as extension. -2005-05-31 05:46 robert +Fri, 17 Dec 2004 22:31:54 +0000 +Checked in by : Don BURNS +Changed INST_LOCATION = to INST_LOCATION ?= - * From Tom Jolly, fixes to the mapping of the billboard rotate - mode. +Fri, 17 Dec 2004 20:51:55 +0000 +Checked in by : Don BURNS +Added computeBound to osg::Switch, which now checks to see if a child is enabled before computing its bound. -2005-05-31 05:37 robert +Fri, 17 Dec 2004 01:06:33 +0000 +Checked in by : Robert OSFIELD +Property API clean to smooth the task of generating wrappers. - * Added ability to toggle on/off the pre compile of OpenGL objects - in the - DatabasePager via the setDoPreCompile(bool) method or via the env - var - OSG_DO_PRE_COMPILE=ON or OFF. +Thu, 16 Dec 2004 06:15:34 +0000 +Checked in by : Robert OSFIELD +Provisional lists for what are likely to, and not likely to have wrappers automatically generated easily -2005-05-30 16:15 robert +Wed, 15 Dec 2004 04:49:05 +0000 +Checked in by : Robert OSFIELD +Added missing files - * Added support for reading: - - OSG_MINIMUM_COMPILE_TIME_PER_FRAME - - and - - OSG_MAXIMUM_OBJECTS_TO_COMPILE_PER_FRAME - - environmental variable during the initialization of the - DatabasePager - to allow apps to be tweaked for best database pager behavior. +Tue, 14 Dec 2004 03:12:18 +0000 +Checked in by : Robert OSFIELD +Removed redundent cont qualification -2005-05-26 14:38 robert +Tue, 14 Dec 2004 01:38:45 +0000 +Checked in by : Robert OSFIELD +From Fredric Marmond, fix to gcc3.4 build - * Reverted release number to 0 (development version). +Mon, 13 Dec 2004 04:54:20 +0000 +Checked in by : Robert OSFIELD +From Frederic Marmond, add osg::LogicOp for support for glLogicOp. -2005-05-26 13:56 robert +Mon, 13 Dec 2004 02:39:47 +0000 +Checked in by : Robert OSFIELD +From Marco, fixes to osgIntrospection and related libs - * From James French, fix for multiple definitionwhen compiling osg - + plugins into monolithic dll. +Mon, 13 Dec 2004 01:07:24 +0000 +Checked in by : Robert OSFIELD +Teaks to API to make it easier to generate wrappers automatically -2005-05-25 20:02 robert +Mon, 13 Dec 2004 01:06:56 +0000 +Checked in by : Robert OSFIELD +Fixed project name - * Updated Version numbers for release. - - UPdated wrappers. +Sun, 12 Dec 2004 22:27:20 +0000 +Checked in by : Robert OSFIELD +Changed RELATIVE_RF to ABSOLUTE_RF to fix bug introduced when naming was changed from RELATIVE_TO_ABSOLUTE to new convention -2005-05-25 17:19 robert +Fri, 10 Dec 2004 03:37:33 +0000 +Checked in by : Robert OSFIELD +Added extra set methods to match get's to make then symetric proporties - * From Blake Williams, fix for VS8.0 build +Thu, 9 Dec 2004 05:29:10 +0000 +Checked in by : Robert OSFIELD +Added Make support for new osgIntrospecxtion libs -2005-05-25 16:42 robert +Thu, 9 Dec 2004 05:28:20 +0000 +Checked in by : Robert OSFIELD +Added Marco Jez's osgIntrospection + osgWrapper libs with osgintrospection example - * Renamed ExplosionDebriEffect to ExplosionDebrisEffect +Thu, 9 Dec 2004 00:02:57 +0000 +Checked in by : Don BURNS +added 'sh' to command line to ensure that the script runs regardless of permissions -2005-05-25 15:35 robert +Wed, 8 Dec 2004 19:45:07 +0000 +Checked in by : Don BURNS +Update of IVe version files - * Updated change log. - - From Fredric Marmond, changed unsigned int to unsigned long to - avoid compile errors under 64 bit compile. +Tue, 7 Dec 2004 00:42:21 +0000 +Checked in by : Don BURNS +Spelling errors fixed by Brede Johansen -2005-05-25 15:34 robert +Mon, 6 Dec 2004 19:32:59 +0000 +Checked in by : Don BURNS +Changed the strcmp() to use std::string instead. - * Added file to osgkeyboardmouse invokation. +Sun, 5 Dec 2004 00:16:49 +0000 +Checked in by : Don BURNS +Post-tag revision variable change -2005-05-25 11:45 robert +Sun, 5 Dec 2004 00:03:43 +0000 +Checked in by : Don BURNS +CHanged version in makedefs for - 2 revision - * Updated doxgen docs. +Sat, 4 Dec 2004 23:59:16 +0000 +Checked in by : Don BURNS +Removed old RPM spec files. This shouldn't be in the repository as they are generated by the make distribution script, which is broken also. -2005-05-25 09:50 robert +Sat, 4 Dec 2004 23:38:24 +0000 +Checked in by : Don BURNS +Update version numbers in files - * Changd unsigned int's to unsigned char* to fix gcc3.4 64 bit - issues. +Thu, 2 Dec 2004 21:50:53 +0000 +Checked in by : Don BURNS +Post release adjustment of revision -2005-05-25 09:48 robert +Thu, 2 Dec 2004 21:49:58 +0000 +Checked in by : Don BURNS +Added tagrules for 'make tag' convenience Updated makedefs for release/revision - * Updated NEWS +Thu, 2 Dec 2004 21:28:40 +0000 +Checked in by : Don BURNS +fixed CameraPacket to allocate on the heap instead of the stack, which was causing crashes. -2005-05-24 20:45 robert +Thu, 2 Dec 2004 17:44:50 +0000 +Checked in by : Don BURNS +Memory leak spotted and fixed by Sebastien Grignard - * Updated NEWS +Tue, 30 Nov 2004 18:13:53 +0000 +Checked in by : Don BURNS +Added Mike's submission to Authors -2005-05-24 18:57 robert +Mon, 29 Nov 2004 18:59:36 +0000 +Checked in by : Don BURNS +Added pragma to shut VS 6 up. - * Added pragma to remove warnings under VS.8.0 +Mon, 29 Nov 2004 05:47:16 +0000 +Checked in by : Don BURNS +Small clean up of commented code -2005-05-24 15:34 robert +Mon, 29 Nov 2004 05:32:04 +0000 +Checked in by : Don BURNS +Comprimise for Visual Studio 6 by using 'using namespace OpenThreads'. - * Updates to clean up wrapper generation, and to update wrappers +Mon, 29 Nov 2004 03:05:27 +0000 +Checked in by : Don BURNS +Fixes for SOlaris build -2005-05-24 15:23 robert +Mon, 29 Nov 2004 01:12:25 +0000 +Checked in by : Don BURNS +Fixes for IRIX build - * Did a dos2unix on all files +Sun, 28 Nov 2004 23:49:01 +0000 +Checked in by : Don BURNS +Changes for IRIX build -2005-05-24 10:46 robert +Sun, 28 Nov 2004 17:11:21 +0000 +Checked in by : Don BURNS +Added visual studio files for osgspotlight example (Mike Weiblen) Updated NEWS.txt for release - * Added check for an empty compile lists. +Sat, 27 Nov 2004 20:35:19 +0000 +Checked in by : Don BURNS +Fixed osgDB:: prefix for Windows build -2005-05-24 10:37 robert +Sat, 27 Nov 2004 19:23:41 +0000 +Checked in by : Don BURNS +Added Marco's fix for data path for the .ive plugin - * Added re-entrent mutex to serialize access to OpenFlight plugin - to prevent - any multi-threaded issues. +Sat, 27 Nov 2004 19:20:32 +0000 +Checked in by : Don BURNS +Fixed bug in .net loader. Added hostname to file fetch. -2005-05-23 11:27 robert +Sat, 27 Nov 2004 17:06:44 +0000 +Checked in by : Don BURNS +Fixed reference to install instructions - * Updated changelog +Fri, 26 Nov 2004 21:35:36 +0000 +Checked in by : Robert OSFIELD +Added missing OSG_SCREEN_WIDTH docs -2005-05-23 11:18 robert +Fri, 26 Nov 2004 21:14:18 +0000 +Checked in by : Robert OSFIELD +Updates news for release - * Added new examples to runexamples +Fri, 26 Nov 2004 20:46:55 +0000 +Checked in by : Robert OSFIELD +Updates to ChangeLog and doxygen file -2005-05-23 11:00 robert +Fri, 26 Nov 2004 19:27:23 +0000 +Checked in by : Robert OSFIELD +Added /Zm200 to avoid heap size problems under VS6.0 - * Updated news. +Fri, 26 Nov 2004 16:01:04 +0000 +Checked in by : Robert OSFIELD +Addd high level introductory docs for all the libs -2005-05-22 20:30 robert +Fri, 26 Nov 2004 16:00:40 +0000 +Checked in by : Robert OSFIELD +Clean up doxygen files for release - * Changed .png files to .jpg to help save space in - OpenSceneGraph-Data. +Thu, 25 Nov 2004 15:57:00 +0000 +Checked in by : Robert OSFIELD +Added /Zm200 to avoid VS 6.0 dump arse compile errors -2005-05-22 20:19 robert +Thu, 25 Nov 2004 15:09:56 +0000 +Checked in by : Robert OSFIELD +Fixed caching of archives - * Added scoring, welcome page, you've lost and you've won pages. +Thu, 25 Nov 2004 13:59:25 +0000 +Checked in by : Robert OSFIELD +Reordered the core libraries to try and get round compile order problems under VisualStudio 6.0 -2005-05-21 21:19 robert +Thu, 25 Nov 2004 09:51:26 +0000 +Checked in by : Robert OSFIELD +Added LFS support to gcc linux build - * Added support for multiple levels, and exit on lose of all lives - or on finishng - the highest level. +Wed, 24 Nov 2004 21:39:28 +0000 +Checked in by : Robert OSFIELD +cleaned up debug info -2005-05-21 12:57 robert +Wed, 24 Nov 2004 21:10:48 +0000 +Checked in by : Robert OSFIELD +updated NEWS and ChangeLog - * Updates to osgcatch game to allow different types of falling - objects +Wed, 24 Nov 2004 19:41:36 +0000 +Checked in by : Robert OSFIELD +Clean up of output -2005-05-21 09:55 robert +Wed, 24 Nov 2004 19:10:44 +0000 +Checked in by : Robert OSFIELD +from Mike Weiblen, added wrap mode to planet texture to avoid black seam, and add option of specifying the texture to use in osgshape. - * Maded debugging output write out at INFO level +Wed, 24 Nov 2004 15:41:36 +0000 +Checked in by : Robert OSFIELD +Fixed typo in acceptsExtension -2005-05-20 22:15 robert +Wed, 24 Nov 2004 06:57:34 +0000 +Checked in by : Robert OSFIELD +Moved the initPeformer to the constructor to avoid const issues when compiling - * Tweaked wrappers by hand to get them to compile +Tue, 23 Nov 2004 23:47:25 +0000 +Checked in by : Robert OSFIELD +Fixed VS.NET warnings -2005-05-20 21:12 robert +Tue, 23 Nov 2004 23:45:41 +0000 +Checked in by : Robert OSFIELD +Fixed recursive call - * Updated wrappers. +Tue, 23 Nov 2004 17:07:48 +0000 +Checked in by : Robert OSFIELD +From Fabien Dachicourt, bug fix to addChild(node,value) -2005-05-20 21:01 robert +Tue, 23 Nov 2004 16:52:59 +0000 +Checked in by : Robert OSFIELD +From John Shue, reordering of tiffio.h to avoid compile error. - * Fixed doxygen comments. +Tue, 23 Nov 2004 15:29:52 +0000 +Checked in by : Robert OSFIELD +Made read/write methods in ReaderWriter all const to facilate multi-threading -2005-05-20 18:35 robert +Tue, 23 Nov 2004 12:57:00 +0000 +Checked in by : Robert OSFIELD +Tripped out experiemental threadSafe_ methods in ReaderWriter - * Removed references to removed files. +Tue, 23 Nov 2004 10:46:37 +0000 +Checked in by : Robert OSFIELD +Added support for local relative paths -2005-05-20 15:45 robert +Mon, 22 Nov 2004 23:54:45 +0000 +Checked in by : Robert OSFIELD +Moved plugins across to using ReaderWriter::Options* for search paths in addition to standard osgDB::DataFilePaths - * Reworking to avoid compile issues under VS6.0. +Mon, 22 Nov 2004 14:49:27 +0000 +Checked in by : Robert OSFIELD +Removed the cache hints from registery placing them wholly into ReaderWriter's responsibility. -2005-05-20 11:35 robert +Mon, 22 Nov 2004 14:10:12 +0000 +Checked in by : Robert OSFIELD +Moved Registry::CacheHintOptions into ReaderWriter::Options - * Removed remaining references to old DX writer. +Mon, 22 Nov 2004 13:58:57 +0000 +Checked in by : Robert OSFIELD +From Rainer Oder, improvements to planet motions -2005-05-20 11:33 robert +Sat, 20 Nov 2004 13:35:49 +0000 +Checked in by : Robert OSFIELD +Changed ReaderWriter::Options to derive from osg::Object to add clone() ability. - * Removed long unused and out of date DX writer plugin from - distribution, will now - be placed on the wiki just in case its needed. +Sat, 20 Nov 2004 12:08:33 +0000 +Checked in by : Robert OSFIELD +Added support for pixel based LOD's and set the default priority scale to 1.0 -2005-05-20 06:39 robert +Sat, 20 Nov 2004 11:48:28 +0000 +Checked in by : Robert OSFIELD +Added support for pixel range to PagedLOD - * Added env var report. +Sat, 20 Nov 2004 11:48:01 +0000 +Checked in by : Robert OSFIELD +Fixed indentation. -2005-05-19 21:42 robert +Sat, 20 Nov 2004 11:45:14 +0000 +Checked in by : Robert OSFIELD +From Johan Nouvel, added support for range mode - * From Martin Aumueller, fixed copy and paste error on - getActiveUniforms(). +Sat, 20 Nov 2004 10:36:16 +0000 +Checked in by : Robert OSFIELD +From John Shue, fix for FreeBSD. -2005-05-19 15:17 robert +Fri, 19 Nov 2004 20:05:14 +0000 +Checked in by : Robert OSFIELD +Added _lockCount>0 check to lock,unlock and trylock to make sure that it is set properly on first time entry. - * Added support for setting the default render bin sort mode via - the - env OSG_DEFAULT_BIN_SORT_MODE variable or via or - RenderBin::setDefaultRenderBinSortMode() - method. +Fri, 19 Nov 2004 09:02:00 +0000 +Checked in by : Robert OSFIELD +Removed notify from destructor wait for cancel loop. -2005-05-19 09:22 robert +Fri, 19 Nov 2004 08:47:14 +0000 +Checked in by : Robert OSFIELD +Added std:: infront of getline calls - * From Alberto Farre, added support for caching of ProxyNode - children. +Thu, 18 Nov 2004 22:43:50 +0000 +Checked in by : Robert OSFIELD +Made the permissions executable -2005-05-18 21:45 don +Thu, 18 Nov 2004 22:14:08 +0000 +Checked in by : Robert OSFIELD +Updated ChangedLog and NEWS - * Fixed fullscreen toggle in ViewerEventHandler that assumed the - first - RenderSurface was a window (not a pbuffer). +Thu, 18 Nov 2004 22:13:13 +0000 +Checked in by : Robert OSFIELD +Removed the public open methods -2005-05-18 21:34 don +Thu, 18 Nov 2004 22:12:43 +0000 +Checked in by : Robert OSFIELD +Added all core libraries - * PBuffer example revamped to use a normal CameraConfig for setting - up the - PBuffer and main cameras, and a PBufferTexture2D for the texture, - rather - than a subload callback +Thu, 18 Nov 2004 21:53:31 +0000 +Checked in by : Robert OSFIELD +Added osgText dependency to osglauncher. -2005-05-18 21:31 robert +Thu, 18 Nov 2004 20:20:00 +0000 +Checked in by : Robert OSFIELD +Added dsp's for osglauncher and osgplanets. - * Updated NEWS, ChangeLog and runexamples.bat. +Thu, 18 Nov 2004 16:25:14 +0000 +Checked in by : Robert OSFIELD +Removed old and used FileUtils_Mac.cpp -2005-05-18 21:17 robert +Thu, 18 Nov 2004 16:21:08 +0000 +Checked in by : Robert OSFIELD +Added osglancher and osgplanets to example set. - * Updated wrappers. +Thu, 18 Nov 2004 16:20:48 +0000 +Checked in by : Robert OSFIELD +Changed debugging info to use osg::notify -2005-05-18 19:55 robert +Thu, 18 Nov 2004 15:10:24 +0000 +Checked in by : Robert OSFIELD +Added write to file and use of clearnode - * Added s/getClearMask() support to osg::ClearNode, - osgUtil::SceneView and the - .osg plugin. +Thu, 18 Nov 2004 15:01:41 +0000 +Checked in by : Robert OSFIELD +Increased accuracy of animation path, moved main to end. -2005-05-18 19:04 robert +Thu, 18 Nov 2004 14:43:07 +0000 +Checked in by : Robert OSFIELD +Changed Solarsystem to SolarSystem. - * From Joakim Simonsson, DOFTransform multiplication order support - added to .ive format. - With tweak from Robert Osfield to wrap new read and write with a - new version number - to allow old files contain DOFTransforms to continue to work. +Thu, 18 Nov 2004 13:46:13 +0000 +Checked in by : Robert OSFIELD +Added a search for the config file, and defaulting to osg.conf -2005-05-18 18:43 robert +Thu, 18 Nov 2004 13:34:31 +0000 +Checked in by : Robert OSFIELD +Changed path to imagery from Images/SolarSystem to SolarSystem. - * From Joakim Simonsson: - - "DOFAnimation's default state could now be controlled by the RW - option. - - The option string is "dofAnimation" - - If the option string is omitted the default animation state is - off." +Thu, 18 Nov 2004 12:07:28 +0000 +Checked in by : Robert OSFIELD +Added friend usage for inner classes to try and get round compile problems under Solaris. -2005-05-18 18:31 robert +Thu, 18 Nov 2004 11:53:51 +0000 +Checked in by : Robert OSFIELD +Added check for extension. - * Fixed copy and paste mistakes in setEventCallback methods +Thu, 18 Nov 2004 11:21:51 +0000 +Checked in by : Robert OSFIELD +Fixed writeImage. -2005-05-17 20:12 robert +Thu, 18 Nov 2004 10:08:29 +0000 +Checked in by : Robert OSFIELD +From Vivek Rajan, fixes to Solaris build. - * Added RADEON as render type for disabling mipmapped NPO2T +Thu, 18 Nov 2004 09:19:15 +0000 +Checked in by : Robert OSFIELD +Altered the path for Cygwin to set the _ticksPerSecond to the correct value. -2005-05-17 15:00 robert +Thu, 18 Nov 2004 09:09:22 +0000 +Checked in by : Robert OSFIELD +From Stephane Simon, compile fix for VS, change struct to class in forward declaration. - * Cleaned up in prep for release. +Wed, 17 Nov 2004 20:01:51 +0000 +Checked in by : Robert OSFIELD +From Rainer Oder, updates to osglauncher. -2005-05-17 14:25 robert +Wed, 17 Nov 2004 19:31:02 +0000 +Checked in by : Robert OSFIELD +Changed the dependencies file to use ?= instead of = to allow env vars to override local settings. - * Improved the handling of data attached to proxy nodes +Wed, 17 Nov 2004 14:56:08 +0000 +Checked in by : Robert OSFIELD +From Thom DeCarlo, fixes for Cygwin build -2005-05-17 13:50 robert +Wed, 17 Nov 2004 14:25:17 +0000 +Checked in by : Robert OSFIELD +Made a few of the public methods virtual, and moved more of the class methods to protected scope. - * Changed the default behavior to not writing out proxynode - children. +Wed, 17 Nov 2004 13:04:42 +0000 +Checked in by : Robert OSFIELD +Removed remaining old docs. -2005-05-17 13:47 robert +Wed, 17 Nov 2004 13:03:34 +0000 +Checked in by : Robert OSFIELD +Removed doc++ docs from distrubtion. - * Improved the handling of writing out of proxy node files. +Wed, 17 Nov 2004 13:00:16 +0000 +Checked in by : Robert OSFIELD +Removed mind maps docs -2005-05-17 13:34 robert +Wed, 17 Nov 2004 12:58:50 +0000 +Checked in by : Robert OSFIELD +Moved the main documentation onto the wiki website, and removed from the OpenSceneGraph distribution - * From Daniel Sjölie, for the purpose of maintainability, made the - load proxy nodes code the standard, remove the older - code that remained as part of #else #endif blocks, and remove the - erroneous - implementation of caching of proxynodes. +Tue, 16 Nov 2004 16:04:05 +0000 +Checked in by : Robert OSFIELD +Fixed typo of ReadObjectFunctor. -2005-05-17 13:24 robert +Tue, 16 Nov 2004 15:36:06 +0000 +Checked in by : Robert OSFIELD +Adde another friend to remove final VS6.0 compile problem. - * Added destructor to fix Cygwin build problem. +Tue, 16 Nov 2004 14:35:29 +0000 +Checked in by : Robert OSFIELD +Attempted fix for VS6.0 compile problems -2005-05-17 11:11 robert +Tue, 16 Nov 2004 14:21:02 +0000 +Checked in by : Robert OSFIELD +Removed debug info as it was causing VS6.0 compile problem - * Updated wrappers. +Tue, 16 Nov 2004 14:20:39 +0000 +Checked in by : Robert OSFIELD +From David Spilling, fix for VS6.0 build. -2005-05-17 11:00 robert +Tue, 16 Nov 2004 14:10:30 +0000 +Checked in by : Robert OSFIELD +Made the inner helper classes friend to try and get round VS6.0 problems - * Added differentiation between Non power of two textures when mip - mapped vs - when not mipped mapped to get round the issue of incomplete - support under - ATI cards. +Tue, 16 Nov 2004 12:40:45 +0000 +Checked in by : Robert OSFIELD +Added using namespace osgDB to try and resolve some of the VS6.0 problems. -2005-05-17 09:53 robert +Tue, 16 Nov 2004 09:09:31 +0000 +Checked in by : Robert OSFIELD +Added osgText dependency to osgsequence app - * Removed old GeoSet backward compatibility code since its now - redudent. +Tue, 16 Nov 2004 09:03:24 +0000 +Checked in by : Robert OSFIELD +From Loic Dachary, changes to Timer for PowerPC support, with small re-arrangement by Robert Osfield to make tick() code block mode readable. -2005-05-17 09:06 robert +Mon, 15 Nov 2004 19:53:22 +0000 +Checked in by : Robert OSFIELD +From Loic Dachary, added pk-config file. - * From Thom DeCarlo, build fixes for Cygwin. +Mon, 15 Nov 2004 19:46:10 +0000 +Checked in by : Robert OSFIELD +Added support for serialization of calls to ReaderWriter plugins. -2005-05-16 18:24 robert +Mon, 15 Nov 2004 19:45:27 +0000 +Checked in by : Robert OSFIELD +Added -pipe to gcc build under Linux - * Fixed name. +Mon, 15 Nov 2004 19:44:35 +0000 +Checked in by : Robert OSFIELD +From osgplaents, updates to more of the solar systems planets. -2005-05-16 17:37 robert +Mon, 15 Nov 2004 13:08:46 +0000 +Checked in by : Robert OSFIELD +Added ReentrantMutex - * Update to NEWS w.r.t contributors +Mon, 15 Nov 2004 13:02:43 +0000 +Checked in by : Robert OSFIELD +From Tree, fixes for Java bindings -2005-05-16 17:17 robert +Mon, 15 Nov 2004 12:05:27 +0000 +Checked in by : Robert OSFIELD +Added osgspotlight to example set. - * Bumped version numbers to 0.9.9 in rediness for 0.9.9 release. +Mon, 15 Nov 2004 12:03:33 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlien, improved osgsequence example -2005-05-16 16:50 robert +Mon, 15 Nov 2004 11:57:41 +0000 +Checked in by : Robert OSFIELD +Added osgDB::ReentrantMutex is prep for making osgDB::Registry single threaded. - * Updated NEWS and ChangeLog in prep for release +Sun, 14 Nov 2004 21:08:10 +0000 +Checked in by : Robert OSFIELD +From Loic Dachary, added getFileName method -2005-05-16 15:51 robert +Sun, 14 Nov 2004 20:00:30 +0000 +Checked in by : Robert OSFIELD +Added Cygwin to #define stat64 stat path. - * Warning fixes for IRIX +Sun, 14 Nov 2004 17:02:30 +0000 +Checked in by : Robert OSFIELD +Added COMPILE_OSG_OP_OT_WITH_SONAMES is YES guard around soname settings. -2005-05-16 15:50 robert +Sun, 14 Nov 2004 16:36:27 +0000 +Checked in by : Robert OSFIELD +Added sonames support under Linux/gcc - * Updated wrappers +Sun, 14 Nov 2004 10:41:48 +0000 +Checked in by : Robert OSFIELD +Made the use of the standard clock default instead of the RDTSC calls to avoid problems with variable CPU frequency such as found on laptops. -2005-05-16 14:27 robert +Sat, 13 Nov 2004 22:04:26 +0000 +Checked in by : Don BURNS +PowerPC fix for Timer by Guillaume Morin - * Changed the getHitList and getNumHits methods to take const - osg::LineSegment* as a parameter. +Sat, 13 Nov 2004 21:42:45 +0000 +Checked in by : Robert OSFIELD +Fixed warnings. -2005-05-16 14:09 robert +Sat, 13 Nov 2004 21:39:29 +0000 +Checked in by : Robert OSFIELD +Added support for opening an istream archive - * Workaround for Mipspro compiler bug. +Sat, 13 Nov 2004 16:21:48 +0000 +Checked in by : Robert OSFIELD +Added prelimarny support for reading archives via the .net plugin -2005-05-16 11:22 robert +Sat, 13 Nov 2004 16:18:15 +0000 +Checked in by : Robert OSFIELD +Fixed the passing of the parsed server name/server file when handling files via the .net plugin - * Updated wrappers. +Sat, 13 Nov 2004 10:24:07 +0000 +Checked in by : Robert OSFIELD +Fixed openArchive so that it only enforces the checking of the archive's existance when in READ mode. -2005-05-16 11:18 robert +Fri, 12 Nov 2004 21:07:17 +0000 +Checked in by : Robert OSFIELD +Remove unistd.h include - * Fixed method signatures. +Fri, 12 Nov 2004 16:36:53 +0000 +Checked in by : Robert OSFIELD +Added --image and --dem documentation to command line parameters -2005-05-16 10:12 robert +Fri, 12 Nov 2004 15:39:18 +0000 +Checked in by : Robert OSFIELD +Rotated scene to face the viewer - * Added osgUtil osgDB osgFX osgText osgTerrain osgGA osgProducer to - the list - of wrapper libraries. +Fri, 12 Nov 2004 14:49:22 +0000 +Checked in by : Robert OSFIELD +From Ulrich Heirtlein, added STL plugin -2005-05-16 09:41 robert +Fri, 12 Nov 2004 08:55:11 +0000 +Checked in by : Robert OSFIELD +Improvements to support for archives - * Updated wrappers +Thu, 11 Nov 2004 22:26:07 +0000 +Checked in by : Robert OSFIELD +From Stephane Simon, added missing OSGDB_EXPORT to osgDB::openArchive functions -2005-05-15 20:32 robert +Thu, 11 Nov 2004 16:05:55 +0000 +Checked in by : Robert OSFIELD +Added write to ostream to ReaderWriterDDS - * From Marco Jez, fixes to/and for osgIntrospection. +Thu, 11 Nov 2004 16:05:30 +0000 +Checked in by : Robert OSFIELD +Fixed file extraction. -2005-05-15 20:31 robert +Thu, 11 Nov 2004 13:22:55 +0000 +Checked in by : Robert OSFIELD +Moved the .osga implementation into the src/osgPlugins/osga plugin and made osgDB::Archive a pure virtual base class. - * Moved computeBounds into public scope. +Wed, 10 Nov 2004 22:11:28 +0000 +Checked in by : Robert OSFIELD +Fixed uninitialized variable. -2005-05-15 05:47 robert +Wed, 10 Nov 2004 21:52:30 +0000 +Checked in by : Robert OSFIELD +Set the pos_type and size_type explictly to 8 byte types. - * From John Grant, added getDrawableList() const. +Wed, 10 Nov 2004 21:47:08 +0000 +Checked in by : Robert OSFIELD +Added debugging info for swapped endian values -2005-05-14 18:57 robert +Wed, 10 Nov 2004 21:38:54 +0000 +Checked in by : Robert OSFIELD +Fixes to endian handling. - * From Marco Jez, added export symbols. +Wed, 10 Nov 2004 21:31:44 +0000 +Checked in by : Robert OSFIELD +Removed duplicated swap bytes -2005-05-14 14:31 robert +Wed, 10 Nov 2004 21:28:06 +0000 +Checked in by : Robert OSFIELD +Added sizeof tests of istream::pos_type and off_type to osgunittests.Added debuggin messages to endian handling code in Archive::open(). - * From Marco Jez, change of Doxygen docs name of class from - UFOManipulator to - osgGA::UFOManipulator, done to avoid automated wrapper issues. -2005-05-13 21:39 robert - * Yet another using namespace osg to try and work out the spat - betwen MipsPro and VS.6.0. +Wed, 10 Nov 2004 21:18:31 +0000 +Checked in by : Robert OSFIELD +Added check for endianess of .osga archives -2005-05-13 21:38 robert +Wed, 10 Nov 2004 16:56:58 +0000 +Checked in by : Don BURNS +More cleanups for CYGWIN from Norman Vine - * From Tom Jolly, removing trailing comma for last entries in enums - to fix - IRIX compile warnings. +Wed, 10 Nov 2004 16:40:08 +0000 +Checked in by : Robert OSFIELD +Added new osga plugin for reading OSG native archives -2005-05-13 14:54 robert +Wed, 10 Nov 2004 16:37:02 +0000 +Checked in by : Robert OSFIELD +Commented out some redundent debuggin info. - * From Mike Weiblen, updated project files to link to new 3rdParty - libs +Wed, 10 Nov 2004 13:47:22 +0000 +Checked in by : Robert OSFIELD +Moved the ReadFunctor to protected section. -2005-05-13 14:36 robert +Wed, 10 Nov 2004 13:03:52 +0000 +Checked in by : Robert OSFIELD +Added support for master file and clean up Archive API. - * Updated wrappers. +Wed, 10 Nov 2004 10:57:03 +0000 +Checked in by : Robert OSFIELD +Removed the explicit setting for convert to geocentric when setting --bluemarlbe-west, --bluemarble-east and --whole-globe. -2005-05-13 13:29 robert +Wed, 10 Nov 2004 09:56:03 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, fix to the state leakage. - * Moved BaseOptimizerVisitor out of Optimizer into osgUtil - namespace to try and - get round MipsPro compile problems. +Tue, 9 Nov 2004 16:50:02 +0000 +Checked in by : Robert OSFIELD +Added explicit setting of the precision to allow .osg files to be used succsefully. -2005-05-13 12:06 robert +Tue, 9 Nov 2004 16:49:29 +0000 +Checked in by : Robert OSFIELD +Fixed tabbing - * Refinement of includes to help IRIX build +Tue, 9 Nov 2004 15:12:38 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen adding lib paths to net.dsp, and changes by Robert Osfield moving the osgDB and osg dependency from the net.dsp to VisualStudio.dsp to keep it consistent with the rest of the OSG plugins and executables. -2005-05-13 11:11 robert +Tue, 9 Nov 2004 15:01:39 +0000 +Checked in by : Robert OSFIELD +Added rainer's changes for adding billboard glow around sun. - * Cross platform build fixes. +Tue, 9 Nov 2004 14:18:29 +0000 +Checked in by : Robert OSFIELD +Added support of archiving into osgTerrain::DataSet and osgdem. -2005-05-13 09:52 robert +Tue, 9 Nov 2004 07:34:28 +0000 +Checked in by : Don BURNS +Fixes to the .net plugin for Cygwin, submitted by Norman Vine - * Added #include "dxfBlock.h" +Mon, 8 Nov 2004 20:44:16 +0000 +Checked in by : Robert OSFIELD +Fixed the compute of PagedLOD ranges for non geocentric datasets -2005-05-13 09:05 robert +Mon, 8 Nov 2004 19:56:22 +0000 +Checked in by : Robert OSFIELD +Added resolutionSensitivityScale of 0.9 into the DataSet::createDestinationGraph() to prevent overly conservative subdivision of data. - * Added /Zm200 +Mon, 8 Nov 2004 17:12:36 +0000 +Checked in by : Robert OSFIELD +Added public access to VertexProgram's LocalParamters and added .osg support for these. -2005-05-13 08:54 robert +Mon, 8 Nov 2004 16:39:32 +0000 +Checked in by : Robert OSFIELD +From Stephane ???, fixes for VS.NET build - * Removed unused function. +Mon, 8 Nov 2004 16:39:10 +0000 +Checked in by : Robert OSFIELD +Added guard to testing _internalFormat in compareTexture(..) so that a comparison would only be done if both the lhs and rhs had already been set to a non zero value. -2005-05-12 20:59 robert +Mon, 8 Nov 2004 16:11:07 +0000 +Checked in by : Robert OSFIELD +Updates to osgDB::Archive support, and refactoring of implementation of reading files in Registry to faciliate the new archiving support. - * From Mike Weiblen, Added queries of compilation state to Shader - (for symmetry with Program's - link state queries) +Sun, 7 Nov 2004 21:17:31 +0000 +Checked in by : Robert OSFIELD +Added support for openArchive into osgDB -2005-05-12 20:46 robert +Sun, 7 Nov 2004 12:13:56 +0000 +Checked in by : Robert OSFIELD +Fixed insertion of files into an existing archive - * fixed warning. +Sat, 6 Nov 2004 21:21:29 +0000 +Checked in by : Robert OSFIELD +Removed un-needed setCullActive(false) -2005-05-12 20:35 robert +Sat, 6 Nov 2004 21:18:19 +0000 +Checked in by : Robert OSFIELD +Further work on osgDB::Archive - * From Jan Ciger, gcc 4.0 compile fix. +Sat, 6 Nov 2004 10:18:55 +0000 +Checked in by : Robert OSFIELD +Made fix to the setReferenceFrame method to properly disable culling when reference frame is ABSOLUTE. -2005-05-12 20:06 robert +Thu, 4 Nov 2004 21:11:12 +0000 +Checked in by : Robert OSFIELD +Disabled culling on the aboslute transform to fix bug culling of hud. - * Updated wrappers. +Thu, 4 Nov 2004 20:25:35 +0000 +Checked in by : Robert OSFIELD +Added a clear() into the RefNodePath operator = (NodePath) method. -2005-05-12 20:03 robert +Thu, 4 Nov 2004 15:32:03 +0000 +Checked in by : Robert OSFIELD +From Morné Pistorius, fixes for VisualStudio7.0 - * Fixed pairing of write and read of Matrixd +Tue, 2 Nov 2004 21:04:14 +0000 +Checked in by : Robert OSFIELD +Improved handling of uflow and underflow() in proxy_streambuf, and change unsigned char* to char* to avoid stoooopid VS6.0 compile errors -2005-05-12 19:14 robert +Tue, 2 Nov 2004 17:05:15 +0000 +Checked in by : Robert OSFIELD +Added prelimanary prox stream buffer to fake the ending of file. - * From Mike Weiblen, osgpbuffer now needs to link w/ Producer - (fixed .dsp file attached) +Tue, 2 Nov 2004 17:04:06 +0000 +Checked in by : Robert OSFIELD +Added debugging messages to setTrackerNode -2005-05-12 19:05 robert +Tue, 2 Nov 2004 14:05:37 +0000 +Checked in by : Robert OSFIELD +Fixed missing write of image tiles. - * Added missing Uniform(Matrixd) constructor implementation +Tue, 2 Nov 2004 11:10:44 +0000 +Checked in by : Robert OSFIELD +Removed the font cache from the FreeType plugin, moving the support across to osgDB::Registry. -2005-05-12 15:51 robert +Mon, 1 Nov 2004 18:29:05 +0000 +Checked in by : Robert OSFIELD +Removed referecence to the old c2 wiki. - * From Alberto Farre, - - "ConvertFromFLT::addMultiTexture makes ENDIAN conversion for - SMultiTexture - struct attributes. - When an flt object is multi-instantiated y should be done just - first time, - because SMultiTexture struct is always the same, currently is - being done for - each instance. - - Attached file fix the problem but perhaps a more clean fix would - be making - ENDIAN conversion at writing attributes time instead of at - reading time. " +Mon, 1 Nov 2004 16:16:31 +0000 +Checked in by : Robert OSFIELD +Commented out settings of TexEnvCombine alpha values -2005-05-12 14:48 robert +Mon, 1 Nov 2004 16:14:53 +0000 +Checked in by : Robert OSFIELD +From Tree chagenes required for Java Wrappers - * Added IO support for new intialBound and callbacks to .osg, and - initialBound to .ive +Mon, 1 Nov 2004 10:04:40 +0000 +Checked in by : Robert OSFIELD +Added handling of endian in DrawElementsUShort/UInt implementations -2005-05-12 14:03 robert +Fri, 29 Oct 2004 18:24:26 +0000 +Checked in by : Robert OSFIELD +Added useage of TexEnvCombine - * Added new Node/Drawable::s/getInitialBound and - Node/Drawable::s/getComputeBoundCallback - methods and reimplement computeBound so that it passes back a - bounding volume rather - than modifying the local one. +Fri, 29 Oct 2004 15:42:51 +0000 +Checked in by : Robert OSFIELD +Added multi-textured city illumination -2005-05-12 08:58 robert +Thu, 28 Oct 2004 22:29:46 +0000 +Checked in by : Don BURNS +Test done. - * Added setTextureFileName method. +Thu, 28 Oct 2004 22:28:30 +0000 +Checked in by : Don BURNS +Directory write test to new CVS -2005-05-12 08:54 robert +Thu, 28 Oct 2004 22:27:32 +0000 +Checked in by : Don BURNS +Silly little temporary file to test CVS writes to the new server - * Added clear of lazy uniform updating structure on relink, also - added debug - output of shader being compiled. +Thu, 28 Oct 2004 19:09:32 +0000 +Checked in by : Robert OSFIELD +Fixed support for NodeTrackerManipulator. -2005-05-12 07:47 robert +Thu, 28 Oct 2004 14:27:41 +0000 +Checked in by : Robert OSFIELD +Added support for listing contents of archive - * Moved OpenGL2 definitions from Uniform header to GL2Extensions +Thu, 28 Oct 2004 13:40:09 +0000 +Checked in by : Robert OSFIELD +From Anders Backman, unit tests to test matrix to quat compute. -2005-05-11 21:36 robert +Thu, 28 Oct 2004 13:26:06 +0000 +Checked in by : Robert OSFIELD +From Tom Jolley, Added a new enum POINT_ROT_WORLD_Z_AXIS and a new section in computeMatrix for this enum. With a small tweak from Robert Osfield to set _cacheMode. - * Updated wrappers. +Thu, 28 Oct 2004 13:04:35 +0000 +Checked in by : Robert OSFIELD +Added return type to addFileReference(). -2005-05-11 21:06 robert +Thu, 28 Oct 2004 13:02:33 +0000 +Checked in by : Robert OSFIELD +Added return value to getFileReferences() - * Added missing required includes +Thu, 28 Oct 2004 12:16:47 +0000 +Checked in by : Robert OSFIELD +Updates to osgDB::Archive, and IVE plugin to support usage via the Archive. -2005-05-11 20:37 robert +Thu, 28 Oct 2004 09:38:03 +0000 +Checked in by : Robert OSFIELD +Updates for Rainer, and with a few changes by Robert. - * Compile fix. +Thu, 28 Oct 2004 08:57:23 +0000 +Checked in by : Robert OSFIELD +Removed direct dependency on GDAL -2005-05-11 20:05 robert +Thu, 28 Oct 2004 07:00:55 +0000 +Checked in by : Robert OSFIELD +Removed gdal_priv.h from include/osgTerrain/DataSet to remove the external dependency on GDAL. - * Updated wrappers +Wed, 27 Oct 2004 14:09:24 +0000 +Checked in by : Robert OSFIELD +Added IndexBlock inner class to osgDB::Archive -2005-05-11 19:59 robert +Wed, 27 Oct 2004 08:39:18 +0000 +Checked in by : Robert OSFIELD +Added setCullingActive false to the absolute transform. - * Moved GL2Extensions back out of Program and into its own header - file. +Tue, 26 Oct 2004 18:36:47 +0000 +Checked in by : Robert OSFIELD +Fixed make files. -2005-05-11 19:34 robert +Tue, 26 Oct 2004 18:29:27 +0000 +Checked in by : Robert OSFIELD +Updates to osgDB::Archive - * From Don Tidrow, "I added some code to assign the archive pointer - in TXPnode - with the archive that ReaderWriterTXP actually loads. I also - added a - function in TXPArchive to help in manipulating the lightpoints." +Tue, 26 Oct 2004 18:20:52 +0000 +Checked in by : Robert OSFIELD +Removed GDAL reference -2005-05-11 19:32 robert +Tue, 26 Oct 2004 18:11:26 +0000 +Checked in by : Robert OSFIELD +Removed the _initVisitor traversal for update() to prevent OpenGL being called at the wrong time. - * Changed the info log so that it output to INFO on success, to - WARN when an - error has occured. +Tue, 26 Oct 2004 15:31:33 +0000 +Checked in by : Don BURNS +Removed link to X11 -2005-05-11 19:14 robert +Tue, 26 Oct 2004 10:31:52 +0000 +Checked in by : Robert OSFIELD +Made the className() const - * From Nathan Monteleone, rewrote the osgpbuffer example so that it - uses - Producer xplatform support for pbuffer instead of Win32 specific - pathways - as support before. (with a few code tweaks to simplfy the code, - by Robert Osfield). +Tue, 26 Oct 2004 10:27:00 +0000 +Checked in by : Robert OSFIELD +Updates to the osgarchive application -2005-05-11 16:05 robert +Tue, 26 Oct 2004 10:26:43 +0000 +Checked in by : Robert OSFIELD +Made ReaderWriter::className const - * Added .osg support for new - ParticleEffect::s/getDefaultParticleTemplate. +Mon, 25 Oct 2004 20:08:38 +0000 +Checked in by : Don BURNS +oops. Mistaken check-in of local dependencies file -2005-05-11 15:26 robert +Mon, 25 Oct 2004 20:08:06 +0000 +Checked in by : Don BURNS +Oops. mistaken check in of overly modified makerules - * Added support for setting the texture filename and more fine - control over - the particle template used in ParticleEffects +Mon, 25 Oct 2004 20:04:52 +0000 +Checked in by : Don BURNS +Small change by Eric Sokolowsky to change TIFF_LIBS to TIFF_LIB for Mac build -2005-05-11 13:40 robert +Mon, 25 Oct 2004 19:16:57 +0000 +Checked in by : Robert OSFIELD +From Tree, fixes for Java bindings - * Fixed compile warning. +Mon, 25 Oct 2004 19:16:38 +0000 +Checked in by : Robert OSFIELD +Added new osgDB::Archive class, and osgarchive example. These are both very early beginnings so do not function yet. -2005-05-11 13:37 robert +Mon, 25 Oct 2004 18:46:44 +0000 +Checked in by : Robert OSFIELD +Fixed typo. - * Completed GLSL support in .ive +Mon, 25 Oct 2004 18:23:42 +0000 +Checked in by : Robert OSFIELD +From Rainer, updates to osgplanet. -2005-05-11 11:42 robert +Mon, 25 Oct 2004 18:08:34 +0000 +Checked in by : Don BURNS +Small warning fix by Marco. - * Further work on GLSL support in .ive +Mon, 25 Oct 2004 17:41:54 +0000 +Checked in by : Robert OSFIELD +Made getHomePosition const. -2005-05-11 11:41 robert +Sun, 24 Oct 2004 21:05:27 +0000 +Checked in by : Don BURNS +Namespaced Rect and Frame to osgfxbrowser::Rect/Frame, as this was causing a namespace collision with CGL - * Cleaned up API of BindAttributeLocation, added deletion of shader - objects. +Sun, 24 Oct 2004 20:04:00 +0000 +Checked in by : Robert OSFIELD +Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define -2005-05-10 20:20 robert +Sun, 24 Oct 2004 17:50:54 +0000 +Checked in by : Robert OSFIELD +From Fred Mammond, fixes for x86_64 build - * Put in place the class to implement GLSL support in .ive +Sun, 24 Oct 2004 14:42:40 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, speeling and typo fixes in osgUtil -2005-05-10 18:21 robert +Sun, 24 Oct 2004 14:31:18 +0000 +Checked in by : Robert OSFIELD +fixes to tabs - * Moved the infolog to the error handling block and upping its - notification - level to WARN to provide better feedback on failure with needing - to use - DEBUG notification level. +Sun, 24 Oct 2004 14:31:07 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshtan, speed improvments in reading and writing index arrays -2005-05-10 16:13 robert +Sun, 24 Oct 2004 14:24:15 +0000 +Checked in by : Robert OSFIELD +Added osgDB::Archive - * Added tab to space converted to .obj plugin +Sun, 24 Oct 2004 14:23:42 +0000 +Checked in by : Robert OSFIELD +From Rainer Oder, updates to osgplanets -2005-05-10 13:56 robert +Sun, 24 Oct 2004 14:19:27 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, support for 2 channel tiff images - * Added support for PROTECTED and OVERRIDE to uniforms. +Sun, 24 Oct 2004 13:51:44 +0000 +Checked in by : Robert OSFIELD +Added s/getEventCallback support into osg::Node, and an EVENT_VISITOR type into NodeVisitor. -2005-05-10 10:01 robert +Sun, 24 Oct 2004 06:12:29 +0000 +Checked in by : Don BURNS +don - Comment in makedirdefs was causing Mac build to stop short of building all plugins - * From Farshid Lashkari, bumped IVE version number to 9, and added - support in Texture for - _borderWidth - _useHardwareMipMapGeneration - _unrefImageDataAfterApply - _clientStorageHint - _resizeNonPowerOfTwoHint +Sun, 24 Oct 2004 05:50:59 +0000 +Checked in by : Don BURNS +don - Small changes to support Mac OSX CGL build small unused variable warning fix. -2005-05-10 09:07 robert +Fri, 22 Oct 2004 21:01:10 +0000 +Checked in by : Don BURNS +Added default: case for both switch() statements - * Changed -ne to $LINK_ECHO_OPTION to fix cross platform compile - issues +Fri, 22 Oct 2004 19:26:45 +0000 +Checked in by : Robert OSFIELD +Changed the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, and deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS. -2005-05-10 08:07 robert +Fri, 22 Oct 2004 18:47:39 +0000 +Checked in by : Robert OSFIELD +Compile fixes - * From Farshid Lashkari, and non power of two resize hint support - to .osg ascii +Fri, 22 Oct 2004 16:39:24 +0000 +Checked in by : Robert OSFIELD +Added Rainer's initial osgplanets example. -2005-05-09 15:29 robert +Thu, 21 Oct 2004 09:36:34 +0000 +Checked in by : Robert OSFIELD +Generalised the osg::ClusterCullingCallback so that it coud be attached to Node as well as Drawables.Changed the osgTerrain::DataSet so that it moves the ClusterCullingCallback +up to the Node level. - * Added code to prevent ProxyNode's from been "flattened" by - osgUtil::Optimizer::FlattenStaticTransforms. +Added support to the .ive plugin for attaching the ClusterCullingCallback to nodes. -2005-05-09 13:09 robert - * Removed deprecated API in preparation for 0.9.9 release. -2005-05-09 10:17 robert +Thu, 21 Oct 2004 09:33:51 +0000 +Checked in by : Robert OSFIELD +Checked in commented out gz plugin, will comment back in later once it is fully checked in - * Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, - osgGA - and osgProducer to osgWrappers directory. - - Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and - osgWrappers/osgSim, - but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer - due to compile - errors. I am assuming that these compilers are fixable so I'm - checked all the - source code so that members of the community can help fix them. +Tue, 19 Oct 2004 13:52:46 +0000 +Checked in by : Robert OSFIELD +Move the setting of the camera horizontal field of view to after the realize() to avoid the CameraGroup's Lens be set when its NULL. -2005-05-08 19:21 robert +Tue, 19 Oct 2004 09:29:13 +0000 +Checked in by : Robert OSFIELD +From Alan Purvis, with enum name tweaks from Robert Osfield. Addition of support for turing on/off the usage of vertex buffer objects. - * Removed debug info +Mon, 18 Oct 2004 18:59:05 +0000 +Checked in by : Robert OSFIELD +From Frank Lichtenheld, compile fix to Linux powerpc build. -2005-05-08 18:37 robert +Mon, 18 Oct 2004 18:56:26 +0000 +Checked in by : Robert OSFIELD +Fixed OsgCameraGroup::setLODScale so that it now uses the local CullSettings objects. - * Updated osgWrappers. +Mon, 18 Oct 2004 18:36:40 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, addition of Vec3f(Vec2f,float) and Vec3d(Vec2d,double) constructors. -2005-05-08 15:24 robert +Mon, 18 Oct 2004 18:31:04 +0000 +Checked in by : Robert OSFIELD +Added support for hardware generated mipmaps into Textre2D::copy*() methods. - * Added missing copy of _stereo +Mon, 18 Oct 2004 14:51:21 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, "makes the LWS loader store LWO object names as node names, for easier recognition and retrieval by scene graph visitors. With this fix, each PositionAttitudeTransform node that corresponds to an entry in the LWS file carries the name of the loaded object plus the layer number (for example, "objects/myobj.lwo.2")." -2005-05-07 20:47 robert +Mon, 18 Oct 2004 14:46:57 +0000 +Checked in by : Robert OSFIELD +From Yuzhong Shen, fix to the image dimensions passed to allocImage in Image::copySubImage - * Added more comprehensive releaseGLObjects(State*=0) throughout - Nodes, - Drawables,StateSet, and osgDB::Registry. - - Added cleanup_frame() from to osgProducer::OsgCamerGroup to help - with proper - clean of OpenGL objects before exit, and modified osgviewer, - osghangglider, - osgwindows examples to do the extra frame call to cleanup_frame() - before exit. +Mon, 18 Oct 2004 14:42:32 +0000 +Checked in by : Robert OSFIELD +From Sohey Yamamoto, addition of TexEnvFilter support. -2005-05-07 09:17 robert +Sun, 17 Oct 2004 06:14:10 +0000 +Checked in by : Don BURNS +Fix for minor compile error (internal error) for VS7. - * From Tim Daoust/Robert Osfield, added - Font::releaseGLobjects(State*state=0) to - facilate clean up of scene when a graphics context is - deleted/reused. +Fri, 15 Oct 2004 20:13:33 +0000 +Checked in by : Don BURNS +Fixed small typo. -2005-05-06 19:44 robert +Fri, 15 Oct 2004 10:35:09 +0000 +Checked in by : Robert OSFIELD +Added osgNV enum Types - * Added handling of sharing of graphics context data which is now - supported - by Producer. You can get the osgProducer::Viewer to share - graphics contexts - by using the env var OSG_SHARE_GRAPHICS_CONTEXTS set to ON or OFF - i.e. - - setenv OSG_SHARE_GRAPHICS_CONTEXTS ON +Fri, 15 Oct 2004 09:53:18 +0000 +Checked in by : Robert OSFIELD +Changed fstream to ifstream -2005-05-06 17:43 robert +Fri, 15 Oct 2004 09:10:36 +0000 +Checked in by : Robert OSFIELD +Added docs - * Added X11 include and lib paths to find freetype under OSX. +Thu, 14 Oct 2004 20:35:55 +0000 +Checked in by : Robert OSFIELD +Updates to NodeTrackerManipulator.cpp -2005-05-06 14:28 robert +Thu, 14 Oct 2004 12:10:10 +0000 +Checked in by : Robert OSFIELD +Fixed the home position. - * Made OSX default to using single threaded keyboard mouse. +Thu, 14 Oct 2004 10:38:29 +0000 +Checked in by : Robert OSFIELD +Improvements to the NodeTrackManipulator and osgsimulation example -2005-05-06 14:07 robert +Wed, 13 Oct 2004 19:52:39 +0000 +Checked in by : Robert OSFIELD +From Sohey Yamamoto, added support for GL_TEXTURE_FILTER_CONTROL/GL_TEXTURE_LOD_BIAS. - * Made USE_AGL=yes the default under OSX. +Wed, 13 Oct 2004 19:10:29 +0000 +Checked in by : Robert OSFIELD +From David Spilling, with small format and variable rename by Robert Osfield. -2005-05-06 10:32 robert +Wed, 13 Oct 2004 14:13:17 +0000 +Checked in by : Robert OSFIELD +Added population and access of the ReaderWriter::Options::s/getDatabasePath() to enable paged database to accessed without setting file paths explictly - * Added osg_DeltaFrameTime uniform to default set. +Wed, 13 Oct 2004 13:40:05 +0000 +Checked in by : Robert OSFIELD +Small tweaks to the calculateMovement method. -2005-05-06 09:58 robert +Wed, 13 Oct 2004 13:39:27 +0000 +Checked in by : Robert OSFIELD +Increased the size of the inserted model so that it can be seen more easily, - * From Mike Weiblen, further work on GLSL support +Wed, 13 Oct 2004 11:56:09 +0000 +Checked in by : Robert OSFIELD +Fixed precision of center computation. -2005-05-06 09:04 robert +Wed, 13 Oct 2004 11:15:50 +0000 +Checked in by : Robert OSFIELD +Added new getMember() method and TypeMemberPair into StateAttribute and support for the unsigned int member to be paired with types in osg::StateSet so that lights, clipplanes and other attributes that have a type group but then need to differentiate within that group via a member uint. - * From Farshid Lashkari, support for non power of two extension. +Tue, 12 Oct 2004 09:54:03 +0000 +Checked in by : Robert OSFIELD +Added CullingSettngs::s/getInheritanceMask() and inheritCullSettings(,) method. -2005-05-05 21:21 robert +Tue, 12 Oct 2004 09:00:51 +0000 +Checked in by : Robert OSFIELD +Added a direct call to the osgUtil::Optimizer in GeoSetBuilder.cpp so that the resultant geomety would be more efficiently packed. - * Fix for OSX build across both Tiger and 10.3.x +Tue, 12 Oct 2004 07:54:45 +0000 +Checked in by : Robert OSFIELD +From Sondra Iverson, with mods by Robert Osfield. Support for copying texenv from the source StateSet when multi-texturing. -2005-05-05 20:05 robert +Sun, 10 Oct 2004 18:18:45 +0000 +Checked in by : Robert OSFIELD +Fixed copy and past erro in getFontWidth. - * Removed rgb alias for Quicktime mapping since the Quicktime is - not reliable - at loading all rgb files that the standard OSG rgb reader can - read. +Sat, 9 Oct 2004 15:00:34 +0000 +Checked in by : Don BURNS +Added fix for MAC for FileUtils.cpp: stat64 is not present on Mac. -2005-05-05 19:46 robert +Fri, 8 Oct 2004 09:18:40 +0000 +Checked in by : Robert OSFIELD +Changed StaetAttribute::Type so it is an enum list rather than a unsigned int. - * Changed check() method name to checkConsistency() to avoid - perculiar OSX Tiger build error. +Thu, 7 Oct 2004 10:03:27 +0000 +Checked in by : Robert OSFIELD +From Sondra Iversion "Loading a single model from an externally referenced file is a standard option for OpenFlight and is specified by including the modelname in angle brackets, such as: filename.The attached code identifies and handles this case." -2005-05-05 14:03 robert - * Removed the defaulting to setting the camera threading model to - MultiThreaded, - instead leave it to Producer's defaults. -2005-05-05 12:30 robert +Thu, 7 Oct 2004 09:40:03 +0000 +Checked in by : Robert OSFIELD +Added new clear, removeAttribute, removeMode, removeTextureAttribute and removeTextureMode method and deprecated the setToInherit equivilants. - * Added support for osg_FrameNumber, osg_FrameTime, osg_ViewMatrix, - osg_InverseViewMatrix - into SceneView, controlled via a setActiveUniforms(.) method. +Wed, 6 Oct 2004 20:32:09 +0000 +Checked in by : Robert OSFIELD +Improved the osg::Geometry::computeCorrectBindingsAndArraySizes() implemention so that it produce more optimal settings.Changed flt/GeoSetBuilder so that it doensn't merge geometry, as it was +merging geometry even when inappropriate. -2005-05-05 09:18 robert - * From Farshid Lashkari, added Texture::Extension support for non - power of two extension. -2005-05-04 11:38 robert +Wed, 6 Oct 2004 19:19:22 +0000 +Checked in by : Robert OSFIELD +From Jason Daly, fix to multi-texturing/detail texture handling. - * Fix for Tiger build +Wed, 6 Oct 2004 15:15:01 +0000 +Checked in by : Robert OSFIELD +Added support for http reading into the readObject, readImage and readHeightField methods complimenting the previously checked in readNode supoort. -2005-05-04 09:11 robert +Wed, 6 Oct 2004 14:44:11 +0000 +Checked in by : Robert OSFIELD +Generalised the .net plugin so it could handle object, image, heightfield and node file reads. - * Fixed bug where the Optimizer::StateVisitor was trying to - optimize - non existant StateSet's. +Wed, 6 Oct 2004 13:11:04 +0000 +Checked in by : Robert OSFIELD +Added support for parsing http:// names and mapping automatically to use the .net plugin -2005-05-03 22:02 robert +Wed, 6 Oct 2004 13:10:29 +0000 +Checked in by : Robert OSFIELD +Added passing on of Options object - * Updated wrappers +Wed, 6 Oct 2004 13:09:35 +0000 +Checked in by : Robert OSFIELD +Added support for readNode(istream,Options*) into OBJ to allow loading over the internet -2005-05-03 21:53 robert +Wed, 6 Oct 2004 12:02:37 +0000 +Checked in by : Robert OSFIELD +Replaced #ifndef GL_TEXTURE_3D by GL_TEXTRE_BINDING_3D as the former was a copy and paste error. - * From Alberto Farre, "Missed a FilepathList pop_back line from my - last submission. - - I have also commented out the option string set with FLT_VER - because it - overwrites other option string and I found it redundant and not - needed." +Wed, 6 Oct 2004 09:31:34 +0000 +Checked in by : Robert OSFIELD +Added : osg::PagedLOD::s/getDatabasePath() and support in PagedLOD::traverse(). + osgDB::ReaderWriter::Options::s/getDatabasePath() + osgDB::Input::s/getOptions() + setting of osgDB::Input::setOptions() in ReaderWriterOSG.cpp + src/osgPlugins/ive/DataInputStream::s/getOptions() + setting of src/osgPlugins/ive/DataInputStream::setOptions() in ReaderWriterIVE.cpp -2005-05-03 21:49 robert - * Removed the default compile of single threaded KeyboardMouse -2005-05-03 21:46 robert +Tue, 5 Oct 2004 19:12:46 +0000 +Checked in by : Robert OSFIELD +Added s/getCullSettings to OsgCameraGroup - * Added support for lazy state updating of uniforms. +Tue, 5 Oct 2004 15:08:54 +0000 +Checked in by : Robert OSFIELD +Added ability to alter the verbosity of the notify messages with the running of osgTerrain::DataSet via a static s/getNotifyOffset(int) method. -2005-05-03 16:34 robert +Tue, 5 Oct 2004 09:53:36 +0000 +Checked in by : Robert OSFIELD +Added support to osgProducer::Viewer for forcing an early exit form applications and recording an image on exit. - * From Bob Kuehne, OSX 10.4 fix. +Tue, 5 Oct 2004 07:08:02 +0000 +Checked in by : Robert OSFIELD +Changed _stat64 to _stati64 -2005-05-03 14:31 robert +Mon, 4 Oct 2004 14:21:36 +0000 +Checked in by : Robert OSFIELD +Moved the SceneView to local to the contruction/destruction of the RenderSurface - * From Bob Kuehne, fixes for OSX 10.4 build. +Sun, 3 Oct 2004 19:49:27 +0000 +Checked in by : Robert OSFIELD +Checked in #define mapping of stat64 to _stat64 to fix Windows build -2005-05-03 10:09 robert +Sun, 3 Oct 2004 08:50:56 +0000 +Checked in by : Robert OSFIELD +Solution of fileExists support for > 2Gb files from Ken Sewell, applied by Robert Osfield. - * Updated wrappers +Sun, 3 Oct 2004 08:36:27 +0000 +Checked in by : Robert OSFIELD +Added missing _texAttrListMap.clear(); into reset() -2005-05-03 06:23 robert +Fri, 1 Oct 2004 23:18:08 +0000 +Checked in by : Robert OSFIELD +Added new osgspotlight demo - * Removed Impostor.cpp +Fri, 1 Oct 2004 22:05:40 +0000 +Checked in by : Robert OSFIELD +From Lewis Harmon, fixes to the Node and NodeCallback constructors. -2005-05-02 20:00 robert +Fri, 1 Oct 2004 18:32:42 +0000 +Checked in by : Robert OSFIELD +Changed the argument parser to accept strings that start with a - as being valid strings. - * Fixed TIFF readers handling of interleaved data +Fri, 1 Oct 2004 15:49:57 +0000 +Checked in by : Robert OSFIELD +From Rainer Oder, new osglauncher application. -2005-05-02 19:42 robert +Fri, 1 Oct 2004 15:48:58 +0000 +Checked in by : Robert OSFIELD +Added setPlanesFromMatrix method - * Improvements to the repojection code so that it can generate RGBA - reprojected - data. +Fri, 1 Oct 2004 15:48:00 +0000 +Checked in by : Robert OSFIELD +Added new setPlanesFromMatrix method -2005-05-02 14:16 robert +Fri, 1 Oct 2004 15:47:40 +0000 +Checked in by : Robert OSFIELD +Updated to use new TexGen method - * Added support for generating RGBA, RGBA-16 and RGBA-compressed - texture databases +Fri, 1 Oct 2004 09:40:06 +0000 +Checked in by : Robert OSFIELD +From Tree, moved apply's from protected to public to support Java wrappers -2005-05-02 13:00 robert +Fri, 1 Oct 2004 09:38:21 +0000 +Checked in by : Robert OSFIELD +Added define of GL_TEXTURE_BINDING_3D for systems with OpenGL1.2 compliant headers - * Added support for reading from RGBA source textures +Fri, 1 Oct 2004 09:19:30 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added more examples to runexamples.bat -2005-05-02 10:18 robert +Fri, 1 Oct 2004 07:39:15 +0000 +Checked in by : Robert OSFIELD +Added support for write to ostream into .osg plugin - * Added support for optimization of Uniforms +Thu, 30 Sep 2004 19:36:15 +0000 +Checked in by : Robert OSFIELD +Experimentation with new timing code. -2005-05-02 09:57 robert +Thu, 30 Sep 2004 14:54:42 +0000 +Checked in by : Robert OSFIELD +Removed debugging messages - * Improved the handling of update/event callbacks on Drawable and - Geodes +Thu, 30 Sep 2004 13:36:00 +0000 +Checked in by : Robert OSFIELD +Checked in support for cleaning up and then restart a new graphics windows once the first one has been closed down. -2005-05-02 09:34 robert +Thu, 30 Sep 2004 12:10:45 +0000 +Checked in by : Robert OSFIELD +Fixed newly introduced compressed mipmnap error. - * From Mike Weiblen, added \n newlines to inline shader program - strings. - From Robert Osfield, changed tabs to spaces. +Thu, 30 Sep 2004 09:10:29 +0000 +Checked in by : Robert OSFIELD +Added proper handling of 3d texture compression -2005-05-01 21:33 robert +Wed, 29 Sep 2004 19:10:00 +0000 +Checked in by : Robert OSFIELD +Added support for ClipPlane, ClipNode, TexGenNode to .ive - * Moved Impostor from osg to osgSim .osg plugin +Wed, 29 Sep 2004 15:00:07 +0000 +Checked in by : Robert OSFIELD +Added Texture3D reference -2005-05-01 20:56 robert +Wed, 29 Sep 2004 14:31:06 +0000 +Checked in by : Robert OSFIELD +Added Texture3D implementation. - * Added include for OSX build +Wed, 29 Sep 2004 10:01:46 +0000 +Checked in by : Robert OSFIELD +Preliminary steps to support for compressed 3D textures. -2005-05-01 19:48 robert +Wed, 29 Sep 2004 08:07:32 +0000 +Checked in by : Robert OSFIELD +Added extra dependencies to osgsimulation example - * Moved osg::Impostor to osgSim::Impostor, as Impostor isn't a core - feature. +Wed, 29 Sep 2004 08:04:46 +0000 +Checked in by : Robert OSFIELD +Removed makeDir referecnes -2005-05-01 10:34 robert +Tue, 28 Sep 2004 09:14:04 +0000 +Checked in by : Robert OSFIELD +From Tree, changes to better support Java binding generation - * From Don Tidrow, spelling fixes +Tue, 28 Sep 2004 08:39:46 +0000 +Checked in by : Robert OSFIELD +Added a mutex and _numFramesActive count to track multiview usages of the DatabasePager. -2005-04-30 15:16 robert +Tue, 28 Sep 2004 07:15:01 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, fix expandBy(const BoundingSphere&) method to properly handle the instance of when the two bounding sphere's have a coincident center. - * Added RemoveLoadedProxyNodes pass to Optimizer, set on by default - at present. +Mon, 27 Sep 2004 14:15:13 +0000 +Checked in by : Robert OSFIELD +Added new methods into osg::Referenced for controlling the use of thread safe ref/unref: /** Set whether reference counting should be use a mutex to create thread reference counting.*/ + static void setThreadSafeReferenceCounting(bool enableThreadSafeReferenceCounting); -2005-04-30 13:54 robert + /** Get whether reference counting is active.*/ + static bool getThreadSafeReferenceCounting(); - * From Geoff Michel : - - ac3d loader - better sharing of states between objects and Roger - James' bug fix for missing normals. - - Tesselator.cpp - faster processing of polygon tesselation for - single triangles (which dont need to be tesselated) - - osgtesselate.cpp - added wrap for texture so that appearance is - as originally. Default texture behaviour has changed to clamp." -2005-04-30 07:25 robert - * Combine LOD fixed properly this time :) +Mon, 27 Sep 2004 12:07:34 +0000 +Checked in by : Robert OSFIELD +Changed the version strings to use OpenSceneGaph rather than "Open Scene Graph" -2005-04-30 07:22 robert +Mon, 27 Sep 2004 10:42:14 +0000 +Checked in by : Robert OSFIELD +Changed the pruning of database requests so that the frame number need not be identical to pass, a delta of 1 is now pemssible - * fixed combined LOD bug +Sun, 26 Sep 2004 19:01:27 +0000 +Checked in by : Robert OSFIELD +Removed erroneous casts that would have been causing uneccessary copying. -2005-04-30 07:02 robert +Sun, 26 Sep 2004 18:39:34 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, typos and spelling fixes. - * From Mike Weiblen, Progra/Shader fixes +Sun, 26 Sep 2004 10:27:25 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, partial fix for OpenGL error generation under NVidia drivers. -2005-04-29 20:57 robert +Thu, 23 Sep 2004 20:13:16 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Updated wrappers +Thu, 23 Sep 2004 20:07:37 +0000 +Checked in by : Robert OSFIELD +Fixed typo. -2005-04-29 20:56 robert +Thu, 23 Sep 2004 20:01:40 +0000 +Checked in by : Robert OSFIELD +Added releaseAllGLObjects() convinience method. - * Added support for controlling the frequency of checking for - OpenGL errors - via: - - enum CheckForGLErrors - { - /** NEVER_CHECK_GL_ERRORS hints that OpenGL need not be checked - for, this - is the fastest option since checking for errors does incurr a - small overhead.*/ - NEVER_CHECK_GL_ERRORS, - /** ONCE_PER_FRAME means that OpenGl errors will be checked for - once per - frame, the overhead is still small, but at least OpenGL errors - that are occurring - will be caught, the reporting isn't fine grained enough for - debugging purposes.*/ - ONCE_PER_FRAME, - /** ONCE_PER_ATTRIBUTE means that OpenGL errors will be checked - for after - every attribute is applied, allow errors to be directly - associated with - particular operations which makes debugging much easier.*/ - ONCE_PER_ATTRIBUTE - }; - - /** Set whether and how often OpenGL errors should be checked - for.*/ - void setCheckForGLErrors(CheckForGLErrors check) { _checkGLErrors - = check; } - - /** Get whether and how often OpenGL errors should be checked - for.*/ - CheckForGLErrors getCheckForGLErrors() const { return - _checkGLErrors; } +Thu, 23 Sep 2004 18:50:38 +0000 +Checked in by : Robert OSFIELD +Clean up of new DatabasePager code, and change of osgProducer so that DatabasePager support is now integrated into the OsgSceneHandler. -2005-04-29 18:51 robert +Thu, 23 Sep 2004 16:05:24 +0000 +Checked in by : Don BURNS +Fixed warnings - * VS.7.1 linker warning fix +Thu, 23 Sep 2004 12:27:56 +0000 +Checked in by : Robert OSFIELD +Updates for better DatabasePager peformance w.r.t constant frame rates. -2005-04-29 13:30 robert +Wed, 22 Sep 2004 09:28:40 +0000 +Checked in by : Robert OSFIELD +Added a extra debugging comment - * Commented out notify messages to prevent crash under OSX at start - up. +Tue, 21 Sep 2004 21:33:52 +0000 +Checked in by : Robert OSFIELD +Updated to DatabasePager support -2005-04-29 11:22 robert +Tue, 21 Sep 2004 17:26:08 +0000 +Checked in by : Robert OSFIELD +Various improvements to database paing. - * Compile fix +Mon, 20 Sep 2004 17:42:59 +0000 +Checked in by : Don BURNS +removed makeDir.h -2005-04-29 11:19 robert +Mon, 20 Sep 2004 17:42:40 +0000 +Checked in by : Don BURNS +Removed temporary makeDir files and call in ReaderWriterNet.cpp - * Moved osgIntrospection across to standard OSG coding style. +Sun, 19 Sep 2004 20:09:54 +0000 +Checked in by : Robert OSFIELD +Added clear(), setDatabasePagerThreadPause() and setAcceptNewDatabaseRequests() methods and new local implementation of cancel(). -2005-04-29 10:06 robert +Sun, 19 Sep 2004 19:03:38 +0000 +Checked in by : Robert OSFIELD +Removed unused variable. - * Added Copyright +Sun, 19 Sep 2004 18:34:05 +0000 +Checked in by : Robert OSFIELD +Added reference to GL_LIBS -2005-04-29 09:47 robert +Sat, 18 Sep 2004 19:28:45 +0000 +Checked in by : Robert OSFIELD +Various improvements to the DatabasePager with the aim to achieve constant framerates and minimizing memory consumption. - * Moved osgParticle across to standard OSG coding style. +Sat, 18 Sep 2004 19:27:39 +0000 +Checked in by : Robert OSFIELD +Removed reference to ComputeTransformCallback -2005-04-29 06:32 robert +Wed, 15 Sep 2004 19:14:00 +0000 +Checked in by : Robert OSFIELD +From Sebastien Grignard, add writing out/reading in of drawable components of a ShapeDrawable.From Robert, add versioning of the above change to allow old files to still +work. - * Coding style update -2005-04-29 06:32 robert - * Moved to standard OSG coding style. +Wed, 15 Sep 2004 19:10:15 +0000 +Checked in by : Robert OSFIELD +More spelling & top fixes. -2005-04-28 19:50 robert +Wed, 15 Sep 2004 19:07:56 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, typo and spelling fixes - * Reduced the verboseness of the notifaction messages +Wed, 15 Sep 2004 15:09:46 +0000 +Checked in by : Robert OSFIELD +Added usage of std::vector<> and ref_ptr<>'s to avoid memory leaks -2005-04-28 19:41 robert +Tue, 14 Sep 2004 15:05:16 +0000 +Checked in by : Robert OSFIELD +Commented out osg::noitfy usage under OSX since this was causing a crash on start up - * Fixed the Mingw settings for GDAL_LIBS (was written as GDAL_LIB - which wasn't - being picked up as the GNUmakefiles were looking for GDAL_LIBS). +Tue, 14 Sep 2004 15:03:18 +0000 +Checked in by : Robert OSFIELD +Added GDAL check to compile of osgsimulation -2005-04-28 19:24 robert +Mon, 13 Sep 2004 17:19:05 +0000 +Checked in by : Robert OSFIELD +Fix of tabbing and typo - * Changed the default texture size to 512x512 to reduce the number - of textures - required when rendering text. +Mon, 13 Sep 2004 16:10:59 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, typo and spelling fixes -2005-04-28 19:08 robert +Mon, 13 Sep 2004 15:17:43 +0000 +Checked in by : Robert OSFIELD +Fixed comments - * Removed old LUMINANCE_ALPHA code pathways since they are no - longer used. +Mon, 13 Sep 2004 15:14:11 +0000 +Checked in by : Robert OSFIELD +From Eric Hammil, typo and spelling fixes -2005-04-28 18:55 robert +Mon, 13 Sep 2004 14:33:41 +0000 +Checked in by : Robert OSFIELD +From George Papagiannakis, added extra Quat length to catch case where length is zero. - * Added proper handling of freeing of font implememtation either - when unloading - the freetype plugin or deleting osgText::Font first. +Mon, 13 Sep 2004 13:53:45 +0000 +Checked in by : Robert OSFIELD +Improved the handling of building/writing generated databases, and the fixed transition distances on the lower levels of geocentric databases. -2005-04-28 12:45 robert +Sat, 11 Sep 2004 03:00:11 +0000 +Checked in by : Robert OSFIELD +Added a deleteTextureObject after the creation of the compressed textures - * Added version number #define's +Fri, 10 Sep 2004 17:49:50 +0000 +Checked in by : Robert OSFIELD +Added missing LightModel.h and .cpp from Stansilav. -2005-04-28 05:58 robert +Fri, 10 Sep 2004 13:31:37 +0000 +Checked in by : Robert OSFIELD +Added convinience methods. - * Added check to see if autoTransformCache had been initialized - before - using it in the computeBound. +Fri, 10 Sep 2004 08:26:53 +0000 +Checked in by : Robert OSFIELD +Made update, cull and draw callbacks virtual to allow custom Drawable's to there own specific extensions for handling callbacks -2005-04-28 05:21 robert +Thu, 9 Sep 2004 15:14:33 +0000 +Checked in by : Robert OSFIELD +Made the computeLocalToWorld etc method to use const NodePath's parameters. - * From Farshid Lashkari, removed redundent fusion distance - calculations from computeRightEyeProjectionImplementation and - computeLeftEyeProjectionImplementation methods. +Thu, 9 Sep 2004 13:18:45 +0000 +Checked in by : Robert OSFIELD +Added osg::RefNodePath class for handling node paths. -2005-04-28 05:15 robert +Thu, 9 Sep 2004 13:07:18 +0000 +Checked in by : Robert OSFIELD +From Stanislav Blinov, addition of LightModel support for .ive format. - * From Marco Jez, changed = to ?= in COMPILE_INTROSPECTION line +Thu, 9 Sep 2004 09:03:28 +0000 +Checked in by : Robert OSFIELD +Fixed write of normalmap. -2005-04-28 05:12 robert +Thu, 9 Sep 2004 08:54:22 +0000 +Checked in by : Robert OSFIELD +Change the warnigns about a fail getLibraryHandle to be INFO rather than WARN. - * From Marco Jez, converted line endings to unix. +Thu, 9 Sep 2004 08:18:43 +0000 +Checked in by : Robert OSFIELD +From Martin Aumueller, added ref() and unref() to Inventor node handling. -2005-04-28 05:08 robert +Wed, 8 Sep 2004 18:14:04 +0000 +Checked in by : Robert OSFIELD +Fixed keyword used for setting the database name. - * From Marco Jez, added -ne option echo usage to fix stdout/stderr - redirection - error under Mingw. +Wed, 8 Sep 2004 15:14:18 +0000 +Checked in by : Robert OSFIELD +Quick fix to crash in TXPNode. -2005-04-26 20:35 robert +Tue, 7 Sep 2004 14:34:04 +0000 +Checked in by : Robert OSFIELD +Changed usage of assert() to throw. - * From Ruben, fix for PIV executation by disabling MMXEXT - selection. +Tue, 7 Sep 2004 10:45:22 +0000 +Checked in by : Robert OSFIELD +Added a size check on heap_array::Adjust(size_t i) to prevent access errors. -2005-04-26 19:34 robert +Tue, 7 Sep 2004 10:31:30 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, removed redundent paramaters in clampArray4LEQUAL. - * From Brede Johansen, tweaks to emitter classes to make them more - extensible. +Tue, 7 Sep 2004 10:09:52 +0000 +Checked in by : Robert OSFIELD +Changed the wrap mode from CLAMP to CLAMP_TO_EDGE -2005-04-26 18:55 robert +Tue, 7 Sep 2004 10:07:11 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, typos and spelling fixes - * Added $(GL_LIBS) to link line to get things linking ok under OSX. +Tue, 7 Sep 2004 06:59:19 +0000 +Checked in by : Robert OSFIELD +Added missing setTrackerMode(TrackerMode) -2005-04-26 14:29 robert +Mon, 6 Sep 2004 18:20:38 +0000 +Checked in by : Robert OSFIELD +Added mutex to access to the Registry::_objectCache. - * Updated wrappers. +Mon, 6 Sep 2004 14:59:11 +0000 +Checked in by : Robert OSFIELD +From Joakim Simonsson, add s/getHPROrder method -2005-04-26 13:15 robert +Mon, 6 Sep 2004 14:58:29 +0000 +Checked in by : Robert OSFIELD +Added docs for max size commandline params. - * Added support for per context extension string. - - Note, this required adding a unsigned int context ID to the - osg::isGLUExtensionSupported(,) - and osg::isGLExtensionSupported(,) functions. This may require - reimplementation - of end user code to accomodate the new calling convention. +Mon, 6 Sep 2004 14:30:25 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added missing TexGenNode constructor. -2005-04-26 11:20 robert +Sat, 4 Sep 2004 09:22:26 +0000 +Checked in by : Robert OSFIELD +Updates to controlling maximum texture size - * Added #include for VS.NET build +Fri, 3 Sep 2004 15:42:43 +0000 +Checked in by : Robert OSFIELD +Added commandline support for Size and texcoord Multipliers -2005-04-26 09:58 robert +Fri, 3 Sep 2004 15:05:33 +0000 +Checked in by : Robert OSFIELD +Added setConstantColorAsLightDirection & getConstantColorAsLightDirection methods to make it more convinient to set up DOT3 register combiners. - * Added support notification of Drawable parents of StateSet that - event/update callbacks have been called. +Fri, 3 Sep 2004 10:02:56 +0000 +Checked in by : Robert OSFIELD +Added handling of RGBA to normal map computation -2005-04-26 07:49 robert +Thu, 2 Sep 2004 20:42:28 +0000 +Checked in by : Don BURNS +Fixed .net plugin errors on Mac - * From Vivek Rajan, "osg::Text was getting stretched when the - CharacterSizeMode was set to - SCREEN_COORDS and the SceneView's projection matrix was set to an - Ortho2D matrix - (sceneView->setProjectionMatrixAsOrtho2D(-1,1,-1,1)). - - Computing the pixel size separately vertically and horizontally, - and - setting the scaling factors appropriately based on that fixed the - problem." +Thu, 2 Sep 2004 19:10:33 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, typo and spelling fixes -2005-04-25 20:46 robert +Thu, 2 Sep 2004 18:19:38 +0000 +Checked in by : Robert OSFIELD +Added Sequence back in with correct Permission, and with Geoff Michel's spelling corrections. - * Updated wrappers using Marco Jez's genwrapper utility. +Thu, 2 Sep 2004 18:17:38 +0000 +Checked in by : Robert OSFIELD +Temporary removal of Sequence to try and get around permissions problem with it. -2005-04-25 20:34 robert +Thu, 2 Sep 2004 10:01:24 +0000 +Checked in by : Robert OSFIELD +Added usage of carbon pathway in appendPlatformSpecificLibraryFilePaths. - * From Mike Weiblen, added support for --clear-color r,g,b,a and - --clear-color r,g,b - to osgProducer::Viewer. +Thu, 2 Sep 2004 07:44:33 +0000 +Checked in by : Robert OSFIELD +Added comments from Eric -2005-04-25 14:28 robert +Thu, 2 Sep 2004 03:52:13 +0000 +Checked in by : Don BURNS +Fixed a mis-definition of INSTBIN and INSTLIB - * Reduced the verbosness of debugging messages +Wed, 1 Sep 2004 17:18:04 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, removed mem_ptr reference as it no longer exists -2005-04-25 13:37 robert +Wed, 1 Sep 2004 15:14:55 +0000 +Checked in by : Robert OSFIELD +From Uwe Woessner - * Futher work on supporting update and event callbacks in StateSet, - Uniform and StateAttribute +Wed, 1 Sep 2004 14:49:18 +0000 +Checked in by : Robert OSFIELD +Added Don's new osgDB::makeDirectory() code FileUtils. -2005-04-25 13:27 robert +Wed, 1 Sep 2004 11:05:57 +0000 +Checked in by : Robert OSFIELD +Removed reference to old CmdLineArgs class - * Added SINGLE_THREADED_KEYBOARDMOUSE pathway as a means of testing - exit issues. +Wed, 1 Sep 2004 10:45:11 +0000 +Checked in by : Robert OSFIELD +From Jeoen den Dekker, changed eroneous tcoords[ci][0] to tcoords[ci][1] -2005-04-25 11:05 robert +Wed, 1 Sep 2004 10:41:50 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly, add detection for whether multi-texturing is supported before checking for number of texture units supported, using 1 as a fallback value - * Futher work on adding event and update callbacks to StateSet, - Uniform and StateAttributes +Wed, 1 Sep 2004 10:18:46 +0000 +Checked in by : Robert OSFIELD +Added bool paramter to MatrixManipulator::setHomePosition(,,,bool) to allow the autocomputehomeposition to be controlled. -2005-04-24 21:04 robert +Wed, 1 Sep 2004 09:54:36 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added new osgmotionblur example - * Added ParentList's into StateSet, Uniform and StateAttribute in - preparation for - providing update and event handling. +Wed, 1 Sep 2004 09:48:17 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolsky, add support for recording default values for env vars -2005-04-24 19:30 robert +Wed, 1 Sep 2004 09:10:15 +0000 +Checked in by : Robert OSFIELD +Added crude #ifdef COIN_BASIC_H around ::REPLACE usage as this is only available under Coing - * Added THREAD_ infront of PRIORITY_MIN settings to reflect changes - to OpentThreads +Wed, 1 Sep 2004 09:00:20 +0000 +Checked in by : Robert OSFIELD +Added support for CONSTANT_COLOR and ONE_MINUS_CONSTANT_COLOR into .osg -2005-04-23 16:09 robert +Wed, 1 Sep 2004 08:59:58 +0000 +Checked in by : Robert OSFIELD +From Sondra Iverson, adding of CONSTANT_COLOR and ONE_MINUS_CONSTANT_COLOR options - * Added - MergeGeometryVisitor::setTargetMaximumNumberOfVertices(uint); +Wed, 1 Sep 2004 08:49:48 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, addition of new interal texture formats to osg/Texture and Image.cpp -2005-04-23 10:45 robert +Wed, 1 Sep 2004 08:34:49 +0000 +Checked in by : Robert OSFIELD +From Brede Johhansen, fixed copy and paste bug where in getInverse(..) methods - * Removed the use of the post swap callback +Wed, 1 Sep 2004 08:15:36 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, typos and spelling fixes. -2005-04-23 10:41 robert +Tue, 31 Aug 2004 21:18:46 +0000 +Checked in by : Don BURNS +small change for Visual Studio compile - * Added missing bodes of Uniform::operator = and - setEvent/UpdateCallback in StateSet. +Tue, 31 Aug 2004 21:06:01 +0000 +Checked in by : Don BURNS +Added Visual Studio files for osgPlugin net -2005-04-23 10:31 robert +Tue, 31 Aug 2004 20:49:23 +0000 +Checked in by : Don BURNS +added makeDir - temporary UNIX only - * Added support for using TextureRectangle in --move support in - readNodeFile +Tue, 31 Aug 2004 20:26:54 +0000 +Checked in by : Don BURNS +Fixes (hopefully) for windows and other platforms... -2005-04-22 22:45 robert +Tue, 31 Aug 2004 14:49:33 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, typo and spelling fixes. - * Preliminary steps to adding update and event callbacks to - StateSet, StateAttribute - and Uniform. +Tue, 31 Aug 2004 14:48:05 +0000 +Checked in by : Robert OSFIELD +Added support for spherical texture mapping and better file search support for meterial files. -2005-04-22 20:56 robert +Tue, 31 Aug 2004 14:21:46 +0000 +Checked in by : Robert OSFIELD +Simplified the TrackMode options - * From Brede Johansen, tweaked refraction and fresnel coefficients - for a better - visual effect. +Tue, 31 Aug 2004 14:08:12 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, spelling and typo fixes. -2005-04-22 15:44 robert +Tue, 31 Aug 2004 13:19:30 +0000 +Checked in by : Robert OSFIELD +From Sébastien Kuntz, spelling and typo fixes - * Improved handling of unsupported formats +Tue, 31 Aug 2004 09:20:31 +0000 +Checked in by : Robert OSFIELD +Added rescale of quaternion in Matrix::set(Quat), a copy operation in osg::Quat and extra tracking options in NodeTrackerManipulator. -2005-04-22 15:44 robert +Tue, 31 Aug 2004 01:12:56 +0000 +Checked in by : Don BURNS +Added cache_mode option to Net plugin - * Improved handling of unsupported file formats. +Mon, 30 Aug 2004 18:53:44 +0000 +Checked in by : Robert OSFIELD +Added trackmode support for handling rotation of tracked node -2005-04-22 15:43 robert +Mon, 30 Aug 2004 18:51:42 +0000 +Checked in by : Robert OSFIELD +Fixed the Matrix::get(Quat&) method - * Improved handling of invalid imagery in BufferObject +Mon, 30 Aug 2004 10:03:18 +0000 +Checked in by : Robert OSFIELD +Remamed TrackerManipulator to NodeTrackerManipulator -2005-04-22 14:40 robert +Mon, 30 Aug 2004 01:15:49 +0000 +Checked in by : Don BURNS +Added the local_cache_dir option to the net plug-in allowing for the keeping and populating of a local cache. With this option, the cache is checked first before fetching from the network. - * Removed unusaged methods +Sun, 29 Aug 2004 15:09:26 +0000 +Checked in by : Robert OSFIELD +Added handling of $ comment line, and 'g' empty group name -2005-04-22 14:40 robert +Sun, 29 Aug 2004 00:57:02 +0000 +Checked in by : Don BURNS +Added two options to the .net loader: hostname= - Specify the host to connect to to retreive files server_prefix= - Specify a prefix to each file indicating a directory for the server to look into Also, the .net server now does not require a file to have the .net suffix. ALl this together now means that you can do this: osgviewer -e net -O "hostname=openscenegraph.org server_prefix=BlueMarble" earth.ive - * From Tree, removed dependency on Producer +And view the whole earth streamed from a server. -2005-04-22 13:47 robert - * Removed ViewPoint.h and .cpp from the ive plugin -2005-04-22 13:32 robert +Sat, 28 Aug 2004 23:04:47 +0000 +Checked in by : Don BURNS +Changes for IRIX build and fix to build system - * Cleaned up the xine plugin to better handle unsupported video - files. +Sat, 28 Aug 2004 07:25:21 +0000 +Checked in by : Don BURNS +Added the .net plug-in. This allows the reading of files by specifying :file..net for example: osgviewer osgcvs.no-ip.com:OSGModels/cow.osg.net -2005-04-22 07:13 robert - * From Mike Weiblen, added support for samplers and mat4 to .osg -2005-04-21 21:07 robert +Fri, 27 Aug 2004 16:52:23 +0000 +Checked in by : Robert OSFIELD +Fix of OSX build - * Added initialize of version number +Fri, 27 Aug 2004 16:19:05 +0000 +Checked in by : Robert OSFIELD +Fix for OSX build. -2005-04-21 21:05 robert +Fri, 27 Aug 2004 16:14:21 +0000 +Checked in by : Robert OSFIELD +Added a new osgDB::appendPlatformSpecificLibraryFilePaths() method to FileUtils.cpp Includes a new OSX code from Eric Wing - * From Garrat Potts, fixed face memory leak in FreTypeFont - destructor. +Fri, 27 Aug 2004 14:56:08 +0000 +Checked in by : Robert OSFIELD +Added .tif extension to handled extension list -2005-04-20 19:53 robert +Fri, 27 Aug 2004 12:04:29 +0000 +Checked in by : Robert OSFIELD +Removed eroneous cancel() and join() from the DatabasePager::run() method. - * Small tweaks +Fri, 27 Aug 2004 08:03:26 +0000 +Checked in by : Robert OSFIELD +Added handling of short (<=4 points) polygons as tri fans and the rest as polygons which are tesselated, to improve load and build time, yet still resselating the large polygons that need it. -2005-04-20 18:50 robert +Fri, 27 Aug 2004 08:01:17 +0000 +Checked in by : Robert OSFIELD +Added handling of DrawArrayLengths PrimitiveSet. - * From Mike Weiblen, removed Uniform not quite ready notice, - and added .h files into osgshaders project file. +Thu, 26 Aug 2004 16:20:26 +0000 +Checked in by : Robert OSFIELD +Improvements to handling of winding of polygons. -2005-04-20 14:51 robert +Thu, 26 Aug 2004 14:52:14 +0000 +Checked in by : Robert OSFIELD +Removed debugging output. - * Removed the enabling of the point smooth mode. +Thu, 26 Aug 2004 14:33:38 +0000 +Checked in by : Robert OSFIELD +Rewrite of OBJ parser + converter to OSG -2005-04-20 12:32 robert +Thu, 26 Aug 2004 06:41:09 +0000 +Checked in by : Robert OSFIELD +Fixed getHomePosition - * From Brede Johnansen, adding support for EXT, ARB and GL version - 1.4 point parameters. +Tue, 24 Aug 2004 21:35:41 +0000 +Checked in by : Don BURNS +Robert must've forgotten to set VERSION_REVISION back to 0 after tagging the release -2005-04-20 09:55 robert +Tue, 24 Aug 2004 18:27:47 +0000 +Checked in by : Robert OSFIELD +Removed "interlace" debugging message - * Removed increment of the cursor position by the bearing value in - the compute - last character code as this should not be used when moving the - cursor. +Tue, 24 Aug 2004 18:23:53 +0000 +Checked in by : Robert OSFIELD +Changed the AnimationPathCallback::reset() to reset the _firstTime to DBL_MAX so that it resets on the next update traversal. -2005-04-20 08:51 robert +Tue, 24 Aug 2004 13:25:45 +0000 +Checked in by : Robert OSFIELD +Added support for looping mode - * Commented out support for the -m option for inserting 3d models - in a terrain - database, as this feature isn't yet supported by osgTerrain. +Tue, 24 Aug 2004 12:55:15 +0000 +Checked in by : Robert OSFIELD +Added s/getLoopingMode() to ImageStream and MPEG plugin -2005-04-19 07:37 robert +Tue, 24 Aug 2004 11:00:05 +0000 +Checked in by : Robert OSFIELD +Removed HoveManipulator - * From Reinhard Sainitzer, bug fix, added missing break; +Tue, 24 Aug 2004 10:58:51 +0000 +Checked in by : Robert OSFIELD +Updated docs -2005-04-18 18:23 robert +Tue, 24 Aug 2004 08:43:53 +0000 +Checked in by : Robert OSFIELD +Made the command buffer have 20 elements in it to protect against wrapping around. - * Removed eroneous /dv1 flag (should have been /vd1, but it this is - default anway - so can safely remove entirely). +Tue, 24 Aug 2004 07:29:28 +0000 +Checked in by : Robert OSFIELD +Changed --compress to --compressed in commandline docs -2005-04-18 13:36 robert +Mon, 23 Aug 2004 20:29:42 +0000 +Checked in by : Don BURNS +Fixed error for when screen width * 0.75 is greater than screen height for compute of window size when coming from fullscreen when 'f' key is pushed. - * Further work on uniforms support in .osg +Mon, 23 Aug 2004 17:17:46 +0000 +Checked in by : Don BURNS +Fixed assumption that the users's screen is 1280x1024 when toggling full screen with the 'f' key. -2005-04-18 13:29 robert +Mon, 23 Aug 2004 14:08:26 +0000 +Checked in by : Robert OSFIELD +Fixed link to download page - * Added more complete support for writing out data of Uniforms +Mon, 23 Aug 2004 08:44:47 +0000 +Checked in by : Robert OSFIELD +Added protection to prevent crashes on calls when no data is set up -2005-04-18 12:34 robert +Mon, 23 Aug 2004 08:31:55 +0000 +Checked in by : Robert OSFIELD +Changed the write help option to just output commandline options. - * Added next stage of support for osg::Uniform in .osg plugin +Mon, 23 Aug 2004 07:25:19 +0000 +Checked in by : Robert OSFIELD +Updated docs to point to correct 3rd party binaries -2005-04-18 09:17 robert +Sat, 21 Aug 2004 17:29:19 +0000 +Checked in by : Don BURNS +Added back in the -s (scale) argument to osgconv, which was dropped in the last revision. - * Removed mpeg plugin from CVS, now moved to the Community section - of - openscenegraph.org as a seperate project. +Fri, 20 Aug 2004 09:46:02 +0000 +Checked in by : Robert OSFIELD +From Don Tidrow, fixes to comments. -2005-04-17 19:14 robert +Wed, 18 Aug 2004 10:07:02 +0000 +Checked in by : Robert OSFIELD +Bumped up the revision number to 2 for the 0.9.7-2 release - * Fixed typo in testLookAt debug info. +Wed, 18 Aug 2004 09:34:50 +0000 +Checked in by : Robert OSFIELD +Set date for 0.9.7-2 release -2005-04-17 19:10 robert +Wed, 18 Aug 2004 06:06:02 +0000 +Checked in by : Robert OSFIELD +Rejigged the __int* definitions to try and get round Mingw compile errors - * Fixed warnings. +Tue, 17 Aug 2004 19:42:45 +0000 +Checked in by : Robert OSFIELD +From Bruce Clay, fixes for VS6.0 build. -2005-04-17 11:35 robert +Tue, 17 Aug 2004 18:57:02 +0000 +Checked in by : Robert OSFIELD +From David Fries, added getBinNum() method - * Changed the animation on default to false, so things only move if - you ask them to. +Tue, 17 Aug 2004 18:56:24 +0000 +Checked in by : Robert OSFIELD +Changed sizeof(..) references to 1,2,4 respectively. -2005-04-17 11:30 robert +Tue, 17 Aug 2004 08:14:50 +0000 +Checked in by : Robert OSFIELD +Updated changelog - * From Marco Jez, osgWrappers updates to latest changes in core - osg. +Tue, 17 Aug 2004 07:58:32 +0000 +Checked in by : Robert OSFIELD +From David Fries, "I added code to also check the local up vector, but only if one of the rotation modes is selected, because autoscale isn't affected by the camera rotations. " -2005-04-17 10:41 robert +Tue, 17 Aug 2004 07:44:31 +0000 +Checked in by : Robert OSFIELD +Changed the "flip" keyword to "dds_flip" - * Moved istream/ostream includes out of Vec3f, and reimpleted - osg::Matrix*::compare. +Tue, 17 Aug 2004 07:43:30 +0000 +Checked in by : Robert OSFIELD +Updated docs for second rev of 0.9.7 -2005-04-17 09:41 robert +Tue, 17 Aug 2004 06:15:54 +0000 +Checked in by : Robert OSFIELD +Removed computeMipMaps call - * From Tony Horrobin, fix for VS6.0 +Mon, 16 Aug 2004 21:14:19 +0000 +Checked in by : Robert OSFIELD +Added support for "flip" option string, which if present flips incoming images about the vertical axis. Accessed via -O flip on the commandline. -2005-04-16 17:44 robert +Mon, 16 Aug 2004 21:03:41 +0000 +Checked in by : Robert OSFIELD +Added a handling of different hex long long handling for VS and non VS. - * From Marco Jez, added operator >> for Plane and Quat to io_utils, - and added - OSG_EXPORT to PerContextProgram. +Mon, 16 Aug 2004 20:57:24 +0000 +Checked in by : Robert OSFIELD +Added support in Image::flipVertical for flipping mipmapped imagery and for flipping compressed imagery. -2005-04-16 10:18 robert +Mon, 16 Aug 2004 16:43:17 +0000 +Checked in by : Robert OSFIELD +Fixed _MSC_VAR reference - * Fixed wrapping of text string to allow internal "" strings +Mon, 16 Aug 2004 15:45:17 +0000 +Checked in by : Robert OSFIELD +Added dxtctool.h/.cpp -2005-04-16 10:11 robert +Mon, 16 Aug 2004 15:43:12 +0000 +Checked in by : Robert OSFIELD +Added fxtctool in prep for adding compressed imagery swap - * From Mike Weiblen,added debug info to osg::Program and changed - shader uniform names to - avoid conflict with built in functions +Mon, 16 Aug 2004 14:21:31 +0000 +Checked in by : Robert OSFIELD +Cleaned up output level of debugging messages -2005-04-16 04:00 don +Mon, 16 Aug 2004 14:03:17 +0000 +Checked in by : Robert OSFIELD +Fix to order of materials - * CHanged line 101 in PageLOD.cpp to read - if ( in->getVersion() >= VERSION_0006 ) { - setDatabasePath(in->readString()); - } - - instead of - if ( in->getVersion() > VERSION_0006 ) { - setDatabasePath(in->readString()); - } - - Seems DatabasePath _is_ present in ive files of version 6. +Mon, 16 Aug 2004 13:54:40 +0000 +Checked in by : Robert OSFIELD +From Michael Gronager, addition of NodeCallback support in .osg format. -2005-04-15 20:59 robert +Mon, 16 Aug 2004 13:17:29 +0000 +Checked in by : Robert OSFIELD +Improvements to the handling of OBJ files - * Moved Plane and Quat << operators into the io_utils headers +Mon, 16 Aug 2004 08:58:07 +0000 +Checked in by : Robert OSFIELD +Disabled the culling on the DistortionNode. -2005-04-15 20:44 robert +Mon, 16 Aug 2004 08:55:48 +0000 +Checked in by : Robert OSFIELD +Disabled the culling for clear node. - * Added dxf to the list of projects +Mon, 16 Aug 2004 08:32:16 +0000 +Checked in by : Robert OSFIELD +Changed the length multiple to be 2x the bounding sphere radius -2005-04-15 20:39 robert +Mon, 16 Aug 2004 07:29:07 +0000 +Checked in by : Robert OSFIELD +From Michael Gronager, fix to an orientation bug. - * From Paul de Repentinguy, DXF loader plugin. Ported to Linux by - Robert Osfield. +Sat, 14 Aug 2004 15:42:01 +0000 +Checked in by : Don BURNS +P*E*G*O*U*T Sound. Spelling fixes. -2005-04-15 20:11 robert +Fri, 13 Aug 2004 15:48:24 +0000 +Checked in by : Robert OSFIELD +Added news for release 0.9.7-2 - * From Joran Jessurun, Added setting of original node mask to - flatten transforms +Fri, 13 Aug 2004 15:29:15 +0000 +Checked in by : Robert OSFIELD +Updates for 0.9.7-2 release -2005-04-15 20:05 robert +Fri, 13 Aug 2004 14:42:26 +0000 +Checked in by : Robert OSFIELD +From Corbin Holtz, addition of support for reading imagery with color tables, including code from Frank Warmerdam on the GDAL side, and integration/reworking work form Robert Osfield. - * Added setValue and setSwitchSet methods +Fri, 13 Aug 2004 14:09:48 +0000 +Checked in by : Robert OSFIELD +Updated docs. -2005-04-15 18:28 robert +Fri, 13 Aug 2004 13:46:47 +0000 +Checked in by : Robert OSFIELD +Added docs for CacheObjectHints - * From Mike Weiblen, fix for Win32 build +Fri, 13 Aug 2004 13:27:29 +0000 +Checked in by : Robert OSFIELD +Removed redundent include/ReadFile call -2005-04-15 10:15 robert +Fri, 13 Aug 2004 12:38:12 +0000 +Checked in by : Robert OSFIELD +Changed the "Reading a byte swapped file" message to info level. - * Removed link reference to osgGL2 in doxygen file, added - osgIntrospection +Fri, 13 Aug 2004 12:05:08 +0000 +Checked in by : Robert OSFIELD +Fix for VS6.0 build -2005-04-15 10:09 robert +Fri, 13 Aug 2004 10:50:44 +0000 +Checked in by : Robert OSFIELD +Added #include required for X-platform build. - * Changed all instances of /vd0 to /vd1 +Fri, 13 Aug 2004 10:49:45 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate #ifdefs -2005-04-15 09:56 robert +Fri, 13 Aug 2004 10:46:04 +0000 +Checked in by : Robert OSFIELD +Fixes for OSX. - * In the ldexp(,) call removed the /256.0f by replacing it with a - -8 on the exponent. +Wed, 11 Aug 2004 08:25:14 +0000 +Checked in by : Robert OSFIELD +From Ben Discoe, build fix for float version of Matrix. -2005-04-15 08:35 robert +Tue, 10 Aug 2004 18:31:43 +0000 +Checked in by : Robert OSFIELD +Changed the database pager run message to only output at an info level - * Removed osgGL2 from CVS, osgGL2 now can be found on the - Community/NodeKits section on the OSG website. +Tue, 10 Aug 2004 13:30:32 +0000 +Checked in by : Robert OSFIELD +Updated to include reference to osgdem -2005-04-14 21:41 robert +Tue, 10 Aug 2004 13:19:04 +0000 +Checked in by : Robert OSFIELD +Added osgdem quick usage guide - * Updated Copyright notices to 1998-2005. +Mon, 9 Aug 2004 15:12:00 +0000 +Checked in by : Robert OSFIELD +Set revision number back to 0. -2005-04-14 20:34 robert +Mon, 9 Aug 2004 15:08:30 +0000 +Checked in by : Robert OSFIELD +Set version to 0.9.7-1 - * Changed uint for unsigned int. +Mon, 9 Aug 2004 13:58:03 +0000 +Checked in by : Robert OSFIELD +Updated NEWS -2005-04-14 20:14 robert +Sat, 7 Aug 2004 19:08:12 +0000 +Checked in by : Robert OSFIELD +Changed binding warnings to be reported as info rather than as warnings. - * Uniforms open for business :) +Sat, 7 Aug 2004 09:42:19 +0000 +Checked in by : Robert OSFIELD +Added the ability to set the global stateset, as use this RenderStageLighting -2005-04-14 20:05 robert +Fri, 6 Aug 2004 19:55:36 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, change the FREETYPE_INCLUDE and _LIB to hardcoded version to avoid reliance on freetype-config. - * Fixed getUniformLocation and getAttribLocation methods +Fri, 6 Aug 2004 09:38:43 +0000 +Checked in by : Robert OSFIELD +Fix for Mingw from Norman Vine. -2005-04-14 15:53 robert +Fri, 6 Aug 2004 09:36:13 +0000 +Checked in by : Robert OSFIELD +Updated NEWS - * Removed setProgram from osg::StateSet as Program works just fine - right now - as a standard osg::StateAttribute and set in a StateSet with - setAttribute. +Fri, 6 Aug 2004 09:35:08 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, adding of SDKPATH to OSX build -2005-04-14 11:28 robert +Fri, 6 Aug 2004 08:56:18 +0000 +Checked in by : Robert OSFIELD +Added support for the "precision " options string - * Preparation for moving osgGL2 out of the core OSG into its own - seperate distribution. +Fri, 6 Aug 2004 08:34:54 +0000 +Checked in by : Robert OSFIELD +Updated docs -2005-04-14 08:00 robert +Fri, 6 Aug 2004 08:22:58 +0000 +Checked in by : Robert OSFIELD +Added support for osg::AutoTransform::setAutoRotateMode(AutoRotateMode) deprecating the previous setAutoRotateToScreen(). Added support for ROTATE_TO_CAMERA mode.Cleaned up the autotransform demo to use a sensible number of labels - * From Mike Weiblen, fixed copy and paste error in new - osgshaders.cpp example. -2005-04-14 07:55 robert - * From Joson Daly, fix for forward/backward/swing animation - handling both 15.8 and - versions prior to 15.8, and... - - " Here's another fix for OpenFlight. The symptom was that ATTR - files were - not being read correctly, and the TexEnv on a texture that should - have - been set to DECAL was instead defaulting to MODULATE. The cause - is that - the ATTR reader cannot tell by itself what version it's reading - (the - version information isn't present in the ATTR files), and instead - relies - on the ReaderWriter::Options passed in to get the OpenFlight - version. - - My change clones the current ReaderWriter::Options and prepends - the - appropriate FLT_VER option before the ReaderWriterATTR object is - called. I also made the parsing of the FLT_VER string and value - more - robust in the ReaderWriterATTR itself. I think I commented things - OK, - but let me know if you need me to explain anything." +Fri, 6 Aug 2004 06:53:36 +0000 +Checked in by : Robert OSFIELD +Updated docs -2005-04-13 18:19 robert +Fri, 6 Aug 2004 05:28:51 +0000 +Checked in by : Robert OSFIELD +Typo fixes from Geoff Michel - * From Terry Welsh, added copy texture support to TextureRectangle +Fri, 6 Aug 2004 05:25:21 +0000 +Checked in by : Robert OSFIELD +From Bruce Clay, Build fixes for Win32 VS6.0 -2005-04-13 14:31 robert +Thu, 5 Aug 2004 15:15:51 +0000 +Checked in by : Robert OSFIELD +From Jay Zuckerman, fixes to AutoTransform so that it includes checking of previous position value. - * Added applying of all parents uniforms +Thu, 5 Aug 2004 15:14:50 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, updates to work with latest StateAttrbiute::compileGLObjects method -2005-04-13 14:12 robert +Thu, 5 Aug 2004 15:02:51 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, commented out info debugging messages - * Added basic support for applying uniforms to programs, non lazy - state updating - is yet applied though. +Thu, 5 Aug 2004 13:41:52 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, VS.NET warning fixes. -2005-04-13 12:00 robert +Thu, 5 Aug 2004 12:47:55 +0000 +Checked in by : Robert OSFIELD +Changed the popProjectionMatrix so that it didn't allow modification on the near and far values when clamping the projection matrix. - * Work in progress on shader language uniform support +Thu, 5 Aug 2004 10:01:32 +0000 +Checked in by : Robert OSFIELD +Added s/getClearColor and deprecated s/getBackgroundColor(). Re-implemented setClearColor so that it passes on its value to Camera::setClearColor(), and changed OsgSceneHandler to use the Camera::getClearColor() on each new frame to ensure that it reflects the settings of the camera correctly. -2005-04-12 19:28 robert +Thu, 5 Aug 2004 08:02:48 +0000 +Checked in by : Robert OSFIELD +Set version numbers for 0.9.7 release - * Added #if block for swith between imagery +Wed, 4 Aug 2004 10:22:55 +0000 +Checked in by : Robert OSFIELD +Added GDAL to dependencies list -2005-04-12 19:17 robert +Wed, 4 Aug 2004 10:03:57 +0000 +Checked in by : Robert OSFIELD +Cleaned up the gdal-config usage to work with gdal-1.1.9 - * Fixed bug +Wed, 4 Aug 2004 09:20:28 +0000 +Checked in by : Robert OSFIELD +Added support for setting custom dependencies -2005-04-12 08:59 robert +Wed, 4 Aug 2004 08:27:43 +0000 +Checked in by : Robert OSFIELD +From Norman Vine (with small tweaks by Robert Osfield), build fixes for Cygwin - * Added inline to float convertComponent(,) +Wed, 4 Aug 2004 07:14:12 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, fixes for Win32 build -2005-04-12 08:55 robert +Wed, 4 Aug 2004 06:57:03 +0000 +Checked in by : Robert OSFIELD +From Don Tidrow, build fix for Peformer - * From Olaf Flebbe, change from powf to ldexp. +Tue, 3 Aug 2004 19:01:32 +0000 +Checked in by : Robert OSFIELD +Brief update of news. -2005-04-11 17:14 robert +Tue, 3 Aug 2004 19:00:55 +0000 +Checked in by : Robert OSFIELD +Fixed tabbing - * Renamed SG_LIBRARY and SG_EXPORT macro's to OSG_LIBRARY and - OSG_EXPORT +Tue, 3 Aug 2004 19:00:33 +0000 +Checked in by : Robert OSFIELD +Added test for quat multiplication ordering. -2005-04-11 15:40 robert +Tue, 3 Aug 2004 18:06:36 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshtan, fix to Image copy constructor so that it used the correct size of image including mipmaps. - * Changed optimization flag to -O instead of -O2 to aid compile - speed. +Tue, 3 Aug 2004 12:38:11 +0000 +Checked in by : Robert OSFIELD +Added include of scoped lock -2005-04-11 15:22 robert +Tue, 3 Aug 2004 11:01:39 +0000 +Checked in by : Robert OSFIELD +Better macro support for switching on/off use of mutex - * From Olaf Flebbe, compile fix for Sun. +Tue, 3 Aug 2004 07:31:33 +0000 +Checked in by : Robert OSFIELD +Changed the static array syntax to solve VS.NET compile warnigns, changed the binding of the normals, and changed the name of the textures used. -2005-04-11 15:17 robert +Mon, 2 Aug 2004 15:56:18 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * Moved #include from header into .cpp to clean up - build. +Mon, 2 Aug 2004 15:52:50 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2005-04-11 15:01 robert +Mon, 2 Aug 2004 14:52:39 +0000 +Checked in by : Robert OSFIELD +Fixed warnigns - * Build fix +Mon, 2 Aug 2004 14:52:24 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2005-04-11 10:12 robert +Mon, 2 Aug 2004 14:42:20 +0000 +Checked in by : Robert OSFIELD +Removed warings - * Fixed warning, and sorted entries in GNUmakefile +Mon, 2 Aug 2004 13:57:47 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2005-04-11 08:15 robert +Mon, 2 Aug 2004 12:19:50 +0000 +Checked in by : Robert OSFIELD +Made the member variables in RenderStage and RenderBin protected - * Added friend class PerContextProgram; +Mon, 2 Aug 2004 09:30:13 +0000 +Checked in by : Robert OSFIELD +Added glReadBuffer after each instance of glDrawBuffer to ensure that the any reads are done to the appropriate buffer. -2005-04-11 07:51 robert +Mon, 2 Aug 2004 09:11:31 +0000 +Checked in by : Robert OSFIELD +From Norman Vine, fixes for Mingw - * From Olaf Flebbe, Fixed cross platform compile error +Mon, 2 Aug 2004 07:25:28 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly. a couple of small changes to osgParticle."The first is with +Particle.cpp. I made a change so that when the lifetime is 0 (lasts +forever) the sizeRange, colorRange, and alphaRange are used to create +a random size, color, and alpha." -2005-04-10 21:26 robert +"The second change is with range and SectorPlacer. The distribution of +particles across the sector was not uniform. I added get_random_sqrtf() +function where it is used in SectorPlacer::Place(). This seems to make +the distribution uniform (at least when minimum radius is 0)." - * From Randall Hopper, fixed typo of setRedMask. -2005-04-10 21:25 robert - * Further work on kiddies game. +Mon, 2 Aug 2004 07:23:26 +0000 +Checked in by : Robert OSFIELD +Added osgtesselate example -2005-04-09 11:17 robert +Sun, 1 Aug 2004 10:36:02 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, new osgtesselate example, and new features in osgUtil::Tesselator. - * Fixed typo +Sun, 1 Aug 2004 08:26:44 +0000 +Checked in by : Robert OSFIELD +Build fixes for gcc 3.4.1 support -2005-04-08 19:40 robert +Sun, 1 Aug 2004 04:10:54 +0000 +Checked in by : Robert OSFIELD +Removed old iv plugin - * From Mike Weiblen, osgGLUTsimple and osgGLUTkeyboardmouse - examples +Sun, 1 Aug 2004 04:06:07 +0000 +Checked in by : Robert OSFIELD +Added PROFILER support under Linux for gprof and FunctionCheck -2005-04-08 19:39 don +Fri, 30 Jul 2004 15:44:59 +0000 +Checked in by : Robert OSFIELD +Added beginnings of new TrackballManipulator - * Added check for _last_of for fileName and merged all definitions - for socklen_t - to one line. +Thu, 29 Jul 2004 14:24:50 +0000 +Checked in by : Robert OSFIELD +Added osgText to makefile -2005-04-08 19:29 robert +Thu, 29 Jul 2004 10:13:02 +0000 +Checked in by : Robert OSFIELD +Added detection and disabling of flattening of static transforms which a LightPointNode exists in the scene graph. - * From Marco Jez, updates to reflect new osgIntrospection API +Wed, 28 Jul 2004 19:56:22 +0000 +Checked in by : Robert OSFIELD +Fixed compare(ProgramObject) and added UniformeValue::compare and ShaderObject::compare to support proper sorting of shaders. -2005-04-08 18:46 robert +Wed, 28 Jul 2004 12:38:54 +0000 +Checked in by : Robert OSFIELD +Replaced GL_PACK_ROW_LENGTH by GL_UNPACK_ROW_LENGTH - * From Stephan Huber, changed fixed string sizes for dynamically - allocated ones in OSX file system gets. +Wed, 28 Jul 2004 12:29:15 +0000 +Checked in by : Robert OSFIELD +From Corbin Holtz, addition of GDAL_INCLUDE and GDAL_LIB env vars for setting a non standard location of GDAL -2005-04-08 14:44 robert +Wed, 28 Jul 2004 12:27:25 +0000 +Checked in by : Robert OSFIELD +Added initializer for _videoWriteData and _rows pointers - * From James French, a tweak with fix a compile problem related to - STLport. +Wed, 28 Jul 2004 10:26:44 +0000 +Checked in by : Robert OSFIELD +Commented out debugging messages -2005-04-08 14:11 robert +Wed, 28 Jul 2004 10:26:14 +0000 +Checked in by : Robert OSFIELD +Fixed the flatten static transform visitor so that it checks to see if a drawable can be flattened or not. - * From Olad Flebbe, compile fix for HP-UX. +Wed, 28 Jul 2004 08:28:31 +0000 +Checked in by : Robert OSFIELD +Added double buffer of video imagery so that the OpenGL never reads as Mpeg writes -2005-04-08 14:10 robert +Wed, 28 Jul 2004 07:24:13 +0000 +Checked in by : Robert OSFIELD +From David Fries, divide by zero fix on text with a pixel size of 0.0 - * Moved UByte4 i/ostream support into io_utils. +Tue, 27 Jul 2004 15:14:52 +0000 +Checked in by : Robert OSFIELD +Made the static mutex a pointer to a static mutex to get round a exit problem on deletion of the plugin. -2005-04-08 14:09 robert +Tue, 27 Jul 2004 13:32:15 +0000 +Checked in by : Robert OSFIELD +Clean up of debugging messages - * From James French, fix to header guard +Tue, 27 Jul 2004 13:24:35 +0000 +Checked in by : Robert OSFIELD +Fixed unref image so it only unref's when images are STATIC -2005-04-08 13:52 robert +Tue, 27 Jul 2004 10:23:11 +0000 +Checked in by : Robert OSFIELD +Changes to fix multiple thread start. - * From Stephan Huber (contains Registry.cpp changes from David - Guthrie): - "Attached is the new source for the Quicktime-Plugin which adds - the - ability to write pictures in various formats (tested: jpg, png, - tif, - psd) (24bit + 32bit only, 8bit not tested) - - There are changes in the attached osgDB::Registry, which allows - osg to - find resources/plugins in the right folders under OS X" - - Note, from Robert Osfield, changed the FilePathList* filepath + - delete to a - FilePathList filepath to avoid possible memory leaks when - expections are thrown/ - make it more maintainable. Also didn't merge the automatic - playing of movies. +Tue, 27 Jul 2004 10:11:45 +0000 +Checked in by : Robert OSFIELD +Added support s/getImage(uint i) and getNumImages(). -2005-04-08 13:10 robert +Tue, 27 Jul 2004 09:04:56 +0000 +Checked in by : Robert OSFIELD +Fixed double thread start problem. - * From Mike Weiblen, updates to GL Shadler Language support +Mon, 26 Jul 2004 19:40:02 +0000 +Checked in by : Robert OSFIELD +Made the handling of types more consistent -2005-04-08 13:06 robert +Mon, 26 Jul 2004 14:25:41 +0000 +Checked in by : Robert OSFIELD +Added setting of block_on_vsync of both CameraGroup and all the Camera's that it contains. - * From Carlo Camporesi, add support for text into .ive plugin, - tweak by - Robert Osfield to allow font names to be exported correctly with - extension +Sun, 25 Jul 2004 18:46:20 +0000 +Checked in by : Robert OSFIELD +Changed value_type back to being a float. -2005-04-08 12:22 robert +Fri, 23 Jul 2004 10:03:18 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, updates to dsp to improveme formatting and include OpenThreads - * Added #include +Fri, 23 Jul 2004 09:49:04 +0000 +Checked in by : Robert OSFIELD +Fixed iddle update. -2005-04-08 10:32 robert +Fri, 23 Jul 2004 09:15:22 +0000 +Checked in by : Robert OSFIELD +Added ImageStream::quit(bool) for exiting from video threads, and added clean up to OsgCameGroup to quit movie threads automatically. - * Added #include +Fri, 23 Jul 2004 04:03:57 +0000 +Checked in by : Robert OSFIELD +Made doc comments more relevant. -2005-04-08 09:59 robert +Thu, 22 Jul 2004 18:34:38 +0000 +Checked in by : Robert OSFIELD +Added support for OSG_OPTIMIZER="OFF" - * Added #include +Thu, 22 Jul 2004 15:41:13 +0000 +Checked in by : Robert OSFIELD +Fixed build -2005-04-08 09:55 robert +Thu, 22 Jul 2004 15:11:14 +0000 +Checked in by : Robert OSFIELD +Added more usage mutex to serialize access to Quicktime. - * Reverted back to not test version of osgsimulation +Thu, 22 Jul 2004 12:10:53 +0000 +Checked in by : Robert OSFIELD +Added support for compressing textures to osgconv, can be accessed by running --compressed when outputting to a .ive file. -2005-04-08 09:51 robert +Thu, 22 Jul 2004 11:59:58 +0000 +Checked in by : Robert OSFIELD +Added support texture compression in osgconv - * Added #include +Thu, 22 Jul 2004 07:41:17 +0000 +Checked in by : Robert OSFIELD +Changed _valueAnisotropy from bool to float. -2005-04-08 09:45 robert +Wed, 21 Jul 2004 19:16:49 +0000 +Checked in by : Robert OSFIELD +Added preliminary support for thread safety in various delete GLobjects code - * Added #include +Wed, 21 Jul 2004 19:15:34 +0000 +Checked in by : Robert OSFIELD +Added missing tex env mode -2005-04-08 09:36 robert +Wed, 21 Jul 2004 19:14:15 +0000 +Checked in by : Robert OSFIELD +Replaced STOPPED by PAUSED. - * Added #include +Wed, 21 Jul 2004 19:04:31 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, VS formated .dsw -2005-04-08 09:18 robert +Wed, 21 Jul 2004 19:01:40 +0000 +Checked in by : Robert OSFIELD +Removed the stop method, replacing it by pause - * Added #include +Wed, 21 Jul 2004 19:01:16 +0000 +Checked in by : Robert OSFIELD +Removed the stop method -2005-04-08 09:14 robert +Wed, 21 Jul 2004 19:00:48 +0000 +Checked in by : Robert OSFIELD +Removed stop method, as it overlaps the pause method. - * Added io_utils include +Wed, 21 Jul 2004 10:01:56 +0000 +Checked in by : Robert OSFIELD +Clean up of thread handling. -2005-04-08 09:13 robert +Wed, 21 Jul 2004 08:55:17 +0000 +Checked in by : Robert OSFIELD +Double intersections distance for intersects. - * Added osg/io_utils include +Tue, 20 Jul 2004 18:50:30 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, fixes. -2005-04-08 09:01 robert +Tue, 20 Jul 2004 10:17:22 +0000 +Checked in by : Robert OSFIELD +Added SceneView::Options for SceneView::setDefaults(options) and OsgCameraGroup::setRealizeSceneViewOptions(options) to allow better control of what functionality is compiled in by default. - * Moved the istream and ostream support from Vec* and Matrix* into - a seperate io_utils file. +Tue, 20 Jul 2004 07:46:05 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, add usage of version number to differentiate between rev's of the LOD. -2005-04-07 21:28 robert +Tue, 20 Jul 2004 05:37:59 +0000 +Checked in by : Robert OSFIELD +Added support for releasing GLObjects, and renamed DisplayListVisitor the GLObjectVisitor to better fit its function, and added support for releasing objects as well as compiling them. - * Added iostream operators +Tue, 20 Jul 2004 05:36:44 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolosky, added INVENTOR_INCLUDE and INVENTOR_LIB vars. -2005-04-07 20:28 robert +Tue, 20 Jul 2004 05:34:02 +0000 +Checked in by : Robert OSFIELD +Added OpenThreads mutex to protect ref()/unref(). - * From Olaf Flebbe, removed supporios BufferObject:: +Mon, 19 Jul 2004 18:56:42 +0000 +Checked in by : Robert OSFIELD +Fixed the position of text so it is drawn ontop of the quads. -2005-04-07 20:23 robert +Mon, 19 Jul 2004 18:47:40 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, "When launched, it creates a commandline shell that is fully configured to support running OSG apps from the source tree filesystems." - * From Mike Weiblen, "adds sourcefiles for beginnings of .osg - fileformat i/o support - > - enhancemens to core GLSL classes to support file i/o" +Mon, 19 Jul 2004 18:35:01 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, fix for handling of texture filenames enclosed in quotes. -2005-04-07 20:20 robert +Mon, 19 Jul 2004 14:34:12 +0000 +Checked in by : Robert OSFIELD +Added handling of the case when texture objects are released from underneath the osgText::Font::GlyphTexture - something which requires a full rebuild of the texture object. - * From Mike Weiblen, ported osgshaders example from osgGL2 to core - osg based. +Mon, 19 Jul 2004 09:39:58 +0000 +Checked in by : Robert OSFIELD +Lowered level of debugging message -2005-04-07 20:08 robert +Mon, 19 Jul 2004 09:03:50 +0000 +Checked in by : Robert OSFIELD +Added support for --tile-image-size , --tile-terrain-size and --comment command line options into osgTerrain::DataSet + osgdem. - * Warning fixes by Mike Weiblen + Robert Osfield +Sat, 17 Jul 2004 10:38:09 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, switched of alpha test on anisotropic effect, due to missing write of colour. -2005-04-07 20:06 robert +Sat, 17 Jul 2004 10:33:26 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, updates to the psuedo loaders to add documentation. - * From Marco Jez, .dsp updates +Mon, 12 Jul 2004 21:32:33 +0000 +Checked in by : Robert OSFIELD +Fixed the computePosition so it find intersections more easily. -2005-04-07 20:00 robert +Mon, 12 Jul 2004 19:54:54 +0000 +Checked in by : Robert OSFIELD +Added support for matix manipulator setHomePosition(,,) - * From Marco Jez, improvements to osgIntrospection, and new - automatically generated - osgWrappers/osg set. +Mon, 12 Jul 2004 17:30:36 +0000 +Checked in by : Robert OSFIELD +Removed enabling of use client stage storage hint. -2005-04-07 17:15 don +Mon, 12 Jul 2004 13:20:18 +0000 +Checked in by : Robert OSFIELD +Added OPTIMIZER_TEXTURE_SETTINGS pass to Optimizer, which enables unref image data after apply, client storage hint. - * Set PagedLOD::removeExpiredSubgraph() to be virtual +Mon, 12 Jul 2004 13:13:58 +0000 +Checked in by : Robert OSFIELD +Added debugging message, currently commented out. -2005-04-07 16:09 robert +Mon, 12 Jul 2004 10:23:15 +0000 +Checked in by : Robert OSFIELD +Added unref image data on apply automatically to all textures being loaded. - * Fix to compute coordinate frame callback so that it can handle - scaled - coordinate frames, rescaling as required. +Mon, 12 Jul 2004 09:43:45 +0000 +Checked in by : Robert OSFIELD +Reduced the pan sensitive on the trackball -2005-04-07 15:27 robert +Mon, 12 Jul 2004 09:17:21 +0000 +Checked in by : Robert OSFIELD +Reduced the sensitivity of the pan. - * Fixed the MatrixTransform(Matrix&) constructor so that it correct - sets _inverseDirty = true; +Mon, 12 Jul 2004 01:01:00 +0000 +Checked in by : Robert OSFIELD +Added a more flexible variable on the textured quad generation function -2005-04-07 13:49 robert +Sun, 11 Jul 2004 23:07:47 +0000 +Checked in by : Robert OSFIELD +Made debugging message write to osg::INFO instead of osg::NOTICE - * Introduced a flight path that goes around the earth going into - the north and sound - hemisphere's with heading and roll adjustment. +Sun, 11 Jul 2004 21:46:23 +0000 +Checked in by : Robert OSFIELD +Added CLUSTER_CULLING mask to CullSettings, and modified the ClusterCullingCallback to use the mask to see if cluster culling is enabled or disabled. -2005-04-07 10:55 robert +Sun, 11 Jul 2004 16:38:16 +0000 +Checked in by : Robert OSFIELD +Added ability to control the number of slices and the amount of the volume clipped. - * Fixed sort of sources so that the layer number is taken into - account. +Fri, 9 Jul 2004 20:58:43 +0000 +Checked in by : Robert OSFIELD +Fixed cluster culling. -2005-04-07 10:19 robert +Fri, 9 Jul 2004 15:42:07 +0000 +Checked in by : Robert OSFIELD +Compiles fixes for VS.6.0 - * Fixed layer and levels handling in reprojection of source - imagery. +Fri, 9 Jul 2004 15:41:50 +0000 +Checked in by : Robert OSFIELD +VS.NET Warning fixes from Stephane -2005-04-06 20:54 robert +Fri, 9 Jul 2004 15:33:05 +0000 +Checked in by : Robert OSFIELD +Added osgText to dependency list of osgsimulation example - * Beginnings of litte kiddies game example, written in - collaboration with my - 5 year old daughter who is the game designer and artist on this - little task :) +Fri, 9 Jul 2004 15:26:48 +0000 +Checked in by : Robert OSFIELD +Changed std::min definition to osg::minimum to avoid STOOOPID MS conficts. -2005-04-05 19:08 don +Fri, 9 Jul 2004 15:24:01 +0000 +Checked in by : Robert OSFIELD +Clean up of commandline options - * Rolled in Olaf's changes for HP-UX build +Fri, 9 Jul 2004 15:21:33 +0000 +Checked in by : Robert OSFIELD +Improvements to the handling of coordinate system nodes -2005-04-04 20:25 robert +Fri, 9 Jul 2004 12:14:25 +0000 +Checked in by : Robert OSFIELD +Clean up of debugging information. - * Renamed _A and _B to make them more meanigful +Fri, 9 Jul 2004 08:22:24 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, "mods based on those Bob Kuehne posted. - updated to the latest ARB-approved GLSL version query mechanism. - updated enums to the latest official glext.h - fixed some TODOs" -2005-04-04 18:07 don +Thu, 8 Jul 2004 22:28:15 +0000 +Checked in by : Robert OSFIELD +Added new coputeActiveCooridnateSystemNodePath method - * Removed annoying "Can't find the ground" message +Thu, 8 Jul 2004 22:12:49 +0000 +Checked in by : Robert OSFIELD +Replaced the custom MyTexGen class with a standard TexGen, and utilised the new RenderStage addPositionedTextureAtribute method. -2005-04-04 16:06 robert +Thu, 8 Jul 2004 22:11:42 +0000 +Checked in by : Robert OSFIELD +Made the local storage of a StateAttribute* be a ref_ptr<> - * Fixed output of MultiTextureControl. +Thu, 8 Jul 2004 22:10:44 +0000 +Checked in by : Robert OSFIELD +Made the constructor's default value for _lightingMode be NO_SCENEVIEW_LIGHT -2005-04-04 15:23 robert +Wed, 7 Jul 2004 15:05:00 +0000 +Checked in by : Robert OSFIELD +Added lighting and materials to volume subgraph - * Added layer support +Wed, 7 Jul 2004 13:19:07 +0000 +Checked in by : Robert OSFIELD +From Vasily Radostev, fixed Billboard compute near/far bug due to typo of bbCornerFar. -2005-04-04 13:50 robert +Wed, 7 Jul 2004 11:29:58 +0000 +Checked in by : Robert OSFIELD +Added automatic scaling of the minimum distance to cope with models of small dimensions. - * From Marco Jez, updates to osgIntrospection. +Wed, 7 Jul 2004 11:28:21 +0000 +Checked in by : Robert OSFIELD +Added automatic setting of the verical scale when the destination coordinate system is geographic (i.e. lats and longs.). -2005-04-04 13:49 robert +Wed, 7 Jul 2004 09:04:21 +0000 +Checked in by : Robert OSFIELD +Added support for automatically computing the local skirt orientation - * Made osgIntrospection an optional compile +Tue, 6 Jul 2004 15:10:33 +0000 +Checked in by : Robert OSFIELD +Added mutex to image stream thread to serialize calls to Quicktime. -2005-04-04 13:22 robert +Tue, 6 Jul 2004 13:00:14 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, replaced used C style FILE with iostream. - * Fixed comment +Tue, 6 Jul 2004 12:32:09 +0000 +Checked in by : Robert OSFIELD +Removed debugging message -2005-04-04 12:24 robert +Tue, 6 Jul 2004 12:15:03 +0000 +Checked in by : Robert OSFIELD +Fixed warning. - * Fixes for VS6.0 build +Tue, 6 Jul 2004 12:14:52 +0000 +Checked in by : Robert OSFIELD +Changed the default mipmapping mode to record the mipmaps in the images in the generated databases. -2005-04-04 11:47 robert +Tue, 6 Jul 2004 06:13:34 +0000 +Checked in by : Robert OSFIELD +Added GL_TEXTURE_DEPTH #define for Win32 build - * From Carlo Camporesi,fixed for loop bug +Tue, 6 Jul 2004 06:05:32 +0000 +Checked in by : Robert OSFIELD +Fixed build after Image change -2005-04-04 11:42 robert +Mon, 5 Jul 2004 21:46:02 +0000 +Checked in by : Robert OSFIELD +Added dealloc or previous image data into readImageFromTexture - * Added missing makefiles +Mon, 5 Jul 2004 21:09:30 +0000 +Checked in by : Robert OSFIELD +Added suppor for copying mipmaps of compressed textures -2005-04-04 11:22 robert +Mon, 5 Jul 2004 16:21:43 +0000 +Checked in by : Don BURNS +Changed internal formatt on jpeg loader to be GL_RGB, GL_RGBA, etc. rather than numComponents. - * From Alberto Farre, nested files bug fix. +Mon, 5 Jul 2004 09:04:53 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, added check for detailRatio<=0.0 -2005-04-04 11:18 robert +Mon, 5 Jul 2004 07:42:46 +0000 +Checked in by : Robert OSFIELD +Fixed missing member variable initialized varaibles - * From Alberto Farre: - "Here there are fixes for several flt loader problems. - - First one was an small bug when root database was an empty string - we got a database path "/" instead of "./". - Second one is more complex. Flt loader works in two passes, first - one reads flt database and second one builds osg scenegraph. - Special care must be taken for properly tracking database path as - nested files are entered. Because textures are loaded in second - pass, mentioned care should be taken once again. I wrote time ago - a piece of code and I placed it in both files fltFile.cpp and - flt2osg.cpp. After a long period offline I have seen the portion - of code at flt2osg was missing, I just made some tests and I - could see it is still required. - - Finally, I have seen that pool.cpp always try to make IMAGE cache - instead of reading what Options says. - - Aditonally, I recently wrote an osg change, now it has external - references "a la flt" what is called osg::ProxyNode. As part of - the change now flt loader builds external references as - ProxyNodes. I made the same mistake like pool.cpp and always made - ARCHIVE cache instead of see what Options says, it has also been - fixed." +Fri, 2 Jul 2004 14:46:24 +0000 +Checked in by : Robert OSFIELD +Change the light in LightSource from a generic osg::StateAttribute to a osg::Light. -2005-04-04 10:08 robert +Fri, 2 Jul 2004 14:45:36 +0000 +Checked in by : Robert OSFIELD +Added setFunction and setReferenceValue method - * From Mike Weiblen, updates to Shander Language support +Fri, 2 Jul 2004 14:43:27 +0000 +Checked in by : Robert OSFIELD +Added normal setting to slice planes -2005-04-04 10:05 robert +Thu, 1 Jul 2004 14:30:18 +0000 +Checked in by : Robert OSFIELD +Clean up of osgvolume - * Added FluidProgram +Thu, 1 Jul 2004 14:29:29 +0000 +Checked in by : Robert OSFIELD +Added osgvolume -2005-04-04 09:22 robert +Thu, 1 Jul 2004 14:27:22 +0000 +Checked in by : Robert OSFIELD +Changed the generation of primtive set to use DrawElementsUShort for even index sets that can be represented by UBytes, thisis to try to keep to fast paths more likely to be supported by graphics drivers. - * From Mike Weiblen (VisualStudio.dsw changes done by hand by - Robert), fixes to VS project files +Thu, 1 Jul 2004 14:22:11 +0000 +Checked in by : Robert OSFIELD +Fixed indenting -2005-04-04 08:47 robert +Thu, 1 Jul 2004 13:53:30 +0000 +Checked in by : Robert OSFIELD +Moved the radius parameter from PageLOD into LOD. - * Added osgparticleeffects example +Wed, 30 Jun 2004 19:07:05 +0000 +Checked in by : Robert OSFIELD +Added support for using pixel size control of LOD levels. -2005-04-04 07:54 robert +Wed, 30 Jun 2004 14:43:40 +0000 +Checked in by : Robert OSFIELD +Maded the image filename handling more consistent. - * Improved ParticleEffects +Wed, 30 Jun 2004 14:37:06 +0000 +Checked in by : Robert OSFIELD +Completed support for "--levels min max" option where the levels that a source imager or DEM contributes to. -2005-03-26 10:04 robert +Wed, 30 Jun 2004 09:02:41 +0000 +Checked in by : Robert OSFIELD +Fixed handling of PROCTED/OVERRIDE - * From Farshid Laskari, addiition of FrontFace support to .ive +Wed, 30 Jun 2004 07:26:02 +0000 +Checked in by : Robert OSFIELD +Changed const int to #define for VS6.0 build -2005-03-25 11:17 robert +Tue, 29 Jun 2004 15:04:38 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshtan, added support for storing primitive sets in VBO's - * From Waltice (don't have full name at time of submission), added - support for 16bit tiff files +Tue, 29 Jun 2004 14:58:24 +0000 +Checked in by : Robert OSFIELD +Improved the handling of normal lighting -2005-03-25 11:07 robert +Tue, 29 Jun 2004 13:59:07 +0000 +Checked in by : Robert OSFIELD +Added osgvolume example - * Added State::getActiveUnit and usage of it in the - glTexCopyImage*() implementations +Tue, 29 Jun 2004 08:03:28 +0000 +Checked in by : Robert OSFIELD +Fixed parsing of internalTextureFormat. -2005-03-25 11:06 robert +Mon, 28 Jun 2004 22:09:52 +0000 +Checked in by : Robert OSFIELD +Re-organised Texture::computeInternalFormatWithImage() to avoid testing for extensions when not required. - * Made the ground intersection warning just output to INFO level. +Mon, 28 Jun 2004 21:39:31 +0000 +Checked in by : Robert OSFIELD +Fixed warnings. -2005-03-24 09:37 robert +Mon, 28 Jun 2004 20:47:39 +0000 +Checked in by : Robert OSFIELD +From Matt Burke, typo fix on getMinimumDistance(). - * From Mike Weiblen, - "updates for GLSL core integration: - Code compiles and runs on win32. - Basic functionality of Program and Shader in place. - Program derived from StateAttribute. - Uniform value propagation is not yet functional (in development) - Includes some patches by Nathan Cournia. - includes example testcase to demo use of new classes." +Mon, 28 Jun 2004 15:09:49 +0000 +Checked in by : Robert OSFIELD +Added .osg support for new TexGenNode -2005-03-23 21:00 robert +Mon, 28 Jun 2004 14:18:48 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * From Marco Jez, fixed constness of data return type +Mon, 28 Jun 2004 13:18:31 +0000 +Checked in by : Robert OSFIELD +From Michael Logan, build fix for Performer plugin -2005-03-23 20:48 robert +Mon, 28 Jun 2004 13:18:10 +0000 +Checked in by : Robert OSFIELD +From Michael Gronager, added support for alpha channel in writing of BMP images - * From Randall Hopper, with small order tweak from Robert and - addition to GNUmakefile.inst, - added $(GDAL_LIBS) to fix build under FreeBSD. +Mon, 28 Jun 2004 12:52:13 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky. Added missing blend modes into .osg reading and writing and fixed typo. -2005-03-23 20:38 robert +Mon, 28 Jun 2004 10:00:21 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, added support for reading and writing osg::FragmentProgram local parameters. - * From Mike Weiblen: change paths to .cpp files from "examples" to - "applications" +Mon, 28 Jun 2004 09:05:33 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, add additional check in osgconv to handles modules that don't load gracefully. -2005-03-23 20:35 robert +Thu, 17 Jun 2004 15:07:50 +0000 +Checked in by : Robert OSFIELD +Added handling of GL_INTENSITY in osg::Image::computeNumComponents() - * Fixed indenting. +Thu, 17 Jun 2004 14:39:16 +0000 +Checked in by : Robert OSFIELD +Added first stage of support for "--levels min max" in osgdem/osgTerrain where this option controls which levels that an associated imager or DEM contributes to the final model. -2005-03-23 20:34 robert +Thu, 17 Jun 2004 14:02:15 +0000 +Checked in by : Robert OSFIELD +Added support for setting texture units in the new TexGenNode. - * From Mike Weiblen: "Fix for VS7.1 warning C4715: not all control - paths return a value" +Wed, 16 Jun 2004 15:05:01 +0000 +Checked in by : Robert OSFIELD +From Loic Dachary, added missing copy contructor operations. -2005-03-23 20:31 robert +Wed, 16 Jun 2004 06:02:12 +0000 +Checked in by : Robert OSFIELD +From David Fries, small treak to debugging output. - * From Mike Weiblen, " Move update of shader values after shader - rebuild opportunity, to ensure uniform - state of shaders is consistent" +Tue, 15 Jun 2004 12:31:25 +0000 +Checked in by : Robert OSFIELD +Added include of osg/ClusterCullingCallback -2005-03-23 17:05 robert +Tue, 15 Jun 2004 12:26:39 +0000 +Checked in by : Robert OSFIELD +Added Marco's AutoTransform.cpp - * Added extra controls for ParticleEffects. +Mon, 14 Jun 2004 20:14:54 +0000 +Checked in by : Robert OSFIELD +Fixed deprecated #idef -2005-03-23 10:46 robert +Mon, 14 Jun 2004 20:12:04 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, implemented I/O support for the AutoTransform node. - * Fixed the scaling in pixelSize computation and the autoscale - usage of it. +Mon, 14 Jun 2004 20:11:28 +0000 +Checked in by : Robert OSFIELD +Fixed #ifdef USE_DEPRECATED_API -2005-03-23 10:41 robert +Mon, 14 Jun 2004 20:10:08 +0000 +Checked in by : Robert OSFIELD +Improved precision of AnimationPath IO. - * Removed multiple inheritance from TechniqueEventHandler. +Mon, 14 Jun 2004 19:34:43 +0000 +Checked in by : Robert OSFIELD +Changed Billboard::g/setPos(..) to g/setPosition(..). -2005-03-23 08:30 robert +Mon, 14 Jun 2004 19:31:48 +0000 +Checked in by : Robert OSFIELD +Fixed tabbing. - * Commented out the if (!node->getName().empty()) return false; in - isOperationPermissibleImplementation() +Mon, 14 Jun 2004 19:30:20 +0000 +Checked in by : Robert OSFIELD +Added extra constructor to make it more convinient to create AlphaFunc. -2005-03-22 21:06 robert +Mon, 14 Jun 2004 19:20:07 +0000 +Checked in by : Robert OSFIELD +Tweaked comments. - * Added MatrixManipulator::s/getIntersectTraversalMask(uint) to - allow control - of which subgraphs should be used in intersection calculations. - Updated - Terrain,Drive and UFO manipulator to use this new flag. +Mon, 14 Jun 2004 19:17:32 +0000 +Checked in by : Robert OSFIELD +Removed old UserData comment which was non longer relevant. -2005-03-22 20:26 robert +Mon, 14 Jun 2004 19:14:06 +0000 +Checked in by : Robert OSFIELD +Fixed typos. - * Moved ParticleSystemUpdater into ParticleEffect nodes to simplify - usage - of nodes. +Mon, 14 Jun 2004 19:11:04 +0000 +Checked in by : Robert OSFIELD +Added new TexGenNode class for positioning tex gens. -2005-03-22 17:00 robert +Fri, 11 Jun 2004 21:27:36 +0000 +Checked in by : Robert OSFIELD +Fixed handling of skylight and headlight options in osgProducer::Viewer. - * Fixed the double transform of ParticleEffects +Fri, 11 Jun 2004 21:05:50 +0000 +Checked in by : Robert OSFIELD +Added better debugging messages for verify bindings. -2005-03-22 12:11 robert +Fri, 11 Jun 2004 21:05:07 +0000 +Checked in by : Robert OSFIELD +Changed the color binding to better reflect the settings in the OpenFlight file. - * Updated sphere segment example to use original osgsimulation - source, adding - in terrain, moving models and particle effects. +Fri, 11 Jun 2004 21:00:06 +0000 +Checked in by : Robert OSFIELD +Added further checks for _node validity. -2005-03-22 12:04 robert +Fri, 11 Jun 2004 20:57:36 +0000 +Checked in by : Robert OSFIELD +Added checks against null to prevent crashes when the terrain manipulator is set up before a node has been attached. - * Corrected orientation of aeroplane and direction of rotation - around earth. +Fri, 11 Jun 2004 14:49:22 +0000 +Checked in by : Robert OSFIELD +Added missing setColorBinding() into ConvertFromFLT::setMeshColors(). -2005-03-21 00:33 don +Thu, 10 Jun 2004 15:43:56 +0000 +Checked in by : Robert OSFIELD +From Troy Yee, fixes to handling meshes. From Robert Osfield, replaced assert(0)'s with error messages. - * Added getCameraByName method to viewer +Thu, 10 Jun 2004 05:27:43 +0000 +Checked in by : Robert OSFIELD +Added CluserCullingCallback -2005-03-20 23:57 don +Wed, 9 Jun 2004 20:18:58 +0000 +Checked in by : Robert OSFIELD +Compile fix w.r.t new CoordinateSystemNode. - * Added getCameraByName method to viewer and home(double - currentTime) to - MatrixManipulator, UFO, Trackball and ANimation manipulator. +Wed, 9 Jun 2004 16:28:51 +0000 +Checked in by : Robert OSFIELD +Changed the *(itr++) instances with *(itr), *(itr+1) with a seperate itr+=n etc. This has been done to avoid VC6.0 optimization ordering problems. -2005-03-20 23:29 don +Wed, 9 Jun 2004 15:11:27 +0000 +Checked in by : Robert OSFIELD +Added CoordinateSystemNode::set(const CoordinateSystemNode&) method to conviniently set up a coordindate system. - * Updated some visual studio files for the new applications. +Wed, 9 Jun 2004 15:06:19 +0000 +Checked in by : Robert OSFIELD +Added proper mapping of format and coordinate system. -2005-03-20 21:43 don +Wed, 9 Jun 2004 15:00:03 +0000 +Checked in by : Robert OSFIELD +Added CoordinateSystem::s/getFormat(). - * Added (for real this time) application project files for visual - studio +Wed, 9 Jun 2004 13:06:12 +0000 +Checked in by : Robert OSFIELD +Cleaned up float vs double types in Vec*d and Vec2f classes -2005-03-18 11:21 robert +Wed, 9 Jun 2004 10:03:01 +0000 +Checked in by : Robert OSFIELD +Added --o_cs, --o_wkt and --o_wkt_file commandline options. - * Added support for handling transparent geometries and textures. +Tue, 8 Jun 2004 14:30:48 +0000 +Checked in by : Robert OSFIELD +Improved the precision of animation paths. -2005-03-18 11:07 robert +Tue, 8 Jun 2004 13:58:36 +0000 +Checked in by : Robert OSFIELD +Added options for controlling mipmapping and aniso-tropic filtering. - * Moved osgarchive, osgconv, osgdem, osgversion and osgviewer - .dsp's to applications folder. +Tue, 8 Jun 2004 12:31:33 +0000 +Checked in by : Robert OSFIELD +Updates to FlightManipulator -2005-03-18 10:46 robert +Tue, 8 Jun 2004 09:29:56 +0000 +Checked in by : Robert OSFIELD +From Boris Bralo, reimplementation of dereference_less functor to use two input types, to attempt to avoid VC compile problems and redundent copies of ref_ptr<>. - * Moved COMPILE_EXAMPLES ?= no to top of Make/dependencies to make - it more clear, - and removed the application programs fully from the examples list +Tue, 8 Jun 2004 07:32:08 +0000 +Checked in by : Robert OSFIELD +Updates to the terrain manipulator. -2005-03-18 10:45 robert +Mon, 7 Jun 2004 15:05:22 +0000 +Checked in by : Robert OSFIELD +Moved the osg::ClusterCullingCallback into into own header and source file. - * Removed the redundent subclassing from osg::NodeVisitor in - examples event handlers +Mon, 7 Jun 2004 14:49:39 +0000 +Checked in by : Robert OSFIELD +Changed the terrain manipulator so the intersection ray is only computed near to the current center point during panning. -2005-03-18 10:27 robert +Mon, 7 Jun 2004 12:53:09 +0000 +Checked in by : Robert OSFIELD +Added sphere segment to osgsimulator. - * updates to reflect changes to StateAttribute::Types +Sun, 6 Jun 2004 14:28:29 +0000 +Checked in by : Robert OSFIELD +Added --RGB_16, --RGB_24 and --compressed options. -2005-03-18 10:00 robert +Fri, 4 Jun 2004 16:32:00 +0000 +Checked in by : Robert OSFIELD +Fixed the Vec*d class so there have value_type set to double. - * From Alberto Farre, fixes to ProxyNode. +Fri, 4 Jun 2004 12:27:04 +0000 +Checked in by : Robert OSFIELD +Added haveAppliedAttribute to allow draw callbacks to get access to the current active lights. -2005-03-18 09:48 robert +Fri, 4 Jun 2004 11:35:13 +0000 +Checked in by : Robert OSFIELD +Add clamping to 0..1 bounds for each of the r,g,b,a components in the CubeMapGenerator::set_pixel() method. - * From Marco Jez, added OSGNVEXT_ prefex to StateAttribute enums. +Fri, 4 Jun 2004 10:05:18 +0000 +Checked in by : Robert OSFIELD +Added check to Quat::makeRotate(,,,) to catch zero lengh axis. -2005-03-18 09:37 robert +Fri, 4 Jun 2004 08:40:15 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein & Iskander Prins, added rotation of skydown on fixed handling of updating one image per frame. - * From Mike Weiblen, "minor patches to osgFX consisting of changing - from - "state.matrix.modelview[0]" to the equivalent - "state.matrix.modelview". - Per ARB_vertex_program, the "[0]" syntax is supported only when - EXT_vertex_weighting or ARB_vertex_blend are supported." +Fri, 4 Jun 2004 08:24:13 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, added checks to incoming Geometry for existance of normals, and if they are present use these to compute the tanget and binormals vectors perpendicular to existing normals. -2005-03-18 02:45 robert +Fri, 4 Jun 2004 08:13:36 +0000 +Checked in by : Robert OSFIELD +From Max Behensky, fixes to the computation of the number of primitives - * Improvements to the handling of textures and texture coords. +Thu, 3 Jun 2004 20:06:17 +0000 +Checked in by : Robert OSFIELD +Fixed spelling of Equivalent. -2005-03-18 02:45 robert +Thu, 3 Jun 2004 10:16:19 +0000 +Checked in by : Robert OSFIELD +Added handling of case when only one colour is used. - * Made the can't find ground intersection message only appear as - INFO. +Thu, 3 Jun 2004 10:10:41 +0000 +Checked in by : Robert OSFIELD +Added support for a single color in a ColorRange -2005-03-18 02:44 robert +Thu, 3 Jun 2004 09:36:49 +0000 +Checked in by : Robert OSFIELD +Added room for tail of text. - * Added support for a new IsOperationPermissibleForObjectCallback - in osgUtil::Optimizer. +Wed, 2 Jun 2004 14:16:45 +0000 +Checked in by : Robert OSFIELD +Added handling of skirt ratio, and extra docs on commandline args -2005-03-18 02:42 robert +Wed, 2 Jun 2004 14:15:08 +0000 +Checked in by : Robert OSFIELD +Added DataSet::s/getSkirtRatio() method to allow control of how deep to make the skirts around tiles. - * Made supports(..) methods use support(const ...) +Wed, 2 Jun 2004 14:13:11 +0000 +Checked in by : Robert OSFIELD +Added derived reqiestRedraw() and requestContinueUpdate() methods for debugging purposes. -2005-03-18 01:51 don +Wed, 2 Jun 2004 12:37:14 +0000 +Checked in by : Robert OSFIELD +Added setPosition and setWidth methods into ScalarBar and changed the implementation to use these values to position and set the size of the scalar bar. Also made the characterSize value a float rather than the previous int. - * Randal Hopper fix to GNUmakefile for osgsimulation. +Wed, 26 May 2004 00:27:00 +0000 +Checked in by : Robert OSFIELD +Fixed setCoordinateFrame method -2005-03-17 19:32 robert +Wed, 26 May 2004 00:26:43 +0000 +Checked in by : Robert OSFIELD +Made the drive and flight manipulators more sensitive to de/acceleration - * Added extra controls into osgDB::DatabasePager for customizing - how - much time is allocated to compiling and deleting OpenGL objects, - also - added support into osgProducer::OsgSceneHandler.cpp for these new - parameters. - - The new cotrols are: - - DatabasePager::s/getTargetFrameRate(..) - DatabasePager::s/getMinimumTimeAvailableForGLCompileAndDeletePerFrame() - DatabasePager::s/getMaximumNumOfObjectsToCompilePerFrame() +Tue, 25 May 2004 20:40:26 +0000 +Checked in by : Robert OSFIELD +From George Tarantilils, add missing handling of alpha channel. -2005-03-17 18:29 don +Tue, 25 May 2004 20:39:49 +0000 +Checked in by : Robert OSFIELD +Changed screen grab filename back to a saved_image.jpg - * Removed redundant examples, that have been moved to the - applications directory +Tue, 25 May 2004 20:35:14 +0000 +Checked in by : Robert OSFIELD +Updated clampProjectionMatrix methods -2005-03-17 14:40 robert +Tue, 25 May 2004 16:10:28 +0000 +Checked in by : Robert OSFIELD +From George Tarantilis, fixes to DDS size computations. From Robert Osfield, addition of constructors for internal DDS structures. - * Added guard to texture image to avoid seg fault when dealing with - incomplete databases. +Tue, 25 May 2004 14:32:20 +0000 +Checked in by : Robert OSFIELD +Updates the movie support -2005-03-17 10:24 robert +Tue, 25 May 2004 07:40:18 +0000 +Checked in by : Robert OSFIELD +Added better handling of clamping of projection matrix - * Added check against node.getName() into isNodeEmpty(Node&) method - so that nodes - with names arn't assumed to be empty. +Mon, 24 May 2004 19:50:13 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, fixes to the computation of sizes -2005-03-17 08:54 robert +Thu, 20 May 2004 23:25:26 +0000 +Checked in by : Robert OSFIELD +Made improvements to the handling of small rotations in Quat and TerrainManipulator - * Added if (image ..) check to prevent seg fault on imcomplete - models +Thu, 20 May 2004 22:20:39 +0000 +Checked in by : Robert OSFIELD +Added HUD scalar bar. -2005-03-16 20:44 robert +Thu, 20 May 2004 13:54:53 +0000 +Checked in by : Robert OSFIELD +Fixed warnigs on VS. - * Added --addMissingColours / --addMissingColor support into - osgconv which - provides a mechansim for adding in a white colour where none - previously - existed. This solves the problem that exists on some databases - where - no colour is present, causing the colour to be inherited - randomly. +Thu, 20 May 2004 12:57:06 +0000 +Checked in by : Robert OSFIELD +Improved support for new double Vec* classes -2005-03-16 14:48 robert +Thu, 20 May 2004 10:42:05 +0000 +Checked in by : Robert OSFIELD +Fixed typo of Vec3f to Vec2f - * From Mike Weiblen, added UFOManipulator to osgGA project file. +Thu, 20 May 2004 10:15:48 +0000 +Checked in by : Robert OSFIELD +Added Vec2d, Vec3d and Vec4d classes, and remapped Vec2, Vec3 and Vec4 to Vec2f, Vec3f an Vec4f respectively, with typedef's to the from Vec* to Vec*f. -2005-03-16 14:14 robert +Wed, 19 May 2004 09:17:36 +0000 +Checked in by : Robert OSFIELD +Added GL_SCALE_NORMAL define to get round compilation against GL1.1 headers - * Added --smooth option to osgconv +Wed, 19 May 2004 09:12:52 +0000 +Checked in by : Robert OSFIELD +Added GL_RESCALE_NORMAL to allow compilation with GL1.1 headers -2005-03-16 14:09 robert +Mon, 17 May 2004 22:22:24 +0000 +Checked in by : Robert OSFIELD +Changed how the rotation and panning are managed, therby improving the handling of the center point going over a pole. - * Removed applications from examples list +Mon, 17 May 2004 15:50:44 +0000 +Checked in by : Robert OSFIELD +Improved the panning support, and added s/getRotationMode(..) to allow users flip between a trackball rotation style and an azim,elevation style. -2005-03-14 09:28 robert +Mon, 17 May 2004 13:20:41 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, more general checks for existance of extensions. - * Changed tabs to four spaces +Mon, 17 May 2004 12:08:52 +0000 +Checked in by : Robert OSFIELD +Improved the pan controls on the terrain manipulator -2005-03-14 09:13 robert +Mon, 17 May 2004 10:21:30 +0000 +Checked in by : Robert OSFIELD +From Ruben, fix for gcc 3.4 build - * From Marco Jez, fix for data corruption bug in - TypedMethodInfo*::invoke() +Mon, 17 May 2004 02:48:53 +0000 +Checked in by : Don BURNS +Added an optional argument for doing model orientations in osgconv using degrees and axis rather than two vectors. -2005-03-13 21:22 robert +Sat, 15 May 2004 08:42:06 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, further updates to add relative paths to OpenThreads/Producer. - * Added guard to osgdem build +Fri, 14 May 2004 14:43:41 +0000 +Checked in by : Robert OSFIELD +Fixed error of headers having ..\..\src\ path instaead of ..\..\include\ -2005-03-13 17:51 don +Thu, 13 May 2004 22:09:23 +0000 +Checked in by : Robert OSFIELD +Added the beginings of new osgParticle Explosion, Fire and SmokeEffects.Added support for generation explosion, fire and smoke effects in osgsimulation - * Added GNUmakefile for the new applications directory -2005-03-13 17:26 robert - * Added osgGL2 to .ive list of dependencies +Thu, 13 May 2004 22:06:20 +0000 +Checked in by : Robert OSFIELD +Revert the computeNearFar mode to using bounding volumes as default. -2005-03-13 05:02 don +Thu, 13 May 2004 22:04:08 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added hardwired include and lib paths to OpenThreads and Priducer directories that are assumed to site alongside the OpenSceneGraph library being built. - * Chagned osg::Matrix to osg::Matrixd +Thu, 13 May 2004 13:37:55 +0000 +Checked in by : Robert OSFIELD +From Bruce Clay, cross platform implemention of fileType(..) -2005-03-13 01:47 don +Thu, 13 May 2004 08:11:31 +0000 +Checked in by : Robert OSFIELD +From Donny Cipperly, completed Windows support for fileType() - * Added applications directory. Copied (not moved) - osgarchive - osgconv - osgdem - osgversion - osgviewer - - into applications directory. Leaving them in the examples - directory - as well, for now. - - Made examples optional via the make COMPILE_EXAMPLES=yes option - - Added static lib and static plugin build support. +Wed, 12 May 2004 20:31:58 +0000 +Checked in by : Robert OSFIELD +Fixes for FreeBSD -2005-03-12 15:57 don +Wed, 12 May 2004 14:22:01 +0000 +Checked in by : Robert OSFIELD +From Frank Lindeman, compile fix for VS to get round limitation is VS when handling templated methods. - * Added M_PI definition for winders +Wed, 12 May 2004 10:45:36 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, fixed problems in PNG plugin for handling paletted images which contain alpha values. -2005-03-12 05:31 don +Tue, 11 May 2004 20:44:31 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolosky, with further additions from Robert, added support for RGBA TIFF files - * Added a few things to osgProducer::Viewer to support UFO - manipulator and - cleaned up UFOManipulator. +Mon, 10 May 2004 20:01:13 +0000 +Checked in by : Robert OSFIELD +From Bruce Clay, modify template copy method to avoid VS6.0 compile errors. -2005-03-11 20:29 robert +Mon, 10 May 2004 16:17:46 +0000 +Checked in by : Robert OSFIELD +Changed &D to use define to keep things compiling under VS6.0 - * Added support for set/getUniform and set/getProgram into - osg::StateSet. +Mon, 10 May 2004 14:53:33 +0000 +Checked in by : Robert OSFIELD +Made GDAL_INSTALLED default to no -2005-03-11 20:19 robert +Mon, 10 May 2004 13:56:05 +0000 +Checked in by : Robert OSFIELD +Removed eroneous return statement. - * Fixed old handle(..) method call parameters +Sun, 9 May 2004 07:06:32 +0000 +Checked in by : Robert OSFIELD +From Joran Jessurun, "I needed to be able to set the quality of the saved jpeg images. I could not find a way to do this in OSG. Therefore I implemented this by adding an option called: JPEG_QUALITY to the JPEG reader/writer.To parse the options string I use the same method as used in the LWO +reader/writer. " -2005-03-11 17:48 don - * Added methods getCameraManipulatorNameList() and - selectCameraManipulatorByName(). -2005-03-11 17:46 don +Sun, 9 May 2004 06:29:54 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, Fixes for Win32 build - * Added the 'H' - home to usage message +Sat, 8 May 2004 22:18:38 +0000 +Checked in by : Robert OSFIELD +From Corbin Holtz, "I have completed my mods to the OpenFlight loader (modified files are attached): * Light point strings using the REPLICATE opcode should now be supported (>=15.6?) * Directional lights should now work as in Performer using a viewing +frustrum defined by a direction vector, horizontal angular width, vertical +angular width, and roll angle about the direction vector. The current +directional light implementation had some bad assumptions which caused +problems with direction vectors not on the XY plane. -2005-03-11 17:46 don + * IVE and OSG reader/writers were updated as appropriate" - * Changed class name to UFO instead of UFOManipulator to conform to - the other - manipulators -2005-03-11 09:53 robert - * Improvements to handling smoothing +Sat, 8 May 2004 21:33:25 +0000 +Checked in by : Robert OSFIELD +From Paul Martz,"Changes to provide rudimentary support for OF 15.8 light point +animation palettes. This change also includes light point palette override +support for external references. This is the last of my code changes to +support OF 15.8 in the flt loader. Barring bugs, of course, knock on wood. -2005-03-11 06:10 don +The gist of the animation palette code is to create ref_ptr'd +osgSim::BlinkSequence objects for each palette entry, and then pass them on +to osgSim::LightPoint for any OpenFlight light points that reference that +palette entry. This should be conservative of memory (not that I expect the +animation palette to be extremely large)." - * Added UFO Manipulator to Viewer -2005-03-11 06:09 don - * Added UFOManipulator to Viewer +Sat, 8 May 2004 18:41:18 +0000 +Checked in by : Don BURNS +Ooops... previous fix didn't work, corrected. -2005-03-11 06:09 don +Sat, 8 May 2004 18:37:26 +0000 +Checked in by : Don BURNS +Fixed a define for __sgi. Irix does not allow dlsym(0L, ...) without calling dlopen() first, just like __sun - * Added UFO manipulator +Sat, 8 May 2004 06:35:32 +0000 +Checked in by : Robert OSFIELD +From Ken Sewel, added osgDB::fileType(filename) method and usage of this new function in osgdem to automatcally handle directories as part of the regular -d and -t options. -2005-03-10 11:11 robert +Sat, 8 May 2004 06:13:16 +0000 +Checked in by : Robert OSFIELD +Did a unix2dos and checked in trans.dsp - * Added null pointer check to avoid crash +Fri, 7 May 2004 21:08:06 +0000 +Checked in by : Robert OSFIELD +Changed scale.dsp etc instance to rot.dsp etc. -2005-03-09 22:01 robert +Fri, 7 May 2004 19:58:56 +0000 +Checked in by : Robert OSFIELD +From Yefei Hi, replaced windows specific function with sprintf to afford better cross platform portability. - * Added support for writing base layer 0 texture into texture layer - 1 and above - to use as a background. +Fri, 7 May 2004 19:55:12 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, replacement of local mutex lock/unlock with ScopedLock. -2005-03-09 20:40 robert +Fri, 7 May 2004 15:18:59 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added new rot, scale and trans pseudo loaders. - * Improvements to MultiTextureControl and texture layer handling in - osgTerrain::DataSet. +Fri, 7 May 2004 14:51:33 +0000 +Checked in by : Robert OSFIELD +From Yefei Hi,fix to MultiSwitch set up, and adding of parsing of description fields (which is presently #if 0'd out while a compile problem is resolved.) -2005-03-09 16:54 robert +Fri, 7 May 2004 14:44:58 +0000 +Checked in by : Robert OSFIELD +Fixed tabbing to be all four spaced tabs - * Added osgFX::MultiTextureControl node for managing blending - between - different texture layers. +Fri, 7 May 2004 14:33:15 +0000 +Checked in by : Robert OSFIELD +From Julian, fix to handling of multi-textures -2005-03-08 16:51 robert +Fri, 7 May 2004 13:43:41 +0000 +Checked in by : Robert OSFIELD +Added support for osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE - * Added basic multiple texture layer support into - osgTerrain::DataSet. +Fri, 7 May 2004 12:41:49 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, addition of support for toggling on and off GL_TEXTURE_1D, 3D, CUBE_MAP and GL_TEXTURE_RECTANGLE (small addition from R.O) -2005-03-07 22:02 robert +Fri, 7 May 2004 12:40:21 +0000 +Checked in by : Robert OSFIELD +Added GL_TEXTURE_RECTANGLE define - * First steps to adding support for multiple texture layers. +Fri, 7 May 2004 11:28:55 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, added getting of the max number of texture units in the Texture::Extension object -2005-03-07 17:25 robert +Fri, 7 May 2004 11:18:18 +0000 +Checked in by : Robert OSFIELD +Changed debug info level - * From Ruben, added handling of vertex indices. - - Note from Robert. New codes produces errors when running - osgfxbrowser cow.osg so I have elected to keep the original - implementation of compute_basis_vectors around and as the default - compile to keep the CVS version working. Ruben's new version - of compute_basis_vectors has to be explicitly compiled in by - toggling an #if 1 block to #if 0. +Fri, 7 May 2004 11:10:05 +0000 +Checked in by : Robert OSFIELD +Changed notify level of debuggin message from NOTICE to INFO -2005-03-07 14:38 robert +Fri, 7 May 2004 11:09:05 +0000 +Checked in by : Robert OSFIELD +From Don Tidrow, changed cerr usage to osg::notify() - * Sebastien Grignard, fixed getMember methods to properly use const - type. +Thu, 6 May 2004 12:57:44 +0000 +Checked in by : Robert OSFIELD +From Geof Michel, fix to osgFX. -2005-03-07 14:30 robert +Thu, 6 May 2004 12:30:53 +0000 +Checked in by : Robert OSFIELD +*** empty log message *** - * From Marco Jez, improved Texture2D and Image handling of - compare(). +Thu, 6 May 2004 11:01:16 +0000 +Checked in by : Robert OSFIELD +Added new TerrainManipulator to osgGA, and new callback for getting the CoordinateFrame for a given X,Y,Z location. -2005-03-07 14:27 robert +Thu, 6 May 2004 10:59:08 +0000 +Checked in by : Robert OSFIELD +Removed Terrain.cpp and header from CVS repository.Added support for setting the maximum visiable distance of top level +to osgTerrain::DataSet, and debugging code which insert a axes.osg +above each tile. - * Added ProxyNode.h -2005-03-07 14:16 robert - * Added support for event callbacks +Thu, 6 May 2004 10:54:58 +0000 +Checked in by : Robert OSFIELD +Fixed computeLocalTransform to generate correct orientation of local coordinate frame. -2005-03-07 14:14 robert +Wed, 5 May 2004 19:56:18 +0000 +Checked in by : Robert OSFIELD +Moved isCulled check inside the CullVisitor::apply(Projection&) to just before traverse rather than at the begining of the method. - * From Sebastien Grignard, added support for reading and writing - callbacks +Wed, 5 May 2004 14:54:16 +0000 +Checked in by : Robert OSFIELD +Compile fixes for that pitful excuse for a C++ compiler that is VS6.0 -2005-03-07 14:06 robert +Wed, 5 May 2004 09:16:12 +0000 +Checked in by : Robert OSFIELD +Added support for reading environmental varables in CullSettings. - * From Alberto Farre, addition of ProxyNode, with support in .osg, - .ive and .flt loaders +Wed, 5 May 2004 05:17:52 +0000 +Checked in by : Robert OSFIELD +Increased the sampling of upper most tiles when doing a geocentric projection -2005-03-07 12:32 robert +Tue, 4 May 2004 18:15:38 +0000 +Checked in by : Robert OSFIELD +Added gdal_i.lib to osgdem project dependencies. - * Fixed tabbing. +Tue, 4 May 2004 18:13:33 +0000 +Checked in by : Robert OSFIELD +Added osgTerrain to dependency list of osgdem -2005-03-07 12:14 robert +Tue, 4 May 2004 14:02:53 +0000 +Checked in by : Robert OSFIELD +Improved the cluster culling computation so that it now accounts for the local elevations. - * From Marco Jez, "Current version of the LWO plugin creates one - Geode with a single Geometry - for each Lighwave surface, in order to keep surface names - (geometries can't - have names). The attached fix adds a plugin option named - "COMBINE_GEODES" - that allows to place all geometries under a single Geode whenever - possible, - thus offering better chances of further optimization through - osgUtil::Optimizer. The downside is that surface names are no - longer stored - in the scene graph when using this option." +Tue, 4 May 2004 13:58:07 +0000 +Checked in by : Robert OSFIELD +Changed notify level on several debugging messages from WARN to INFO. -2005-03-07 12:05 robert +Tue, 4 May 2004 09:55:23 +0000 +Checked in by : Robert OSFIELD +Fixed typo of OSGTERRAIN - * From Mike Weiblen, warning fix for VS7.1 +Tue, 4 May 2004 07:24:17 +0000 +Checked in by : Robert OSFIELD +Fixed typo of osgTerrain -2005-03-07 12:05 robert +Mon, 3 May 2004 20:43:33 +0000 +Checked in by : Robert OSFIELD +Added osgTerrain and osgdem project files - * Added the use of pixel buffer object in ImageStream so that it is - only - compiled in on non OSX platforms. +Mon, 3 May 2004 20:42:58 +0000 +Checked in by : Robert OSFIELD +Cleaned up osgTerrain, renaming the Terrain and Renderer class to HeightFieldNode and HeightFieldRender to better reflect their function. Removed the GeoMipMapRenderer.cpp stub as the implemention will be left to a plugin. Added Version functions. -2005-03-07 11:58 robert +Mon, 3 May 2004 13:09:55 +0000 +Checked in by : Robert OSFIELD +Changed the gdal plugin to link to the gdal_i.lib dll stub library - * Added looping +Mon, 3 May 2004 12:46:49 +0000 +Checked in by : Robert OSFIELD +Added CoordinateSystemNode and EllipsoidModel .h/.cpp's files to project files -2005-03-03 12:40 robert +Mon, 3 May 2004 12:04:25 +0000 +Checked in by : Robert OSFIELD +Added support for automatically finding CoordinateSystemNode's in the scene graph and then using them to set up the CoordinateFrame used by the camera manipulators. - * Added checking for video file via normal file path checking and - handling of - .xine extension as a special case for XINE style filenames. +Mon, 3 May 2004 07:42:30 +0000 +Checked in by : Robert OSFIELD +Fixed compile error -2005-03-03 12:35 robert +Sun, 2 May 2004 21:50:15 +0000 +Checked in by : Robert OSFIELD +Added support for decoration of the osgTerrain::DataSet generated databases with a CoordinateSystemNode which reflect the coordinate system of the database.Added support for reading and writing CoordianteSystemNode into the .osg +and .ive formats. - * Added video aliases to xine plugin -2005-03-03 12:33 robert - * Added improved handling of center justificaion of multiline text +Sun, 2 May 2004 15:45:36 +0000 +Checked in by : Robert OSFIELD +Made the tri stripping of tile default to using a minimum tri strip length of 3, thereby reducing the number of indivual primitives, but with the tradeoff of more seperate triangles being used. -2005-03-03 12:25 robert +Sun, 2 May 2004 15:43:55 +0000 +Checked in by : Robert OSFIELD +Made the generation of QUADS for strip with the length of 4 an option. - * Added EDventVisitor reference +Sun, 2 May 2004 14:04:19 +0000 +Checked in by : Robert OSFIELD +Added support for settings scale the elevation of geometry -2005-03-02 15:06 don +Sun, 2 May 2004 14:03:15 +0000 +Checked in by : Robert OSFIELD +Changed the default near far calculation mode so that it uses the fine grained computation of near/far. - * In osg::isGLUExtensionSupported, fixed gluGetString to call - GLU_EXTENSIONS - rather than GL_EXTENSIONS. +Sun, 2 May 2004 13:35:19 +0000 +Checked in by : Robert OSFIELD +Temporary fix for handling grey scale images as texture source. -2005-02-26 21:44 robert +Fri, 30 Apr 2004 15:35:31 +0000 +Checked in by : Robert OSFIELD +Added osg::CullSettings class as a way of collecting all the various settings related to the cull traversal in one place, so we can keep APIs for settings these values more consistent. - * From Paul Melis, fixed typo of setFunctionMask. +Fri, 30 Apr 2004 09:04:10 +0000 +Checked in by : Robert OSFIELD +Added getKeyManipMap() method -2005-02-25 23:02 robert +Thu, 29 Apr 2004 22:23:55 +0000 +Checked in by : Robert OSFIELD +Updated to build against the move from osgTerrain::CoordinateSystem to osg::CoordinateSystemNode. - * Improved support GUIEventHandler's being node event callbacks. +Thu, 29 Apr 2004 22:22:22 +0000 +Checked in by : Robert OSFIELD +Added Support for cluster culling.Removed osgTerrain::CoordinateSystem which is now replaced by +osg::CoordinateSystemNode. -2005-02-25 23:01 robert - * Added event callback to Optizimer isNodeEmpty function -2005-02-25 14:02 robert +Thu, 29 Apr 2004 22:21:06 +0000 +Checked in by : Robert OSFIELD +Added support for fine grained computation of the near plane, by taking into account individual primitives culled against the view frustum.Added better support for computing the near far for billboards. - * Added support for new event visitor type into osgGA and - osgProducer::Viewer, - and event callback into Drawable. -2005-02-25 11:26 robert - * Added reference to avifile based plugin. +Thu, 29 Apr 2004 22:19:57 +0000 +Checked in by : Robert OSFIELD +Added support for tracking a user specified CoordinateSystemNode for the CoordinateFrame to use in the camera manipulation -2005-02-25 08:38 robert +Thu, 29 Apr 2004 22:18:54 +0000 +Checked in by : Robert OSFIELD +Added support for handling a user define CoordinateFrame in the flight and trackball manipulators with API access via the MatrixManipulator base class - * New simplified timer implementation. +Thu, 29 Apr 2004 22:16:50 +0000 +Checked in by : Robert OSFIELD +Added osg::CoordinateSystemNode -2005-02-24 17:07 robert +Thu, 29 Apr 2004 22:15:04 +0000 +Checked in by : Robert OSFIELD +Added missing billboard drawable dirtyBound() - * Added pause, rewind and play support into xine plugin. +Thu, 29 Apr 2004 22:13:23 +0000 +Checked in by : Robert OSFIELD +Fix for VS7.0 build from Mike Weiblen -2005-02-24 13:33 robert +Thu, 29 Apr 2004 21:57:42 +0000 +Checked in by : Robert OSFIELD +Warnings fix for VS7.0 from Mike Weiblen - * From Mike Weiblen, adding prelimimnary GL Shader Language support - into core OSG lib. - with renaming and reordering by Robert Osfield, +Thu, 29 Apr 2004 21:38:16 +0000 +Checked in by : Robert OSFIELD +Fixed an iterator invalidation bug. (thanks to Per Månsson for tracking down the bug) -2005-02-23 12:50 robert +Thu, 29 Apr 2004 15:57:03 +0000 +Checked in by : Robert OSFIELD +Added missing dirtyBound() to billboard section of flatten static transforms - * Made Referenced::ref() and unref() inline methods. +Wed, 28 Apr 2004 15:07:08 +0000 +Checked in by : Robert OSFIELD +Changed M_PI to osg::PI. -2005-02-22 20:56 robert +Tue, 27 Apr 2004 19:09:58 +0000 +Checked in by : Robert OSFIELD +Made s/getBackgroundColor() deprecated, and add in new s/getClearColor() to replace it. - * Removed the default play() in the MPEG, QuickTime and Xine - plugins, moving - it into the osgmovie application, and into readNodeFile method - where - --movie is now available for detecting movie code. +Fri, 23 Apr 2004 14:47:54 +0000 +Checked in by : Robert OSFIELD +Added extra parameter policy enum -2005-02-22 20:25 robert +Thu, 22 Apr 2004 21:51:57 +0000 +Checked in by : Robert OSFIELD +Added a guard on the simplification of already low res tiles so that they won't be over simplified. - * Made the osg::Referenced Mutex be declared as a pointer to a - Mutex, with the - Mutex allocated dynamically when required. Added the following - methods to - help manage the usage of the mutex: - - void setThreadSafeRefUnref(bool threadSafe); - - bool getThreadSafeRefUnref() const; +Thu, 22 Apr 2004 21:51:06 +0000 +Checked in by : Robert OSFIELD +Added support for "--bluemarble-east", "--bluemarble-west", "--whole-globe" and "--range" commandline options to allow easier specification of coords systems for common datasets which don't come with geospatial coords. -2005-02-22 19:19 robert +Thu, 22 Apr 2004 13:36:30 +0000 +Checked in by : Robert OSFIELD +Added support for protecting points from being simplified.Added back in support for generation of skirts in osgTerrain::DataSet. - * Added support for control the pitch of the drive manipulator via - the - up and down cursor keys. -2005-02-22 14:42 robert - * Added size of Mutex. +Thu, 22 Apr 2004 10:47:12 +0000 +Checked in by : Robert OSFIELD +Added getBoundingBox() method to osg::Geode to provide a closer bound of the bounding volume of a Geode to be tracked. This sits alongside the existing getBound() method which returns a bounding sphere. -2005-02-22 13:34 robert +Thu, 22 Apr 2004 10:44:23 +0000 +Checked in by : Robert OSFIELD +Added update() method to enable the ScaleBar to be updated after changes to attached classes. - * Added improved PBO support. +Thu, 22 Apr 2004 08:04:34 +0000 +Checked in by : Robert OSFIELD +Added pathway in code for override the colour of the wireframe scribe -2005-02-22 11:55 robert +Wed, 21 Apr 2004 13:20:48 +0000 +Checked in by : Robert OSFIELD +Added searching of the filepath. - * Fixes from Marco Jez. +Wed, 21 Apr 2004 11:06:39 +0000 +Checked in by : Robert OSFIELD +Added back in tri stripping of tiles -2005-02-22 10:16 robert +Wed, 21 Apr 2004 10:40:12 +0000 +Checked in by : Robert OSFIELD +Changed the edge collapse to accept edges with more than two connected triangles. - * From Igor Kravtchenko, add #define's for OpenGL float internal - texture formats. +Tue, 20 Apr 2004 09:46:23 +0000 +Checked in by : Robert OSFIELD +Added project files for osgsimplifier example. -2005-02-22 10:08 robert +Tue, 20 Apr 2004 09:36:46 +0000 +Checked in by : Robert OSFIELD +Changed the debugging info to output to osg::notify() rather than cout.Add a clear of all the internal EdgeCollapse structures to avoid memory +leaks - * Changed the Switch::addChild(Node*) behavior so it doesn't - override the - any pre-exisitng _values value. -2005-02-21 17:02 robert - * Added support for interpolating low res source data onto higher - res destination tiles. +Mon, 19 Apr 2004 23:08:30 +0000 +Checked in by : Robert OSFIELD +Added support for using the error metric to guide the simplficiation process -2005-02-15 09:37 robert +Mon, 19 Apr 2004 20:44:14 +0000 +Checked in by : Robert OSFIELD +Changed the scoping for for variables to fix VS6.0 compile. - * Tweak to comment. +Mon, 19 Apr 2004 20:06:26 +0000 +Checked in by : Robert OSFIELD +Added support for detecting edge collapses which will overturn the local triangles. -2005-02-14 15:17 robert +Sun, 18 Apr 2004 16:15:49 +0000 +Checked in by : Robert OSFIELD +Added osgsimplifier example. - * From Alberto Farre, fix to nested OpenFlight file problem. +Sun, 18 Apr 2004 14:12:07 +0000 +Checked in by : Robert OSFIELD +Changed std::cout to osg::notify -2005-02-13 18:10 robert +Sun, 18 Apr 2004 14:02:09 +0000 +Checked in by : Robert OSFIELD +Changed std::cout to osg::notify - * Made conversion use BGRA. +Sun, 18 Apr 2004 13:44:09 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, "fixes a bug that prevented mipmaps in images from being read correctly (the call to setImage() clears the previously filled _mipmapData vector)." -2005-02-13 16:35 robert +Sat, 17 Apr 2004 22:50:39 +0000 +Checked in by : Robert OSFIELD +Further work on Simplifer support for compute error metric - * Added usage of the new xine_register_plugins() call. +Sat, 17 Apr 2004 20:27:31 +0000 +Checked in by : Robert OSFIELD +Changed TriangleSet::iterator to const_iterator to fix build under VS.NET. -2005-02-13 15:07 robert +Sat, 17 Apr 2004 16:02:38 +0000 +Checked in by : Robert OSFIELD +Further work on simplifier edge collapse code - * Disable the MMX usage +Fri, 16 Apr 2004 22:50:41 +0000 +Checked in by : Robert OSFIELD +From Don Tidrow, changed "setupGLExtenions()" to "setupGLExtensions()" in Texture and Texture.cpp -2005-02-12 19:47 robert +Fri, 16 Apr 2004 22:07:30 +0000 +Checked in by : Robert OSFIELD +Fixed incorrecting sizing of background tex coords - * Remerged Tugkan's fix to flatten static transforms. +Fri, 16 Apr 2004 10:05:57 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, updated extension/version checking for border clamp extension. -2005-02-12 16:49 robert +Thu, 15 Apr 2004 09:37:10 +0000 +Checked in by : Robert OSFIELD +Added tests for the consistency of points, edges and triangles. - * Put spaitalize groups to end. +Wed, 14 Apr 2004 11:56:59 +0000 +Checked in by : Robert OSFIELD +Fixed typo in makefile -2005-02-12 16:24 robert +Wed, 14 Apr 2004 08:58:53 +0000 +Checked in by : Robert OSFIELD +From Garret Potts, added -losgUtil to libs linked to osgTerrain - * From Tugkan Calapoglu, bug fix to FLATTEN_STATIC_TRANSFORMS. - Small tweak of the code to make the comparison against Identity - matrix clearer. +Tue, 13 Apr 2004 16:03:18 +0000 +Checked in by : Robert OSFIELD +Fixed bogus read*Implementation calls in ReadFileCallback. -2005-02-11 20:43 robert +Tue, 13 Apr 2004 15:59:30 +0000 +Checked in by : Robert OSFIELD +Added support for removing triangles and associated edge and points from the EdgeCollapse object. - * Added --prune-StateSet option into osgconv for bottleneck - testing. +Tue, 13 Apr 2004 14:39:43 +0000 +Checked in by : Robert OSFIELD +Added support for copy all per vertex attributes to and from the edge collapse object. -2005-02-11 17:22 robert +Mon, 12 Apr 2004 21:30:23 +0000 +Checked in by : Robert OSFIELD +Commented out call to osgUtil::Simplifier as this utility is not yet functional - * Fixed spatial groups. +Mon, 12 Apr 2004 21:29:31 +0000 +Checked in by : Robert OSFIELD +Further work on the new osgUtil::Simplifier. -2005-02-11 16:43 robert +Mon, 12 Apr 2004 13:36:08 +0000 +Checked in by : Robert OSFIELD +Changed the optimization of flat tiles so that it creates a flat 8x8 height field rather than a flat 2x2 height field. This allows geocentric warping of the tiles without obvious flat regions. - * Added support for fixing transprency on objects that should have - been - placed in the opaque bin. +Sun, 11 Apr 2004 21:21:38 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, clean ups for OSX support. -2005-02-11 10:09 robert +Sat, 10 Apr 2004 16:11:56 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, changed the cache hint option in read*() calls from being a bool to a enum osgDB::Registru::CacheHintOptions to be used a bit mask flag.From Robert Osfied, added osgDB::Registry::ReadFileCallback and +osgDB::Registry::WriteFileCallback to allow customizition of read and write +calls. - * From Sebastien Grignard, fixed memory leak where header and - databuffers - wern't deleted. -2005-02-11 10:00 robert - * Added support into passing the ReaderWriter::Options structure - onto readImageFile +Sat, 10 Apr 2004 11:30:16 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, added support for OpenFlight15.8 LightPointSystems -2005-02-11 09:59 robert +Fri, 9 Apr 2004 08:20:15 +0000 +Checked in by : Robert OSFIELD +Renamed MyTriangleOperator to CollectTriangleOperator. - * Removed debugging messages +Thu, 8 Apr 2004 11:27:01 +0000 +Checked in by : Robert OSFIELD +Added beginning of new osgUtil::Simplifier -2005-02-11 09:58 robert +Wed, 7 Apr 2004 18:38:06 +0000 +Checked in by : Robert OSFIELD +Added an alteranive code path for the fallback for handling opaque texture blending. - * Added new utilities for handling different '/' and '\' entries. +Wed, 7 Apr 2004 08:57:15 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, changes to better support OpenFlight 15.8 -2005-02-10 21:30 robert +Tue, 6 Apr 2004 20:15:11 +0000 +Checked in by : Robert OSFIELD +Fixed comments on the OBJ coords system - * Removed redundent _nodePath entry. +Tue, 6 Apr 2004 16:01:05 +0000 +Checked in by : Robert OSFIELD +Fixes from Per Månsson for Win32 build -2005-02-10 21:18 robert +Mon, 5 Apr 2004 21:27:57 +0000 +Checked in by : Robert OSFIELD +Added --wtk_file option - * From Chris Xennon, add support for billboard intersections + fix - to addLineSegments. - - Small addition from Robert Osfield of setLODSelectionMode(..) to - control - the LOD selection behavior. +Mon, 5 Apr 2004 15:58:38 +0000 +Checked in by : Robert OSFIELD +Re-enabled normal generation on tiles. -2005-02-10 20:38 robert +Mon, 5 Apr 2004 15:46:19 +0000 +Checked in by : Robert OSFIELD +Commented out scale setting when source DEM is in lat+longs. - * From Igor Kravtchenko, new HDR plugin. +Mon, 5 Apr 2004 15:39:33 +0000 +Checked in by : Robert OSFIELD +Added local transform support. Fixed skirt generation to work during geocentric transformations. Fixed output of image files so that compressed textures are turned off when external image files are required. -2005-02-10 20:21 robert +Mon, 5 Apr 2004 09:00:37 +0000 +Checked in by : Robert OSFIELD +From Nathan Cournia, fix to = operator, was eroneous written as an == operator. - * warning fix +Sun, 4 Apr 2004 15:33:26 +0000 +Checked in by : Robert OSFIELD +Prelimary work on adding support for local tile transforms -2005-02-10 20:14 robert +Fri, 2 Apr 2004 15:55:06 +0000 +Checked in by : Robert OSFIELD +Added support for generating compressed textures - * Put pixel buffer define's into their own block. +Fri, 2 Apr 2004 15:45:34 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, reworked code to use a marco instead of duplicated code, done as measure for reducing the risk of copy and paste errors. -2005-02-10 15:53 robert +Fri, 2 Apr 2004 15:23:56 +0000 +Checked in by : Robert OSFIELD +Fixed computeImageResolution so that the computed num of columns and rows of the destination image are clamped to the nearest power of two equal or above the required resolution. - * Fixed the pixelFormat to be RGBA. +Thu, 1 Apr 2004 15:00:22 +0000 +Checked in by : Robert OSFIELD +Changed default cut of ratio to be smaller, to reduce the resolution of tiles selected. -2005-02-10 15:52 robert +Thu, 1 Apr 2004 13:09:05 +0000 +Checked in by : Robert OSFIELD +Added scaling of the PagedLOD range to be relative to the radius of children. - * Implemented the osg::Image::isImagTranslucent function. +Thu, 1 Apr 2004 11:03:39 +0000 +Checked in by : Robert OSFIELD +Added support for --geocentric option to allow users to specify that the output database should by in geocentric coordinates. -2005-02-09 16:18 robert +Thu, 1 Apr 2004 11:02:23 +0000 +Checked in by : Robert OSFIELD +Cleaned up handling of geocentric coords - * Changed the mpeg plugin to read movies the original way up rather - than the - OpenGL way up to keep them consistent with the xine and quicktime - movie codes +Thu, 1 Apr 2004 07:49:32 +0000 +Checked in by : Robert OSFIELD +Changed the comment to make it clear what axis change is implementated. -2005-02-09 15:31 robert +Wed, 31 Mar 2004 22:31:46 +0000 +Checked in by : Robert OSFIELD +Added preliminary support for converting datasets into geocentric coords - * Created local XineImageStream class to ensure xine streams are - cleaned up correctly. +Wed, 31 Mar 2004 15:50:30 +0000 +Checked in by : Robert OSFIELD +Added osgTerrain::EllipsodeTransform helper class for converting to and from lat, long, height to geocentric X,Y,Z and back. -2005-02-09 14:27 robert +Wed, 31 Mar 2004 09:20:46 +0000 +Checked in by : Robert OSFIELD +Clean up freeing of no longer required tiles - * Added setting of the filename +Wed, 31 Mar 2004 08:52:47 +0000 +Checked in by : Robert OSFIELD +From David Fries, add init() call to SphereSegment constructor, and new get methods for draw mask and color. -2005-02-09 13:22 robert +Tue, 30 Mar 2004 22:06:01 +0000 +Checked in by : Robert OSFIELD +Added back in tri stripping of geometry tiles - * Added getenv OSG_XINE_AUDIO_DRIVER to xine plugin to allow users - to - set what the default audio to use +Tue, 30 Mar 2004 22:02:50 +0000 +Checked in by : Robert OSFIELD +Changed the writing out of tile imagery so that it only happens when the destination file format is not .ive.Added back in support for freeing un-needed tiles. -2005-02-09 12:29 robert - * Commented out the debug messages, added back in the audio into - the xine plugin -2005-02-09 11:30 robert +Tue, 30 Mar 2004 21:13:08 +0000 +Checked in by : Robert OSFIELD +Fixed the boundary equalization - * Added vertical offset to multiple movies instances +Tue, 30 Mar 2004 19:15:03 +0000 +Checked in by : Robert OSFIELD +Added debugging for detecting problems in boundary equalization -2005-02-09 10:39 robert +Mon, 29 Mar 2004 22:26:51 +0000 +Checked in by : Robert OSFIELD +Added normal generation in polygonal tile generation, and add --wtk option for setting coord systems in osgdem - * Added osg::BufferObject and a made a number associated to - accomodate this - new class. osg::BufferObject wraps up OpenGL pixel and array - buffer objects. - Currently implementation is work in progress. +Mon, 29 Mar 2004 14:40:03 +0000 +Checked in by : Robert OSFIELD +Added support for generating polygonal tiles -2005-02-07 20:45 robert +Mon, 29 Mar 2004 12:28:40 +0000 +Checked in by : Robert OSFIELD +Fixed the handling begin()/vertex()/end() sequences in TriangleIndexFunctor. - * Removed the repeated entry of HiehgtFieldNode in include list +Mon, 29 Mar 2004 12:28:06 +0000 +Checked in by : Robert OSFIELD +Added extra check against a null vertex array to prevent a crash when tri stripping an empty geometry. -2005-02-07 20:44 robert +Mon, 29 Mar 2004 10:45:58 +0000 +Checked in by : Robert OSFIELD +Groundwork for adding support for polygonal tiles - * From Paul Melis, fixed the setFrameStatsMode() method +Mon, 29 Mar 2004 10:24:16 +0000 +Checked in by : Robert OSFIELD +Added empty() method to Geometry to facilitate tests for removing empty geometry from the scene graph.Added removal of empty geometry leaves from within the RemoveEmptyNodeVisitor -2005-02-07 17:28 robert - * Added the full set of buffer object methods -2005-02-07 15:00 robert +Mon, 29 Mar 2004 09:32:35 +0000 +Checked in by : Robert OSFIELD +Fixed handling of FOURCC_DXT1 pixel format. - * Temporarily added xine video_out_rgb xine-plugin inline to the - OSG's xine plugin +Fri, 26 Mar 2004 11:04:37 +0000 +Checked in by : Robert OSFIELD +Added support for recording the animation paths relative to an 0.0 start time. -2005-02-06 10:14 robert +Fri, 26 Mar 2004 10:48:29 +0000 +Checked in by : Robert OSFIELD +Added empty() method as a convinience method for setting checking whether an animation path contains any control points - * Changed the LightSource::setReferenceFrame() read code so that it - doesn't - enable the culling active flag if its was already set to false. +Thu, 25 Mar 2004 18:34:40 +0000 +Checked in by : Don BURNS +Applied Norman Vine's changes for Cygwin/Mingw -2005-02-04 20:36 robert +Sun, 21 Mar 2004 12:17:44 +0000 +Checked in by : Robert OSFIELD +Added TextureType and GeometryType parameters to DataSet. These will be used to control what type of database is generated. - * Turned off lighting. +Sat, 20 Mar 2004 18:32:49 +0000 +Checked in by : Robert OSFIELD +Implemented support for overriding the coordinate system and geo transform using in generate of databases. -2005-02-04 19:34 robert +Sat, 20 Mar 2004 17:21:53 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, code change to make the flt loader pass its light point intensity value in to osgSim::LightPoint. - * Added prototype xine movie plugin. +Fri, 19 Mar 2004 22:20:35 +0000 +Checked in by : Robert OSFIELD +Added support for setting the geoTransform to use in source data. -2005-02-04 03:58 don +Fri, 19 Mar 2004 22:03:32 +0000 +Checked in by : Robert OSFIELD +Improved the argument handling. - * Updated IRIX dist generation file for IRIX binaries +Fri, 19 Mar 2004 22:03:09 +0000 +Checked in by : Robert OSFIELD +Added ArgumentParser::Parameter class to make the argument parsing much more flexible, and to simplifying the API. The read(,,,) methods now take Parameter objects as arguments, and this Parameter adapt what ever basic type is passed in, so is able to transparently handle float, double, int, unsigned int & strings. -2005-02-03 13:10 robert +Fri, 19 Mar 2004 09:18:21 +0000 +Checked in by : Robert OSFIELD +Moved the LineSegment destructor from the header to the source to avoid compilation problems under MingW. - * Change unsigned long to unsigned int to avoid 64/32 bit problems. +Thu, 18 Mar 2004 21:39:53 +0000 +Checked in by : Robert OSFIELD +Added defaults for the geotransform when none exists. -2005-02-02 22:13 don +Wed, 17 Mar 2004 20:34:23 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "The attached code change causes the flt plugin to leave _sector unset if the direction normal has a zero length. The net effect is that unidirectional light points with zero length direction vectors are now treated as omnidirectional light points." - * Added Viewport State Attribute to .osg reader/writer +Wed, 17 Mar 2004 20:31:55 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, updates to osgParticle, with integration of changes from Tom Jolly. -2005-02-02 15:08 robert +Wed, 17 Mar 2004 20:04:44 +0000 +Checked in by : Robert OSFIELD +Added support for writing out to .ive - * From, Leandro Motta Barros, Doxygen comments. - - Ammendments by Robert Osfield, a few comment rewrites to better - reflect API functionality/usage. +Wed, 17 Mar 2004 20:03:56 +0000 +Checked in by : Robert OSFIELD +Added the setting of the _internalTextureFormat from within osg::Image. -2005-02-01 22:36 robert +Wed, 17 Mar 2004 17:04:30 +0000 +Checked in by : Robert OSFIELD +Completed support for the majority of osg::Shape. - * Added support for modulating alpha values +Wed, 17 Mar 2004 16:11:47 +0000 +Checked in by : Robert OSFIELD +Added prelimary shape support to .ive plugin -2005-02-01 15:03 robert +Wed, 17 Mar 2004 08:15:24 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, added (non-meters) unit scaling to the flt plugin failed to set the scaling of external references. - * Removed debugging messages. +Tue, 16 Mar 2004 21:03:37 +0000 +Checked in by : Robert OSFIELD +Added better handling of number of graphic context size changes. -2005-02-01 13:19 robert +Tue, 16 Mar 2004 16:54:08 +0000 +Checked in by : Robert OSFIELD +Added support for generation of PagedLOD databases in osgTerrain::DataSet - * Added support for OSG_CAMERA_THREADING env variable which is set - to - "SingleThreaded" will ensure that OsgCameraGroup runs singe - threaded. +Tue, 16 Mar 2004 16:10:57 +0000 +Checked in by : Robert OSFIELD +From Joran Jessurun, fixed "borderColor" typo. -2005-02-01 10:38 robert +Tue, 16 Mar 2004 09:40:17 +0000 +Checked in by : Robert OSFIELD +Set JASPER_INSTALLED to no - * Added support for internalTextureMode +Mon, 15 Mar 2004 15:47:22 +0000 +Checked in by : Robert OSFIELD +Added support for controlling the type of destiation database to create into osgTerrain::DataSet. -2005-02-01 09:38 robert +Sun, 14 Mar 2004 21:54:17 +0000 +Checked in by : Robert OSFIELD +Added PrimitiveIndexFunctor for better support of TriangleIndexFunctor - * Added conversion of dataType to GL_UNSIGNED in raw data reading - path. +Sun, 14 Mar 2004 15:40:34 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, support for reading movie files as ImageStreams using Quicktime (under OSX) to do the reading of the movie files. Originally submitted as a sperate .mov plugin, but integrated into the QuickTime plugin by Robert Osfield. -2005-02-01 09:02 robert +Sun, 14 Mar 2004 15:26:36 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "I've added support for indexed light points and the light point appearance palette to the OpenFlight loader. Both are 15.8 features. I also added parsing/comments regarding other things that have changed for v15.8." - * Added code for rescaling images. +Sun, 14 Mar 2004 15:08:12 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added support NVidia extension to imager formats. -2005-02-01 09:00 robert +Sat, 13 Mar 2004 16:29:29 +0000 +Checked in by : Robert OSFIELD +Moved the destructor block->release to after the cancel(). - * Added red, green, blue and alpha values. +Sat, 13 Mar 2004 12:36:02 +0000 +Checked in by : Robert OSFIELD +Added setting of pivot point in AnimationPathCallback -2005-02-01 09:00 robert +Fri, 12 Mar 2004 21:04:20 +0000 +Checked in by : Robert OSFIELD +Added some basic event handler. - * Added support for 8 parameters. +Fri, 12 Mar 2004 20:23:55 +0000 +Checked in by : Robert OSFIELD +Cleaned up osgmovie example so it no longer depends upon LibMpeg3, just using readImageFile instead. -2005-01-31 20:09 robert +Fri, 12 Mar 2004 16:54:43 +0000 +Checked in by : Robert OSFIELD +Added the setting of the source data type in the reproject function, and disabled the automatic build of overviews. - * Added support for raw image formats +Thu, 11 Mar 2004 22:04:41 +0000 +Checked in by : Robert OSFIELD +Changed the coordinate system option to --o_cs -2005-01-28 17:24 robert +Thu, 11 Mar 2004 16:14:25 +0000 +Checked in by : Robert OSFIELD +Moved osgTerrain::DataSet from the osgdem example into osgTerrain. Added various improvements. + +Thu, 11 Mar 2004 14:34:59 +0000 +Checked in by : Robert OSFIELD +Replaced eronous GL_TEXTURE_2D instances with GL_TEXTURE_3D and GL_TEXTURE_RECTANGLE_NV respectively. - * Removed include of Producer/RenderSurface +Thu, 11 Mar 2004 14:34:08 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, fixed eroneous use of GL_TEXTURE_2D token in texture object manager usage -2005-01-28 16:09 robert +Thu, 11 Mar 2004 09:04:02 +0000 +Checked in by : Robert OSFIELD +Fixed normal orientation - * From Tree, removed redundent "inline"s +Wed, 10 Mar 2004 15:41:40 +0000 +Checked in by : Robert OSFIELD +Ported mpeg plugin across to use OpenThreads instead of pthreads. -2005-01-28 11:01 robert +Tue, 9 Mar 2004 23:00:01 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, fix to the scaling of light points in flt plugin. - * Added definitation for GL_COMPRESSED_* tokens for case where - early OpenGL headers - don't provide them. +Tue, 9 Mar 2004 21:33:44 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly, addition a isCullingActive check to the culling test done on drawables. This solves a osgParticle bug relating to bounding boxes being initially at 0,0,0. -2005-01-27 20:26 robert +Tue, 9 Mar 2004 15:39:10 +0000 +Checked in by : Robert OSFIELD +Fixed mpeg plugin entry - * Moved the template function into the global namespace. +Tue, 9 Mar 2004 15:00:52 +0000 +Checked in by : Robert OSFIELD +Added MPEG plugin -2005-01-27 20:18 robert +Tue, 9 Mar 2004 14:59:33 +0000 +Checked in by : Robert OSFIELD +Added TextureRectangle(Image*) contructor. - * Fixes to osg::Image's handling of compressed formats. +Tue, 9 Mar 2004 14:58:50 +0000 +Checked in by : Robert OSFIELD +Added float s, float t parameters to createTexturedGeometry function -2005-01-27 15:54 robert +Tue, 9 Mar 2004 14:57:45 +0000 +Checked in by : Robert OSFIELD +Fixed compile warning - * Fixes for Win32 build +Tue, 9 Mar 2004 14:00:01 +0000 +Checked in by : Robert OSFIELD +Removed redundent ImageStream.h -2005-01-27 14:54 robert +Tue, 9 Mar 2004 09:42:07 +0000 +Checked in by : Robert OSFIELD +Preliminary work on general support of video textures. - * Added /Zm 200 option to avoid heap problems +Mon, 8 Mar 2004 17:13:22 +0000 +Checked in by : Robert OSFIELD +Added support for APPLE_client_storage to TextureRectange -2005-01-27 14:39 robert +Mon, 8 Mar 2004 17:09:58 +0000 +Checked in by : Robert OSFIELD +Added support for APPLE_client_storage of textures. - * From Nicolas Brodu, new faster osg::Quat::makeRotate(Vec3d,Vec3d) - implmentation. - - From Robert Osfield, modes to osg::Quat to keep the original - implmentation around - as makeRotate_original(,) and added tests into osgunittest to - test the new - methods provide equivilant results to the original - implemementation. The - orignal implementation will be removed once the new method is - more widely tested. +Mon, 8 Mar 2004 11:53:12 +0000 +Checked in by : Robert OSFIELD +Clean up of headers. -2005-01-27 13:23 robert +Mon, 8 Mar 2004 11:41:57 +0000 +Checked in by : Robert OSFIELD +Added osgGA::TrackballManipulator::g/setMinimumZoomScale() method. - * From Chris Hanson, minor tweaks to docs on getDescriptions. +Mon, 8 Mar 2004 11:02:05 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, change on __DARWIN_OSX__ define to __APPLE__ -2005-01-27 13:15 robert +Sun, 7 Mar 2004 21:03:01 +0000 +Checked in by : Robert OSFIELD +Added #include for Win32 build - * From Leandro Motta Barros, doxygen comments +Sun, 7 Mar 2004 14:21:11 +0000 +Checked in by : Robert OSFIELD +Clean up of headers. -2005-01-27 11:18 robert +Sun, 7 Mar 2004 14:19:48 +0000 +Checked in by : Robert OSFIELD +From Geof Michel, bug fix to handling of Materials - * Changed template instances to template +Sun, 7 Mar 2004 14:14:42 +0000 +Checked in by : Robert OSFIELD +Changed cerr to osg::notify(osg::WARN) -2005-01-27 11:16 robert +Sat, 6 Mar 2004 15:03:55 +0000 +Checked in by : Robert OSFIELD +From Paul Marz : "Input.h, Input.cpp -- Here's where support for reading the continuation record goes. I added a new function to read a continued record body. I added code in the existing ReadRecord routine to peek ahead for a CONTINUATION_OP if the current record could possibly be continued.opcodes.h -- Besides adding the opcode for CONTINUATION_OP, I also added new +15.8 opcodes. I labeled opcodes as "ignored" if I could easily discern that +our loader wasn't doing anything with them. For historical reasons, I added +all obsolete opcodes, prefixed with "OBS_". - * Fixed tabbing. +LocalVertexPoolRecord.h, LocalVertexPoolRecord.cpp -- This is one of three +types of records that can be continued with a CONTINUATION_OP record. I +removed all invalid assertions that assumed the record length would always +be less than 65535. I replaced the "vertex size" calculation with a more +efficient method based on caching the size from attribute bits, rather than +taking the length of the record and dividing it by numVerts (which would +have been incorrect if the record had been continued)." -2005-01-27 11:10 robert - * Changed Font::setSize to Font::setFontResolution -2005-01-25 22:15 robert +Sat, 6 Mar 2004 14:38:40 +0000 +Checked in by : Robert OSFIELD +Added osg.ico back in again to test out cvs's assignment of keyword substitution. - * From Donn Mielcarek, change of long and unsigned long to int32 - and uint32 to - avoid 32bit vs 64bit issues. +Sat, 6 Mar 2004 14:37:51 +0000 +Checked in by : Robert OSFIELD +Temporarily removed osg.ico -2005-01-22 16:55 robert +Sat, 6 Mar 2004 14:13:53 +0000 +Checked in by : Robert OSFIELD +Changed cout/cerr to osg::notify(). - * From Mason Menninger, addition of setTrackballSize() parameter. +Fri, 5 Mar 2004 20:07:01 +0000 +Checked in by : Robert OSFIELD +From Boris Bralo, Added std:: in front of getline. -2005-01-22 15:41 robert +Fri, 5 Mar 2004 15:44:15 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, on behalf of Farshid Lashkari. Details from Marco's email: "I've just received an addition to osgParticle from Farshid Lashkari. It enhances the generation of texture coordinates on particles so that animated textures can be used, with the current frame of animation being computed from each particle's current age. Clients just have to call Particle::setTextureTile() and specify the number of horizontal and vertical tiles that make the animation up in the texture image." - * From Leandro Motta Barros, Doxygen comments for OsgCameraGroup - and Viewer. - With a few small ammendments/additions from Robert Osfield. +Thu, 4 Mar 2004 18:35:06 +0000 +Checked in by : Robert OSFIELD +From Paul Martz/Robert Osfield. Addition of initializers in AttrData to prevent bugs due to uninitialized memory references. -2005-01-21 21:00 robert +Thu, 4 Mar 2004 16:38:56 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, fix to the byte swapping of the version number - * From Yuzhong Shen, removed repeated statements in Hit operator =. +Thu, 4 Mar 2004 14:33:01 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, added support for FragmentProgram and VertexProgram into .ive -2005-01-21 19:33 robert +Thu, 4 Mar 2004 14:32:27 +0000 +Checked in by : Robert OSFIELD +Removed redundent getAssociatedModes() - * From Kevin Moiule, rewrote PNM plugin to handle grayscale PNM - images. +Wed, 3 Mar 2004 15:38:22 +0000 +Checked in by : Robert OSFIELD +Changed StateAttribute::getAssociatedModes(std::vector&) across to StateAttribute::getModeUsage(StateAttribute::ModeUsage&). -2005-01-21 19:31 robert +Wed, 3 Mar 2004 13:27:21 +0000 +Checked in by : Robert OSFIELD +Removed include where possible, replacing with istream or ostream and changing std::cout/cerr to osg::notify(). - * build fix +Wed, 3 Mar 2004 11:17:21 +0000 +Checked in by : Robert OSFIELD +From Ruben, Added osgpointsprite examples. -2005-01-21 19:30 robert +Tue, 2 Mar 2004 22:36:11 +0000 +Checked in by : Robert OSFIELD +From Ruben, addition of osg::PointSprite and osgpointsprite example. - * From Tree, add get methods +Tue, 2 Mar 2004 21:37:44 +0000 +Checked in by : Robert OSFIELD +From David Fries, changed the Win32 Timer init code across to using QueryPerformanceCounter to avoid inaccurate and slow original Sleep based code. -2005-01-21 19:28 robert +Tue, 2 Mar 2004 20:35:27 +0000 +Checked in by : Robert OSFIELD +Added support for osg::Capsule into .osg format. - * Change dhte CullSettings to be correct to new changes in - osgProducer +Tue, 2 Mar 2004 20:33:00 +0000 +Checked in by : Robert OSFIELD +From David Jung, added support for osg::Capsule shape -2005-01-21 19:21 robert +Tue, 2 Mar 2004 20:05:43 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, fix to circular reference which was causing a crash. - * Fixed the input/output handling of ReferenceFrame values to be - RELATIVE and ABSOLUTE - rather than long original names. +Tue, 2 Mar 2004 16:57:08 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, updated osg.ico file. -2005-01-21 19:15 robert +Tue, 2 Mar 2004 16:53:21 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, added support for incrementing animation of DOFTransform w.r.t. time rather than frame number. - * From Tugkan Calapoglu, bugfix to prevents reloading already - loaded images. +Tue, 2 Mar 2004 16:12:11 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, with a couple of mods by Robert Osfield:"Changes to return the lat/long origin of an +OpenFlight model as userData of the root node object." -2005-01-12 15:37 robert - * From Rainer Oder, with additions from Robert. osgslice example - which - generates a 3d volume from a source geometry model. -2005-01-12 10:32 robert +Tue, 2 Mar 2004 15:37:41 +0000 +Checked in by : Robert OSFIELD +From Paul Martz:"These two files fix the alignment bug in the flt plugin header +parsing, which I posted about on Saturday. They go in the flt plugin +directory. - * From Fredrick Mammond, fix to 64 bit build. +The fix is to memcpy the data read from the flt file into individual fields +in our Header struct, then replace the raw (packed) data block with our +header struct. This avoids the alignment problem entirely, and all fields +now contain valid data." -2005-01-09 19:30 robert - * Added setImageReadFormat and setImageReadDataType methods to - RenderToTextureStage to - allow customization of what format/data type to read such as - reading from the depth buffer etc. -2005-01-08 10:21 robert +Tue, 2 Mar 2004 15:27:59 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen: added _matrixDirty=true to AutoTransform::setPosition(..) method. From Robert Osfield, probagated this change to other AutoTransform set methods. - * Tweaked the #define's of GL_ALPHA_MIN_SGIX and GL_ALPHA_MAX_SGIX - to ensure compilation across - OGL drivers. +Tue, 2 Mar 2004 15:26:31 +0000 +Checked in by : Robert OSFIELD +Fixed warning message -2005-01-07 20:36 robert +Mon, 1 Mar 2004 09:15:51 +0000 +Checked in by : Robert OSFIELD +Build fixes - * From Per Fahlberg, support for 16bit imagery. +Thu, 26 Feb 2004 18:33:06 +0000 +Checked in by : Don BURNS +Changed OsgCameraGroup to check for the Producer::RenderSurface::defaultWindowName rather than the hard coded string -2005-01-07 20:24 robert +Tue, 24 Feb 2004 12:04:48 +0000 +Checked in by : Robert OSFIELD +Warning fix - * From Kevin Moule, fix to memory overwrite error. +Sun, 22 Feb 2004 11:58:44 +0000 +Checked in by : Robert OSFIELD +Added scale parameter into PositionAttitudeTransform.Added pivotPoint parameter into AnimationPathCallack. -2005-01-07 20:01 robert - * From Tree, change to naming of plugins when building OSG with - Java to avoid - conflicts. -2005-01-07 19:00 robert +Sat, 21 Feb 2004 16:59:14 +0000 +Checked in by : Robert OSFIELD +Changed the Timer class to default to using the standard clock under Linux to prevent Timer problems occur under Linux32 on the Athlon64. - * From Tree, moved GL_ #define's out of osg namespaces +Sat, 21 Feb 2004 16:57:57 +0000 +Checked in by : Robert OSFIELD +Made the FRAME event handling in the various MatrixManipulators return false from the handle method to prevent frame events from being eaten. -2005-01-07 14:31 robert +Sat, 21 Feb 2004 16:56:23 +0000 +Checked in by : Robert OSFIELD +Added AnimationPathCallback::s/getTimeOffset and s/getTimeMultiplier() methods. - * Fixed crash in osgUtl::Simplifier which was due to an dereference - of an empty array. +Fri, 20 Feb 2004 20:47:35 +0000 +Checked in by : Robert OSFIELD +Added missing _pause(false) into AnimationPathCallback default contructor. -2005-01-05 17:14 robert +Fri, 20 Feb 2004 20:10:51 +0000 +Checked in by : Robert OSFIELD +Added missing initialization in the AnimationPathCallback constructor. - * Cleaned up the types. +Fri, 20 Feb 2004 11:51:14 +0000 +Checked in by : Robert OSFIELD +Added Material::operator = -2005-01-05 16:16 robert +Thu, 19 Feb 2004 10:10:25 +0000 +Checked in by : Robert OSFIELD +Fixed typo in inline docs on the default value of the clear stencil value - * From Fredric Mammond, fix for build using full extension checked - mechansim +Wed, 18 Feb 2004 21:40:18 +0000 +Checked in by : Robert OSFIELD +Added support for osg::LineWidth into ive format -2005-01-03 16:42 robert +Tue, 17 Feb 2004 09:46:16 +0000 +Checked in by : Robert OSFIELD +Added support for a OSG_DISABLE_FAST_PATH_IN_DISPLAY_LISTS environmental variable in the computeFastPathsUsed() method so that use of vertex arrays can be forced off. This is a work around for a bug in the OpenGL drivers in OSX/Panther. - * From Fredric Mammond, addid osgblendequation and osglogicop - examples. +Mon, 16 Feb 2004 15:27:45 +0000 +Checked in by : Robert OSFIELD +Removed redundent byte swap on _version -2005-01-03 16:39 robert +Thu, 12 Feb 2004 18:40:15 +0000 +Checked in by : Don BURNS +Submission by Paul Martz for doing units conversions on flight files. - * From Fredric Mammond, added new osg::BlendEquation state - attribute wrapping - up glBlendEquation. +Thu, 12 Feb 2004 12:53:51 +0000 +Checked in by : Robert OSFIELD +Changed _X & _Y varaibles to _tileX & _tileY -2005-01-03 13:49 robert +Thu, 12 Feb 2004 01:42:00 +0000 +Checked in by : Robert OSFIELD +From Shane Arnott, added drawing of "split" - * From Marco Jez, fixed handling of loading of relative file paths. +Thu, 12 Feb 2004 01:15:37 +0000 +Checked in by : Robert OSFIELD +Improved osgSim::SphereSegmenet's handling of transparancy. -2005-01-03 12:27 robert +Wed, 11 Feb 2004 12:06:37 +0000 +Checked in by : Robert OSFIELD +Added support for draw back then front faces of the osg::Sphere shape - * Added stripping of trailing spaces to readline call to fix - problems associated - with eroneous spaces hanging around at ends of lines causing - string matching - problems +Wed, 11 Feb 2004 10:19:52 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, fix to enable AutoTransform to keep track of window size/perspective changes -2005-01-03 11:20 robert +Wed, 11 Feb 2004 10:18:34 +0000 +Checked in by : Robert OSFIELD +Added defined(__x86_64__) to force X86-64 build to use standard clock - * Added check against ac as extension. +Tue, 10 Feb 2004 12:36:17 +0000 +Checked in by : Robert OSFIELD +Made getViewport(...) const. -2004-12-17 22:31 don +Tue, 10 Feb 2004 10:07:32 +0000 +Checked in by : Robert OSFIELD +From David Fries, added _frameTime copying into copy constructor of osg::Sequence - * Changed INST_LOCATION = to INST_LOCATION ?= +Mon, 9 Feb 2004 22:56:39 +0000 +Checked in by : Robert OSFIELD +From Ronny Krueger: In RenderStage.cpp removed erroneous else statement. -2004-12-17 20:51 don + In ShapeDrawable.cpp's PrimitiveShapeVisitor::apply(const Box& box) fixed + order of the last face. - * Added computeBound to osg::Switch, which now checks to see if a - child is - enabled before computing its bound. -2004-12-17 01:06 robert - * Property API clean to smooth the task of generating wrappers. +Mon, 9 Feb 2004 10:14:06 +0000 +Checked in by : Robert OSFIELD +Added new TriangleIndexFunctor. -2004-12-16 06:15 robert +Sat, 7 Feb 2004 19:36:15 +0000 +Checked in by : Robert OSFIELD +Removed slideshow3D from runexamples.bat - * Provisional lists for what are likely to, and not likely to have - wrappers automatically generated easily +Thu, 5 Feb 2004 21:23:09 +0000 +Checked in by : Robert OSFIELD +From Eric Hammil, addition of /Zm200's to keep things compiling under VS6 -2004-12-15 04:49 robert +Thu, 5 Feb 2004 12:11:06 +0000 +Checked in by : Robert OSFIELD +Fixed the className() defintations to be const - * Added missing files +Thu, 5 Feb 2004 11:53:09 +0000 +Checked in by : Robert OSFIELD +Changed fonts to lower case. -2004-12-14 03:12 robert +Thu, 5 Feb 2004 11:39:12 +0000 +Checked in by : Robert OSFIELD +From Nick, Improved support for 3D labels. - * Removed redundent cont qualification +Thu, 5 Feb 2004 10:50:29 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly, Fixes to osgSim::BlinkSequence to enable proper saving and loading. -2004-12-14 01:38 robert +Thu, 5 Feb 2004 10:15:38 +0000 +Checked in by : Robert OSFIELD +Fixed warning in Tesselation w.r.t unhandled cases in switch statement - * From Fredric Marmond, fix to gcc3.4 build +Thu, 5 Feb 2004 10:10:18 +0000 +Checked in by : Robert OSFIELD +Removed slideshow3D from list of example apps, and rejigged makedefs handling of the QUICK_TIME -2004-12-13 04:54 robert +Thu, 5 Feb 2004 09:24:52 +0000 +Checked in by : Robert OSFIELD +Removed DRAWIN_QUICKTIME definition - * From Frederic Marmond, add osg::LogicOp for support for - glLogicOp. +Wed, 4 Feb 2004 13:21:41 +0000 +Checked in by : Robert OSFIELD +Removed slideshow3D from project file. -2004-12-13 02:39 robert +Wed, 4 Feb 2004 13:21:16 +0000 +Checked in by : Robert OSFIELD +Removed slideshow3D project file - * From Marco, fixes to osgIntrospection and related libs +Wed, 4 Feb 2004 13:19:32 +0000 +Checked in by : Robert OSFIELD +Removed slideshow3D example source code, since it being moved to a seperate distribution. -2004-12-13 01:07 robert +Wed, 4 Feb 2004 11:03:52 +0000 +Checked in by : Robert OSFIELD +Added virtual destructor to LightPointDrawable - * Teaks to API to make it easier to generate wrappers automatically +Wed, 4 Feb 2004 09:30:06 +0000 +Checked in by : Robert OSFIELD +From Brad Christaiansen, added check for projection matrix changing in screen coord character size mode. -2004-12-13 01:06 robert +Tue, 3 Feb 2004 22:46:10 +0000 +Checked in by : Robert OSFIELD +Changes to help differentiate between OSX using Quicktime vs not using quicktime, from Eric Sokolosky and Robert Osfield. - * Fixed project name +Tue, 3 Feb 2004 21:08:35 +0000 +Checked in by : Robert OSFIELD +Added rounding to nearest power of two in tile image size -2004-12-12 22:27 robert +Tue, 3 Feb 2004 19:07:32 +0000 +Checked in by : Robert OSFIELD +Added dynamic_cast into SceneView::init() method to properly check for class type before doing setState(). - * Changed RELATIVE_RF to ABSOLUTE_RF to fix bug introduced when - naming was changed - from RELATIVE_TO_ABSOLUTE to new convention +Tue, 3 Feb 2004 16:51:44 +0000 +Checked in by : Robert OSFIELD +Added support for better merging of height fields which ignores NoData values. Fixed various problems with handing of coordinates systems. Added support for halving levels in x and y respectively, in addition to the previous divide in both x and y at the same time, which allows long line/short tall regions to be handled better. -2004-12-10 03:37 robert +Mon, 2 Feb 2004 17:16:40 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolosky, change to use X_INC in GNUmakefile to allow compiling on systems with X installed in a non standard place. - * Added extra set methods to match get's to make then symetric - proporties +Mon, 2 Feb 2004 16:55:29 +0000 +Checked in by : Robert OSFIELD +Moved the InitVisitor::setState() into the SceneView::init() method to make sure that it always has the correct State object at the of the init. -2004-12-09 05:29 robert +Mon, 2 Feb 2004 08:55:17 +0000 +Checked in by : Robert OSFIELD +Added atan2f to the list of #define's into include/osg/Math. - * Added Make support for new osgIntrospecxtion libs +Sun, 1 Feb 2004 17:21:12 +0000 +Checked in by : Robert OSFIELD +Commented out the PagedLOD priority offset to leave it at its default values, so not to force the loading of distance children before near ones, letting PagedLOD set priorities simply on the depth into a child range. -2004-12-09 05:28 robert +Sun, 1 Feb 2004 17:19:33 +0000 +Checked in by : Robert OSFIELD +Changed the osgviewer example to use the osg::Timer::instance instead a loca instance. - * Added Marco Jez's osgIntrospection + osgWrapper libs with - osgintrospection - example +Sun, 1 Feb 2004 17:18:36 +0000 +Checked in by : Robert OSFIELD +From Nick, "I have modified the gdal code to read ecw images as well There is a small issue though ... GDALRasterBand::GetColorInterpretation() is not implemented for ecw images (in GDAL's sources I downloaded today) ... I put small hack in there to interpret the bands based on their index and it seams to work .." -2004-12-09 00:02 don +Sun, 1 Feb 2004 17:17:16 +0000 +Checked in by : Robert OSFIELD +Increased expiry delay from 1 second to 30 seconds - * added 'sh' to command line to ensure that the script runs - regardless of - permissions +Sun, 1 Feb 2004 16:13:07 +0000 +Checked in by : Robert OSFIELD +Fixed the PagedLOD::removeExpiredChildren() so it only removes the high res child that has expired and no more. -2004-12-08 19:45 don +Sun, 1 Feb 2004 15:40:33 +0000 +Checked in by : Robert OSFIELD +Fixed GL_COMPRESSED_RGB_S3TC_DXT1_EXT pathway so both pixel and internal formats are the same. - * Update of IVe version files +Sun, 1 Feb 2004 10:27:19 +0000 +Checked in by : Robert OSFIELD +Improvements to the merging of source image datasets into the destination tiles which ensure that gaps don't appear.Made the elevation properly scaled relative to the having the x & y in +degrees. -2004-12-07 00:42 don - * Spelling errors fixed by Brede Johansen -2004-12-06 19:32 don +Sat, 31 Jan 2004 21:27:02 +0000 +Checked in by : Robert OSFIELD +Fixed second pathway for computing HeightField bounding box. - * Changed the strcmp() to use std::string instead. +Sat, 31 Jan 2004 20:45:40 +0000 +Checked in by : Robert OSFIELD +Fixed HeightField compute bounding box implementation. -2004-12-05 00:16 don +Sat, 31 Jan 2004 11:34:28 +0000 +Checked in by : Robert OSFIELD +Added AnimationPathCallback::getAnimationTime() method - * Post-tag revision variable change +Fri, 30 Jan 2004 21:17:50 +0000 +Checked in by : Robert OSFIELD +Fixed another typo :) -2004-12-05 00:03 don +Fri, 30 Jan 2004 21:17:27 +0000 +Checked in by : Robert OSFIELD +Fixed misspelling of dependencies - * CHanged version in makedefs for - 2 revision +Fri, 30 Jan 2004 21:11:58 +0000 +Checked in by : Robert OSFIELD +Added new dependancies file which contains a list of libraries that various OSG modules depend upon, these can be set as installed or not. The makedirdefs now uses this to configure which modules to compile. -2004-12-04 23:59 don +Fri, 30 Jan 2004 21:10:05 +0000 +Checked in by : Robert OSFIELD +Added osg:: infront of State in Draw callback to make the callback work when copy and pasting it in user code. - * Removed old RPM spec files. This shouldn't be in the repository - as they - are generated by the make distribution script, which is broken - also. +Fri, 30 Jan 2004 21:09:21 +0000 +Checked in by : Robert OSFIELD +Added new osgspacewarp example which demonstrates how to create a star field which becomes lines as one accelerates, similar to the effect seen in star trek's warp drive. -2004-12-04 23:38 don +Fri, 30 Jan 2004 16:12:53 +0000 +Checked in by : Robert OSFIELD +From Bob Keuhne, warning fixes under OSX - * Update version numbers in files +Fri, 30 Jan 2004 15:54:41 +0000 +Checked in by : Robert OSFIELD +Added osgText dependancy to the TXP plugin -2004-12-02 21:50 don +Fri, 30 Jan 2004 15:52:58 +0000 +Checked in by : Robert OSFIELD +Added Windows icon - * Post release adjustment of revision +Fri, 30 Jan 2004 14:06:29 +0000 +Checked in by : Robert OSFIELD +Added osgmovie example, derived from Ulrich Hertlien's original videotex example, and brought up to date. -2004-12-02 21:49 don +Fri, 30 Jan 2004 13:53:15 +0000 +Checked in by : Robert OSFIELD +Changed the snap image filename to save_image.jpg taking advantage of the new JPEG writing support. - * Added tagrules for 'make tag' convenience - Updated makedefs for release/revision +Fri, 30 Jan 2004 13:52:12 +0000 +Checked in by : Robert OSFIELD +From Stephane, added support for writing JPEG images. -2004-12-02 21:28 don +Thu, 29 Jan 2004 20:14:20 +0000 +Checked in by : Robert OSFIELD +Fixed the clampProjectionMatrix method so it doesn't modify the input znar and zfar, by avoid the use of float/double&. - * fixed CameraPacket to allocate on the heap instead of the stack, - which - was causing crashes. +Thu, 29 Jan 2004 17:09:13 +0000 +Checked in by : Don BURNS +Adde Texture1D to .dsp file -2004-12-02 17:44 don +Thu, 29 Jan 2004 15:47:51 +0000 +Checked in by : Robert OSFIELD +Attempts to fix compile problems under IRIX due to namespace problems. - * Memory leak spotted and fixed by Sebastien Grignard +Thu, 29 Jan 2004 15:47:06 +0000 +Checked in by : Robert OSFIELD +Improved support for handling externally set projections -2004-11-30 18:13 don +Thu, 29 Jan 2004 11:16:49 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshtan, add support to osg::Texture files for GL_ARB_shadow_ambinet support - * Added Mike's submission to Authors +Thu, 29 Jan 2004 10:44:08 +0000 +Checked in by : Robert OSFIELD +Added double's as parameters to _clampProjectionMatrix() template function to cure compile problems -2004-11-29 18:59 don +Wed, 28 Jan 2004 22:23:10 +0000 +Checked in by : Don BURNS +Fixed WIREFRAME_CLOSED swap in flt loader. submitted by Andreas Ekstrand - * Added pragma to shut VS 6 up. +Wed, 28 Jan 2004 20:17:10 +0000 +Checked in by : Robert OSFIELD +Made the thread priority outwith the frame PRIORITY_MIN -2004-11-29 05:47 don +Wed, 28 Jan 2004 14:44:35 +0000 +Checked in by : Robert OSFIELD +Adding scaling of skirt. - * Small clean up of commented code +Wed, 28 Jan 2004 10:53:59 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, icons for osgviewer under Windows. The osgviewer changes effectively provides template for making icons for all the examples. -2004-11-29 05:32 don +Wed, 28 Jan 2004 10:49:23 +0000 +Checked in by : Robert OSFIELD +Added support for CullVisitor::clampProjectionMatrixCallback - * Comprimise for Visual Studio 6 by using 'using namespace - OpenThreads'. +Tue, 27 Jan 2004 22:45:03 +0000 +Checked in by : Don BURNS +Added 1D texture support to .ive plugin. (Fixed a couple of misspellings as well). -2004-11-29 03:05 don +Tue, 27 Jan 2004 21:29:58 +0000 +Checked in by : Robert OSFIELD +Added support for osg::Texture::setBorderWidth(). - * Fixes for SOlaris build +Tue, 27 Jan 2004 14:49:59 +0000 +Checked in by : Robert OSFIELD +Fixed problems with the DatabasePager free of texture objects and display list before they are finished with. -2004-11-29 01:12 don +Tue, 27 Jan 2004 14:47:41 +0000 +Checked in by : Robert OSFIELD +Added className() method to GlyphTexture for debugging purposes. - * Fixes for IRIX build +Tue, 27 Jan 2004 14:46:29 +0000 +Checked in by : Robert OSFIELD +Added operator = implementations to template classes. -2004-11-28 23:49 don +Tue, 27 Jan 2004 11:50:32 +0000 +Checked in by : Robert OSFIELD +From Nick, added VectorUInt in osgText/String hack to get around VS's stoopid compiler bugs.From Robert, removed an #if #else #endif block, for code clarity. - * Changes for IRIX build -2004-11-28 17:11 don - * Added visual studio files for osgspotlight example (Mike Weiblen) - Updated NEWS.txt for release +Mon, 26 Jan 2004 14:52:11 +0000 +Checked in by : Robert OSFIELD +Re-enabled the unref image of texture apply, since the bug of disappearing textures was due to a bug in DatabasePager. -2004-11-27 20:35 don +Mon, 26 Jan 2004 14:51:01 +0000 +Checked in by : Robert OSFIELD +Set the delete of expired subgraphs in the database thread to false, to prevent problems with osgText. Will need to solve the dirtyTextureObject issue. - * Fixed osgDB:: prefix for Windows build +Mon, 26 Jan 2004 13:55:17 +0000 +Checked in by : Robert OSFIELD +Removed Texture unref on apply. -2004-11-27 19:23 don +Mon, 26 Jan 2004 09:01:08 +0000 +Checked in by : Robert OSFIELD +Fix to computation of size of texture in presense of compressed textures + mipaplevels<=1 - * Added Marco's fix for data path for the .ive plugin +Sun, 25 Jan 2004 13:52:55 +0000 +Checked in by : Robert OSFIELD +From Nick, added Text support. -2004-11-27 19:20 don +Sat, 24 Jan 2004 20:50:33 +0000 +Checked in by : Robert OSFIELD +Removed redundent , from enum. - * Fixed bug in .net loader. Added hostname to file fetch. +Sat, 24 Jan 2004 09:41:29 +0000 +Checked in by : Robert OSFIELD +Added release of file request block in the DatabasePager destructor. -2004-11-27 17:06 don +Fri, 23 Jan 2004 21:47:39 +0000 +Checked in by : Robert OSFIELD +Added proper handling of the rotation of billboards about an artbitary axis. Note, this code while mathermatically is not optimal, and will need to reviewed in the future to optimize it. - * Fixed reference to install instructions +Fri, 23 Jan 2004 16:29:54 +0000 +Checked in by : Robert OSFIELD +Added rotation of billboard normal into flattern transform Optimizer pass. -2004-11-26 21:35 robert +Fri, 23 Jan 2004 16:09:56 +0000 +Checked in by : Robert OSFIELD +Made getLookAt() etc methods const - * Added missing OSG_SCREEN_WIDTH docs +Fri, 23 Jan 2004 13:38:28 +0000 +Checked in by : Robert OSFIELD +Fixed the handling of the Producer Fovy so that it accounts for Producer now using degrees in set and get methods -2004-11-26 21:14 robert +Fri, 23 Jan 2004 13:25:45 +0000 +Checked in by : Robert OSFIELD +From Romano Magacho, fixes to handle the subloading from Image when the internal format changes requiring a rebuild of the texture object. - * Updates news for release +Fri, 23 Jan 2004 12:06:03 +0000 +Checked in by : Robert OSFIELD +Reverted by hand osgshadowtexture -2004-11-26 20:46 robert +Thu, 22 Jan 2004 14:24:51 +0000 +Checked in by : Robert OSFIELD +Added support for copying tex coord data directly from prpgGeometry. - * Updates to ChangeLog and doxygen file +Thu, 22 Jan 2004 12:28:55 +0000 +Checked in by : Robert OSFIELD +Added report of LOD scale -2004-11-26 19:27 robert +Thu, 22 Jan 2004 12:21:59 +0000 +Checked in by : Robert OSFIELD +Added setLODScale into TileMapper traversal - * Added /Zm200 to avoid heap size problems under VS6.0 +Thu, 22 Jan 2004 11:33:40 +0000 +Checked in by : Robert OSFIELD +Added back in handling of non seam children in seam subgraphs, now uses a seperate group to enclose both the seam and the non seam children. -2004-11-26 16:01 robert +Thu, 22 Jan 2004 10:55:56 +0000 +Checked in by : Robert OSFIELD +From Nick, addition of pruning to remove redundent local materials. - * Addd high level introductory docs for all the libs +Thu, 22 Jan 2004 10:43:59 +0000 +Checked in by : Robert OSFIELD +Added setName("TileContent") on the subgraphs that represent the contents of the tiles, this name is then searched for during the TileMapper pre cull traversal to help cut short traversals, and thereby improve its performance. -2004-11-26 16:00 robert +Thu, 22 Jan 2004 10:42:32 +0000 +Checked in by : Robert OSFIELD +Added controls over the datatbase pager threading priority during and outwith the frame. - * Clean up doxygen files for release +Wed, 21 Jan 2004 20:38:03 +0000 +Checked in by : Robert OSFIELD +Added _activeSwitchSet(sw._activeSwitchSet) into the copy constructor. -2004-11-25 15:57 robert +Wed, 21 Jan 2004 19:13:09 +0000 +Checked in by : Robert OSFIELD +Commented back in osg::Material settings - * Added /Zm200 to avoid VS 6.0 dump arse compile errors +Wed, 21 Jan 2004 17:26:23 +0000 +Checked in by : Robert OSFIELD +Added new mechanism for handling Seams. -2004-11-25 15:09 robert +Tue, 20 Jan 2004 10:02:45 +0000 +Checked in by : Robert OSFIELD +Build fix. - * Fixed caching of archives +Mon, 19 Jan 2004 15:55:51 +0000 +Checked in by : Robert OSFIELD +Upates from Nick. -2004-11-25 13:59 robert +Mon, 19 Jan 2004 11:02:54 +0000 +Checked in by : Robert OSFIELD +Added support for osg::Texture::setUnRefImageDataAfterApply(true) into all objects osg::Textures the TXP plugin creates. - * Reordered the core libraries to try and get round compile order - problems under - VisualStudio 6.0 +Mon, 19 Jan 2004 11:01:45 +0000 +Checked in by : Robert OSFIELD +Fixed bug in logic in areAllTextureObjectsLoaded() which was producing the exact opposite result to what it should have been generating. -2004-11-25 09:51 robert +Sun, 18 Jan 2004 21:59:20 +0000 +Checked in by : Robert OSFIELD +Updates for improvements to osgdem, such as adding support for skirt and border into osg::HeightField, handling of computation of neigherbouring tiles in osgdem's DestinationGraph. - * Added LFS support to gcc linux build +Fri, 16 Jan 2004 16:39:04 +0000 +Checked in by : Robert OSFIELD +Improvements to generation of terrain and texture'd LOD'd destination datasets -2004-11-24 21:39 robert +Thu, 15 Jan 2004 21:07:34 +0000 +Checked in by : Robert OSFIELD +Added automatic generation of LOD levels with destination graph - * cleaned up debug info +Wed, 14 Jan 2004 15:14:20 +0000 +Checked in by : Robert OSFIELD +Clean ups of floats & .0f's -2004-11-24 21:10 robert +Tue, 13 Jan 2004 16:07:02 +0000 +Checked in by : Robert OSFIELD +Fixed #undef's - * updated NEWS and ChangeLog +Tue, 13 Jan 2004 10:30:36 +0000 +Checked in by : Robert OSFIELD +From Daved Ergo, patch for handling group names better -2004-11-24 19:41 robert +Tue, 13 Jan 2004 09:47:50 +0000 +Checked in by : Robert OSFIELD +Fixed typo's of ImpostorSprite - * Clean up of output +Tue, 13 Jan 2004 09:47:31 +0000 +Checked in by : Robert OSFIELD +Fixed for Win32 build -2004-11-24 19:10 robert +Mon, 12 Jan 2004 22:03:29 +0000 +Checked in by : Robert OSFIELD +Added support for automatic subdivision of the destination graph - * from Mike Weiblen, added wrap mode to planet texture to avoid - black seam, and - add option of specifying the texture to use in osgshape. +Mon, 12 Jan 2004 14:22:18 +0000 +Checked in by : Robert OSFIELD +Introduce new Matrix::invert() implementation from Ravi Mathur, with tweaks by Robert Osfield. -2004-11-24 15:41 robert +Mon, 12 Jan 2004 14:21:26 +0000 +Checked in by : Robert OSFIELD +Fixed compile warning - * Fixed typo in acceptsExtension +Mon, 12 Jan 2004 13:53:04 +0000 +Checked in by : Robert OSFIELD +Changed of _firstTime intial values of 0 to DBL_MAX. -2004-11-24 06:57 robert +Sun, 11 Jan 2004 21:33:43 +0000 +Checked in by : Robert OSFIELD +Improvements from Pavel. - * Moved the initPeformer to the constructor to avoid const issues - when compiling +Sat, 10 Jan 2004 21:29:15 +0000 +Checked in by : Robert OSFIELD +Added support for controlling the LODScale via '*' and '+' keys in osgProducer::Viewer. -2004-11-23 23:47 robert +Sat, 10 Jan 2004 20:58:09 +0000 +Checked in by : Robert OSFIELD +Fixed consolodateRequireResolutions() methods - * Fixed VS.NET warnings +Sat, 10 Jan 2004 17:13:20 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, added osgDB::SharedStateManager. Also a couple of ammendments by Robert Osfield, adding get/setSharedStateManager() methods into osgDB::Registry, and clean up fixes in SharedStateManager for the StateSet arrays. -2004-11-23 23:45 robert +Sat, 10 Jan 2004 09:10:44 +0000 +Checked in by : Robert OSFIELD +Did a to_unix on all the LWS files include GNUmakefile. - * Fixed recursive call +Fri, 9 Jan 2004 20:33:23 +0000 +Checked in by : Robert OSFIELD +Standardised on using value_type in most methods in Matrixd & Matrixf interfaces and Matrix_implementation.cpp. -2004-11-23 17:07 robert +Fri, 9 Jan 2004 14:07:26 +0000 +Checked in by : Robert OSFIELD +From Romano Magacho, add group->setName() to flattening of static transforms - * From Fabien Dachicourt, bug fix to addChild(node,value) +Fri, 9 Jan 2004 13:35:55 +0000 +Checked in by : Robert OSFIELD +Fixed to TXP plugin from Nick. -2004-11-23 16:52 robert +Thu, 8 Jan 2004 21:39:14 +0000 +Checked in by : Robert OSFIELD +Fixes from Geoff. - * From John Shue, reordering of tiffio.h to avoid compile error. +Thu, 8 Jan 2004 21:04:42 +0000 +Checked in by : Robert OSFIELD +Made the default settings of Quat 0,0,0,1 to represent a zero rotation. -2004-11-23 15:29 robert +Wed, 7 Jan 2004 20:58:07 +0000 +Checked in by : Robert OSFIELD +Moved the default light to be from the sky. - * Made read/write methods in ReaderWriter all const to facilate - multi-threading +Wed, 7 Jan 2004 19:57:16 +0000 +Checked in by : Robert OSFIELD +Fixed TXPPagedLOD.h/.cpp typos. -2004-11-23 12:57 robert +Wed, 7 Jan 2004 14:14:38 +0000 +Checked in by : Robert OSFIELD +Fixed tabs to be four spaces. - * Tripped out experiemental threadSafe_ methods in ReaderWriter +Wed, 7 Jan 2004 14:10:47 +0000 +Checked in by : Robert OSFIELD +From Nick, updates to TXP plugin to handle differences in LOD levels between adjacent tiles. -2004-11-23 10:46 robert +Wed, 7 Jan 2004 12:38:55 +0000 +Checked in by : Robert OSFIELD +Added osgsimplepager example program - * Added support for local relative paths +Wed, 7 Jan 2004 12:38:36 +0000 +Checked in by : Robert OSFIELD +Removed redundent DatabasePager pointer. -2004-11-22 23:54 robert +Wed, 7 Jan 2004 12:37:44 +0000 +Checked in by : Robert OSFIELD +Added DatabasePager::setUseFrameBlock(bool) method - * Moved plugins across to using ReaderWriter::Options* for search - paths in addition - to standard osgDB::DataFilePaths +Wed, 7 Jan 2004 08:43:38 +0000 +Checked in by : Robert OSFIELD +Removed eroneous CreateShadowedScene.cpp/.h from .dsp -2004-11-22 14:49 robert +Wed, 7 Jan 2004 08:39:33 +0000 +Checked in by : Robert OSFIELD +Moaved PagedLOD::PerRangeData implementaton into .cpp and add missing return *this to copy operator. - * Removed the cache hints from registery placing them wholly into - ReaderWriter's responsibility. +Wed, 7 Jan 2004 08:36:14 +0000 +Checked in by : Robert OSFIELD +Fixed ending of .dsp -2004-11-22 14:10 robert +Tue, 6 Jan 2004 21:18:36 +0000 +Checked in by : Robert OSFIELD +Simplified the API for using the DatabasePager, by providing a single DatabasePager::updateSceneGraph(..) method, and added a ref_ptr<> into osDB::Registry for managing a single DatabasePager in a centralised way. - * Moved Registry::CacheHintOptions into ReaderWriter::Options +Tue, 6 Jan 2004 15:56:18 +0000 +Checked in by : Robert OSFIELD +Added osgdistortion examples .dsp -2004-11-22 13:58 robert +Tue, 6 Jan 2004 14:37:25 +0000 +Checked in by : Robert OSFIELD +Fixed comments - * From Rainer Oder, improvements to planet motions +Tue, 6 Jan 2004 14:09:12 +0000 +Checked in by : Robert OSFIELD +Added code to the DatagbasePager::removeExpiredSubgraphs() that update the osgDB::Registry cache. -2004-11-20 13:35 robert +Tue, 6 Jan 2004 12:27:20 +0000 +Checked in by : Robert OSFIELD +Merged changes from Cobin Holtz for support of "noUnitsConversion" via the ReaderWriter::Options string. - * Changed ReaderWriter::Options to derive from osg::Object to add - clone() - ability. +Tue, 6 Jan 2004 08:38:17 +0000 +Checked in by : Robert OSFIELD +From Nick, increased info.radius by x 1.3 to avoid culling -2004-11-20 12:08 robert +Mon, 5 Jan 2004 20:51:30 +0000 +Checked in by : Robert OSFIELD +Added code to scale the priority by the offset and scale. - * Added support for pixel based LOD's and set the default priority - scale to 1.0 +Mon, 5 Jan 2004 20:45:28 +0000 +Checked in by : Robert OSFIELD +Added support for priority offset and scale into PagedLOD. -2004-11-20 11:48 robert +Mon, 5 Jan 2004 19:04:25 +0000 +Checked in by : Robert OSFIELD +#if 0'd out code for switch off seam generation. - * Added support for pixel range to PagedLOD +Mon, 5 Jan 2004 15:40:44 +0000 +Checked in by : Robert OSFIELD +Compile fixes for Win32 -2004-11-20 11:48 robert +Mon, 5 Jan 2004 15:34:41 +0000 +Checked in by : Robert OSFIELD +Fixed .dsp - * Fixed indentation. +Mon, 5 Jan 2004 14:17:01 +0000 +Checked in by : Robert OSFIELD +Renamed osgshadowtexture.dsp to osgdepthshadow.dsp -2004-11-20 11:45 robert +Mon, 5 Jan 2004 13:40:36 +0000 +Checked in by : Robert OSFIELD +Added support into osgProducer::Viewer for flushing and compiling GL objects via a Producer post swap callback. - * From Johan Nouvel, added support for range mode +Mon, 5 Jan 2004 09:34:28 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshtan, osgdepthshadow example -2004-11-20 10:36 robert +Sun, 4 Jan 2004 22:28:37 +0000 +Checked in by : Robert OSFIELD +Experiments at fixing seam handling. - * From John Shue, fix for FreeBSD. +Sun, 4 Jan 2004 12:37:18 +0000 +Checked in by : Robert OSFIELD +Fixed osgFX::Validator::compare(..) so that it checked for the correct StateAttribute type before comparing member variables.Fixed docs typo in Material -2004-11-19 20:05 robert - * Added _lockCount>0 check to lock,unlock and trylock to make sure - that it - is set properly on first time entry. -2004-11-19 09:02 robert +Sat, 3 Jan 2004 22:52:51 +0000 +Checked in by : Don BURNS +Oops. Fixed glaring memory leak in main loop of osgsimple - * Removed notify from destructor wait for cancel loop. +Sat, 3 Jan 2004 20:32:27 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, new Light Wave Scene loader -2004-11-19 08:47 robert +Sat, 3 Jan 2004 15:20:33 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, updates to the LWO loader. - * Added std:: infront of getline calls +Sat, 3 Jan 2004 09:06:52 +0000 +Checked in by : Robert OSFIELD +Updates to osgGL2 from Mike Weiblen -2004-11-18 22:43 robert +Fri, 2 Jan 2004 20:44:18 +0000 +Checked in by : Robert OSFIELD +Fixed getFogCoord methods - * Made the permissions executable +Fri, 2 Jan 2004 17:30:05 +0000 +Checked in by : Robert OSFIELD +Updates to TXP plugin from Nick. -2004-11-18 22:14 robert +Fri, 2 Jan 2004 17:06:18 +0000 +Checked in by : Robert OSFIELD +Added "&& oitr->second.first->referenceCount()<=1" check to removeExpiredObjectsInCache so that it only expires objects in the cache that have no external reference. - * Updated ChangedLog and NEWS +Fri, 2 Jan 2004 11:31:45 +0000 +Checked in by : Robert OSFIELD +Updates to the AUTHORS file from Rune. -2004-11-18 22:13 robert +Sat, 27 Dec 2003 22:17:41 +0000 +Checked in by : Robert OSFIELD +Added osgdistortion demo. - * Removed the public open methods +Sat, 27 Dec 2003 22:17:25 +0000 +Checked in by : Robert OSFIELD +From Geof Michel, addition of TESSELATE_GEOMETRY pass. -2004-11-18 22:12 robert +Sat, 27 Dec 2003 15:57:57 +0000 +Checked in by : Robert OSFIELD +Removed TXPIO.h - * Added all core libraries +Sat, 27 Dec 2003 13:46:33 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, added tesselate pass to Optimizer and added handling of per primitve color to osgUtil::Tesselator. -2004-11-18 21:53 robert +Sat, 27 Dec 2003 11:30:41 +0000 +Checked in by : Robert OSFIELD +From Rommano Silva, admendments to Texture::computeRequiredTextureDimensions so that it takes into account the current mip map settings. - * Added osgText dependency to osglauncher. +Fri, 26 Dec 2003 16:45:06 +0000 +Checked in by : Robert OSFIELD +Fixed osgFX::Scribe so that is handled setting of colour and line width correctly, by setting up the Materiail and LineWidth attributes within the Scribe constructor. -2004-11-18 20:20 robert +Wed, 24 Dec 2003 19:28:39 +0000 +Checked in by : Robert OSFIELD +Fixes for VS6.0 - * Added dsp's for osglauncher and osgplanets. +Wed, 24 Dec 2003 17:20:13 +0000 +Checked in by : Robert OSFIELD +Removed redundent osgcameragroup -2004-11-18 16:25 robert +Wed, 24 Dec 2003 17:19:07 +0000 +Checked in by : Robert OSFIELD +Fixed typo of TileMap - now corrected to TileMapper - * Removed old and used FileUtils_Mac.cpp +Wed, 24 Dec 2003 00:14:45 +0000 +Checked in by : Robert OSFIELD +Fixed typos in error reporting -2004-11-18 16:21 robert +Wed, 24 Dec 2003 00:14:12 +0000 +Checked in by : Robert OSFIELD +Build fixes for VS6.0 - * Added osglancher and osgplanets to example set. +Wed, 24 Dec 2003 00:07:28 +0000 +Checked in by : Robert OSFIELD +Added osgphotoalbum project -2004-11-18 16:20 robert +Tue, 23 Dec 2003 23:55:06 +0000 +Checked in by : Robert OSFIELD +Added support for a photo archive. - * Changed debugging info to use osg::notify +Tue, 23 Dec 2003 13:02:13 +0000 +Checked in by : Robert OSFIELD +Updates from Nick.Added support for OSG_TXP_DEFAULT_MAX_ANISOTROPY to override the default make +anistropy in textures. -2004-11-18 15:10 robert - * Added write to file and use of clearnode -2004-11-18 15:01 robert +Tue, 23 Dec 2003 12:10:06 +0000 +Checked in by : Robert OSFIELD +removed osg:: - * Increased accuracy of animation path, moved main to end. +Tue, 23 Dec 2003 09:18:29 +0000 +Checked in by : Robert OSFIELD +Removed osg:: from NodeVisitor and Group base class calls -2004-11-18 14:43 robert +Mon, 22 Dec 2003 21:05:10 +0000 +Checked in by : Robert OSFIELD +Added beginings of PhotoArchive for storing and loading a set of photos from an archive. - * Changed Solarsystem to SolarSystem. +Mon, 22 Dec 2003 14:48:14 +0000 +Checked in by : Robert OSFIELD +Added max texture anisotropy of 4. -2004-11-18 13:46 robert +Mon, 22 Dec 2003 14:05:04 +0000 +Checked in by : Robert OSFIELD +Updates from Nick. - * Added a search for the config file, and defaulting to osg.conf +Mon, 22 Dec 2003 07:26:45 +0000 +Checked in by : Robert OSFIELD +Moved TileMapper code out into its own file and made it a signleton -2004-11-18 13:34 robert +Mon, 22 Dec 2003 06:27:17 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, port of TXP plugin across to a pure PagedLOD based pager, with a little assistance from Robert Osfield. - * Changed path to imagery from Images/SolarSystem to SolarSystem. +Sun, 21 Dec 2003 23:02:32 +0000 +Checked in by : Robert OSFIELD +Fixed memory leak and utilised DrawArrayLengths in place of multiple DrawArray calls. -2004-11-18 12:07 robert +Sun, 21 Dec 2003 13:11:36 +0000 +Checked in by : Robert OSFIELD +Added extra clampProjectionMatrix methods to handle both Matrixd and Matrixf pathways. - * Added friend usage for inner classes to try and get round compile - problems - under Solaris. +Sat, 20 Dec 2003 23:25:05 +0000 +Checked in by : Robert OSFIELD +Fixed PagedLOD's handling of distances beyond the furthest range. -2004-11-18 11:53 robert +Sat, 20 Dec 2003 14:25:18 +0000 +Checked in by : Robert OSFIELD +Added support for placing pictures of backs and fronts of pages. - * Added check for extension. +Sat, 20 Dec 2003 14:23:04 +0000 +Checked in by : Robert OSFIELD +Added support for REVERESED_XY_PLANE, REVERESED_XZ_PLANE and REVERESED_YZ_PLANE's for the axis alignement to allow the text to be reversed. -2004-11-18 11:21 robert +Sat, 20 Dec 2003 14:20:48 +0000 +Checked in by : Robert OSFIELD +*** empty log message *** - * Fixed writeImage. +Sat, 20 Dec 2003 14:19:09 +0000 +Checked in by : Robert OSFIELD +Added Mode parameter to constructor. -2004-11-18 10:08 robert +Fri, 19 Dec 2003 23:14:54 +0000 +Checked in by : Robert OSFIELD +Added support for reading and writing UserData from objects. - * From Vivek Rajan, fixes to Solaris build. +Fri, 19 Dec 2003 22:55:35 +0000 +Checked in by : Robert OSFIELD +Added support for tagging the required resolutions from the source data. -2004-11-18 09:19 robert +Fri, 19 Dec 2003 22:34:18 +0000 +Checked in by : Robert OSFIELD +Added swap bytes methods. - * Altered the path for Cygwin to set the _ticksPerSecond to the - correct value. +Fri, 19 Dec 2003 22:21:57 +0000 +Checked in by : Robert OSFIELD +From Corbin Holtz, support for endian testing and bytes swapping. With mods from Robert to use include/osg/Endian -2004-11-18 09:09 robert +Fri, 19 Dec 2003 10:52:17 +0000 +Checked in by : Robert OSFIELD +Added _ARB to GL_COMPARE_R_TO_TEXTURE - * From Stephane Simon, compile fix for VS, change struct to class - in forward declaration. +Thu, 18 Dec 2003 20:53:23 +0000 +Checked in by : Robert OSFIELD +Changed inline docs for readPixels to say "read pixels from current frame buffer" -2004-11-17 20:01 robert +Thu, 18 Dec 2003 16:15:58 +0000 +Checked in by : Robert OSFIELD +Added definition of GL_DEPTH_TEXTURE_MODE_ARB - * From Rainer Oder, updates to osglauncher. +Thu, 18 Dec 2003 12:20:38 +0000 +Checked in by : Robert OSFIELD +Changed the ArrayData constructor to use copyop for copying arrays, instead of by default doing cloning. -2004-11-17 19:31 robert +Thu, 18 Dec 2003 10:57:57 +0000 +Checked in by : Robert OSFIELD +Fixed s/getCreateBackFace(bool on) methds so that use used the correct variable. - * Changed the dependencies file to use ?= instead of = to allow env - vars - to override local settings. +Thu, 18 Dec 2003 09:56:48 +0000 +Checked in by : Robert OSFIELD +Fixed typo in comments. -2004-11-17 14:56 robert +Wed, 17 Dec 2003 23:19:11 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, build fixes for OSX. - * From Thom DeCarlo, fixes for Cygwin build +Wed, 17 Dec 2003 19:26:16 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshtan, added GL_ARB_shadow_support to osg::Texture. -2004-11-17 14:25 robert +Wed, 17 Dec 2003 17:05:20 +0000 +Checked in by : Robert OSFIELD +From Pavel Molishtan, Fixed comparision of _t plane. - * Made a few of the public methods virtual, and moved more of the - class - methods to protected scope. +Wed, 17 Dec 2003 17:02:23 +0000 +Checked in by : Robert OSFIELD +Added support for tracing the resolutions that are required by the destination data. -2004-11-17 13:04 robert +Wed, 17 Dec 2003 10:05:29 +0000 +Checked in by : Robert OSFIELD +From Jeremy Bell, made SHARED = -dynamic for OSX. - * Removed remaining old docs. +Wed, 17 Dec 2003 10:04:01 +0000 +Checked in by : Robert OSFIELD +Added VS projects for osgkeyboardmouse and osgsimple examples. -2004-11-17 13:03 robert +Wed, 17 Dec 2003 00:58:36 +0000 +Checked in by : Robert OSFIELD +Added -losgGL2 to link line. - * Removed doc++ docs from distrubtion. +Tue, 16 Dec 2003 23:43:37 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, fixes to osgFX so that effects are compiled correctly.Fixed title name of osgkeyboardmouse example. -2004-11-17 13:00 robert - * Removed mind maps docs -2004-11-17 12:58 robert +Tue, 16 Dec 2003 19:21:45 +0000 +Checked in by : Robert OSFIELD +Added osgUtil dependancy to lib3ds plugin - * Moved the main documentation onto the wiki website, and removed - from the - OpenSceneGraph distribution +Tue, 16 Dec 2003 08:56:49 +0000 +Checked in by : Robert OSFIELD +Put the ordering of the callbacks so that the update callback is first, then cull then draw. Added missing copy of update callback into copy constructor. -2004-11-16 16:04 robert +Mon, 15 Dec 2003 23:23:45 +0000 +Checked in by : Robert OSFIELD +Added support for updating the SceneView projection matrix from the values of near and far computed during the cull traversal. - * Fixed typo of ReadObjectFunctor. +Mon, 15 Dec 2003 23:22:35 +0000 +Checked in by : Robert OSFIELD +Changed the default wrap modes from REPEAT to CLAMP since CLAMP is the OpenGL default value. -2004-11-16 15:36 robert +Mon, 15 Dec 2003 16:46:06 +0000 +Checked in by : Robert OSFIELD +Added two news examples, osgsimple just loads a model and then renders it in a single window. osgkeyboardmouse adds to osgsimple support for keyboard mouse and picking interactions. - * Adde another friend to remove final VS6.0 compile problem. +Mon, 15 Dec 2003 16:40:26 +0000 +Checked in by : Robert OSFIELD +Added gemetry of photo album and page turning animation. -2004-11-16 14:35 robert +Mon, 15 Dec 2003 08:54:38 +0000 +Checked in by : Robert OSFIELD +Added test against MultiSwitch in Optimizer to prevent switch children being removed. - * Attempted fix for VS6.0 compile problems +Sat, 13 Dec 2003 22:15:47 +0000 +Checked in by : Robert OSFIELD +Fixed paramter name from being fileName to file. -2004-11-16 14:21 robert +Sat, 13 Dec 2003 22:07:55 +0000 +Checked in by : Robert OSFIELD +From Jeremy Bell, add -losgText to fix OSX compile. - * Removed debug info as it was causing VS6.0 compile problem +Sat, 13 Dec 2003 16:41:46 +0000 +Checked in by : Robert OSFIELD +Added TriStripVisitor usage. -2004-11-16 14:20 robert +Sat, 13 Dec 2003 16:36:29 +0000 +Checked in by : Robert OSFIELD +From Michael Gronager, with updates from Robert Osfield, to add support for Registry::closeAllLibrary and forced Registry destruction via Registry::instance(true). - * From David Spilling, fix for VS6.0 build. +Sat, 13 Dec 2003 15:33:48 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolosky, fixed broken handling of palatted textures. -2004-11-16 14:10 robert +Fri, 12 Dec 2003 20:33:36 +0000 +Checked in by : Robert OSFIELD +Fixed typo of s/getUpdateVisitor(). - * Made the inner helper classes friend to try and get round VS6.0 - problems +Fri, 12 Dec 2003 17:23:03 +0000 +Checked in by : Robert OSFIELD +Fixed flatten static transform -2004-11-16 12:40 robert +Fri, 12 Dec 2003 16:34:46 +0000 +Checked in by : Robert OSFIELD +Removed comments, and move the tri stipper slightly later in the code to apply it on all geometries. - * Added using namespace osgDB to try and resolve some of the VS6.0 - problems. +Fri, 12 Dec 2003 15:22:39 +0000 +Checked in by : Robert OSFIELD +Updates from Geof Michel. -2004-11-16 09:09 robert +Fri, 12 Dec 2003 13:53:04 +0000 +Checked in by : Robert OSFIELD +Made progress reports use osg::notify(osg::INFO) instread of std::cout - * Added osgText dependency to osgsequence app +Fri, 12 Dec 2003 13:24:23 +0000 +Checked in by : Robert OSFIELD +Fixed merging of geometry code. -2004-11-16 09:03 robert +Thu, 11 Dec 2003 23:33:27 +0000 +Checked in by : Robert OSFIELD +Renamed PermissableOptions to setPermissableOptimizations. - * From Loic Dachary, changes to Timer for PowerPC support, with - small re-arrangement - by Robert Osfield to make tick() code block mode readable. +Thu, 11 Dec 2003 23:26:22 +0000 +Checked in by : Robert OSFIELD +Added support for controlling what optimization operations can be applied to specific nodes in the scene graph. Typical use would be tagging a node so that it can't be optimized away in say a flatten static transform pass. Added methods to Optimizer are: inline void setPermissableOptionsForObject(const osg::Object* object, unsigned int options) + { + _permissableOptionsMap[object] = options; + } -2004-11-15 19:53 robert + inline unsigned int getPermissableOptionsForObject(const osg::Object* object) const + { + PermissableOptionsMap::const_iterator itr = _permissableOptionsMap.find(object); + if (itr!=_permissableOptionsMap.end()) return itr->second; + else return 0xffffffff; + } - * From Loic Dachary, added pk-config file. + inline bool isOperationPermissableForObject(const osg::Object* object,unsigned int option) const + { + return (option & getPermissableOptionsForObject(object))!=0; + } -2004-11-15 19:46 robert - * Added support for serialization of calls to ReaderWriter plugins. -2004-11-15 19:45 robert +Thu, 11 Dec 2003 16:46:45 +0000 +Checked in by : Robert OSFIELD +Added _maximumNumberOfActiveOccluders variable to CollectOccludersVisitor(), to limit the maximum number of occluders used in the cull traversal, default is now 10.Added set/getCollectOccluderVisitor() method into SceneView to allow control +of the the settings of the CollectOccluderVisitor. - * Added -pipe to gcc build under Linux -2004-11-15 19:44 robert - * From osgplaents, updates to more of the solar systems planets. +Wed, 10 Dec 2003 16:50:26 +0000 +Checked in by : Robert OSFIELD +Added environmental variable for setting the height of the drive manipulator. -2004-11-15 13:08 robert +Wed, 10 Dec 2003 15:24:14 +0000 +Checked in by : Robert OSFIELD +Added a special AvailablerReaderWriterIterator class to handle the task of iterating through the list of available reader writer, whilst handling cases where the list itself changes size during iteration through the list. Previous size changes during iteration was cause invalid iterators, which in turn was causing a crash. - * Added ReentrantMutex +Wed, 10 Dec 2003 15:22:05 +0000 +Checked in by : Robert OSFIELD +Added proper handling of unhandled file return type. -2004-11-15 13:02 robert +Wed, 10 Dec 2003 11:40:58 +0000 +Checked in by : Robert OSFIELD +Improved the management of errors reported from ReaderWriters, and cleaned up the reporting of errors in DynamicLibrary. - * From Tree, fixes for Java bindings +Wed, 10 Dec 2003 10:49:16 +0000 +Checked in by : Robert OSFIELD +Added support for using DrawArrays when indices are in ascending order, and increment 1 at a time. -2004-11-15 12:05 robert +Tue, 9 Dec 2003 22:29:56 +0000 +Checked in by : Robert OSFIELD +Improvements to the TriStripVisitor such that it now groups 4 point tri strips together as quads. - * Added osgspotlight to example set. +Tue, 9 Dec 2003 14:07:44 +0000 +Checked in by : Robert OSFIELD +Removed osg::Transform::ComputeTransformCallback from osg::Transform.Updated various dependant files to reimplemt callbacks as Transform subclasses. -2004-11-15 12:03 robert - * From Ulrich Hertlien, improved osgsequence example -2004-11-15 11:57 robert +Tue, 9 Dec 2003 14:06:48 +0000 +Checked in by : Robert OSFIELD +Added support for new PagedLOD Radius and NumChildrenThatCannorBeExpired variables to .osg and .ive support. - * Added osgDB::ReentrantMutex is prep for making osgDB::Registry - single threaded. +Tue, 9 Dec 2003 12:11:21 +0000 +Checked in by : Robert OSFIELD +Added new example osgphotoalbum. -2004-11-14 21:08 robert +Tue, 9 Dec 2003 12:09:36 +0000 +Checked in by : Robert OSFIELD +Reverted back to non exception based JPEG plugin. - * From Loic Dachary, added getFileName method +Tue, 9 Dec 2003 12:08:27 +0000 +Checked in by : Robert OSFIELD +Addition of the following methods: /** Set the object-space reference radius of the volume enclosed by the PagedLOD. + * Used to detmine the bounding sphere of the PagedLOD in the absense of any children.*/ + inline void setRadius(float radius) { _radius = radius; } -2004-11-14 20:00 robert + /** Get the object-space radius of the volume enclosed by the PagedLOD.*/ + inline float getRadius() const { return _radius; } - * Added Cygwin to #define stat64 stat path. -2004-11-14 17:02 robert + /** Set the number of children that the PagedLOD must keep around, even if thay are older than their expiry time.*/ + inline void setNumChildrenThatCannotBeExpired(unsigned int num) { _numChildrenThatCannotBeExpired = num; } - * Added COMPILE_OSG_OP_OT_WITH_SONAMES is YES guard around soname - settings. + /** Get the number of children that the PagedLOD must keep around, even if thay are older than their expiry time.*/ + unsigned int getNumChildrenThatCannotBeExpired() const { return _numChildrenThatCannotBeExpired; } -2004-11-14 16:36 robert - * Added sonames support under Linux/gcc -2004-11-14 10:41 robert +Tue, 9 Dec 2003 12:07:41 +0000 +Checked in by : Robert OSFIELD +Added get() method to ReaderWriterProxy class to allow the readerwriter to be obtained once its constructed. - * Made the use of the standard clock default instead of the RDTSC - calls to avoid - problems with variable CPU frequency such as found on laptops. +Tue, 9 Dec 2003 12:05:50 +0000 +Checked in by : Robert OSFIELD +Addition of Mode mode=MODULATE constructor. -2004-11-13 22:04 don +Tue, 9 Dec 2003 12:04:14 +0000 +Checked in by : Robert OSFIELD +Fixes for optional compile of GL_LUMINANCE_ALPHA and GL_ALPHA texture usage in fonts. Default to GL_ALPHA. - * PowerPC fix for Timer by Guillaume Morin +Tue, 9 Dec 2003 11:31:33 +0000 +Checked in by : Robert OSFIELD +Moved osgText across to create GL_ALPHA textures instead of GL_LUMINANCE_ALPHA -2004-11-13 21:42 robert +Tue, 9 Dec 2003 11:20:44 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshtan, extension support for ARB_occlusion_querry - * Fixed warnings. +Tue, 9 Dec 2003 11:19:52 +0000 +Checked in by : Robert OSFIELD +From Mike Wieblen, tweak to GL2 shader -2004-11-13 21:39 robert +Tue, 9 Dec 2003 10:42:30 +0000 +Checked in by : Robert OSFIELD +From Tree, tweaks to the coord generation to improve text alignment. - * Added support for opening an istream archive +Tue, 9 Dec 2003 10:38:59 +0000 +Checked in by : Robert OSFIELD +From Johan Nouvel, support for AnimationPathCallback values in .osg file. Includes a small modication to ensure that code works shared animation paths, by RO. -2004-11-13 16:21 robert +Tue, 9 Dec 2003 09:25:53 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolosky, OSX uses DYLD_LIBRARY_PATH for initial library search path instead of LD_LIBRARY_PATH. - * Added prelimarny support for reading archives via the .net plugin +Tue, 9 Dec 2003 09:03:14 +0000 +Checked in by : Robert OSFIELD +Aded FileUtils include. -2004-11-13 16:18 robert +Mon, 8 Dec 2003 19:25:08 +0000 +Checked in by : Robert OSFIELD +Added commented out lines for setting orange blue anaglyphic stereo. The analgyphic block really needs to have the color mask set up optionally, this is something to configure in the future. - * Fixed the passing of the parsed server name/server file when - handling files - via the .net plugin +Mon, 8 Dec 2003 11:24:43 +0000 +Checked in by : Robert OSFIELD +Moved the responsibility for finding file to load on to the ReaderWriter plugins, instead of osgDB::Registry where it original lay. This has been done to allow fileName strings to be encode data rather than just file names, such as one requires when using PagedLOD along with plugins for doing dynamic tesselation. -2004-11-13 10:24 robert +Sun, 7 Dec 2003 20:58:46 +0000 +Checked in by : Robert OSFIELD +Added check against null being passed into std::string constructor. - * Fixed openArchive so that it only enforces the checking of the - archive's existance - when in READ mode. +Fri, 5 Dec 2003 22:42:02 +0000 +Checked in by : Robert OSFIELD +Changed the minium tri strip length to 2 rather than 0. -2004-11-12 21:07 robert +Fri, 5 Dec 2003 14:39:32 +0000 +Checked in by : Robert OSFIELD +Added code for combining adjacent static MatrixTransforms - * Remove unistd.h include +Fri, 5 Dec 2003 14:39:09 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build. -2004-11-12 16:36 robert +Fri, 5 Dec 2003 13:58:27 +0000 +Checked in by : Robert OSFIELD +Fixes for Windows build. - * Added --image and --dem documentation to command line parameters +Fri, 5 Dec 2003 13:26:47 +0000 +Checked in by : Robert OSFIELD +Removed DOFTransform. -2004-11-12 15:39 robert +Fri, 5 Dec 2003 09:22:03 +0000 +Checked in by : Robert OSFIELD +Added a cast (Array*) to get round VS.NET compiler error. - * Rotated scene to face the viewer +Thu, 4 Dec 2003 17:14:06 +0000 +Checked in by : Robert OSFIELD +Added support for expanding index'd attributes from within osgUtil:TriStripVisitor. -2004-11-12 14:49 robert +Thu, 4 Dec 2003 09:43:34 +0000 +Checked in by : Robert OSFIELD +Added optional TraversalMask paramter to computeIntersections() methods. - * From Ulrich Heirtlein, added STL plugin +Wed, 3 Dec 2003 21:45:32 +0000 +Checked in by : Robert OSFIELD +Implemented duplicate removal code into TriStripVisitor and added an extra pass to doing tri stripping in the osgUtil::Optimzer.Added validity checks into osg::TexEnvCombine to catch eronous enumarant values. -2004-11-12 08:55 robert +Improved the efficient of CullingSet's handling of new transforms. - * Improvements to support for archives +Added a copy shared subgraphs and subdivision code into osgUtil::Optimizer. -2004-11-11 22:26 robert - * From Stephane Simon, added missing OSGDB_EXPORT to - osgDB::openArchive functions -2004-11-11 16:05 robert +Wed, 3 Dec 2003 21:28:42 +0000 +Checked in by : Robert OSFIELD +Made removedExpiredChildren() virtual. - * Added write to ostream to ReaderWriterDDS +Tue, 2 Dec 2003 21:38:52 +0000 +Checked in by : Robert OSFIELD +Suggestion from Tree, changed tex coord scaling against textureWidth/Height rather than textureWidth-1 etc. -2004-11-11 16:05 robert +Tue, 2 Dec 2003 21:38:01 +0000 +Checked in by : Robert OSFIELD +From Rune, Added catch for erroneous size specification in .dds file. - * Fixed file extraction. +Mon, 1 Dec 2003 14:31:56 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshton, addition of AlphaFunc support to .ive. -2004-11-11 13:22 robert +Mon, 1 Dec 2003 10:28:23 +0000 +Checked in by : Robert OSFIELD +Added a spatializer into osgUtil to create a balanced quad/oct tree. - * Moved the .osga implementation into the src/osgPlugins/osga - plugin and made - osgDB::Archive a pure virtual base class. +Fri, 28 Nov 2003 22:39:15 +0000 +Checked in by : Robert OSFIELD +From Ruben,>Fixed: The iv loader that uses Inventor library has a little bug, if used with +>osgconv, it doesn't write the images to the converted file because it's +>not setting the osg::Image->setFilename() -2004-11-10 22:11 robert - * Fixed uninitialized variable. -2004-11-10 21:52 robert +Fri, 28 Nov 2003 14:37:46 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, updates to GEO plugin. - * Set the pos_type and size_type explictly to 8 byte types. +Fri, 28 Nov 2003 14:26:51 +0000 +Checked in by : Robert OSFIELD +Updates to osgdem. -2004-11-10 21:47 robert +Fri, 28 Nov 2003 13:41:10 +0000 +Checked in by : Robert OSFIELD +From Qing Shen, addition of computeIntsect methods which take a node pointer to intersect with rather than assume the viewer's scene pointer. - * Added debugging info for swapped endian values +Thu, 27 Nov 2003 22:53:40 +0000 +Checked in by : Robert OSFIELD +From Rune Schmidt Jensen, support for osgSim::VisibilityGroup in the .ive loader and support for node masks. -2004-11-10 21:38 robert +Thu, 27 Nov 2003 22:06:11 +0000 +Checked in by : Robert OSFIELD +Standardised the tabbing so that 4 spaces are used instead of hardware tabs. - * Fixes to endian handling. +Thu, 27 Nov 2003 16:23:07 +0000 +Checked in by : Robert OSFIELD +From Michael Gronager, osgSim::VisibilityGroup -2004-11-10 21:31 robert +Thu, 27 Nov 2003 15:13:55 +0000 +Checked in by : Robert OSFIELD +Updates to osgdem + BoundingBox to support graph iterators - * Removed duplicated swap bytes +Thu, 27 Nov 2003 13:31:16 +0000 +Checked in by : Robert OSFIELD +From Nikolaus Hanekamp, Fixes to lightpoint code -2004-11-10 21:28 robert +Thu, 27 Nov 2003 13:25:52 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov:> There are databases that contain both Matrix and GeneralMatrix records as +> ancillary records. If this happens, this fix will only use one matrix to +> create osg::TransformMatrix node. - * Added sizeof tests of istream::pos_type and off_type to - osgunittests. - - Added debuggin messages to endian handling code in - Archive::open(). -2004-11-10 21:18 robert - * Added check for endianess of .osga archives +Wed, 26 Nov 2003 16:56:32 +0000 +Checked in by : Robert OSFIELD +Addition of light point. -2004-11-10 16:56 don +Wed, 26 Nov 2003 16:43:28 +0000 +Checked in by : Robert OSFIELD +Warning fix from Romano - * More cleanups for CYGWIN from Norman Vine +Wed, 26 Nov 2003 13:21:40 +0000 +Checked in by : Robert OSFIELD +Added a f after 2.0 definitions in atan2 to get round stupid MS errors. -2004-11-10 16:40 robert +Wed, 26 Nov 2003 11:33:30 +0000 +Checked in by : Robert OSFIELD +Removed DOFTransform. - * Added new osga plugin for reading OSG native archives +Wed, 26 Nov 2003 11:01:12 +0000 +Checked in by : Robert OSFIELD +Changed SG_EXPORT to OSGSIM_EXPORT. -2004-11-10 16:37 robert +Wed, 26 Nov 2003 08:37:03 +0000 +Checked in by : Robert OSFIELD +Added missing DOFTransform and MultiSwitch implementations - * Commented out some redundent debuggin info. +Tue, 25 Nov 2003 19:43:19 +0000 +Checked in by : Robert OSFIELD +Checked in support for osgTerrain in Make/makedirdefs -2004-11-10 13:47 robert +Tue, 25 Nov 2003 19:42:35 +0000 +Checked in by : Robert OSFIELD +Early development work on osgTerrain. - * Moved the ReadFunctor to protected section. +Tue, 25 Nov 2003 19:25:59 +0000 +Checked in by : Robert OSFIELD +Disabled the build of osgTerrain, until its checked in. -2004-11-10 13:03 robert +Tue, 25 Nov 2003 19:25:42 +0000 +Checked in by : Robert OSFIELD +Added OSGSIM_EXPORT to scalarbar::printer - * Added support for master file and clean up Archive API. +Tue, 25 Nov 2003 19:06:31 +0000 +Checked in by : Robert OSFIELD +Added missing DOFTransform.cpp -2004-11-10 10:57 robert +Tue, 25 Nov 2003 16:28:32 +0000 +Checked in by : Robert OSFIELD +Added suport for osgSim::MultiSwitch to .ive plugin - * Removed the explicit setting for convert to geocentric when - setting - --bluemarlbe-west, --bluemarble-east and --whole-globe. +Tue, 25 Nov 2003 16:07:32 +0000 +Checked in by : Robert OSFIELD +Tweaked MultiSwitch IO -2004-11-10 09:56 robert +Tue, 25 Nov 2003 15:58:57 +0000 +Checked in by : Robert OSFIELD +Added osgSim::MultiSwitch and support for it in the OpenFlight and .osg plugins - * From Mike Weiblen, fix to the state leakage. +Tue, 25 Nov 2003 14:38:16 +0000 +Checked in by : Robert OSFIELD +Added support for TexMat to .ive plugin -2004-11-09 16:50 robert +Tue, 25 Nov 2003 14:11:05 +0000 +Checked in by : Robert OSFIELD +Moved osg::DOFTransform to osgSim::DOFTransform.Fixed crash associated with .osg files which contain empty description fields. - * Added explicit setting of the precision to allow .osg files to be - used succsefully. +From Sondra Inverson, added support to .ive plugin for osgSim::DOFTransform. -2004-11-09 16:49 robert - * Fixed tabbing -2004-11-09 15:12 robert +Tue, 25 Nov 2003 11:40:10 +0000 +Checked in by : Robert OSFIELD +Work in progress on osgdem example and osgTerrain::DataSet class - * From Mike Weiblen adding lib paths to net.dsp, and changes by - Robert Osfield moving the osgDB - and osg dependency from the net.dsp to VisualStudio.dsp to keep - it consistent with the rest - of the OSG plugins and executables. +Tue, 25 Nov 2003 11:06:39 +0000 +Checked in by : Robert OSFIELD +Fixed type of unrecognized -2004-11-09 15:01 robert +Tue, 25 Nov 2003 11:05:22 +0000 +Checked in by : Robert OSFIELD +Moved the unrecognized options check to after loaded - * Added rainer's changes for adding billboard glow around sun. +Tue, 25 Nov 2003 10:57:50 +0000 +Checked in by : Robert OSFIELD +Tweaks for debugging output -2004-11-09 14:18 robert +Tue, 25 Nov 2003 10:56:42 +0000 +Checked in by : Robert OSFIELD +Added intersect method. - * Added support of archiving into osgTerrain::DataSet and osgdem. +Tue, 25 Nov 2003 10:56:12 +0000 +Checked in by : Robert OSFIELD +Added read(string,float,float,float,float) method -2004-11-09 07:34 don +Tue, 25 Nov 2003 10:55:37 +0000 +Checked in by : Robert OSFIELD +Reorganised posstion of getViewMatrix*() methods. - * Fixes to the .net plugin for Cygwin, submitted by Norman Vine +Tue, 25 Nov 2003 10:53:57 +0000 +Checked in by : Robert OSFIELD +From Eric Hammil, support for compute the dimensions when the file specified size is zero. -2004-11-08 20:44 robert +Tue, 25 Nov 2003 10:52:13 +0000 +Checked in by : Robert OSFIELD +Changed error message to something more meaningful - * Fixed the compute of PagedLOD ranges for non geocentric datasets +Tue, 25 Nov 2003 10:50:57 +0000 +Checked in by : Robert OSFIELD +Increased the prevision of outputing the height field parameters -2004-11-08 19:56 robert +Tue, 25 Nov 2003 10:49:38 +0000 +Checked in by : Robert OSFIELD +Added support for case insenstive file searches. - * Added resolutionSensitivityScale of 0.9 into the - DataSet::createDestinationGraph() - to prevent overly conservative subdivision of data. +Tue, 25 Nov 2003 10:47:13 +0000 +Checked in by : Robert OSFIELD +From Trajce Nicklov, support for GeneralMatrix record -2004-11-08 17:12 robert +Tue, 25 Nov 2003 10:32:23 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, added support for nesting of files. - * Added public access to VertexProgram's LocalParamters and added - .osg support - for these. +Tue, 25 Nov 2003 10:20:21 +0000 +Checked in by : Robert OSFIELD +From Michael Morrison, added support for the OpenFlight BSPRecord, simply mapping it to a Group. -2004-11-08 16:39 robert +Tue, 25 Nov 2003 09:23:04 +0000 +Checked in by : Robert OSFIELD +Updated links to mailing list - * From Stephane ???, fixes for VS.NET build +Tue, 25 Nov 2003 09:04:41 +0000 +Checked in by : Robert OSFIELD +Added support for case insenstive searches of the filepaths. -2004-11-08 16:39 robert +Mon, 24 Nov 2003 10:01:02 +0000 +Checked in by : Robert OSFIELD +Changed the shadow colour so that it is now controlled via the emissive light material rather than ambient, this allows it to bypass any of the osg::Light values and control the resulting shadow colour more directly. - * Added guard to testing _internalFormat in compareTexture(..) so - that - a comparison would only be done if both the lhs and rhs had - already been - set to a non zero value. +Fri, 21 Nov 2003 20:21:41 +0000 +Checked in by : Robert OSFIELD +Removed the ScalarBar:: from the from of the ScalarPrinter::printScalar() calls. -2004-11-08 16:11 robert +Fri, 21 Nov 2003 19:33:09 +0000 +Checked in by : Robert OSFIELD +From John Tan, support for offset and scale tex coords via TexMat. - * Updates to osgDB::Archive support, and refactoring of - implementation of - reading files in Registry to faciliate the new archiving support. +Fri, 21 Nov 2003 16:30:59 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, clean up of QTexture.cpp's scaling code and additions of handling of different extensions in ReaderWriterQT.cpp -2004-11-07 21:17 robert +Fri, 21 Nov 2003 16:19:07 +0000 +Checked in by : Robert OSFIELD +Removed newline from top of header - * Added support for openArchive into osgDB +Fri, 21 Nov 2003 14:30:01 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, with mods by Robert to keep old code in place, change to replace scaling of texture since the OSG does this automatically when required. -2004-11-07 12:13 robert +Fri, 21 Nov 2003 14:17:26 +0000 +Checked in by : Robert OSFIELD +Changed the main to create a Group and then add the loaded scene and HUD scene into this. This has been done to rework code nearer to what Stephan Huber used to get round a crash under OSX when a model was passed in. This crash suggest a problem in dynamic_cast<> perhaps? - * Fixed insertion of files into an existing archive +Fri, 21 Nov 2003 13:45:40 +0000 +Checked in by : Robert OSFIELD +From Romano J M Silva, changed osg::Texture2D::copyTexImage2D so that it uses the _internalFormat for the texture format to read rather than default to GL_RGBA.From Robert Osfield, changed the osg::Texture2D::copyTexImage2D and copyTexSubImage +code so that it set the _internalFormat to GL_RGBA if is is zero. -2004-11-06 21:21 robert - * Removed un-needed setCullActive(false) -2004-11-06 21:18 robert +Thu, 20 Nov 2003 12:03:51 +0000 +Checked in by : Robert OSFIELD +Added the missing insertChild(index,child) and insertChild(index,child,value) into osg::Switch. - * Further work on osgDB::Archive +Thu, 20 Nov 2003 11:07:19 +0000 +Checked in by : Robert OSFIELD +Changed the freetype plugin so it keeps its own ref_ptr to fonts that it creates, rather than have osgText::Font::readFontFile() use the osgDB::Registry object cache.This has been done to prevent problems when users flush the object cache, +which was causing a dangling pointer. -2004-11-06 10:18 robert - * Made fix to the setReferenceFrame method to properly disable - culling - when reference frame is ABSOLUTE. -2004-11-04 21:11 robert +Wed, 19 Nov 2003 20:30:24 +0000 +Checked in by : Robert OSFIELD +Changed libgdal.lib to gdal.lib - * Disabled culling on the aboslute transform to fix bug culling of - hud. +Fri, 14 Nov 2003 13:39:34 +0000 +Checked in by : Robert OSFIELD +From Ruben, added support for nested update and cull callbacks. -2004-11-04 20:25 robert +Fri, 14 Nov 2003 09:25:17 +0000 +Checked in by : Robert OSFIELD +Changed the credit from NVidia's NvTriStrip to Tanguy Faure's traingulation code. - * Added a clear() into the RefNodePath operator = (NodePath) - method. +Thu, 13 Nov 2003 15:45:31 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly, Fix to handling of triangle fans. -2004-11-04 15:32 robert +Wed, 12 Nov 2003 19:05:54 +0000 +Checked in by : Robert OSFIELD +Added usage of object cache + fixed handling of projection matrix. - * From Morné Pistorius, fixes for VisualStudio7.0 +Wed, 12 Nov 2003 15:03:05 +0000 +Checked in by : Robert OSFIELD +Fixed setting of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO value. -2004-11-02 21:04 robert +Wed, 12 Nov 2003 10:13:31 +0000 +Checked in by : Robert OSFIELD +Moved the getTime to inside the locked part of the add events. - * Improved handling of uflow and underflow() in proxy_streambuf, - and change - unsigned char* to char* to avoid stoooopid VS6.0 compile errors +Tue, 11 Nov 2003 16:30:35 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly, fixed incorrect setTexCoordIndices to setColorIndices.Added support for triangle fan primitives. -2004-11-02 17:05 robert - * Added prelimanary prox stream buffer to fake the ending of file. -2004-11-02 17:04 robert +Tue, 11 Nov 2003 08:52:41 +0000 +Checked in by : Robert OSFIELD +From Dean Iversion, fix to the ReaderWriter::Options management in Pool.cpp - * Added debugging messages to setTrackerNode +Fri, 7 Nov 2003 09:00:22 +0000 +Checked in by : Robert OSFIELD +Made getWidth and getHeight const. -2004-11-02 14:05 robert +Thu, 6 Nov 2003 22:06:44 +0000 +Checked in by : Robert OSFIELD +From Sondra Iverson: small optimization to ParticleSystem.cpp moving sqrtf out of inner loop. + fix of copy and past error changing erronous cullTimes to drawTimes. - * Fixed missing write of image tiles. -2004-11-02 11:10 robert - * Removed the font cache from the FreeType plugin, moving the - support across to - osgDB::Registry. +Thu, 6 Nov 2003 21:58:41 +0000 +Checked in by : Robert OSFIELD +Added Producer.lib into the dependancy list. -2004-11-01 18:29 robert +Thu, 6 Nov 2003 13:44:59 +0000 +Checked in by : Robert OSFIELD +From David Ergo, patch for setting the shininess strength of the specular material, - * Removed referecence to the old c2 wiki. +Thu, 6 Nov 2003 04:08:53 +0000 +Checked in by : Don BURNS +Fixed loading of dynamic libraries with dlopen if the library is in the current directory -2004-11-01 16:16 robert +Wed, 5 Nov 2003 10:24:51 +0000 +Checked in by : Robert OSFIELD +Added code to load the bluemarble.ive database instead of the texture mapped sphere for the earth model in the logo. - * Commented out settings of TexEnvCombine alpha values +Wed, 5 Nov 2003 04:58:18 +0000 +Checked in by : Don BURNS +MIssing check for ptr == NULL at line 227 in Registry.cpp -2004-11-01 16:14 robert +Wed, 5 Nov 2003 04:56:08 +0000 +Checked in by : Don BURNS +Small bug in DynamicLibrary.cpp ptr was not being checked for NULL - * From Tree chagenes required for Java Wrappers +Wed, 5 Nov 2003 04:51:10 +0000 +Checked in by : Don BURNS +Changed versioning for make rpms -2004-11-01 10:04 robert +Tue, 4 Nov 2003 22:00:16 +0000 +Checked in by : Robert OSFIELD +Added TextureObjectManager constructor. - * Added handling of endian in DrawElementsUShort/UInt - implementations +Tue, 4 Nov 2003 19:26:16 +0000 +Checked in by : Robert OSFIELD +Made all positioning transform DYNAMIC to avoid the osgUtil::Optimizer flattening them. Flattening of static transforms was affecting the PagedLOD nodes. -2004-10-29 18:24 robert +Tue, 4 Nov 2003 16:38:10 +0000 +Checked in by : Robert OSFIELD +Added support to slideshow3D for -s commandline option allow the size of the display to be specified.Also implementaited some code for display position and speed info in +osgProducer::Viewer, not fully implemented yet. - * Added useage of TexEnvCombine -2004-10-29 15:42 robert - * Added multi-textured city illumination +Tue, 4 Nov 2003 15:07:42 +0000 +Checked in by : Robert OSFIELD +Changed the slide coordinates system so that the bottom left hand corner of the slide is 0,0,0 and the top right is 1,1,0, and the eye point is at the appex of a frustum at x,y,1. -2004-10-28 22:29 don +Tue, 4 Nov 2003 13:40:24 +0000 +Checked in by : Robert OSFIELD +Added osgText::Text::getTextureGlyphQuadMap(). - * Test done. +Mon, 3 Nov 2003 23:26:17 +0000 +Checked in by : Robert OSFIELD +Fixed positioning of images. -2004-10-28 22:28 don +Mon, 3 Nov 2003 23:22:58 +0000 +Checked in by : Robert OSFIELD +Fixed positioing of text. - * Directory write test to new CVS +Mon, 3 Nov 2003 23:13:31 +0000 +Checked in by : Robert OSFIELD +Updated to slideshow3D to support animation + pausing of animation.Updated associated osg/osgUtil classes that provide animation pausing. -2004-10-28 22:27 don - * Silly little temporary file to test CVS writes to the new server -2004-10-28 19:09 robert +Sun, 2 Nov 2003 20:10:04 +0000 +Checked in by : Robert OSFIELD +Merged fixes from Geof Michel. - * Fixed support for NodeTrackerManipulator. +Fri, 31 Oct 2003 10:11:38 +0000 +Checked in by : Robert OSFIELD +Renamed _mips to _mipMapKernel -2004-10-28 14:27 robert +Thu, 30 Oct 2003 16:22:21 +0000 +Checked in by : Robert OSFIELD +Added support for float to the slideshow3D .xml format to allow the time for autostepping between layers/slides.Moved the tiles accross to the left hands side by default. - * Added support for listing contents of archive -2004-10-28 13:40 robert - * From Anders Backman, unit tests to test matrix to quat compute. +Thu, 30 Oct 2003 00:10:54 +0000 +Checked in by : Robert OSFIELD +Changed the wrap mode from CLAMP to CLAMP_TO_EDGE to avoid artifacts under OSX. -2004-10-28 13:26 robert +Wed, 29 Oct 2003 23:10:11 +0000 +Checked in by : Robert OSFIELD +Added support for 565 textures to osgbluemarble.Added a osg::Image::scaleImage() version which allows the datatype to be varied. - * From Tom Jolley, Added a new enum POINT_ROT_WORLD_Z_AXIS and a - new section in computeMatrix for this enum. - With a small tweak from Robert Osfield to set _cacheMode. -2004-10-28 13:04 robert - * Added return type to addFileReference(). +Wed, 29 Oct 2003 22:47:21 +0000 +Checked in by : Robert OSFIELD +Added option for 565 16bit textures. -2004-10-28 13:02 robert +Wed, 29 Oct 2003 19:22:19 +0000 +Checked in by : Robert OSFIELD +Added copying of reference to the main CullVisitor's DatabaseRequestHandler over to the left/right eye CullVisitor to ensure that the database works in stereo. - * Added return value to getFileReferences() +Wed, 29 Oct 2003 16:45:17 +0000 +Checked in by : Robert OSFIELD +Commented out verbose debugging messages. -2004-10-28 12:16 robert +Wed, 29 Oct 2003 14:59:22 +0000 +Checked in by : Robert OSFIELD +Added -e -w -o and -l options to the osgbluemarble example. - * Updates to osgDB::Archive, and IVE plugin to support usage via - the Archive. +Wed, 29 Oct 2003 11:11:17 +0000 +Checked in by : Robert OSFIELD +Updates for osgdem. Including new read/writeHeightField() methods. -2004-10-28 09:38 robert +Wed, 29 Oct 2003 10:41:36 +0000 +Checked in by : Robert OSFIELD +Fixed PNG plugin so it handles endianess correctly, and alpha/grey scale textures. - * Updates for Rainer, and with a few changes by Robert. +Mon, 27 Oct 2003 16:07:21 +0000 +Checked in by : Robert OSFIELD +*** empty log message *** -2004-10-28 08:57 robert +Mon, 27 Oct 2003 10:29:52 +0000 +Checked in by : Robert OSFIELD +Added a check into osg::Sequence::traverse() against an empty sequence, so that a non existant child is not traversed. - * Removed direct dependency on GDAL +Wed, 22 Oct 2003 13:39:16 +0000 +Checked in by : Robert OSFIELD +Fixed error when handling mulltiple non per vertex vertex attributes during rendering. -2004-10-28 07:00 robert +Mon, 20 Oct 2003 21:31:15 +0000 +Checked in by : Robert OSFIELD +Added ImageOptions to osgDB. - * Removed gdal_priv.h from include/osgTerrain/DataSet to remove the - external dependency on - GDAL. +Mon, 20 Oct 2003 20:17:45 +0000 +Checked in by : Robert OSFIELD +Added Producer and OpenThreads to linkline. -2004-10-27 14:09 robert +Mon, 20 Oct 2003 09:01:16 +0000 +Checked in by : Robert OSFIELD +Fixed print on scalar bar example. - * Added IndexBlock inner class to osgDB::Archive +Sun, 19 Oct 2003 11:46:34 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, support for use of PagedLOD in the txp plugin. -2004-10-27 08:39 robert +Fri, 17 Oct 2003 15:26:30 +0000 +Checked in by : Robert OSFIELD +Added support for generating compressed textures in osgbluemarble. - * Added setCullingActive false to the absolute transform. +Fri, 17 Oct 2003 15:26:03 +0000 +Checked in by : Robert OSFIELD +Michael Gronager's changes for supporting the in memory gz archiving. -2004-10-26 18:36 robert +Fri, 17 Oct 2003 14:40:05 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, Fix to the bumping mapping effect. - * Fixed make files. +Fri, 17 Oct 2003 10:28:55 +0000 +Checked in by : Robert OSFIELD +Changed the warnings about unhandled op codes to NOTICE instead or WARN -2004-10-26 18:29 robert +Fri, 17 Oct 2003 10:27:18 +0000 +Checked in by : Robert OSFIELD +Set default values for datatype & pixelformat. - * Updates to osgDB::Archive +Fri, 17 Oct 2003 10:26:31 +0000 +Checked in by : Robert OSFIELD +Made = opeator const. -2004-10-26 18:20 robert +Fri, 17 Oct 2003 10:25:59 +0000 +Checked in by : Robert OSFIELD +Added SceneView::s/getDrawBufferValue(GLenum) to allow customization of what glDrawBuffer() value is set on each frame. - * Removed GDAL reference +Fri, 17 Oct 2003 10:24:22 +0000 +Checked in by : Robert OSFIELD +From Eric Hammil, fix for bmp image size. -2004-10-26 18:11 robert +Fri, 17 Oct 2003 10:23:24 +0000 +Checked in by : Robert OSFIELD +From Michael Gronenger, updates to JP2 plugin. - * Removed the _initVisitor traversal for update() to prevent OpenGL - being called at the wrong time. +Fri, 17 Oct 2003 10:22:46 +0000 +Checked in by : Robert OSFIELD +Adding clamping of the tree textures. -2004-10-26 15:31 don +Sun, 12 Oct 2003 15:20:09 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel & Roger James,revised AC3D loader - accepted the improvement from Roger James for texture mapping, and developed his writer until it actually writes most geometries (no text or osgFX nodes of course). - * Removed link to X11 +Sun, 12 Oct 2003 14:51:54 +0000 +Checked in by : Robert OSFIELD +Moved Producer::Block temporarily into osgDB to ensure that osgDB isn't dependent on Producer. -2004-10-26 10:31 robert +Sun, 12 Oct 2003 12:13:58 +0000 +Checked in by : Robert OSFIELD +Improvements to the DatabasePager - * Made the className() const +Fri, 10 Oct 2003 19:25:14 +0000 +Checked in by : Robert OSFIELD +Improvements to DatabasePager -2004-10-26 10:27 robert +Fri, 10 Oct 2003 12:56:35 +0000 +Checked in by : Robert OSFIELD +Added ClusterCullingCallback to ive. - * Updates to the osgarchive application +Fri, 10 Oct 2003 12:54:21 +0000 +Checked in by : Robert OSFIELD +Udates to Drawable + IVE plugin with support for new ClusterCullingCallack.Improvement to osgbluemarble. -2004-10-26 10:26 robert - * Made ReaderWriter::className const -2004-10-25 20:08 don +Fri, 10 Oct 2003 11:12:37 +0000 +Checked in by : Robert OSFIELD +Fix for 64bit build. - * oops. Mistaken check-in of local dependencies file +Fri, 10 Oct 2003 09:41:04 +0000 +Checked in by : Robert OSFIELD +Fixed the setting of the offset so that it convert degrees to radians.Added setting of FOV, however, it doesn't yet function, will need to look into Producer to work out why. -2004-10-25 20:08 don - * Oops. mistaken check in of overly modified makerules -2004-10-25 20:04 don +Thu, 9 Oct 2003 20:56:15 +0000 +Checked in by : Robert OSFIELD +Fix for 64bit build. - * Small change by Eric Sokolowsky to change TIFF_LIBS to TIFF_LIB - for Mac build +Thu, 9 Oct 2003 20:50:21 +0000 +Checked in by : Robert OSFIELD +Fixed missing osg:: -2004-10-25 19:16 robert +Thu, 9 Oct 2003 14:55:56 +0000 +Checked in by : Robert OSFIELD +Added DrawElementsUByte to ive plugin. - * From Tree, fixes for Java bindings +Thu, 9 Oct 2003 10:44:15 +0000 +Checked in by : Robert OSFIELD +Converted the animation path file reading code to use std::ifstream rather than C style file so that it can handle configurable types better - fixing a bug associated with reading animation paths with the new osg::Quat defaulting to doubles. -2004-10-25 19:16 robert +Thu, 9 Oct 2003 09:48:36 +0000 +Checked in by : Robert OSFIELD +Added protection to the DatabasePager::requestNodeFile()'s call to startThread to ensure that only one startThread is every issued. - * Added new osgDB::Archive class, and osgarchive example. These are - both - very early beginnings so do not function yet. +Wed, 8 Oct 2003 21:29:45 +0000 +Checked in by : Robert OSFIELD +Made the Drawable::*Callback derive from osg::Object so that they can be saved to .osg properly.Added osg::ClusterCullingCallback to Drawable header/source. Not complete yet, +but will enable drawables to culled is they are facing away from the eye point. -2004-10-25 18:46 robert - * Fixed typo. -2004-10-25 18:23 robert +Wed, 8 Oct 2003 14:24:13 +0000 +Checked in by : Robert OSFIELD +Added ImageOptions for use with the GDAL plugin - * From Rainer, updates to osgplanet. +Wed, 8 Oct 2003 14:08:28 +0000 +Checked in by : Robert OSFIELD +Added osgbluemarble data -2004-10-25 18:08 don +Wed, 8 Oct 2003 13:09:23 +0000 +Checked in by : Robert OSFIELD +Added new GDAL plugin and osgbluemarble example to demonstrate how to create PagedLOD'd databases using GDAL. - * Small warning fix by Marco. +Tue, 7 Oct 2003 18:41:38 +0000 +Checked in by : Robert OSFIELD +From Rune Schmidt Jensen, bug fix to reading of osg::Quat's -2004-10-25 17:41 robert +Mon, 6 Oct 2003 10:03:39 +0000 +Checked in by : Robert OSFIELD +Added -losgGL2 to link line for OSX. - * Made getHomePosition const. +Mon, 6 Oct 2003 08:53:56 +0000 +Checked in by : Robert OSFIELD +Added -losgGL2 -2004-10-24 21:05 don +Mon, 6 Oct 2003 08:01:12 +0000 +Checked in by : Robert OSFIELD +Commented out gdal temporarily from the list of plugins to compile. - * Namespaced Rect and Frame to osgfxbrowser::Rect/Frame, as this - was causing - a namespace collision with CGL +Sun, 5 Oct 2003 16:16:39 +0000 +Checked in by : Robert OSFIELD +Changed the texture search path mechanism to better utlise the OSG's search file path mechansim. -2004-10-24 20:04 robert +Sun, 5 Oct 2003 11:42:26 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, added support for OpenGL SL to osgFX::Cartoon. - * Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to - avoid stooppid Win32 #define +Sun, 5 Oct 2003 11:34:25 +0000 +Checked in by : Robert OSFIELD +Added VS.dsp updates for Mike Weiblen's updates to osgGL2/osgshaders -2004-10-24 17:50 robert +Sun, 5 Oct 2003 11:30:54 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen, updates to osgGL2 to support Uniform values - * From Fred Mammond, fixes for x86_64 build +Fri, 3 Oct 2003 16:29:34 +0000 +Checked in by : Robert OSFIELD +From Jason Ballenger, fix for ArgumentParser::getApplicationName() -2004-10-24 14:42 robert +Fri, 3 Oct 2003 16:27:02 +0000 +Checked in by : Robert OSFIELD +Updated NEWS - * From Geoff Michel, speeling and typo fixes in osgUtil +Fri, 3 Oct 2003 09:00:09 +0000 +Checked in by : Robert OSFIELD +Added Producer.lib and OpenThreadsWin32.lib to link lines. -2004-10-24 14:31 robert +Thu, 2 Oct 2003 19:09:19 +0000 +Checked in by : Robert OSFIELD +Fixes to project files. - * fixes to tabs +Thu, 2 Oct 2003 14:46:07 +0000 +Checked in by : Robert OSFIELD +Returned revision number to 0, for main development work -2004-10-24 14:31 robert +Thu, 2 Oct 2003 14:43:39 +0000 +Checked in by : Robert OSFIELD +Updated the revsion number to 2, for the 0.9.6-2 release. - * From Pavel Moloshtan, speed improvments in reading and writing - index arrays +Thu, 2 Oct 2003 14:42:48 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for release. -2004-10-24 14:24 robert +Thu, 2 Oct 2003 14:28:30 +0000 +Checked in by : Robert OSFIELD +Updated docs for 0.9.6-2 release - * Added osgDB::Archive +Thu, 2 Oct 2003 14:11:57 +0000 +Checked in by : Robert OSFIELD +Updated NEWSAdded support for inline/nonlining of texture cube maps. -2004-10-24 14:23 robert - * From Rainer Oder, updates to osgplanets -2004-10-24 14:19 robert +Thu, 2 Oct 2003 13:26:01 +0000 +Checked in by : Robert OSFIELD +Added osgDB::Registry::s/getUseObjectCacheHint() - * From Eric Sokolowsky, support for 2 channel tiff images +Wed, 1 Oct 2003 21:59:55 +0000 +Checked in by : Robert OSFIELD +Added a check against opaque textures, when detected turn the material white as per specs for 3ds. -2004-10-24 13:51 robert +Wed, 1 Oct 2003 20:48:37 +0000 +Checked in by : Robert OSFIELD +Added osgcameragroup to the Windows apps list. - * Added s/getEventCallback support into osg::Node, and an - EVENT_VISITOR - type into NodeVisitor. +Wed, 1 Oct 2003 20:41:15 +0000 +Checked in by : Robert OSFIELD +Removed afterescher reference from runexamples.bat. -2004-10-24 06:12 don +Wed, 1 Oct 2003 15:56:52 +0000 +Checked in by : Robert OSFIELD +Introduced new DisplaySettings::set/getDisplayType() and environemtal variables to and command line arguments to set it.Added support for using the DisplaySettings::getDisplayType() to detect use +of a Head Mounted Display when doing stereo so that the asymtric frustum can +be switched off. - * don - Comment in makedirdefs was causing Mac build to stop short - of - building all plugins -2004-10-24 05:50 don - * don - Small changes to support Mac OSX CGL build - small unused variable warning fix. +Wed, 1 Oct 2003 13:12:25 +0000 +Checked in by : Robert OSFIELD +Added addEntryToObjectCache method to osgDB::Registry -2004-10-22 21:01 don +Wed, 1 Oct 2003 09:46:11 +0000 +Checked in by : Robert OSFIELD +Rewrote the osgtexturerectangle and osgprerendercubemap - * Added default: case for both switch() statements +Wed, 1 Oct 2003 09:18:24 +0000 +Checked in by : Robert OSFIELD +From Tree, added missing setTextureData method. -2004-10-22 19:26 robert +Tue, 30 Sep 2003 21:30:39 +0000 +Checked in by : Robert OSFIELD +Removed debugging comments. - * Changed the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, - and - deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS. +Tue, 30 Sep 2003 19:42:27 +0000 +Checked in by : Robert OSFIELD +Add /Zm200 option to osg library, -2004-10-22 18:47 robert +Tue, 30 Sep 2003 19:24:40 +0000 +Checked in by : Robert OSFIELD +Added osgText dependancy to the osgforest project. - * Compile fixes +Tue, 30 Sep 2003 19:09:31 +0000 +Checked in by : Robert OSFIELD +Changed std::vector<>::at to []. -2004-10-22 16:39 robert +Tue, 30 Sep 2003 15:50:46 +0000 +Checked in by : Robert OSFIELD +Added text hud instructions. - * Added Rainer's initial osgplanets example. +Tue, 30 Sep 2003 13:48:58 +0000 +Checked in by : Robert OSFIELD +Added quad tree support into osgforest -2004-10-21 09:36 robert +Mon, 29 Sep 2003 14:42:15 +0000 +Checked in by : Robert OSFIELD +Fixed DriveManipulator::init(,) method so that used a Matrix::set(Quat) rather than the inappropriate usage Matrix::get(Quat). - * Generalised the osg::ClusterCullingCallback so that it coud be - attached - to Node as well as Drawables. - - Changed the osgTerrain::DataSet so that it moves the - ClusterCullingCallback - up to the Node level. - - Added support to the .ive plugin for attaching the - ClusterCullingCallback to nodes. +Mon, 29 Sep 2003 14:07:46 +0000 +Checked in by : Robert OSFIELD +Fixed the Geometry::verifyBindings && computeCorrectBindingsAndArraySizes so they correctly check the indices and array elements. -2004-10-21 09:33 robert +Mon, 29 Sep 2003 13:35:02 +0000 +Checked in by : Robert OSFIELD +Made osg::Quat support either float or double internal representation, defaulting to double.Generalised the osgDB::Field so that its getFloat() method can be used with either doubles or +floats governed by the type passed in - this helps support either float/double +Quat and Matrix classes seemlessly. - * Checked in commented out gz plugin, will comment back in later - once it - is fully checked in -2004-10-19 13:52 robert - * Move the setting of the camera horizontal field of view to after - the realize() - to avoid the CameraGroup's Lens be set when its NULL. +Mon, 29 Sep 2003 13:14:34 +0000 +Checked in by : Robert OSFIELD +Added getPerspective() method to Matrix* and SceneView -2004-10-19 09:29 robert +Mon, 29 Sep 2003 08:03:08 +0000 +Checked in by : Robert OSFIELD +From Clay Fowler, fixes to osgdemeter so that the whole terrain model can be visualised at once. - * From Alan Purvis, with enum name tweaks from Robert Osfield. - Addition of - support for turing on/off the usage of vertex buffer objects. +Sun, 28 Sep 2003 10:15:10 +0000 +Checked in by : Robert OSFIELD +Added equals operator to CUllingSet.Update AUTHORS file. -2004-10-18 18:59 robert +Change tabs to 4 spaces in ive/TextureCubeMap.cpp - * From Frank Lichtenheld, compile fix to Linux powerpc build. -2004-10-18 18:56 robert - * Fixed OsgCameraGroup::setLODScale so that it now uses the local - CullSettings - objects. +Sun, 28 Sep 2003 09:34:31 +0000 +Checked in by : Robert OSFIELD +Added a using namespace osgGA to keep things compiling under MipsPro + VS6.0 at them same time. -2004-10-18 18:36 robert +Sun, 28 Sep 2003 09:23:45 +0000 +Checked in by : Robert OSFIELD +Fixed nameing of getAllocationMode() - * From Bob Kuehne, addition of Vec3f(Vec2f,float) and - Vec3d(Vec2d,double) - constructors. +Fri, 26 Sep 2003 20:14:30 +0000 +Checked in by : Robert OSFIELD +Changed std::vector<>::at(i) array access usage to straight [i] to keep things compiling on gcc 2.x serious -2004-10-18 18:31 robert +Fri, 26 Sep 2003 16:02:53 +0000 +Checked in by : Robert OSFIELD +From Michael Gronager, jp2 plugin for reading and writing JPEG2000 files. - * Added support for hardware generated mipmaps into - Textre2D::copy*() methods. +Fri, 26 Sep 2003 11:20:43 +0000 +Checked in by : Robert OSFIELD +Improves to CullStack.From M.Grngr. options support for f=switching off internal imagery in .ive files -2004-10-18 14:51 robert - * From Marco Jez, "makes the LWS loader store LWO object names as - node names, for easier recognition and retrieval by scene graph - visitors. - With this fix, each PositionAttitudeTransform node that - corresponds to an entry in the LWS file carries the name of the - loaded object plus the layer number (for example, - "objects/myobj.lwo.2")." -2004-10-18 14:46 robert +Thu, 25 Sep 2003 21:54:33 +0000 +Checked in by : Robert OSFIELD +Added the beginnings of a new osgforest example.Added support into osg::TriangleFunctor for specifying whether the vertices +being generates are temporary or not. - * From Yuzhong Shen, fix to the image dimensions passed to - allocImage in Image::copySubImage -2004-10-18 14:42 robert - * From Sohey Yamamoto, addition of TexEnvFilter support. +Wed, 24 Sep 2003 18:54:28 +0000 +Checked in by : Robert OSFIELD +Added a local osg::State to the pbuffer implementation. -2004-10-17 06:14 don +Wed, 24 Sep 2003 18:53:47 +0000 +Checked in by : Robert OSFIELD +Made the calling of drawable update callbacks always happen when a geode is traversed in the update traversal. - * Fix for minor compile error (internal error) for VS7. +Wed, 24 Sep 2003 15:54:22 +0000 +Checked in by : Robert OSFIELD +Improved the Geometry::verifyBinding() and computeCorrectBindingsAndArraySizes() methods to check all atributes and to report warnigns when errors are detected.Added a CheckGeomtryVisitor to osgUtil::Optimizer to detect eroneous Geometry +before rendering. -2004-10-15 20:13 don - * Fixed small typo. -2004-10-15 10:35 robert +Tue, 23 Sep 2003 14:42:56 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly, added support for TexEnv to pfb plugin. - * Added osgNV enum Types +Mon, 22 Sep 2003 21:22:16 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, added extra include for freetype to find it on OSX. -2004-10-15 09:53 robert +Mon, 22 Sep 2003 17:09:59 +0000 +Checked in by : Robert OSFIELD +Changed reference to osgPluins/GNUmakefile to Make/makedirdefs - * Changed fstream to ifstream +Mon, 22 Sep 2003 09:13:22 +0000 +Checked in by : Robert OSFIELD +Renamed instance of variables called format to pixelFormat to make a clearer distinction between pixelFormat and internalTextureFormat. -2004-10-15 09:10 robert +Wed, 17 Sep 2003 15:48:43 +0000 +Checked in by : Robert OSFIELD +Added osgUtil to dependencies of the obj plugin. - * Added docs +Wed, 17 Sep 2003 12:04:48 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, added support for GL_EXT_blend_color, GL_ARB_multisample, GL_NV_multisample_filter_hint extension in the form of osg::BlendColor and osg::Multisample state attribute classes. -2004-10-14 20:35 robert +Tue, 16 Sep 2003 22:26:24 +0000 +Checked in by : Robert OSFIELD +Updated release data of 0.9.6 from 15th to 16th. - * Updates to NodeTrackerManipulator.cpp +Tue, 16 Sep 2003 21:26:19 +0000 +Checked in by : Robert OSFIELD +Updated Make/makedefs version number to 0.9.6-1. -2004-10-14 12:10 robert +Tue, 16 Sep 2003 21:25:25 +0000 +Checked in by : Robert OSFIELD +Updated version numbers and ChangeLog for the release. - * Fixed the home position. +Tue, 16 Sep 2003 19:56:19 +0000 +Checked in by : Robert OSFIELD +Warning fixes for Win32. -2004-10-14 10:38 robert +Tue, 16 Sep 2003 19:56:00 +0000 +Checked in by : Robert OSFIELD +Added a check for the maximum index values of primitives, and then use this to select whether to use UByte,UShort or UInt versions of osg::DrawElements. - * Improvements to the NodeTrackManipulator and osgsimulation - example +Tue, 16 Sep 2003 19:54:57 +0000 +Checked in by : Robert OSFIELD +Fixes for .osg output of UByte4 values, and added missing template contructor to DrawElementsUShort. -2004-10-13 19:52 robert +Tue, 16 Sep 2003 19:53:51 +0000 +Checked in by : Robert OSFIELD +Improved the tesselation of obj surfaces so that rendering performance is significantly improved. - * From Sohey Yamamoto, added support for - GL_TEXTURE_FILTER_CONTROL/GL_TEXTURE_LOD_BIAS. +Tue, 16 Sep 2003 11:54:56 +0000 +Checked in by : Robert OSFIELD +Moved a local new StateSet into cull callback as a ref_ptr to prevent memory leaks. -2004-10-13 19:10 robert +Tue, 16 Sep 2003 11:22:48 +0000 +Checked in by : Robert OSFIELD +Warning fixes for VS .NET. - * From David Spilling, with small format and variable rename by - Robert Osfield. +Tue, 16 Sep 2003 09:54:41 +0000 +Checked in by : Robert OSFIELD +Added support for per vertex colors. -2004-10-13 14:13 robert +Tue, 16 Sep 2003 08:10:11 +0000 +Checked in by : Robert OSFIELD +Added inlucde to trPageArchive to get round IRIX build problem. - * Added population and access of the - ReaderWriter::Options::s/getDatabasePath() - to enable paged database to accessed without setting file paths - explictly +Mon, 15 Sep 2003 22:13:26 +0000 +Checked in by : Robert OSFIELD +Changed a couple of int64's back to int32. -2004-10-13 13:40 robert +Mon, 15 Sep 2003 21:43:54 +0000 +Checked in by : Robert OSFIELD +Added support for handling of wordwrap in osgText::Text, so that whole words are cut in two, but rather moved completely to the next line. - * Small tweaks to the calculateMovement method. +Mon, 15 Sep 2003 15:03:30 +0000 +Checked in by : Robert OSFIELD +From Julian Ortiz, fix to OpenFlight loader so that it handlers OpenFlight switches in a more appropriate way. -2004-10-13 13:39 robert +Mon, 15 Sep 2003 13:54:19 +0000 +Checked in by : Robert OSFIELD +Added support for correct sizing of the created presentation w.r.t the size of the scene, a default home position, handling of field in the slideshow xml file, and support for stereo image pairs. - * Increased the size of the inserted model so that it can be seen - more easily, +Mon, 15 Sep 2003 10:17:29 +0000 +Checked in by : Robert OSFIELD +Updates ChangeLog and NEWS for the 0.9.6 release. -2004-10-13 11:56 robert +Mon, 15 Sep 2003 10:12:04 +0000 +Checked in by : Robert OSFIELD +Fixes for warnings under VS.NET from Marco Jez. - * Fixed precision of center computation. +Mon, 15 Sep 2003 08:34:30 +0000 +Checked in by : Robert OSFIELD +Updated NEWS date to 15th September 2003, for 0.9.6 release. -2004-10-13 11:15 robert +Mon, 15 Sep 2003 08:32:36 +0000 +Checked in by : Robert OSFIELD +Fixed warnings in geo plugin. - * Added new getMember() method and TypeMemberPair into - StateAttribute and - support for the unsigned int member to be paired with types in - osg::StateSet - so that lights, clipplanes and other attributes that have a type - group but - then need to differentiate within that group via a member uint. +Sun, 14 Sep 2003 22:49:47 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, updated geo plugin to support latest rev of Geo Modeller's file format. -2004-10-12 09:54 robert +Sun, 14 Sep 2003 22:48:35 +0000 +Checked in by : Robert OSFIELD +Forom yne Schmidt Jansen, added support for osgSim into ive plugin. - * Added CullingSettngs::s/getInheritanceMask() and - inheritCullSettings(,) method. +Sun, 14 Sep 2003 22:11:16 +0000 +Checked in by : Robert OSFIELD +Added support for conrolling point size into slideshow3D. -2004-10-12 09:00 robert +Sat, 13 Sep 2003 16:48:40 +0000 +Checked in by : Robert OSFIELD +Added commandline usage docs. - * Added a direct call to the osgUtil::Optimizer in - GeoSetBuilder.cpp so that - the resultant geomety would be more efficiently packed. +Sat, 13 Sep 2003 16:43:34 +0000 +Checked in by : Robert OSFIELD +Changed the FREETYPE_LIB under Cygwin from ft freetype2 to freetype -2004-10-12 07:54 robert +Sat, 13 Sep 2003 15:59:38 +0000 +Checked in by : Robert OSFIELD +Fixed the OBJ loader so that it shares all duplicate state, improving the load time and rendering performance significantly. - * From Sondra Iverson, with mods by Robert Osfield. Support for - copying texenv - from the source StateSet when multi-texturing. +Fri, 12 Sep 2003 21:15:51 +0000 +Checked in by : Robert OSFIELD +Updated change log for release. -2004-10-10 18:18 robert +Fri, 12 Sep 2003 21:15:13 +0000 +Checked in by : Robert OSFIELD +Changed std::size_t to unsigned int to attempt to fix IRIX build problem. - * Fixed copy and past erro in getFontWidth. +Fri, 12 Sep 2003 21:05:40 +0000 +Checked in by : Robert OSFIELD +From Norman Vine, fixes for Cygwin and Mingw builds. -2004-10-09 15:00 don +Fri, 12 Sep 2003 19:17:46 +0000 +Checked in by : Robert OSFIELD +Work around for OSX errors when reading .ive files. - * Added fix for MAC for FileUtils.cpp: stat64 is not present on - Mac. +Fri, 12 Sep 2003 18:49:23 +0000 +Checked in by : Robert OSFIELD +Changed OSGUTIL_LIBRARY to OSGFX_LIBRARY -2004-10-08 09:18 robert +Fri, 12 Sep 2003 15:29:02 +0000 +Checked in by : Robert OSFIELD +Added verbode debugging option to dataoutputstream and datainputstream to help invstigation into crash under OSX when reading .ive files. - * Changed StaetAttribute::Type so it is an enum list rather than a - unsigned int. +Fri, 12 Sep 2003 13:58:15 +0000 +Checked in by : Robert OSFIELD +Rebuild osgFX plugin by hand to fix dependancy problems that some Win32 users are experiencing. -2004-10-07 10:03 robert +Fri, 12 Sep 2003 13:20:04 +0000 +Checked in by : Robert OSFIELD +Commented out various osg::notify() calls that were causing crashes under OSX during initialization. - * From Sondra Iversion "Loading a single model from an externally - referenced file is a standard option for OpenFlight and is - specified by - including the modelname in angle brackets, such as: - filename. - - The attached code identifies and handles this case." +Fri, 12 Sep 2003 13:02:03 +0000 +Checked in by : Robert OSFIELD +Added #ifdef IVE_CATCH_EXCEPTIONS to allow catching of exceptions to be turned off for debugging purposes. -2004-10-07 09:40 robert +Fri, 12 Sep 2003 09:48:54 +0000 +Checked in by : Robert OSFIELD +Updated NEWS file for the release. - * Added new clear, removeAttribute, removeMode, - removeTextureAttribute and - removeTextureMode method and deprecated the setToInherit - equivilants. +Fri, 12 Sep 2003 08:45:12 +0000 +Checked in by : Robert OSFIELD +From Sebastien Kuntz, added support for external refernces to vertex/fragment program files. -2004-10-06 20:32 robert +Thu, 11 Sep 2003 09:44:22 +0000 +Checked in by : Robert OSFIELD +Clean ups for the release. - * Improved the osg::Geometry::computeCorrectBindingsAndArraySizes() - implemention - so that it produce more optimal settings. - - Changed flt/GeoSetBuilder so that it doensn't merge geometry, as - it was - merging geometry even when inappropriate. +Wed, 10 Sep 2003 23:18:52 +0000 +Checked in by : Robert OSFIELD +Added applyProjectionMatrix(0); & applyModelViewMatrix(0); into osg::State::popAllStateSets(), removed some debugging output. -2004-10-06 19:19 robert +Wed, 10 Sep 2003 21:30:01 +0000 +Checked in by : Robert OSFIELD +Fixed unix line ending. - * From Jason Daly, fix to multi-texturing/detail texture handling. +Wed, 10 Sep 2003 21:22:47 +0000 +Checked in by : Robert OSFIELD +Added osg::State::popAllStateSets() method to pop all remain StateSet's off the state stack, thus readying the state object to recieve a new frame.Removed the state.reset() call in osgUtil::SceneView::cull() as this was +causing problems with stats producing inheritance of state when toggling +stats on. -2004-10-06 15:15 robert - * Added support for http reading into the readObject, readImage and - readHeightField methods - complimenting the previously checked in readNode supoort. -2004-10-06 14:44 robert +Wed, 10 Sep 2003 20:43:27 +0000 +Checked in by : Robert OSFIELD +Fixed state inheritance from the stats overlay onto the rest of the scene. - * Generalised the .net plugin so it could handle object, image, - heightfield and node - file reads. +Wed, 10 Sep 2003 20:24:49 +0000 +Checked in by : Robert OSFIELD +Added -I/sw/include to Make/makedefs -2004-10-06 13:11 robert +Wed, 10 Sep 2003 19:55:14 +0000 +Checked in by : Robert OSFIELD +Addeed LIBXML2_INCLUDE defined to Make/makedefs to handle non standard placement of libxml2 in OSX. - * Added support for parsing http:// names and mapping automatically - to use - the .net plugin +Wed, 10 Sep 2003 19:25:36 +0000 +Checked in by : Robert OSFIELD +Changed OsgCameraGroup so that it shares osg::State between Producer::Camera's which share the same Producer::RenderSurface.Added support for more colors in slideshow3D's constructor code. -2004-10-06 13:10 robert - * Added passing on of Options object -2004-10-06 13:09 robert +Wed, 10 Sep 2003 14:43:48 +0000 +Checked in by : Robert OSFIELD +Fix warning under Win32. - * Added support for readNode(istream,Options*) into OBJ to allow - loading - over the internet +Wed, 10 Sep 2003 13:25:42 +0000 +Checked in by : Robert OSFIELD +Added /Zm200. -2004-10-06 12:02 robert +Wed, 10 Sep 2003 12:38:28 +0000 +Checked in by : Robert OSFIELD +Fixes for osgFX. - * Replaced #ifndef GL_TEXTURE_3D by GL_TEXTRE_BINDING_3D as the - former was a copy - and paste error. +Wed, 10 Sep 2003 12:26:54 +0000 +Checked in by : Robert OSFIELD +Added -losgText into txp plugin's GNUmakefile for OSX build. -2004-10-06 09:31 robert +Wed, 10 Sep 2003 12:04:17 +0000 +Checked in by : Robert OSFIELD +Added -losgText for OSX build. - * Added : - - osg::PagedLOD::s/getDatabasePath() and support in - PagedLOD::traverse(). - osgDB::ReaderWriter::Options::s/getDatabasePath() - osgDB::Input::s/getOptions() - setting of osgDB::Input::setOptions() in ReaderWriterOSG.cpp - src/osgPlugins/ive/DataInputStream::s/getOptions() - setting of src/osgPlugins/ive/DataInputStream::setOptions() in - ReaderWriterIVE.cpp +Wed, 10 Sep 2003 11:21:56 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, moved color matrix IO code across to using Marix.h so it handles float's double's properly. -2004-10-05 19:12 robert +Wed, 10 Sep 2003 11:18:27 +0000 +Checked in by : Robert OSFIELD +Added osgText and osgDB to the list of dependencies for OSX build. - * Added s/getCullSettings to OsgCameraGroup +Wed, 10 Sep 2003 08:35:16 +0000 +Checked in by : Robert OSFIELD +Updated docs for release. -2004-10-05 15:08 robert +Tue, 9 Sep 2003 22:18:35 +0000 +Checked in by : Robert OSFIELD +Cleaned up handling of vertex arrays in osg::Geometry.Added support for vertex attribute arrays in .osg and .ive. - * Added ability to alter the verbosity of the notify messages with - the - running of osgTerrain::DataSet via a static - s/getNotifyOffset(int) method. -2004-10-05 09:53 robert - * Added support to osgProducer::Viewer for forcing an early exit - form applications - and recording an image on exit. +Tue, 9 Sep 2003 11:54:05 +0000 +Checked in by : Robert OSFIELD +Updates to osgFX, from Marco Jez, to map Effect across to being derived from osg::Group rather than from osg::Node. -2004-10-05 07:08 robert +Tue, 9 Sep 2003 10:09:20 +0000 +Checked in by : Robert OSFIELD +Made writeMatrix/readMatrix use doubles exclusively. - * Changed _stat64 to _stati64 +Tue, 9 Sep 2003 08:56:51 +0000 +Checked in by : Robert OSFIELD +Updated docs for release.Added OSG_USE_DOUBLE_MARTRICES define into include/osg/Matrix to make it more +convinient to switch between single and double matrices. -2004-10-04 14:21 robert - * Moved the SceneView to local to the contruction/destruction of - the RenderSurface -2004-10-03 19:49 robert +Mon, 8 Sep 2003 10:51:14 +0000 +Checked in by : Robert OSFIELD +Updated NEWS/AUTHORS + html docs for release. - * Checked in #define mapping of stat64 to _stat64 to fix Windows - build +Mon, 8 Sep 2003 08:44:05 +0000 +Checked in by : Robert OSFIELD +Added call to handle_cull_callbacks_and_traverse(node) to CullVisitor::apply(Geode&) to enable cull callbacks to function on geode's. -2004-10-03 08:50 robert +Sun, 7 Sep 2003 14:18:22 +0000 +Checked in by : Robert OSFIELD +From Boris Bralo, addition of support for osgSim::LightPoint's into TXP plugin. - * Solution of fileExists support for > 2Gb files from Ken Sewell, - applied by Robert Osfield. +Sat, 6 Sep 2003 11:07:05 +0000 +Checked in by : Robert OSFIELD +Fixes from Marco. -2004-10-03 08:36 robert +Fri, 5 Sep 2003 22:37:10 +0000 +Checked in by : Robert OSFIELD +Removed eroneous reference to Matrix_implementaion.cpp. - * Added missing _texAttrListMap.clear(); into reset() +Fri, 5 Sep 2003 22:35:34 +0000 +Checked in by : Robert OSFIELD +Added new Matrixf and Matrixd implementations.Made Matrix be a typedef to either Matrixf or Matrixd. Defaults to Matrixf. -2004-10-01 23:18 robert +Converted the osgGA::MatrixManipulators and osgProducer::Viewer/OsgCameraGroup +across to using exclusively Matrixd for internal computations and passing betwen +Manipulators, Producer and SceneView. Note, SceneView still uses Matrix internally +so will depend on what is set as the default in include/osg/Matrix. - * Added new osgspotlight demo +Added the ability to osgProducer::setDone/getDone(), kept done() as the +method that the viewer main loop uses for detecting the exit condition. -2004-10-01 22:05 robert - * From Lewis Harmon, fixes to the Node and NodeCallback - constructors. -2004-10-01 18:32 robert +Fri, 5 Sep 2003 20:52:36 +0000 +Checked in by : Robert OSFIELD +Added set and get methods for Matrixd and Matrixf. - * Changed the argument parser to accept strings that start with a - - as being - valid strings. +Fri, 5 Sep 2003 20:48:42 +0000 +Checked in by : Robert OSFIELD +Added support for Matrixd and Matrixf implementations, with the default Matrix typedef's to either Matrixd or Matrixf. -2004-10-01 15:49 robert +Thu, 4 Sep 2003 19:45:55 +0000 +Checked in by : Robert OSFIELD +Moved testCancel() to end of loop as per TXP pager code. - * From Rainer Oder, new osglauncher application. +Thu, 4 Sep 2003 19:37:49 +0000 +Checked in by : Robert OSFIELD +Added testCancel() to DatabasePager::run() loop. -2004-10-01 15:48 robert +Thu, 4 Sep 2003 08:50:06 +0000 +Checked in by : Robert OSFIELD +Build Fixes for IRIX. - * Added setPlanesFromMatrix method +Wed, 3 Sep 2003 18:17:07 +0000 +Checked in by : Robert OSFIELD +Fix for IRIX build. -2004-10-01 15:48 robert +Wed, 3 Sep 2003 10:47:25 +0000 +Checked in by : Robert OSFIELD +Added a Matrix::value_type typedef'd trait into osg::Matrix, defaulting its value to float, and converted the internal code across to use value_type. This allows Matrix to be converted to use double's simply by change the definition of value_type. Added Matrix::glLoadlMatrix and Matrix::glMultMatrix() to help encapsulate the changes between float and double matrix usage.Updated code that uses Matrix so it doesn't assume float or double matrices. - * Added new setPlanesFromMatrix method -2004-10-01 15:47 robert - * Updated to use new TexGen method +Wed, 3 Sep 2003 08:14:00 +0000 +Checked in by : Robert OSFIELD +Fixes for IRIX build. -2004-10-01 09:40 robert +Wed, 3 Sep 2003 07:39:42 +0000 +Checked in by : Robert OSFIELD +Removed old DatabasePager.cpp from osgProducer. - * From Tree, moved apply's from protected to public to support Java - wrappers +Tue, 2 Sep 2003 21:53:41 +0000 +Checked in by : Robert OSFIELD +Added Inventor plugin, submitted by Sean Spicer, Written by Vivek (c) Magic-Earth. To compile in do a setenv/export USE_COIN or USE_INVENTOR. -2004-10-01 09:38 robert +Tue, 2 Sep 2003 20:39:41 +0000 +Checked in by : Robert OSFIELD +Merged changed to osgParticle from Marco Jez, the changes are (quoted from email from Marco)"Most relevant news: +1) particle systems now have the "freezeOnCull" property set to false by +default. Since it is an optimization, and using it may cause some unwanted +behaviors if not handled properly, it makes more sense to turn it off by +default. +2) new "LINE" shape mode which uses GL_LINES to draw line segments that +point to the direction of motion. +3) particles can now have a rotation angle and angular velocity. +4) new AngularAccelOperator applies angular acceleration to particles. +5) particle processors such as emitters and programs can have a "start", +"end" and "reset" time coordinate. For example, an emitter may be instructed +to start emitting particles only after a certain time, stop after another +amount of time and then start again. - * Added define of GL_TEXTURE_BINDING_3D for systems with OpenGL1.2 - compliant - headers +Update (2) is from Gideon May. +Updates (3) to (5) are from Douglas A. Pouk." -2004-10-01 09:19 robert - * From Marco Jez, added more examples to runexamples.bat -2004-10-01 07:39 robert +Tue, 2 Sep 2003 20:06:20 +0000 +Checked in by : Robert OSFIELD +Commented out calc near/far debugging messages. - * Added support for write to ostream into .osg plugin +Tue, 2 Sep 2003 20:03:01 +0000 +Checked in by : Robert OSFIELD +Added test of sizeof(types) - run osgunittests sizeof. -2004-09-30 19:36 robert +Tue, 2 Sep 2003 17:19:18 +0000 +Checked in by : Robert OSFIELD +Made Matrix a typedef to Matrixf, and converted the old Matrix to Matrixf, as part of prep for supporting both Matrixf (float) and Matrixd (double).Added osg::Matrixf::glLoadMatrix() and osg::Matrixf::glMultiMatrix() methods +and changed corresponding usage of glLoad/MultMatrixf() calls across to use these +methods. Again prep for support Matrixd. - * Experimentation with new timing code. +Fixes for VisualStudio 6.0 compile. -2004-09-30 14:54 robert - * Removed debugging messages -2004-09-30 13:36 robert +Tue, 2 Sep 2003 17:16:17 +0000 +Checked in by : Robert OSFIELD +Converted eroneous writeLong/readInt boolean entries used writeBool/readBool. - * Checked in support for cleaning up and then restart a new - graphics windows - once the first one has been closed down. +Tue, 2 Sep 2003 10:27:57 +0000 +Checked in by : Robert OSFIELD +Fixes for IRIX build + to_unix on txp plugin files. -2004-09-30 12:10 robert +Mon, 1 Sep 2003 21:53:53 +0000 +Checked in by : Robert OSFIELD +Support for BumpMapping added by Marco Jez. - * Fixed newly introduced compressed mipmnap error. +Mon, 1 Sep 2003 19:43:58 +0000 +Checked in by : Robert OSFIELD +Updates from Marco:sgfxbrowser.cpp (added specular component to scene light) and AnisotropicLighting.cpp (workaround for a multiple-context issue). -2004-09-30 09:10 robert +Mon, 1 Sep 2003 15:49:08 +0000 +Checked in by : Robert OSFIELD +Win32 fixes. - * Added proper handling of 3d texture compression +Mon, 1 Sep 2003 15:46:10 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32. -2004-09-29 19:10 robert +Mon, 1 Sep 2003 11:23:29 +0000 +Checked in by : Robert OSFIELD +Added a call to disable all vertex attrib arrays when none are present on an osg::Geometry. - * Added support for ClipPlane, ClipNode, TexGenNode to .ive +Mon, 1 Sep 2003 09:36:03 +0000 +Checked in by : Robert OSFIELD +From Neil Salter, added osgSim::SphereSegment and osgSim::ScalarBar, and osgspheresegment and osgscalarbar, and osgsimulation examples. -2004-09-29 15:00 robert +Sun, 31 Aug 2003 22:17:53 +0000 +Checked in by : Robert OSFIELD +Converted cout's to notify's. - * Added Texture3D reference +Sun, 31 Aug 2003 22:17:15 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, fixes to the file path handling of internally referenced files. -2004-09-29 14:31 robert +Sun, 31 Aug 2003 22:08:22 +0000 +Checked in by : Robert OSFIELD +Added experiment Tempated fast path implemenation, #if 0 out right now. - * Added Texture3D implementation. +Sun, 31 Aug 2003 21:23:08 +0000 +Checked in by : Robert OSFIELD +From Tree, updated syntax highlighting. -2004-09-29 10:01 robert +Sun, 31 Aug 2003 21:13:50 +0000 +Checked in by : Robert OSFIELD +Converted cout's messages to use notify. - * Preliminary steps to support for compressed 3D textures. +Fri, 29 Aug 2003 23:04:42 +0000 +Checked in by : Robert OSFIELD +Added s/getCullVistorLeft/Right(), s/getRenderStageLeft/Right(), s/getRenderGraphLeft/Right() methods. -2004-09-29 08:07 robert +Fri, 29 Aug 2003 22:05:06 +0000 +Checked in by : Robert OSFIELD +From Alberto Farre, added support for both / and \ slashes in path utility functions. - * Added extra dependencies to osgsimulation example +Fri, 29 Aug 2003 22:04:35 +0000 +Checked in by : Robert OSFIELD +Added an explicit check for file extension so that only .jpg and .jpeg files are loaded with the JPEG plugin, thus avoid a crash which was occuring when it was passed non JPEG files. -2004-09-29 08:04 robert +Fri, 29 Aug 2003 21:52:52 +0000 +Checked in by : Robert OSFIELD +Added fonts/ in front of arial.ttf. - * Removed makeDir referecnes +Thu, 28 Aug 2003 21:40:23 +0000 +Checked in by : Robert OSFIELD +Added getBound() to the database pager so that once a model has been loaded it bounding volume is computed upfront and in the database paging thread. -2004-09-28 09:14 robert +Thu, 28 Aug 2003 12:49:38 +0000 +Checked in by : Robert OSFIELD +Removed double line spacing in ExternalReference code. - * From Tree, changes to better support Java binding generation +Thu, 28 Aug 2003 12:47:32 +0000 +Checked in by : Robert OSFIELD +Added a PushAndPopFilePath usage to the internal flt file references. -2004-09-28 08:39 robert +Wed, 27 Aug 2003 14:13:12 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, tangent space generator. - * Added a mutex and _numFramesActive count to track multiview - usages of - the DatabasePager. +Wed, 27 Aug 2003 13:09:38 +0000 +Checked in by : Robert OSFIELD +Added /Zm200 for VS6.0 build. -2004-09-28 07:15 robert +Wed, 27 Aug 2003 10:34:34 +0000 +Checked in by : Robert OSFIELD +Added /Zm200 define to .dsp's to avoid compile errors under VisualStudio6.0. - * From Brad Christiansen, fix expandBy(const BoundingSphere&) - method to properly - handle the instance of when the two bounding sphere's have a - coincident center. +Wed, 27 Aug 2003 10:22:12 +0000 +Checked in by : Robert OSFIELD +Added KeyboardMouseCallback::shutdown() support. -2004-09-27 14:15 robert +Wed, 27 Aug 2003 08:54:30 +0000 +Checked in by : Robert OSFIELD +Added Performer plugin .dsp - * Added new methods into osg::Referenced for controlling the use of - thread safe - ref/unref: - - /** Set whether reference counting should be use a mutex to - create thread reference counting.*/ - static void setThreadSafeReferenceCounting(bool - enableThreadSafeReferenceCounting); - - /** Get whether reference counting is active.*/ - static bool getThreadSafeReferenceCounting(); +Wed, 27 Aug 2003 00:39:44 +0000 +Checked in by : Robert OSFIELD +Fixed CullVisitor::popProjectionMatrix() handling of othorgraphic near and far values. -2004-09-27 12:07 robert +Tue, 26 Aug 2003 22:09:15 +0000 +Checked in by : Robert OSFIELD +Added missing osgFX files. - * Changed the version strings to use OpenSceneGaph rather than - "Open Scene Graph" +Tue, 26 Aug 2003 21:17:22 +0000 +Checked in by : Robert OSFIELD +Added osgFX - Marco Jez's special effects nodekit. -2004-09-27 10:42 robert +Tue, 26 Aug 2003 15:49:49 +0000 +Checked in by : Robert OSFIELD +Moved the keyboardmouse startThread into the Viewer::realize() method. - * Changed the pruning of database requests so that the frame number - need - not be identical to pass, a delta of 1 is now pemssible +Tue, 26 Aug 2003 08:02:43 +0000 +Checked in by : Robert OSFIELD +Added set/getDatabasePager() method. -2004-09-26 19:01 robert +Mon, 25 Aug 2003 22:50:01 +0000 +Checked in by : Robert OSFIELD +Added check for :: in wrapper name when writing out to .osg, so that if a namaspace:: exists in the wrapper name then one isn't created for it by default. - * Removed erroneous casts that would have been causing uneccessary - copying. +Mon, 25 Aug 2003 14:04:16 +0000 +Checked in by : Robert OSFIELD +Updated NEWS for 0.9.6 release. -2004-09-26 18:39 robert +Mon, 25 Aug 2003 14:03:49 +0000 +Checked in by : Robert OSFIELD +Added osgProducer:: in front of KeyboardMouseCallback. - * From Geoff Michel, typos and spelling fixes. +Mon, 25 Aug 2003 13:31:31 +0000 +Checked in by : Robert OSFIELD +Removed suplerfluous inline from setInitialViewMatrix(). -2004-09-26 10:27 robert +Mon, 25 Aug 2003 13:06:15 +0000 +Checked in by : Robert OSFIELD +Added getInitialInverseViewMatrix() to osg::State. - * From Mike Weiblen, partial fix for OpenGL error generation under - NVidia drivers. +Mon, 25 Aug 2003 11:37:22 +0000 +Checked in by : Robert OSFIELD +Added support for loading nodekits/plugins to resolve associates when reading .osg files. -2004-09-23 20:13 robert +Sat, 23 Aug 2003 20:48:36 +0000 +Checked in by : Robert OSFIELD +Add osg_ref to osgProducer::Viewer to ensuer that the keyboard mousr desctructor is being called correctly. - * Fixed typo +Thu, 21 Aug 2003 19:23:24 +0000 +Checked in by : Robert OSFIELD +Made getLibrary public. -2004-09-23 20:07 robert +Thu, 21 Aug 2003 14:26:40 +0000 +Checked in by : Robert OSFIELD +Compile/Warnings fixes. - * Fixed typo. +Thu, 21 Aug 2003 09:52:12 +0000 +Checked in by : Robert OSFIELD +Moved OpenThreads::Threads::Yield() calls across to new OpenThreads::Threads::YieldCurrentThread() naming. -2004-09-23 20:01 robert +Thu, 21 Aug 2003 09:51:25 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, improvement to the handling of coordinates frame in CubeMapGenerator. - * Added releaseAllGLObjects() convinience method. +Wed, 20 Aug 2003 12:52:33 +0000 +Checked in by : Robert OSFIELD +Added explicit calls cancel and wait until thread and no longer running to the DatabasePager and TXP pager. -2004-09-23 18:50 robert +Wed, 20 Aug 2003 12:51:40 +0000 +Checked in by : Robert OSFIELD +Renamed instances of Click to Tick for consistency. - * Clean up of new DatabasePager code, and change of osgProducer so - that - DatabasePager support is now integrated into the OsgSceneHandler. +Wed, 20 Aug 2003 12:50:54 +0000 +Checked in by : Robert OSFIELD +Standardised the culling flags between CullingSet and CullStack, and made ENABLE_ALL_CULLING enable all culling including the near and far plane. DEFAULT_CULLING is now used for the default as uses the same original values as ENABLE_ALL_CULLING once did - view frustum culling with near and far culling. SceneView now uses DEFAULT_CULLING. -2004-09-23 16:05 don +Wed, 20 Aug 2003 10:38:54 +0000 +Checked in by : Robert OSFIELD +Added osg::setGLExtensionDisableString && osg::getGLExtensionDisableString() functions the GLExtensions file, and made the isGLExtensionSupported() function use the extension disable string when extension are querried. - * Fixed warnings +Wed, 20 Aug 2003 07:36:47 +0000 +Checked in by : Robert OSFIELD +Moved the delete of expired subgraphs to the database thread to improve the stability of the frame rate. -2004-09-23 12:27 robert +Tue, 19 Aug 2003 19:46:18 +0000 +Checked in by : Robert OSFIELD +Fixes to the database paging. - * Updates for better DatabasePager peformance w.r.t constant frame - rates. +Tue, 19 Aug 2003 14:05:53 +0000 +Checked in by : Robert OSFIELD +Fixed typo of getNumMatrixManipulators(). -2004-09-22 09:28 robert +Tue, 19 Aug 2003 13:01:01 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate static_cast<>. - * Added a extra debugging comment +Mon, 18 Aug 2003 19:51:27 +0000 +Checked in by : Robert OSFIELD +Changed applyTextParamaters() to set the wrap modes : GL_TEXTURE_WRAP_S for all texture targets. + GL_TEXTURE_WRAP_T for all texture targets except GL_TEXRTURE_1D + GL_TEXTURE_WRAP_R for only GL_TEXTURE_3D -2004-09-21 21:33 robert +And changed the defaults to OpenGL defaults of GL_REPEAT. - * Updated to DatabasePager support -2004-09-21 17:26 robert - * Various improvements to database paing. +Mon, 18 Aug 2003 19:36:50 +0000 +Checked in by : Robert OSFIELD +Added applyTexImage_subload() implemention into TextureRectangle class to provide automatic support for texture subloading. -2004-09-20 17:42 don +Mon, 18 Aug 2003 15:14:09 +0000 +Checked in by : Robert OSFIELD +Changed private to protected to allow Timer to be subclassed more easily. - * removed makeDir.h +Mon, 18 Aug 2003 15:12:04 +0000 +Checked in by : Robert OSFIELD +Added getSecondsPerClick() method to Timer. -2004-09-20 17:42 don +Mon, 18 Aug 2003 10:58:30 +0000 +Checked in by : Robert OSFIELD +Added X_INC into the Make/makedefs and changed the *GNUmakefile* to use it. - * Removed temporary makeDir files and call in ReaderWriterNet.cpp +Mon, 18 Aug 2003 09:24:17 +0000 +Checked in by : Robert OSFIELD +Fixes for Java build. -2004-09-19 20:09 robert +Sat, 16 Aug 2003 20:42:54 +0000 +Checked in by : Robert OSFIELD +Fixes to Cygwin/Mingw makedefs.Converted unix line endinges to dos line endings in various VS project files. - * Added clear(), setDatabasePagerThreadPause() and - setAcceptNewDatabaseRequests() methods - and new local implementation of cancel(). -2004-09-19 19:03 robert - * Removed unused variable. +Sat, 16 Aug 2003 18:52:37 +0000 +Checked in by : Don BURNS +Added check for byte swapping when writing RGB files so rgb files can be created on big endian machines -2004-09-19 18:34 robert +Fri, 15 Aug 2003 09:44:29 +0000 +Checked in by : Robert OSFIELD +Did a to_dos on examples, plugins and core libs. - * Added reference to GL_LIBS +Fri, 15 Aug 2003 09:38:36 +0000 +Checked in by : Robert OSFIELD +Changed cout's to notufy(INFO). -2004-09-18 19:28 robert +Thu, 14 Aug 2003 00:05:34 +0000 +Checked in by : Robert OSFIELD +Removed the deprecated NodeVisitor::getLocalToWorld/WorldToLocal methods as this are replaced by the osg::computeLocalToWorld/WorldToLocal() functions found in osg/Transform.Made the ReleaseTextureAndDisplayListsVisitor a public nested class of +osgDB::DatabasePager to allow it to be used in the TXP plugin, and added +usage of this visitor to the TXP plugin to make sure that textures and +display lists are released during the update thread. - * Various improvements to the DatabasePager with the aim to achieve - constant framerates and minimizing memory consumption. -2004-09-18 19:27 robert - * Removed reference to ComputeTransformCallback +Tue, 12 Aug 2003 23:36:40 +0000 +Checked in by : Robert OSFIELD +Added -lOpenThreads to the IRIX OTHER_LIBS definition. -2004-09-15 19:14 robert +Tue, 12 Aug 2003 23:06:25 +0000 +Checked in by : Robert OSFIELD +Fixed capitalization of QTtexture.h - * From Sebastien Grignard, add writing out/reading in of drawable - components of - a ShapeDrawable. - - From Robert, add versioning of the above change to allow old - files to still - work. +Tue, 12 Aug 2003 10:15:59 +0000 +Checked in by : Robert OSFIELD +Fixed DrawVertex/DrawColors access of null arrays errors. -2004-09-15 19:10 robert +Sat, 9 Aug 2003 00:46:48 +0000 +Checked in by : Robert OSFIELD +Added s/getFastPathHint(). - * More spelling & top fixes. +Fri, 8 Aug 2003 14:41:37 +0000 +Checked in by : Don BURNS +updates makedefs and makerules for Mac OSX submitted by Bob Kuehne -2004-09-15 19:07 robert +Fri, 8 Aug 2003 00:36:51 +0000 +Checked in by : Robert OSFIELD +Added support for clampping the near and far values in othrographic projection.Fixed the handling of anaglyphic/stereo state in SceneView::draw(). - * From Geoff Michel, typo and spelling fixes -2004-09-15 15:09 robert - * Added usage of std::vector<> and ref_ptr<>'s to avoid memory - leaks +Fri, 8 Aug 2003 00:21:30 +0000 +Checked in by : Robert OSFIELD +Added missing copy ops in the copy constructor.Added computeInternalOptimziedGeometry() and associated methods to Geometry +to support alternate versions of a geometry to be used to optimize rendering, +such as flattening indexed attributes to straight attribute arrays. -2004-09-14 15:05 robert - * Commented out osg::noitfy usage under OSX since this was causing - a crash on start up -2004-09-14 15:03 robert +Fri, 8 Aug 2003 00:19:06 +0000 +Checked in by : Robert OSFIELD +Added convience constructor. - * Added GDAL check to compile of osgsimulation +Mon, 4 Aug 2003 22:03:55 +0000 +Checked in by : Robert OSFIELD +Fixed computeFastPathsUsed() so that it includes a check for the presence of _vertexIndices and disables fast paths in this case. -2004-09-13 17:19 robert +Mon, 4 Aug 2003 21:09:40 +0000 +Checked in by : Robert OSFIELD +From Romano Magacho. add osg:: to Referenced() calls for IRIX build. - * Fix of tabbing and typo +Mon, 4 Aug 2003 21:04:48 +0000 +Checked in by : Robert OSFIELD +From Gideon May, added 'd' to end of osgdb_osgSim.lib for debug build. -2004-09-13 16:10 robert +Mon, 4 Aug 2003 16:26:45 +0000 +Checked in by : Don BURNS +Removed a couple of stray PRODUCER_LIB_DIR definitions in the examples - * From Paul Martz, typo and spelling fixes +Sun, 3 Aug 2003 02:59:48 +0000 +Checked in by : Robert OSFIELD +Fixed VC6 for scoping problem in ive plugin. -2004-09-13 15:17 robert +Sun, 3 Aug 2003 00:24:59 +0000 +Checked in by : Robert OSFIELD +From Romano Magacho, fix for compile problem under IRIX. - * Fixed comments +Sat, 26 Jul 2003 23:44:55 +0000 +Checked in by : Robert OSFIELD +Post release revision change. -2004-09-13 15:14 robert +Sat, 26 Jul 2003 23:06:23 +0000 +Checked in by : Robert OSFIELD +Updated dependencies. - * From Eric Hammil, typo and spelling fixes +Sat, 26 Jul 2003 22:44:04 +0000 +Checked in by : Don BURNS +Small typo -2004-09-13 14:33 robert +Sat, 26 Jul 2003 22:32:19 +0000 +Checked in by : Robert OSFIELD +Typos fixed. - * From George Papagiannakis, added extra Quat length to catch case - where length is zero. +Sat, 26 Jul 2003 21:06:39 +0000 +Checked in by : Robert OSFIELD +Updated changelog for release. -2004-09-13 13:53 robert +Sat, 26 Jul 2003 21:01:43 +0000 +Checked in by : Robert OSFIELD +Updated NEWS for release. - * Improved the handling of building/writing generated databases, - and - the fixed transition distances on the lower levels of geocentric - databases. +Sat, 26 Jul 2003 19:08:04 +0000 +Checked in by : Robert OSFIELD +Updated NEWS -2004-09-11 03:00 robert +Sat, 26 Jul 2003 18:57:12 +0000 +Checked in by : Robert OSFIELD +Fixed warning in jpeg loader by replacing longjmp with throw/catch. - * Added a deleteTextureObject after the creation of the compressed - textures +Sat, 26 Jul 2003 14:15:24 +0000 +Checked in by : Robert OSFIELD +Fixed long jump warning. CV: ---------------------------------------------------------------------- -2004-09-10 17:49 robert +Sat, 26 Jul 2003 04:51:38 +0000 +Checked in by : Robert OSFIELD +Added openthreads to list of dependencies.: - * Added missing LightModel.h and .cpp from Stansilav. +Sat, 26 Jul 2003 04:25:27 +0000 +Checked in by : Robert OSFIELD +Fixed warnings. -2004-09-10 13:31 robert +Sat, 26 Jul 2003 01:02:39 +0000 +Checked in by : Don BURNS +Fixes to makedefs/makedirdefs ordering in some makefiles, and conditional build for osgslideshow on Sun - * Added convinience methods. +Sat, 26 Jul 2003 00:12:17 +0000 +Checked in by : Don BURNS +Removed command line definitions of OSG_VERSION and OSG_RELEASE -2004-09-10 08:26 robert +Fri, 25 Jul 2003 23:49:03 +0000 +Checked in by : Don BURNS +Removed references to PRODUCER_INCLUDE_DIR and PRODUCER_LIB_DIR in the local makefiles.Small change in txp loader for sun build - * Made update, cull and draw callbacks virtual to allow custom - Drawable's - to there own specific extensions for handling callbacks -2004-09-09 15:14 robert - * Made the computeLocalToWorld etc method to use const NodePath's - parameters. +Thu, 24 Jul 2003 06:13:24 +0000 +Checked in by : Robert OSFIELD +Fixed warnings. -2004-09-09 13:18 robert +Thu, 24 Jul 2003 06:09:28 +0000 +Checked in by : Robert OSFIELD +Fixed warning. - * Added osg::RefNodePath class for handling node paths. +Thu, 24 Jul 2003 06:07:12 +0000 +Checked in by : Robert OSFIELD +Fixed warning, which was actually a bug, sometimes you've just gotta love pedantic warnings. -2004-09-09 13:07 robert +Thu, 24 Jul 2003 06:05:54 +0000 +Checked in by : Robert OSFIELD +Fix warnings. - * From Stanislav Blinov, addition of LightModel support for .ive - format. +Wed, 23 Jul 2003 21:32:11 +0000 +Checked in by : Robert OSFIELD +Removed all references to sleep/usleep. -2004-09-09 09:03 robert +Wed, 23 Jul 2003 21:18:04 +0000 +Checked in by : Robert OSFIELD +Moved t->testCancel() to end of loop.Changed a sleep() to a Yield. - * Fixed write of normalmap. +Removed debugging messages. -2004-09-09 08:54 robert - * Change the warnigns about a fail getLibraryHandle to be INFO - rather than - WARN. -2004-09-09 08:18 robert +Wed, 23 Jul 2003 21:03:35 +0000 +Checked in by : Robert OSFIELD +From Gideon, update to the PolygonOffset for the background quad. - * From Martin Aumueller, added ref() and unref() to Inventor node - handling. +Wed, 23 Jul 2003 20:57:57 +0000 +Checked in by : Robert OSFIELD +Added makefile. -2004-09-08 18:14 robert +Wed, 23 Jul 2003 20:55:26 +0000 +Checked in by : Robert OSFIELD +Made the fine grained checking of GL errors off by default. - * Fixed keyword used for setting the database name. +Wed, 23 Jul 2003 20:53:53 +0000 +Checked in by : Robert OSFIELD +From Romano José Magacho da Silva, extension checking for NV_occlusion_query extension. -2004-09-08 15:14 robert +Wed, 23 Jul 2003 20:50:56 +0000 +Checked in by : Robert OSFIELD +From Sean, fix for Sun windows extension checking. - * Quick fix to crash in TXPNode. +Wed, 23 Jul 2003 20:38:46 +0000 +Checked in by : Robert OSFIELD +Fixes to paths and dependancies. -2004-09-07 14:34 robert +Wed, 23 Jul 2003 19:08:42 +0000 +Checked in by : Don BURNS +Added conditionals to find OpenThreads include and library directories if not installed - * Changed usage of assert() to throw. +Wed, 23 Jul 2003 18:32:52 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build. -2004-09-07 10:45 robert +Wed, 23 Jul 2003 18:25:04 +0000 +Checked in by : Robert OSFIELD +Fixed typo of SlideShowContructor.cpp - * Added a size check on heap_array::Adjust(size_t i) to - prevent access errors. +Wed, 23 Jul 2003 15:52:05 +0000 +Checked in by : Robert OSFIELD +Added support for PagedLOD node into .ive format and added support forEnabled texture object reuse by setting an expiry delay in the TextureObjectManager +of 10 seconds - done for both osgDB::DatabasePager and TXP plugin. -2004-09-07 10:31 robert - * From Paul Martz, removed redundent paramaters in - clampArray4LEQUAL. -2004-09-07 10:09 robert +Wed, 23 Jul 2003 15:12:52 +0000 +Checked in by : Robert OSFIELD +Added control of auto option into slideshow3D - * Changed the wrap mode from CLAMP to CLAMP_TO_EDGE +Wed, 23 Jul 2003 15:00:07 +0000 +Checked in by : Robert OSFIELD +Fixed typo's slideshow3D -2004-09-07 10:07 robert +Wed, 23 Jul 2003 14:59:27 +0000 +Checked in by : Robert OSFIELD +Fixed blending mode on stats output. - * From Paul Martz, typos and spelling fixes +Wed, 23 Jul 2003 14:06:32 +0000 +Checked in by : Robert OSFIELD +From Gideon May, added support for osgSim into .osg file format. -2004-09-07 06:59 robert +Wed, 23 Jul 2003 13:34:48 +0000 +Checked in by : Robert OSFIELD +Merged changes from Nicklov Trajce and Boris Bralo. - * Added missing setTrackerMode(TrackerMode) +Wed, 23 Jul 2003 12:06:37 +0000 +Checked in by : Robert OSFIELD +Updated docs to reflect new data direcory. -2004-09-06 18:20 robert +Wed, 23 Jul 2003 11:45:37 +0000 +Checked in by : Robert OSFIELD +Warning fixes from Gideon May. - * Added mutex to access to the Registry::_objectCache. +Wed, 23 Jul 2003 11:37:06 +0000 +Checked in by : Robert OSFIELD +Added slideshow3D.dsp. -2004-09-06 14:59 robert +Wed, 23 Jul 2003 11:27:31 +0000 +Checked in by : Robert OSFIELD +Updated doc++ documentation. - * From Joakim Simonsson, add s/getHPROrder method +Wed, 23 Jul 2003 10:11:48 +0000 +Checked in by : Robert OSFIELD +Fixed osgslideshow3D to slideshow3D -2004-09-06 14:58 robert +Wed, 23 Jul 2003 09:27:09 +0000 +Checked in by : Robert OSFIELD +Added slideshow3D to the examples list under VisualStudio.Partially updated the NEWS.txt. - * Added docs for max size commandline params. -2004-09-06 14:30 robert - * From Marco Jez, added missing TexGenNode constructor. +Wed, 23 Jul 2003 08:54:29 +0000 +Checked in by : Robert OSFIELD +Bumped up version numbers in preperation for the 0.9.5 release. -2004-09-04 09:22 robert +Wed, 23 Jul 2003 08:48:23 +0000 +Checked in by : Robert OSFIELD +Made the keyboard mouse callback a ref_ptr<> managed object to fix ref count problem. - * Updates to controlling maximum texture size +Wed, 23 Jul 2003 08:18:19 +0000 +Checked in by : Robert OSFIELD +Added check to allocateImage() so that if the pixel size wouldn't be computed unless valid _data already existed on the object. -2004-09-03 15:42 robert +Tue, 22 Jul 2003 21:03:59 +0000 +Checked in by : Robert OSFIELD +Added support for osg::State::s/getInitialViewMatrix();Added slideshow3D examples to the runexamples.bat. - * Added commandline support for Size and texcoord Multipliers +Fixed DatabasePager to work with the latest OpenThreads. -2004-09-03 15:05 robert - * Added setConstantColorAsLightDirection & - getConstantColorAsLightDirection methods - to make it more convinient to set up DOT3 register combiners. -2004-09-03 10:02 robert +Tue, 22 Jul 2003 15:35:51 +0000 +Checked in by : Robert OSFIELD +Updates to the slideshow3D app. - * Added handling of RGBA to normal map computation +Tue, 22 Jul 2003 12:48:31 +0000 +Checked in by : Robert OSFIELD +Made BlinkSequence subclass from osg::Object. -2004-09-02 20:42 don +Tue, 22 Jul 2003 12:39:40 +0000 +Checked in by : Robert OSFIELD +Added XML support and slideshow constructor to slideshow3D example, now renamed from the previous osgslideshow. - * Fixed .net plugin errors on Mac +Tue, 22 Jul 2003 10:33:56 +0000 +Checked in by : Robert OSFIELD +Changed the Sector classes so they are derive from osg::Object to allow them to be shared objects with the .osg support. -2004-09-02 19:10 robert +Tue, 22 Jul 2003 08:42:14 +0000 +Checked in by : Robert OSFIELD +Added Images/ infront of lz.rgb path. - * From Geoff Michel, typo and spelling fixes +Mon, 21 Jul 2003 18:36:47 +0000 +Checked in by : Robert OSFIELD +From Marco, updates to osgDB and .osg plugin to better handle reading of objects of specified types. -2004-09-02 18:19 robert +Mon, 21 Jul 2003 15:51:43 +0000 +Checked in by : Robert OSFIELD +Added yield call to database paging main loop. - * Added Sequence back in with correct Permission, and with Geoff - Michel's spelling - corrections. +Mon, 21 Jul 2003 15:26:06 +0000 +Checked in by : Robert OSFIELD +Fixed osgDB plugin. -2004-09-02 18:17 robert +Mon, 21 Jul 2003 11:54:51 +0000 +Checked in by : Robert OSFIELD +Removed old link. - * Temporary removal of Sequence to try and get around permissions - problem with it. +Mon, 21 Jul 2003 10:39:07 +0000 +Checked in by : Robert OSFIELD +Added missing DatabasePager. -2004-09-02 10:01 robert +Mon, 21 Jul 2003 10:11:34 +0000 +Checked in by : Robert OSFIELD +Added -lOpenThreads to the OSX defines. - * Added usage of carbon pathway in - appendPlatformSpecificLibraryFilePaths. +Mon, 21 Jul 2003 08:19:36 +0000 +Checked in by : Robert OSFIELD +Moved DatabasePager into from osgProducer into osgDB. This means that osgDB is now dependant on OpenThreads. -2004-09-02 07:44 robert +Sun, 20 Jul 2003 00:51:56 +0000 +Checked in by : Don BURNS +Integrated OpenThreads and brought dsps up to snuff on Win32 - * Added comments from Eric +Sat, 19 Jul 2003 17:55:18 +0000 +Checked in by : Don BURNS +Small bug in instrules -2004-09-02 03:52 don +Sat, 19 Jul 2003 17:46:45 +0000 +Checked in by : Don BURNS +passing $(MAKE) into instexamplesrc script to shut the religious fanatics on the mailing list up. - * Fixed a mis-definition of INSTBIN and INSTLIB +Sat, 19 Jul 2003 00:18:07 +0000 +Checked in by : Don BURNS +Updated OSG to use OpenThreads. Moved any references to OpenThread to OpenThreads and removed any dependency on Producer threads, Mutexes, etc. -2004-09-01 17:18 robert +Thu, 17 Jul 2003 06:43:15 +0000 +Checked in by : Robert OSFIELD +From Romano Jose Magacho da Silva, added osg:FragmentProgram.From Robert, add .osg support for FragmentProgram. - * From Geoff Michel, removed mem_ptr reference as it no longer - exists -2004-09-01 15:14 robert - * From Uwe Woessner +Wed, 16 Jul 2003 22:26:17 +0000 +Checked in by : Robert OSFIELD +From Ruben, added support for vertex program in .osg loader. -2004-09-01 14:49 robert +Wed, 16 Jul 2003 22:15:28 +0000 +Checked in by : Robert OSFIELD +Added setProjectionMatrix*(), setViewMatrix*() and get*() methods to osgUtil::SceneView. - * Added Don's new osgDB::makeDirectory() code FileUtils. +Wed, 16 Jul 2003 20:14:48 +0000 +Checked in by : Robert OSFIELD +Added osg::Matrix::getOtho,getFrustum and getLookAt() methods.Added test for new matrix methods into unit tests example, but these really +should go in their own lib... -2004-09-01 11:05 robert - * Removed reference to old CmdLineArgs class -2004-09-01 10:45 robert +Wed, 16 Jul 2003 13:17:11 +0000 +Checked in by : Robert OSFIELD +Rejigged the management of state in the stats and help drawing so that it used StateSet's rather than straight OpenGL calls. - * From Jeoen den Dekker, changed eroneous tcoords[ci][0] to - tcoords[ci][1] +Wed, 16 Jul 2003 09:52:43 +0000 +Checked in by : Robert OSFIELD +Improvements to the handling of deletion of OpenGL rendering objets such as display lists and textures object such that they can be deleted according to an available amount of time given to do deletes. -2004-09-01 10:41 robert +Tue, 15 Jul 2003 21:19:03 +0000 +Checked in by : Robert OSFIELD +Updates to the flush rendering objects function calls to allow for managment of amount of time available to do gl delete's. This control is required for constant frame rate applications. - * From Tom Jolly, add detection for whether multi-texturing is - supported before - checking for number of texture units supported, using 1 as a - fallback value +Tue, 15 Jul 2003 20:23:45 +0000 +Checked in by : Robert OSFIELD +Fixed case of OSGL2_EXPORT define in project file. -2004-09-01 10:18 robert +Tue, 15 Jul 2003 18:52:40 +0000 +Checked in by : Robert OSFIELD +Added extern + export's to global functions. - * Added bool paramter to - MatrixManipulator::setHomePosition(,,,bool) to allow - the autocomputehomeposition to be controlled. +Tue, 15 Jul 2003 18:19:21 +0000 +Checked in by : Robert OSFIELD +Added missing osg:: infront of Referenced() contructor. -2004-09-01 09:54 robert +Tue, 15 Jul 2003 16:22:29 +0000 +Checked in by : Robert OSFIELD +Moved PROGRAMOBJECT definition into StateAttribute. - * From Marco Jez, added new osgmotionblur example +Tue, 15 Jul 2003 16:20:50 +0000 +Checked in by : Robert OSFIELD +Fix for compile oddities on an Octane with old zlib headers hanging around, change is non intrusive. -2004-09-01 09:48 robert +Tue, 15 Jul 2003 15:49:46 +0000 +Checked in by : Robert OSFIELD +Added osgGL2 to workspace file. - * From Eric Sokolsky, add support for recording default values for - env vars +Tue, 15 Jul 2003 13:46:19 +0000 +Checked in by : Robert OSFIELD +Moved osg::Statistics to osgUtil::Statistics and merged addition to it fro Pavel Moloshtan. -2004-09-01 09:10 robert +Tue, 15 Jul 2003 11:49:56 +0000 +Checked in by : Robert OSFIELD +Changed the SceneView::setModelViewMatrix() methods across to being setViewMatrix(). The old RefMatrix methods for setModelViewMatrix() and setProjectMatrix() have been removed to keep the API as minimal as possible. - * Added crude #ifdef COIN_BASIC_H around ::REPLACE usage as this is - only - available under Coing +Tue, 15 Jul 2003 10:45:46 +0000 +Checked in by : Robert OSFIELD +From Mike Weiblen's osgGL2 node kit which support the latest OpenGL 2.0 extensions. -2004-09-01 09:00 robert +Tue, 15 Jul 2003 09:39:45 +0000 +Checked in by : Robert OSFIELD +From Bart Gallet, updates to VisualStudo .dsp's to keep things compiling under Windows. - * Added support for CONSTANT_COLOR and ONE_MINUS_CONSTANT_COLOR - into .osg +Tue, 15 Jul 2003 08:17:54 +0000 +Checked in by : Robert OSFIELD +From Gideon May, added typedef T element_type; -2004-09-01 08:59 robert +To ref_ptr<> to make it compatible with the boost ref_ptr<> implemenations. - * From Sondra Iverson, adding of CONSTANT_COLOR and - ONE_MINUS_CONSTANT_COLOR options -2004-09-01 08:49 robert - * From Marco Jez, addition of new interal texture formats to - osg/Texture and Image.cpp +Tue, 15 Jul 2003 07:53:25 +0000 +Checked in by : Robert OSFIELD +Compile fixes. -2004-09-01 08:34 robert +Mon, 14 Jul 2003 19:12:22 +0000 +Checked in by : Robert OSFIELD +Attempt to fix compile error caused by recent change in osg::Texture. - * From Brede Johhansen, fixed copy and paste bug where in - getInverse(..) methods +Mon, 14 Jul 2003 14:42:10 +0000 +Checked in by : Robert OSFIELD +Added support for texture object manager, which provides an automatic mechansim for reusing deleted textures. -2004-09-01 08:15 robert +Fri, 11 Jul 2003 22:05:34 +0000 +Checked in by : Robert OSFIELD +warning fixes for IRIX. - * From Paul Martz, typos and spelling fixes. +Fri, 11 Jul 2003 18:46:56 +0000 +Checked in by : Don BURNS +included for SGI compilation of Timer header file -2004-08-31 21:18 don +Thu, 10 Jul 2003 15:23:18 +0000 +Checked in by : Robert OSFIELD +Added dataToMergeList into checks for active subgraphs. - * small change for Visual Studio compile +Thu, 10 Jul 2003 14:53:07 +0000 +Checked in by : Robert OSFIELD +Added default constructor implemention to LOD and PagedLOD.Added verbose messages to DatabasePager. -2004-08-31 21:06 don - * Added Visual Studio files for osgPlugin net -2004-08-31 20:49 don +Thu, 10 Jul 2003 13:48:56 +0000 +Checked in by : Robert OSFIELD +Fix to accomodate function name change in osgDB::Registry. - * added makeDir - temporary UNIX only +Thu, 10 Jul 2003 13:35:19 +0000 +Checked in by : Robert OSFIELD +From Michael Gronger, addition of ReaderWriter* Registry::getReaderWriterForExtension(const std::string& ext).Also removed copy constructor and = operator from Ouput as it was produce +spurious warnings under gcc 3.3. -2004-08-31 20:26 don - * Fixes (hopefully) for windows and other platforms... -2004-08-31 14:49 robert +Thu, 10 Jul 2003 13:18:13 +0000 +Checked in by : Robert OSFIELD +From Tree, fixes for text bounding box initialization. - * From Geoff Michel, typo and spelling fixes. +Thu, 10 Jul 2003 13:11:25 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolosky, insertChild(). -2004-08-31 14:48 robert +Thu, 10 Jul 2003 11:10:39 +0000 +Checked in by : Robert OSFIELD +Updates to the DatabasePager code to include support for compiling texture objects and display lists before merging loaded subgraphs with the main scene graph. - * Added support for spherical texture mapping and better file - search support - for meterial files. +Thu, 10 Jul 2003 08:05:24 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, Fixed typo. -2004-08-31 14:21 robert +Thu, 10 Jul 2003 07:51:01 +0000 +Checked in by : Robert OSFIELD +Fixed typo. - * Simplified the TrackMode options +Wed, 9 Jul 2003 19:48:04 +0000 +Checked in by : Robert OSFIELD +Further updates to the DatabasePager. -2004-08-31 14:08 robert +Wed, 9 Jul 2003 14:55:39 +0000 +Checked in by : Robert OSFIELD +Improvements to the DatabasePager and PagedLOD class adding support for deleting expuired children in the database thread. - * From Geoff Michel, spelling and typo fixes. +Wed, 9 Jul 2003 07:41:53 +0000 +Checked in by : Robert OSFIELD +Added #include to DatabasePager.cpp. -2004-08-31 13:19 robert +Tue, 8 Jul 2003 14:44:00 +0000 +Checked in by : Robert OSFIELD +Added osg::PagedLOD and osgProducer::DatabasePager class, and linked up osgProducer::Viewer to manage the pager. - * From Sébastien Kuntz, spelling and typo fixes +Mon, 7 Jul 2003 08:01:09 +0000 +Checked in by : Robert OSFIELD +Tweaked osg::Geometry's VBO code so that it should not call VBO when the extension is not supported. -2004-08-31 09:20 robert +Sat, 5 Jul 2003 19:49:06 +0000 +Checked in by : Robert OSFIELD +Added missing setUseVertexBufferObject(). - * Added rescale of quaternion in Matrix::set(Quat), a copy - operation in osg::Quat and - extra tracking options in NodeTrackerManipulator. +Sat, 5 Jul 2003 19:08:30 +0000 +Checked in by : Robert OSFIELD +Integrated various fixes from users. -2004-08-31 01:12 don +Wed, 2 Jul 2003 01:56:12 +0000 +Checked in by : Don BURNS +Fixed glBindBufferARB to extensions->glBindBuffer() - * Added cache_mode option to Net plugin +Mon, 30 Jun 2003 06:41:42 +0000 +Checked in by : Robert OSFIELD +Added an osg:: infront of the Object() copy constructor call to AttrData. -2004-08-30 18:53 robert +Sun, 29 Jun 2003 21:53:38 +0000 +Checked in by : Robert OSFIELD +Added support for chunking the point data clouds into 10,000 point chunks to better optimize the VBO and AGP needs. - * Added trackmode support for handling rotation of tracked node +Sun, 29 Jun 2003 21:41:57 +0000 +Checked in by : Robert OSFIELD +Added support for the ARB_vertex_buffer_object into osg::Geometry. -2004-08-30 18:51 robert +Sat, 28 Jun 2003 17:35:17 +0000 +Checked in by : Don BURNS +fixed makeinnosetup - * Fixed the Matrix::get(Quat&) method +Fri, 27 Jun 2003 21:41:00 +0000 +Checked in by : Don BURNS +Updates to makeinnosetup to work a bit smoother -2004-08-30 10:03 robert +Fri, 27 Jun 2003 21:01:18 +0000 +Checked in by : Don BURNS +Change some wording in help.sh and added makeinnosetup - * Remamed TrackerManipulator to NodeTrackerManipulator +Fri, 27 Jun 2003 14:33:37 +0000 +Checked in by : Robert OSFIELD +Added #include -2004-08-30 01:15 don +Fri, 27 Jun 2003 14:33:13 +0000 +Checked in by : Robert OSFIELD +Added #include - * Added the local_cache_dir option to the net plug-in allowing for - the - keeping and populating of a local cache. With this option, the - cache - is checked first before fetching from the network. +Thu, 26 Jun 2003 16:21:49 +0000 +Checked in by : Robert OSFIELD +From Tree, updates to osgText and freetype plugin to support are kerning paramter. -2004-08-29 15:09 robert +Wed, 25 Jun 2003 22:11:12 +0000 +Checked in by : Robert OSFIELD +Addition of text to default presentation. - * Added handling of $ comment line, and 'g' empty group name +Wed, 25 Jun 2003 10:39:11 +0000 +Checked in by : Robert OSFIELD +Fixed from Pavel for the stats in RenderBin.cpp -2004-08-29 00:57 don +Wed, 25 Jun 2003 10:30:46 +0000 +Checked in by : Robert OSFIELD +Updated NEWS.Added AttrData.h to flt.dsp - * Added two options to the .net loader: - hostname= - Specify the host to connect to to retreive - files - server_prefix= - Specify a prefix to each file - indicating - a directory for the server to look into - Also, the .net server now does not require a file to have the - .net - suffix. ALl this together now means that you can do this: - - osgviewer -e net -O "hostname=openscenegraph.org - server_prefix=BlueMarble" earth.ive - - And view the whole earth streamed from a server. +Removed redundent (and duplicate definition of RenderBinPrototypeList and its +associated static) from the RenderBin header. -2004-08-28 23:04 don - * Changes for IRIX build and fix to build system -2004-08-28 07:25 don +Wed, 25 Jun 2003 10:12:50 +0000 +Checked in by : Robert OSFIELD +From Julia Oritz Rojas, support for detail textures. - * Added the .net plug-in. This allows the reading of files by - specifying :file..net for example: - - osgviewer osgcvs.no-ip.com:OSGModels/cow.osg.net +Wed, 25 Jun 2003 08:58:48 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, added support for TextureRectangle to .osg format. -2004-08-27 16:52 robert +Wed, 25 Jun 2003 08:50:57 +0000 +Checked in by : Robert OSFIELD +Spotted by Norman Vine - fixed typo in intersect visitor. - * Fix of OSX build +Wed, 25 Jun 2003 07:59:59 +0000 +Checked in by : Robert OSFIELD +Test of cvs. -2004-08-27 16:19 robert +Wed, 25 Jun 2003 07:50:19 +0000 +Checked in by : Robert OSFIELD +Added TessellationHints. - * Fix for OSX build. +Tue, 24 Jun 2003 22:11:13 +0000 +Checked in by : Robert OSFIELD +Added missing file. -2004-08-27 16:14 robert +Tue, 24 Jun 2003 21:57:13 +0000 +Checked in by : Robert OSFIELD +Additions since the CVS back up was made. - * Added a new osgDB::appendPlatformSpecificLibraryFilePaths() - method to FileUtils.cpp - Includes a new OSX code from Eric Wing +Tue, 24 Jun 2003 15:40:09 +0000 +Checked in by : Don BURNS +*** empty log message *** -2004-08-27 14:56 robert +Tue, 24 Jun 2003 15:39:59 +0000 +Checked in by : Don BURNS +Updating 5/27/03 backup with 6/20/03 tarball - * Added .tif extension to handled extension list +Tue, 24 Jun 2003 15:36:53 +0000 +Checked in by : Don BURNS +Update of 5/27/03 backup with 6/20/03 tarball -2004-08-27 12:04 robert +Tue, 27 May 2003 17:04:01 +0000 +Checked in by : Robert OSFIELD +Converted dos to unix file endings. - * Removed eroneous cancel() and join() from the - DatabasePager::run() method. +Tue, 27 May 2003 11:03:49 +0000 +Checked in by : Robert OSFIELD +Added support for scaling the projection in vertical and horizontal split stereo modes. -2004-08-27 08:03 robert +Tue, 27 May 2003 11:02:45 +0000 +Checked in by : Robert OSFIELD +Reverted recent changes so the set(Matrix&) method. - * Added handling of short (<=4 points) polygons as tri fans and the - rest - as polygons which are tesselated, to improve load and build time, - yet - still resselating the large polygons that need it. +Mon, 26 May 2003 15:00:38 +0000 +Checked in by : Robert OSFIELD +Adjustments to the horizontal and vertical split stereo code for better handling of aspect ratio. -2004-08-27 08:01 robert +Mon, 26 May 2003 11:02:42 +0000 +Checked in by : Robert OSFIELD +Added missing std:: - * Added handling of DrawArrayLengths PrimitiveSet. +Mon, 26 May 2003 10:05:52 +0000 +Checked in by : Robert OSFIELD +Added 3dc plugin for reading Arias 3D point clouds. -2004-08-26 16:20 robert +Mon, 26 May 2003 09:29:59 +0000 +Checked in by : Robert OSFIELD +Moved the GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB into its own #ifndef block to help with OSX support. - * Improvements to handling of winding of polygons. +Mon, 26 May 2003 09:27:16 +0000 +Checked in by : Robert OSFIELD +Adding support using istream and ostream with the reader writers. -2004-08-26 14:52 robert +Sun, 25 May 2003 21:06:23 +0000 +Checked in by : Robert OSFIELD +Added mention of DYLD_BIND_AT_LAUNCH to OSX docs. - * Removed debugging output. +Sun, 25 May 2003 16:08:57 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, conversion from GeoSet to Geometry. -2004-08-26 14:33 robert +Sat, 24 May 2003 14:42:00 +0000 +Checked in by : Robert OSFIELD +Removed export macro. - * Rewrite of OBJ parser + converter to OSG +Sat, 24 May 2003 14:26:20 +0000 +Checked in by : Robert OSFIELD +Added missing std:: -2004-08-26 06:41 robert +Fri, 23 May 2003 19:51:12 +0000 +Checked in by : Robert OSFIELD +Added ive reader/writer - from Rune Schmidt Jensen/Michael Gronager - * Fixed getHomePosition +Thu, 22 May 2003 15:29:20 +0000 +Checked in by : Robert OSFIELD +Fixes to the Optimizer's handling of merging of osg::Geometry -2004-08-24 21:35 don +Thu, 22 May 2003 14:02:10 +0000 +Checked in by : Robert OSFIELD +Removed occurances of SG_EXPORT. - * Robert must've forgotten to set VERSION_REVISION back to 0 after - tagging the release +Thu, 22 May 2003 11:09:28 +0000 +Checked in by : Robert OSFIELD +Convert Performer plugin across to generate osg::Geometry directly. -2004-08-24 18:27 robert +Thu, 22 May 2003 08:40:53 +0000 +Checked in by : Robert OSFIELD +Added syntax highlighting for VisualStudio7.1 from Joseph Steel. - * Removed "interlace" debugging message +Wed, 21 May 2003 21:32:56 +0000 +Checked in by : Robert OSFIELD +Improved the handling of scaled matrices in the Quat::set(Matrix&) method. -2004-08-24 18:23 robert +Wed, 21 May 2003 16:33:53 +0000 +Checked in by : Robert OSFIELD +Removed the _state.reset() call as it was doing OpenGL calls outside of the thread with the graphics context. - * Changed the AnimationPathCallback::reset() to reset the - _firstTime to DBL_MAX - so that it resets on the next update traversal. +Wed, 21 May 2003 14:34:12 +0000 +Checked in by : Robert OSFIELD +Added GeoSet to osgconv. -2004-08-24 13:25 robert +Wed, 21 May 2003 12:15:45 +0000 +Checked in by : Robert OSFIELD +Removed osg::GeoSet for core osg lib and osgPlugin.Commented out OpenDX plugin as its still based on GeoSet. - * Added support for looping mode +Added support for loading and converting GeoSet into the osgconv example. -2004-08-24 12:55 robert - * Added s/getLoopingMode() to ImageStream and MPEG plugin -2004-08-24 11:00 robert +Tue, 20 May 2003 20:45:10 +0000 +Checked in by : Robert OSFIELD +Added usage of the InputRectangle into setting up of the EventAdapter. - * Removed HoveManipulator +Tue, 20 May 2003 19:48:07 +0000 +Checked in by : Robert OSFIELD +Removed spurious editing file. -2004-08-24 10:58 robert +Tue, 20 May 2003 14:05:19 +0000 +Checked in by : Robert OSFIELD +Added osgtexturerectangle example from Ulrich Hertlein. - * Updated docs +Tue, 20 May 2003 13:21:05 +0000 +Checked in by : Robert OSFIELD +Fixes to the handling of mouse coords after changes in the default behavior of Producer. -2004-08-24 08:43 robert +Tue, 20 May 2003 11:01:16 +0000 +Checked in by : Robert OSFIELD +Added setProjectMatrix(const Matrix&) and setModelViewMatrix(const Matrix&) methods. - * Made the command buffer have 20 elements in it to protect against - wrapping - around. +Tue, 20 May 2003 08:57:02 +0000 +Checked in by : Robert OSFIELD +Removed redundent write_usage function. -2004-08-24 07:29 robert +Tue, 20 May 2003 08:47:21 +0000 +Checked in by : Robert OSFIELD +Changed the fusion distance update code to use OsgCameraGroup::setDistanceDistance() rather than going through the SceneView's by hand. This should ensure that values are kept consistent betwen OsgCameraGroup and SceneView's. - * Changed --compress to --compressed in commandline docs +Tue, 20 May 2003 08:43:09 +0000 +Checked in by : Robert OSFIELD +Fixed manipulator. -2004-08-23 20:29 don +Tue, 20 May 2003 08:09:36 +0000 +Checked in by : Robert OSFIELD +Removed the now redundent osg::Camera. - * Fixed error for when screen width * 0.75 is greater than screen - height - for compute of window size when coming from fullscreen when 'f' - key is pushed. +Mon, 19 May 2003 20:18:37 +0000 +Checked in by : Robert OSFIELD +Removed all KeySwitchCameraManipulator class, replacing it with the KeySwitchMatrixManipulator -2004-08-23 17:17 don +Mon, 19 May 2003 15:15:17 +0000 +Checked in by : Robert OSFIELD +Removed remaining dependancies on osg::Camera. - * Fixed assumption that the users's screen is 1280x1024 when - toggling - full screen with the 'f' key. +Sat, 17 May 2003 13:15:54 +0000 +Checked in by : Robert OSFIELD +Removed redundent const -2004-08-23 14:08 robert +Sat, 17 May 2003 09:03:06 +0000 +Checked in by : Robert OSFIELD +Renamed png pnm - * Fixed link to download page +Sat, 17 May 2003 08:36:25 +0000 +Checked in by : Robert OSFIELD +Removed superfluous const -2004-08-23 08:44 robert +Wed, 14 May 2003 16:07:39 +0000 +Checked in by : Don BURNS +Small operation precedence bug fixed in Text.cpp - * Added protection to prevent crashes on calls when no data is set - up +Fri, 9 May 2003 13:07:06 +0000 +Checked in by : Robert OSFIELD +Updates to the handling of vertex attributes. -2004-08-23 08:31 robert +Thu, 8 May 2003 15:13:50 +0000 +Checked in by : Robert OSFIELD +Add osgUtil as a dependancy of osgText - * Changed the write help option to just output commandline options. +Thu, 8 May 2003 14:02:50 +0000 +Checked in by : Robert OSFIELD +Memory leak fixes from Joseph Steel. -2004-08-23 07:25 robert +Wed, 7 May 2003 15:26:08 +0000 +Checked in by : Robert OSFIELD +Added UserData to NodeVisitor. - * Updated docs to point to correct 3rd party binaries +Wed, 7 May 2003 13:13:13 +0000 +Checked in by : Robert OSFIELD +From Romano José Magacho da Silva, support for vertex attributes in vertex program. -2004-08-21 17:29 don +Wed, 7 May 2003 11:13:49 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, support for mouse scroll wheel in osgGA/osgProducer. - * Added back in the -s (scale) argument to osgconv, which was - dropped - in the last revision. +Wed, 7 May 2003 09:35:43 +0000 +Checked in by : Robert OSFIELD +Changed the CullVisitor::popProjection() so that it doesn't adjust orthorgraphic projection matrices. -2004-08-20 09:46 robert +Tue, 6 May 2003 18:04:27 +0000 +Checked in by : Robert OSFIELD +Aded extra constructors to BlendFunc and Depth to help set them up convieniently.Added a background quad to osghud. - * From Don Tidrow, fixes to comments. -2004-08-18 10:07 robert - * Bumped up the revision number to 2 for the 0.9.7-2 release +Tue, 6 May 2003 13:13:31 +0000 +Checked in by : Robert OSFIELD +Added support for multibuffering of tex coordinates. -2004-08-18 09:34 robert +Mon, 5 May 2003 14:30:12 +0000 +Checked in by : Robert OSFIELD +Fixed accept(PrimitiveFunctor&) so it uses the transform coords correctly. - * Set date for 0.9.7-2 release +Fri, 2 May 2003 18:24:56 +0000 +Checked in by : Robert OSFIELD +Fixed build. -2004-08-18 06:06 robert +Thu, 1 May 2003 21:06:18 +0000 +Checked in by : Robert OSFIELD +Addd support for maximum screen text size into osgText when auto scale to screen is active.Added osgautotransform demo. - * Rejigged the __int* definitions to try and get round Mingw - compile errors -2004-08-17 19:42 robert - * From Bruce Clay, fixes for VS6.0 build. +Thu, 1 May 2003 19:56:02 +0000 +Checked in by : Robert OSFIELD +Added set/getNearFarRatio() to CullVisitor. -2004-08-17 18:57 robert +Thu, 1 May 2003 08:51:03 +0000 +Checked in by : Robert OSFIELD +Remved exit(). - * From David Fries, added getBinNum() method +Wed, 30 Apr 2003 15:40:57 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky - pnm (ppm, pgm, pbm) plugin -2004-08-17 18:56 robert +Wed, 30 Apr 2003 15:38:11 +0000 +Checked in by : Robert OSFIELD +Cleanup of the API. - * Changed sizeof(..) references to 1,2,4 respectively. +Wed, 30 Apr 2003 11:41:24 +0000 +Checked in by : Robert OSFIELD +Reverted the test of setAutoScaleToScreen. -2004-08-17 08:14 robert +Wed, 30 Apr 2003 11:40:17 +0000 +Checked in by : Robert OSFIELD +Added support for automatic scaling of text to screen coords. Optimized the text implementation to provide better speed, especially by using the alignement to screen option.Deprecated the Text::setFontSize(,) method, which is now being replaced +by setFontResolution(,) - * Updated changelog +Fixed typos in Texture*.cpp. -2004-08-17 07:58 robert +Removed old deprecated methods from osg headers. - * From David Fries, "I added code to also check the local up - vector, but - only if one of the rotation modes is selected, because autoscale - isn't - affected by the camera rotations. " -2004-08-17 07:44 robert - * Changed the "flip" keyword to "dds_flip" +Tue, 29 Apr 2003 14:24:11 +0000 +Checked in by : Robert OSFIELD +From Ben, promoted floats to doubles to produce better stability in the invert method. -2004-08-17 07:43 robert +Tue, 29 Apr 2003 00:55:12 +0000 +Checked in by : Don BURNS +set glDrawBuffer( GL_BACK ) in SceneView::draw() when not drawing in stereo mode. Without this, we end up drawing to the wrong buffer when toggling stereo off. - * Updated docs for second rev of 0.9.7 +Mon, 28 Apr 2003 12:57:58 +0000 +Checked in by : Robert OSFIELD +Updated NEWS. -2004-08-17 06:15 robert +Mon, 28 Apr 2003 11:37:53 +0000 +Checked in by : Robert OSFIELD +Updates to the introduction.html.Added support for new alignment modes in osgtext. - * Removed computeMipMaps call -2004-08-16 21:14 robert - * Added support for "flip" option string, which if present flips - incoming - images about the vertical axis. Accessed via -O flip on the - commandline. +Sun, 27 Apr 2003 19:23:00 +0000 +Checked in by : Robert OSFIELD +Fixed typo of Fturue! -2004-08-16 21:03 robert +Sun, 27 Apr 2003 10:58:39 +0000 +Checked in by : Robert OSFIELD +From Tree, addition of ; after MACRO_'s to help with Java port.From Tree + Robert, Addition of LEFT_BASE_LINE,RIGHT_BASE_LINE,CENTER_BASE_LINE +Alignment options in Text. - * Added a handling of different hex long long handling for VS and - non - VS. -2004-08-16 20:57 robert - * Added support in Image::flipVertical for flipping mipmapped - imagery - and for flipping compressed imagery. +Fri, 25 Apr 2003 19:53:22 +0000 +Checked in by : Robert OSFIELD +Updates to introducution. -2004-08-16 16:43 robert +Fri, 25 Apr 2003 13:52:08 +0000 +Checked in by : Robert OSFIELD +Updated index.html - * Fixed _MSC_VAR reference +Fri, 25 Apr 2003 13:47:33 +0000 +Checked in by : Robert OSFIELD +Added support for gather information on which vertices have been intersected with. -2004-08-16 15:45 robert +Thu, 24 Apr 2003 20:41:18 +0000 +Checked in by : Don BURNS +A few minor mods to introduction.html - * Added dxtctool.h/.cpp +Thu, 24 Apr 2003 19:54:03 +0000 +Checked in by : Robert OSFIELD +Updates to the introduction.html documentaition. -2004-08-16 15:43 robert +Thu, 24 Apr 2003 13:45:35 +0000 +Checked in by : Robert OSFIELD +Typo fix. - * Added fxtctool in prep for adding compressed imagery swap +Thu, 24 Apr 2003 13:45:10 +0000 +Checked in by : Robert OSFIELD +cout -> notify. -2004-08-16 14:21 robert +Thu, 24 Apr 2003 13:44:30 +0000 +Checked in by : Robert OSFIELD +Updates to docs. - * Cleaned up output level of debugging messages +Wed, 23 Apr 2003 10:12:40 +0000 +Checked in by : Robert OSFIELD +From Romano, updated LANDEXT.DAT and new highlight.reg file for syntax highlighting under Windows. -2004-08-16 14:03 robert +Wed, 23 Apr 2003 09:59:08 +0000 +Checked in by : Robert OSFIELD +Added check for camera's sharing the same RenderSurface, if so switches off multi-threading of cull and draw. - * Fix to order of materials +Sat, 19 Apr 2003 09:53:39 +0000 +Checked in by : Robert OSFIELD +Changed the data link to OpenSceneGraph-Data-0.9.3.tar.gz since we won't be updating it for the release. -2004-08-16 13:54 robert +Sat, 19 Apr 2003 09:35:10 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for the release. - * From Michael Gronager, addition of NodeCallback support in .osg - format. +Sat, 19 Apr 2003 09:09:46 +0000 +Checked in by : Robert OSFIELD +Updated NEWS for the release date.Tweaked the text sizes in osglogo. -2004-08-16 13:17 robert - * Improvements to the handling of OBJ files -2004-08-16 08:58 robert +Sat, 19 Apr 2003 06:57:07 +0000 +Checked in by : Robert OSFIELD +Mannually computes the mipmap levels to ensure correct loading of dds images which arn't square. - * Disabled the culling on the DistortionNode. +Fri, 18 Apr 2003 21:44:48 +0000 +Checked in by : Robert OSFIELD +Changed the ordering of the picking intersections. -2004-08-16 08:55 robert +Fri, 18 Apr 2003 19:46:46 +0000 +Checked in by : Robert OSFIELD +Fixes to BlendFunc - adding missing ZERO handling.Improved handling of alpha values in DXT1 compression. - * Disabled the culling for clear node. -2004-08-16 08:32 robert - * Changed the length multiple to be 2x the bounding sphere radius +Fri, 18 Apr 2003 15:59:34 +0000 +Checked in by : Robert OSFIELD +Updated NEWS for the release.Fixed warnings. -2004-08-16 07:29 robert - * From Michael Gronager, fix to an orientation bug. -2004-08-14 15:42 don +Fri, 18 Apr 2003 10:10:14 +0000 +Checked in by : Robert OSFIELD +Removed various assert() instances since these were causing crashes.From Alberto, changed the use of the DynGeoSet to it was querried on demand +rather than used as a pointer which was originally being invalidate before +use. - * P*E*G*O*U*T Sound. Spelling fixes. -2004-08-13 15:48 robert - * Added news for release 0.9.7-2 +Fri, 18 Apr 2003 08:17:18 +0000 +Checked in by : Robert OSFIELD +Added a realize callback for setting up the pbuffer so that it definately has a valid graphics context. -2004-08-13 15:29 robert +Thu, 17 Apr 2003 16:22:51 +0000 +Checked in by : Robert OSFIELD +Added doc++ documentation. - * Updates for 0.9.7-2 release +Thu, 17 Apr 2003 15:57:05 +0000 +Checked in by : Robert OSFIELD +Added setting of the RenderSurface name to the application name. -2004-08-13 14:42 robert +Thu, 17 Apr 2003 15:27:17 +0000 +Checked in by : Robert OSFIELD +Moved #include from Viewer to OsgCameraGroup. - * From Corbin Holtz, addition of support for reading imagery with - color tables, - including code from Frank Warmerdam on the GDAL side, and - integration/reworking - work form Robert Osfield. +Thu, 17 Apr 2003 13:57:15 +0000 +Checked in by : Robert OSFIELD +Added an alternate compile path for Windows in the toggle of fullscreen for the first time. -2004-08-13 14:09 robert +Thu, 17 Apr 2003 13:36:41 +0000 +Checked in by : Robert OSFIELD +Changed the maxx initializiation to use (*points)[last_valid_index].x(); - * Updated docs. +Thu, 17 Apr 2003 11:14:25 +0000 +Checked in by : Robert OSFIELD +Moved the managing of frame stamp from osgProducer::Viewer into osgProducer::OsgCamaraGroup.Added setting of trackball in osgcameragroup so its starts in the +correct place for different models. -2004-08-13 13:46 robert - * Added docs for CacheObjectHints -2004-08-13 13:27 robert +Thu, 17 Apr 2003 06:52:56 +0000 +Checked in by : Robert OSFIELD +Added OSGUTIL_EXPORT to front of DelaunayTriangulator class. - * Removed redundent include/ReadFile call +Wed, 16 Apr 2003 23:09:31 +0000 +Checked in by : Don BURNS +InputRectangle converted to RenderSurface->get()... -2004-08-13 12:38 robert +Wed, 16 Apr 2003 21:16:23 +0000 +Checked in by : Don BURNS +Changed Rect('s to Rectangle('s - * Changed the "Reading a byte swapped file" message to info level. +Wed, 16 Apr 2003 20:02:15 +0000 +Checked in by : Robert OSFIELD +Added support for set/getColor to ShapeDrawable. -2004-08-13 12:05 robert +Wed, 16 Apr 2003 19:21:27 +0000 +Checked in by : Robert OSFIELD +From Marco Jez, added DelaunayTriangulator class. - * Fix for VS6.0 build +Wed, 16 Apr 2003 19:20:15 +0000 +Checked in by : Robert OSFIELD +Changed near and far instances into near_point, far_point to avoid problems with Win32 build. -2004-08-13 10:50 robert +Wed, 16 Apr 2003 15:14:25 +0000 +Checked in by : Robert OSFIELD +Moved the PickVisitor from osgUtil into the implementation of osgProducer::Viewer. Removed methods in PickVisitor which wern't being used by osgProducer::Viewer. This has been done because the PickVisitor interface and implementation weren't ready for general usage. - * Added #include required for X-platform build. +Wed, 16 Apr 2003 14:22:36 +0000 +Checked in by : Robert OSFIELD +Renamed computeNearFar to computeNearFarPoints. -2004-08-13 10:49 robert +Wed, 16 Apr 2003 14:17:49 +0000 +Checked in by : Robert OSFIELD +Added convinence methods to osgProducer::Viewer: /** compute, from normalized mouse coords, for sepecified Camera, the pixel coords relative to that Camera's RenderSurface.*/ + bool computePixelCoords(float x,float y,unsigned int cameraNum,float& pixel_x,float& pixel_y); - * Removed inappropriate #ifdefs + /** compute, from normalized mouse coords, for sepecified Camera, the near and far points in worlds coords.*/ + bool computeNearFar(float x,float y,unsigned int cameraNum,osg::Vec3& near, osg::Vec3& far); -2004-08-13 10:46 robert + /** compute, from normalized mouse coords, for sepecified Camera, intersections with the scene.*/ + bool computeIntersections(float x,float y,unsigned int cameraNum,osgUtil::IntersectVisitor::HitList& hits); - * Fixes for OSX. + /** compute, from normalized mouse coords, for all Cameras, intersections with the scene.*/ + bool computeIntersections(float x,float y,osgUtil::IntersectVisitor::HitList& hits); -2004-08-11 08:25 robert - * From Ben Discoe, build fix for float version of Matrix. -2004-08-10 18:31 robert +Wed, 16 Apr 2003 12:46:06 +0000 +Checked in by : Robert OSFIELD +Add a check for the result to writeNodeFile(). - * Changed the database pager run message to only output at an info - level +Wed, 16 Apr 2003 09:22:33 +0000 +Checked in by : Robert OSFIELD +Changed OsgSceneHandler so it re-uses osgUtil::SceneView project and modelview matrices.Changed the osgpick demo so that it uses the OsgSceneHandler's projection and +modelview matrices where possible. -2004-08-10 13:30 robert - * Updated to include reference to osgdem -2004-08-10 13:19 robert +Tue, 15 Apr 2003 20:54:10 +0000 +Checked in by : Robert OSFIELD +Added support for multiple cameras into osgpick. - * Added osgdem quick usage guide +Tue, 15 Apr 2003 14:29:36 +0000 +Checked in by : Robert OSFIELD +Changed the linking to Producer for debug builds so that producerd.lib is linked against. -2004-08-09 15:12 robert +Tue, 15 Apr 2003 09:33:56 +0000 +Checked in by : Robert OSFIELD +From Brede, Fixed the ordering of the znear and zfar. - * Set revision number back to 0. +Tue, 15 Apr 2003 09:33:11 +0000 +Checked in by : Robert OSFIELD +From Romano, extra methods/variables for controlling tesselation. -2004-08-09 15:08 robert +Mon, 14 Apr 2003 19:39:22 +0000 +Checked in by : Robert OSFIELD +Added -I/usr/X11R6/include to osgProducer and all the examples GNUMakefiles.From Bob, mods to GNUMakefile and Make/makedefs for the extra includes for +freetype. - * Set version to 0.9.7-1 -2004-08-09 13:58 robert - * Updated NEWS +Mon, 14 Apr 2003 18:53:50 +0000 +Checked in by : Robert OSFIELD +Added using namespace Producer to get round namespace issue with CameraGroup call. -2004-08-07 19:08 robert +Mon, 14 Apr 2003 18:49:41 +0000 +Checked in by : Robert OSFIELD +Updated osgstereoimage and osgimpostor to handle the new default orientation of normalized mouse coords. - * Changed binding warnings to be reported as info rather than as - warnings. +Mon, 14 Apr 2003 15:44:30 +0000 +Checked in by : Robert OSFIELD +Updates to the osgpick code.Updates to osgGA::CameraManipulors. -2004-08-07 09:42 robert - * Added the ability to set the global stateset, as use this - RenderStageLighting -2004-08-06 19:55 robert +Mon, 14 Apr 2003 15:03:55 +0000 +Checked in by : Robert OSFIELD +Tweak to the debug output. - * From Bob Kuehne, change the FREETYPE_INCLUDE and _LIB to - hardcoded - version to avoid reliance on freetype-config. +Mon, 14 Apr 2003 15:02:13 +0000 +Checked in by : Robert OSFIELD +Added extra debugging details to help track down IRIX64 & Solaris64 problems. -2004-08-06 09:38 robert +Mon, 14 Apr 2003 13:23:12 +0000 +Checked in by : Robert OSFIELD +Improved the handling of Producer's no dimensional mouse coords. - * Fix for Mingw from Norman Vine. +Mon, 14 Apr 2003 13:22:21 +0000 +Checked in by : Robert OSFIELD +Addd new computeLocalToWorld(NodePath) etc methods. -2004-08-06 09:36 robert +Mon, 14 Apr 2003 08:16:55 +0000 +Checked in by : Robert OSFIELD +Changed push back to a += to try and fix compile on hopeless OSX g++ version. - * Updated NEWS +Sun, 13 Apr 2003 14:12:03 +0000 +Checked in by : Robert OSFIELD +Updated dependancies with link to Producer web page. -2004-08-06 09:35 robert +Sun, 13 Apr 2003 13:26:41 +0000 +Checked in by : Robert OSFIELD +Added Geoff Michel's osgpick and osgUtil::PickVisitor code. - * From Bob Kuehne, adding of SDKPATH to OSX build +Sun, 13 Apr 2003 12:02:29 +0000 +Checked in by : Robert OSFIELD +From Michael Gronager, changed apply(Sequence) to cast to an Group rather than a Switch which was a bug. -2004-08-06 08:56 robert +Sat, 12 Apr 2003 10:24:16 +0000 +Checked in by : Robert OSFIELD +Removed references to glut32.lib. - * Added support for the "precision " options string +Fri, 11 Apr 2003 18:57:35 +0000 +Checked in by : Robert OSFIELD +Convertex a std::copy() into a for loop to get round compile problems under OSX. -2004-08-06 08:34 robert +Fri, 11 Apr 2003 15:34:56 +0000 +Checked in by : Robert OSFIELD +Clean of doc++ directories. - * Updated docs +Fri, 11 Apr 2003 15:33:40 +0000 +Checked in by : Robert OSFIELD +Changed the uint arrays to GLuint to keep OSX build compiling. -2004-08-06 08:22 robert +Fri, 11 Apr 2003 10:37:31 +0000 +Checked in by : Robert OSFIELD +Fixes to documentions to refelect the move from osgGLUT to osgProducer. - * Added support for - osg::AutoTransform::setAutoRotateMode(AutoRotateMode) deprecating - the previous setAutoRotateToScreen(). Added support for - ROTATE_TO_CAMERA mode. - - Cleaned up the autotransform demo to use a sensible number of - labels +Fri, 11 Apr 2003 10:04:53 +0000 +Checked in by : Robert OSFIELD +Updated the version numbers to 0.9.4 -2004-08-06 06:53 robert +Fri, 11 Apr 2003 10:00:56 +0000 +Checked in by : Robert OSFIELD +Added afterescher back into the example list in runexamples.bat.Added osgSim and osgText into the geo/GNUmakefile LIBS. - * Updated docs -2004-08-06 05:28 robert - * Typo fixes from Geoff Michel +Fri, 11 Apr 2003 09:54:27 +0000 +Checked in by : Robert OSFIELD +From Romano, added support in osg::VertexProgram for deleting the flushed vertex programs. -2004-08-06 05:25 robert +Fri, 11 Apr 2003 07:18:13 +0000 +Checked in by : Robert OSFIELD +Added guards around Geo plugin to prevent it from being built under OSX, Solaris and IRIX as it breaks the OSX build and doesn't handle Endian issues. - * From Bruce Clay, Build fixes for Win32 VS6.0 +Fri, 11 Apr 2003 06:50:15 +0000 +Checked in by : Robert OSFIELD +Added std:: infront of cout instances. -2004-08-05 15:15 robert +Thu, 10 Apr 2003 19:32:32 +0000 +Checked in by : Robert OSFIELD +Added tests for presense of extensions to osgcubemap, osgvertexproram and osgmultitexture examples.Added osg::VertexProgram::Extensions class to better handle multiple graphics +context vertex program extensions. - * From Jay Zuckerman, fixes to AutoTransform so that it includes - checking of - previous position value. -2004-08-05 15:14 robert - * From Marco Jez, updates to work with latest - StateAttrbiute::compileGLObjects method +Thu, 10 Apr 2003 15:23:49 +0000 +Checked in by : Robert OSFIELD +Moved the osgcameragroup example across to being just based on osgProducer::OsgCameraGroup with no usage of osgGA manipulators.Removed redundent files from osgProducer. -2004-08-05 15:02 robert - * From Marco Jez, commented out info debugging messages -2004-08-05 13:41 robert +Thu, 10 Apr 2003 13:41:45 +0000 +Checked in by : Robert OSFIELD +Added support for modifying the osg::Texture*:Extensions stuctures.Added an example modifying osg::Texture::Extensions to osgtext. Optionally +compiled out by default. - * From Marco Jez, VS.NET warning fixes. -2004-08-05 12:47 robert - * Changed the popProjectionMatrix so that it didn't allow - modification on the near - and far values when clamping the projection matrix. +Thu, 10 Apr 2003 12:55:48 +0000 +Checked in by : Robert OSFIELD +Added usage of Producer::CameraGroup::isValidForRendering() to the Viewer::done() implemention so apps automatically close if one of the windows is killed. -2004-08-05 10:01 robert +Thu, 10 Apr 2003 12:11:40 +0000 +Checked in by : Robert OSFIELD +Added support for multiple graphics context to osg::VertexProgram and osg::Impostor - * Added s/getClearColor and deprecated s/getBackgroundColor(). - Re-implemented - setClearColor so that it passes on its value to - Camera::setClearColor(), and - changed OsgSceneHandler to use the Camera::getClearColor() on - each new frame - to ensure that it reflects the settings of the camera correctly. +Thu, 10 Apr 2003 10:21:20 +0000 +Checked in by : Robert OSFIELD +Changed the '-c' commandline option to '-m' to avoid overlapp with -c used for config files. -2004-08-05 08:02 robert +Thu, 10 Apr 2003 10:16:39 +0000 +Checked in by : Robert OSFIELD +Fix to the CameraGroup::setViewByMarix usage. - * Set version numbers for 0.9.7 release +Thu, 10 Apr 2003 10:02:24 +0000 +Checked in by : Robert OSFIELD +Fixed Viewer and OsgCameraGroup classes so that work properly with the Prodicer::setViewByMatrix calls. -2004-08-04 10:22 robert +Thu, 10 Apr 2003 08:25:30 +0000 +Checked in by : Robert OSFIELD +From Brede, added if (cv->getComputeNearFarMode() != osgUtil::CullVisitor::DO_NOT_COMPUTE_NEAR_FAR) to protect cv->updateCalculatedNearFar(matrix,_bbox); call to avoid inapporpriate near/far warnings. - * Added GDAL to dependencies list +Wed, 9 Apr 2003 21:53:09 +0000 +Checked in by : Robert OSFIELD +Fixes to the Impostor implementation. -2004-08-04 10:03 robert +Wed, 9 Apr 2003 13:29:12 +0000 +Checked in by : Robert OSFIELD +From Romano, ' ' now sets pause to false. - * Cleaned up the gdal-config usage to work with gdal-1.1.9 +Wed, 9 Apr 2003 11:45:41 +0000 +Checked in by : Robert OSFIELD +Added using namespace std; -2004-08-04 09:20 robert +Wed, 9 Apr 2003 11:44:32 +0000 +Checked in by : Robert OSFIELD +Added desciptions to all the demos. - * Added support for setting custom dependencies +Wed, 9 Apr 2003 10:51:13 +0000 +Checked in by : Robert OSFIELD +Added environmental variable usage to OsgCameraGroup. -2004-08-04 08:27 robert +Wed, 9 Apr 2003 10:30:24 +0000 +Checked in by : Robert OSFIELD +Added support for osg::Node::get/setNodeMask() into .osg format. - * From Norman Vine (with small tweaks by Robert Osfield), build - fixes for Cygwin +Wed, 9 Apr 2003 10:26:50 +0000 +Checked in by : Robert OSFIELD +Made the AnimationPathManipulator::home() reset the timming of the animation path so that the timing always starts at the begining of the loop. -2004-08-04 07:14 robert +Wed, 9 Apr 2003 10:13:07 +0000 +Checked in by : Robert OSFIELD +Added a setting of OsgCameraGroup::_applicateUsage to ApplicationUsage::instance() by default. - * From Brede Johansen, fixes for Win32 build +Wed, 9 Apr 2003 10:11:56 +0000 +Checked in by : Robert OSFIELD +Fixed warning. -2004-08-04 06:57 robert +Wed, 9 Apr 2003 10:10:57 +0000 +Checked in by : Robert OSFIELD +Added fallback in RenderBin::createRenderBin(const std::string& binName) which return a new RenderBin when the no prototype is found with className of binName. - * From Don Tidrow, build fix for Peformer +Wed, 9 Apr 2003 08:20:08 +0000 +Checked in by : Robert OSFIELD +Fixed type of osg::ApplicationUsage::set/getApplictionName(), updated demos accordingly.Made OsgCameraGroup set the _applicationUsage to the +osg::ApplicationUsage::instance() when no ArgumentParser is supplied. -2004-08-03 19:01 robert +Added export to osgProducer::ViewerEventAdapter. - * Brief update of news. -2004-08-03 19:00 robert - * Fixed tabbing +Tue, 8 Apr 2003 20:39:47 +0000 +Checked in by : Robert OSFIELD +Added support for key modifiers to osgProducer::EventAdapter. -2004-08-03 19:00 robert +Tue, 8 Apr 2003 20:06:37 +0000 +Checked in by : Robert OSFIELD +From Romano José Magacho da Silva, added 'p' toggle to animation path manipulator to allow animations to be paused and resumed.Added frame rate stats which are output on each repetition of the path. - * Added test for quat multiplication ordering. -2004-08-03 18:06 robert - * From Pavel Moloshtan, fix to Image copy constructor so that it - used the - correct size of image including mipmaps. +Tue, 8 Apr 2003 20:05:00 +0000 +Checked in by : Robert OSFIELD +Fixed warning. -2004-08-03 12:38 robert +Tue, 8 Apr 2003 15:47:45 +0000 +Checked in by : Robert OSFIELD +Added support for Viewer::setViewer::setView so that the internal old style osg::Camera and camera manipulators are updated correctly. - * Added include of scoped lock +Tue, 8 Apr 2003 15:18:45 +0000 +Checked in by : Robert OSFIELD +Changed the Viewer::realize() calls across to not using the threading paramter leaving it up to the Viewer to specify the mode (which by default is MultiThreaded). Added a check for the presence of osgParticle systems so that threading is disabled in this case. -2004-08-03 11:01 robert +Tue, 8 Apr 2003 13:53:28 +0000 +Checked in by : Robert OSFIELD +Set the static mouse position values in osgProducer::EventAdater to the same value as warp pointer to ensure that the now roll is encountered on warping of the pointer. - * Better macro support for switching on/off use of mutex +Tue, 8 Apr 2003 13:10:47 +0000 +Checked in by : Robert OSFIELD +Changed the KeySwichCameraManipulator::setNode() so it set all camera's attached to it. -2004-08-03 07:31 robert +Tue, 8 Apr 2003 10:59:08 +0000 +Checked in by : Robert OSFIELD +Convert dsp's to use dos endings. - * Changed the static array syntax to solve VS.NET compile warnigns, - changed - the binding of the normals, and changed the name of the textures - used. +Tue, 8 Apr 2003 10:17:44 +0000 +Checked in by : Robert OSFIELD +Cleaned up some warnings and added : LINKARGS += -Wl,multiply_defined -Wl,suppress -2004-08-02 15:56 robert +To GNUmakefile for the OSX build. - * Fixed warnings -2004-08-02 15:52 robert - * Fixed warning +Tue, 8 Apr 2003 09:48:02 +0000 +Checked in by : Robert OSFIELD +Removed the output of command line usage when no arguments are passed since this example doens't need paramters. -2004-08-02 14:52 robert +Tue, 8 Apr 2003 09:44:21 +0000 +Checked in by : Robert OSFIELD +Added Producer to the dependcies in osgwindows. - * Fixed warnigns +Tue, 8 Apr 2003 09:42:03 +0000 +Checked in by : Robert OSFIELD +Added an osg::absolute template function into osg/Math. -2004-08-02 14:52 robert +Mon, 7 Apr 2003 19:19:01 +0000 +Checked in by : Robert OSFIELD +Added support for snaping screen images from osgProducer::Viewer apps. - * Fixed warnings +Mon, 7 Apr 2003 15:11:29 +0000 +Checked in by : Robert OSFIELD +Fixes to dds plugin from Rune. -2004-08-02 14:42 robert +Mon, 7 Apr 2003 15:07:45 +0000 +Checked in by : Robert OSFIELD +Set the hardware mip map generation to false in TextureCubeMap since this extension is not implemented when texture cube mapping. - * Removed warings +Mon, 7 Apr 2003 14:57:18 +0000 +Checked in by : Robert OSFIELD +Set the fusion distance ratio to 1/300.0f to compensate for the coords of the hang gliding database being so small, this allow the scene to be viewed in stereo and still look a convincing size. -2004-08-02 13:57 robert +Mon, 7 Apr 2003 13:20:53 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlien, new osg::TextureRectangle class. - * Fixed warnings +Mon, 7 Apr 2003 12:51:00 +0000 +Checked in by : Robert OSFIELD +Added support for unref image data after apply in the osg::Texture* classes. Only unref's after all graphics context have been applied. -2004-08-02 12:19 robert +Mon, 7 Apr 2003 10:20:34 +0000 +Checked in by : Robert OSFIELD +Added osgwindows example which sets up and Producer::CameraConfig up and uses that to create multiple windows. - * Made the member variables in RenderStage and RenderBin protected +Mon, 7 Apr 2003 09:46:06 +0000 +Checked in by : Robert OSFIELD +Moved the modified tag's from osg::Texture into the osg::Texture1D,2D,3D and CubeMap classes. -2004-08-02 09:30 robert +Sun, 6 Apr 2003 21:46:48 +0000 +Checked in by : Robert OSFIELD +Added if (!_kbmcb) to handle the case where the keyboard mouse callback is pre set. - * Added glReadBuffer after each instance of glDrawBuffer to ensure - that - the any reads are done to the appropriate buffer. +Sun, 6 Apr 2003 21:32:44 +0000 +Checked in by : Robert OSFIELD +Added the usage report to the examples for when no arguments are passed to the examples. -2004-08-02 09:11 robert +Sun, 6 Apr 2003 18:18:52 +0000 +Checked in by : Robert OSFIELD +Fixed for new implemention osg OsgCameraGroup::setView(). - * From Norman Vine, fixes for Mingw +Sun, 6 Apr 2003 13:29:02 +0000 +Checked in by : Robert OSFIELD +Fixed setView to work with new OsgCameraGroup::setView -2004-08-02 07:25 robert +Sun, 6 Apr 2003 10:07:44 +0000 +Checked in by : Robert OSFIELD +Fixed handling of pixel and internal images formats. - * From Tom Jolly. a couple of small changes to osgParticle. - - "The first is with - Particle.cpp. I made a change so that when the lifetime is 0 - (lasts - forever) the sizeRange, colorRange, and alphaRange are used to - create - a random size, color, and alpha." - - "The second change is with range and SectorPlacer. The - distribution of - particles across the sector was not uniform. I added - get_random_sqrtf() - function where it is used in SectorPlacer::Place(). This seems to - make - the distribution uniform (at least when minimum radius is 0)." +Sat, 5 Apr 2003 22:24:48 +0000 +Checked in by : Robert OSFIELD +Added support for recording animation paths in the osgProducer::Viewer. -2004-08-02 07:23 robert +Sat, 5 Apr 2003 20:02:42 +0000 +Checked in by : Robert OSFIELD +Fixed manipulator to work correctly with new osgGA::GUIEventAdapter code. - * Added osgtesselate example +Sat, 5 Apr 2003 19:54:51 +0000 +Checked in by : Robert OSFIELD +Added Images/ infront of dog_left and dog_right images. -2004-08-01 10:36 robert +Sat, 5 Apr 2003 19:40:18 +0000 +Checked in by : Robert OSFIELD +Added a couple ability of offset the images relative to each other horizontally and vertically to allow better comenstation for mismatched imagery. - * From Geoff Michel, new osgtesselate example, and new features in - osgUtil::Tesselator. +Sat, 5 Apr 2003 07:19:40 +0000 +Checked in by : Robert OSFIELD +Improvements to the handling of warp pointer call on start up. -2004-08-01 08:26 robert +Sat, 5 Apr 2003 07:11:07 +0000 +Checked in by : Robert OSFIELD +Fixed the drive manipulator so its height is now 1.5m and the buffer size if 2.0m. - * Build fixes for gcc 3.4.1 support +Fri, 4 Apr 2003 19:10:37 +0000 +Checked in by : Robert OSFIELD +Implemented support for float x and y mouse positions, and normalization of mouse coords in osgGA::GUIEventAdapter, and ported osgGA camera manaipulators to use the new normalized values.Moved osgProducer across to tracking the window dimensions and ensure that the +internals values in osgProducer::EventAdapter are kept consistent. Moved +the warp pointer in Viewer across to using KeyboardMouse::positionPointer(). -2004-08-01 04:10 robert - * Removed old iv plugin -2004-08-01 04:06 robert +Fri, 4 Apr 2003 15:22:25 +0000 +Checked in by : Robert OSFIELD +Removal of trailing \ from end of couple lines in cygwin path. - * Added PROFILER support under Linux for gprof and FunctionCheck +Fri, 4 Apr 2003 11:06:09 +0000 +Checked in by : Robert OSFIELD +Improved support for toggle between full screen and non fullscreen in the osgProducer::Viewer. -2004-07-30 15:44 robert +Fri, 4 Apr 2003 08:39:58 +0000 +Checked in by : Robert OSFIELD +Added code to set the colour of each geometry to white to prevent colours from the text being inherited. - * Added beginnings of new TrackballManipulator +Thu, 3 Apr 2003 21:00:12 +0000 +Checked in by : Robert OSFIELD +Suported for mip mapping added by Rune. -2004-07-29 14:24 robert +Thu, 3 Apr 2003 14:12:09 +0000 +Checked in by : Robert OSFIELD +Fixes to the multipipe initialization. - * Added osgText to makefile +Thu, 3 Apr 2003 08:14:49 +0000 +Checked in by : Don BURNS +Changes to fix compiles on Mac OS X -2004-07-29 10:13 robert +Thu, 3 Apr 2003 07:37:08 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 - removed second copy constructor from protected section in ReaderWriterLOGO.cpp, and add osgText as a dependancy to osgtexture3D example app. - * Added detection and disabling of flattening of static transforms - which a - LightPointNode exists in the scene graph. +Thu, 3 Apr 2003 07:31:01 +0000 +Checked in by : Robert OSFIELD +Added osgText dependancy to osgtexture2D demo. -2004-07-28 19:56 robert +Wed, 2 Apr 2003 20:43:19 +0000 +Checked in by : Robert OSFIELD +Added GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB etc to the Texture header to allow compilation across platforms. - * Fixed compare(ProgramObject) and added UniformeValue::compare and - ShaderObject::compare - to support proper sorting of shaders. +Wed, 2 Apr 2003 19:41:18 +0000 +Checked in by : Robert OSFIELD +Fixes to the dds plugin. -2004-07-28 12:38 robert +Wed, 2 Apr 2003 18:26:34 +0000 +Checked in by : Robert OSFIELD +From Rune Schmidt Jensen - new dds loader. - * Replaced GL_PACK_ROW_LENGTH by GL_UNPACK_ROW_LENGTH +Wed, 2 Apr 2003 14:54:05 +0000 +Checked in by : Robert OSFIELD +Removed OSX override override of PLUGIN_DIRS. -2004-07-28 12:29 robert +Wed, 2 Apr 2003 11:57:23 +0000 +Checked in by : Robert OSFIELD +Changed colour of anisotropic text in osgtexture2D example.Removed the save test.osg call in osgkeyboard. - * From Corbin Holtz, addition of GDAL_INCLUDE and GDAL_LIB env vars - for setting - a non standard location of GDAL -2004-07-28 12:27 robert - * Added initializer for _videoWriteData and _rows pointers +Wed, 2 Apr 2003 10:50:15 +0000 +Checked in by : Robert OSFIELD +Added support for min pixel size, max pixel size and max visable distance to osgSim::LightPointNode, the max pixel size from was originally in osg::LightPoint.Added additional get/set methods to osg::LightPointNode. -2004-07-28 10:26 robert +Increased the compute pixel size by a ratio 1.41 (sqrtf(2)) to correlate the +computed size with the actual size seen on screen. - * Commented out debugging messages -2004-07-28 10:26 robert - * Fixed the flatten static transform visitor so that it checks to - see - if a drawable can be flattened or not. +Wed, 2 Apr 2003 08:22:47 +0000 +Checked in by : Robert OSFIELD +Added prefix's to ApplicationUsageProxy's and made them static to help prevent problems under OSX. -2004-07-28 08:28 robert +Tue, 1 Apr 2003 20:52:56 +0000 +Checked in by : Robert OSFIELD +Fixed std::string usage so that std::string::size_type is used where appropriate. - * Added double buffer of video imagery so that the OpenGL never - reads as Mpeg writes +Tue, 1 Apr 2003 20:32:57 +0000 +Checked in by : Robert OSFIELD +Fixes to osg::Texture's handling of anisotropy updating and hardware generate mip mapping.Added switching off generate mip map from osgText::Font.cpp. -2004-07-28 07:24 robert +Changed savedmodel.osg to saved_model.osg in ViewerEventHandler. - * From David Fries, divide by zero fix on text with a pixel size of - 0.0 -2004-07-27 15:14 robert - * Made the static mutex a pointer to a static mutex to get round a - exit - problem on deletion of the plugin. +Tue, 1 Apr 2003 18:50:36 +0000 +Checked in by : Robert OSFIELD +Changed unsigned int to std::string::size_type. -2004-07-27 13:32 robert +Tue, 1 Apr 2003 18:42:38 +0000 +Checked in by : Robert OSFIELD +Added convinience constructor. - * Clean up of debugging messages +Tue, 1 Apr 2003 18:42:17 +0000 +Checked in by : Robert OSFIELD +Added futher debugging messages to track down the x86-64 crash. -2004-07-27 13:24 robert +Tue, 1 Apr 2003 18:35:31 +0000 +Checked in by : Robert OSFIELD +Used notify for reporting the keypressing to the commandline. - * Fixed unref image so it only unref's when images are STATIC +Tue, 1 Apr 2003 16:00:33 +0000 +Checked in by : Robert OSFIELD +New osgtexture2D example code. -2004-07-27 10:23 robert +Tue, 1 Apr 2003 15:13:26 +0000 +Checked in by : Robert OSFIELD +Moved the logo plugins from the osgPlugins/logos directory to osgPlugins/logo to make it consistent with the naming of the plugin. - * Changes to fix multiple thread start. +Tue, 1 Apr 2003 15:08:30 +0000 +Checked in by : Robert OSFIELD +Bug spotted and fix by Sébastien Kuntz. Changed < to <= on Geometry.cpp, in removePrimitiveSet(), if( i+numElementsToRemove<_primitives.size() ) -2004-07-27 10:11 robert +Tue, 1 Apr 2003 13:16:02 +0000 +Checked in by : Robert OSFIELD +From Macro Jez, fixes to logo plugin under VS. - * Added support s/getImage(uint i) and getNumImages(). +Tue, 1 Apr 2003 12:00:13 +0000 +Checked in by : Robert OSFIELD +Updated NEWS.Removed writing of test.osg from osgstereoimage. -2004-07-27 09:04 robert - * Fixed double thread start problem. -2004-07-26 19:40 robert +Tue, 1 Apr 2003 11:55:29 +0000 +Checked in by : Robert OSFIELD +Added timer code to the init in OsgCameraGroup.Made the stats view 20 frames rather than 6. - * Made the handling of types more consistent -2004-07-26 14:25 robert - * Added setting of block_on_vsync of both CameraGroup and all the - Camera's that it contains. +Tue, 1 Apr 2003 11:53:34 +0000 +Checked in by : Robert OSFIELD +Cleaned up the reset of the vertex arrays in osg::State. -2004-07-25 18:46 robert +Tue, 1 Apr 2003 11:49:09 +0000 +Checked in by : Robert OSFIELD +Improved handling of subloading.Removed the rescalling of images in osg::Image during texture apply, moving +the rescale so it is locally calculated. This solves an outstanding threading +problem which occured by multiple draw threads all tried to rescale the same +image at one time. - * Changed value_type back to being a float. +Made osg::Image ptr in osg::Texture2D non mutable as it is no longer modified +during apply. -2004-07-23 10:03 robert - * From Mike Weiblen, updates to dsp to improveme formatting and - include OpenThreads -2004-07-23 09:49 robert +Tue, 1 Apr 2003 11:38:33 +0000 +Checked in by : Robert OSFIELD +From Marco, fix to the path of the osgPlugin logo. - * Fixed iddle update. +Tue, 1 Apr 2003 08:47:11 +0000 +Checked in by : Robert OSFIELD +Added extra debugging messages into the ArgumentParser::reportRemainingOptionsAsUnrecognized(ErrorSeverity severity) method to help track down a crash under x86-64. -2004-07-23 09:15 robert +Mon, 31 Mar 2003 21:41:17 +0000 +Checked in by : Robert OSFIELD +Implemented load and subload methods in osg::Texture/Texture2D. - * Added ImageStream::quit(bool) for exiting from video threads, and - added - clean up to OsgCameGroup to quit movie threads automatically. +Mon, 31 Mar 2003 12:48:33 +0000 +Checked in by : Robert OSFIELD +Made the default transparent bin be bin number 10 rather than 1 to allow more bins between it and the default opaque bin of 0.Added a check for compressed image format in osg::Texture. -2004-07-23 04:03 robert - * Made doc comments more relevant. -2004-07-22 18:34 robert +Mon, 31 Mar 2003 11:25:04 +0000 +Checked in by : Robert OSFIELD +Adding reseting of the array pointers to the dirty methods. - * Added support for OSG_OPTIMIZER="OFF" +Sun, 30 Mar 2003 11:10:56 +0000 +Checked in by : Robert OSFIELD +Removed closeLibrary reference for osgtext as this was causing problems with the osgtext help. -2004-07-22 15:41 robert +Sat, 29 Mar 2003 22:07:03 +0000 +Checked in by : Robert OSFIELD +Change the className() functions from non const to const to be consistent with the osg::Object definition. - * Fixed build +Fri, 28 Mar 2003 10:04:58 +0000 +Checked in by : Robert OSFIELD +Added Escape to the help list. Changed the help key from '?' to 'h' -2004-07-22 15:11 robert +Thu, 27 Mar 2003 18:56:23 +0000 +Checked in by : Robert OSFIELD +Moved demo references acros to being example references. - * Added more usage mutex to serialize access to Quicktime. +Thu, 27 Mar 2003 18:42:31 +0000 +Checked in by : Don BURNS +Fixed installation of demo source from src/Demos to examples -2004-07-22 12:10 robert +Thu, 27 Mar 2003 17:20:21 +0000 +Checked in by : Robert OSFIELD +Changed private to protected. - * Added support for compressing textures to osgconv, can be - accessed by - running --compressed when outputting to a .ive file. +Thu, 27 Mar 2003 17:18:59 +0000 +Checked in by : Robert OSFIELD +Fixed typo. -2004-07-22 11:59 robert +Thu, 27 Mar 2003 17:16:53 +0000 +Checked in by : Robert OSFIELD +Added -losgGA to keep things compiling across platforms. - * Added support texture compression in osgconv +Thu, 27 Mar 2003 14:39:19 +0000 +Checked in by : Robert OSFIELD +Improved stats. -2004-07-22 07:41 robert +Thu, 27 Mar 2003 13:51:40 +0000 +Checked in by : Robert OSFIELD +Added -osgText to GNUMakefiles. - * Changed _valueAnisotropy from bool to float. +Thu, 27 Mar 2003 10:58:20 +0000 +Checked in by : Robert OSFIELD +Changed the background pixel colour to white, but kept the alpha value zero. This has been done to improve the quality of the mip mapping of text. -2004-07-21 19:16 robert +Thu, 27 Mar 2003 10:54:01 +0000 +Checked in by : Robert OSFIELD +Updates to utilise the new Producer keyboard bindings. - * Added preliminary support for thread safety in various delete - GLobjects code +Wed, 26 Mar 2003 20:11:11 +0000 +Checked in by : Robert OSFIELD +Added osgText dependency to osgProducer lib. -2004-07-21 19:15 robert +Wed, 26 Mar 2003 16:48:29 +0000 +Checked in by : Robert OSFIELD +Improved the stats reporting. - * Added missing tex env mode +Wed, 26 Mar 2003 12:50:30 +0000 +Checked in by : Robert OSFIELD +Added help support for display help on screen to osgProducer::Viewer. -2004-07-21 19:14 robert +Tue, 25 Mar 2003 15:48:17 +0000 +Checked in by : Robert OSFIELD +Tweak the tex coords of fonts slightly to avoid cut off of text. - * Replaced STOPPED by PAUSED. +Tue, 25 Mar 2003 15:45:08 +0000 +Checked in by : Robert OSFIELD +Fixed axis alignment bug in text, which occured what text was placed on the XZ or YZ planes. -2004-07-21 19:04 robert +Tue, 25 Mar 2003 15:13:20 +0000 +Checked in by : Robert OSFIELD +Added a ViewerEventHandler which manages full screen, file write, and help output to osgProducer. Removed FullSreenEventHandler as it is now superseeded by ViewerEventHandler. - * From Mike Weiblen, VS formated .dsw +Tue, 25 Mar 2003 13:57:16 +0000 +Checked in by : Robert OSFIELD +Added osgkeyboard to the ./runexamples.bat.Made osgstereoimage exit when non files have been loaded. -2004-07-21 19:01 robert +Added non const getText() method. - * Removed the stop method, replacing it by pause -2004-07-21 19:01 robert - * Removed the stop method +Tue, 25 Mar 2003 13:01:34 +0000 +Checked in by : Robert OSFIELD +Spotted by Brede - missing ! -2004-07-21 19:00 robert +Tue, 25 Mar 2003 12:44:50 +0000 +Checked in by : Robert OSFIELD +Added text input field to the osgkeyboard demo. - * Removed stop method, as it overlaps the pause method. +Tue, 25 Mar 2003 12:42:06 +0000 +Checked in by : Robert OSFIELD +Added back into the win32 build of KeyboardMouseCallback the check against VK_ESCAPE. -2004-07-21 10:01 robert +Tue, 25 Mar 2003 11:28:52 +0000 +Checked in by : Robert OSFIELD +Added futher keys to complete the keyboard. - * Clean up of thread handling. +Tue, 25 Mar 2003 10:05:09 +0000 +Checked in by : Robert OSFIELD +Added a viewer.sync to the end of all the demos.Removed the Win32 remapping of keycodes from the osgProducer::EventAdapter. -2004-07-21 08:55 robert - * Double intersections distance for intersects. -2004-07-20 18:50 robert +Mon, 24 Mar 2003 23:12:47 +0000 +Checked in by : Robert OSFIELD +Added osgText dependency to osgkeyboard demo. - * From Geoff Michel, fixes. +Mon, 24 Mar 2003 23:02:08 +0000 +Checked in by : Don BURNS +changes to makedefs to support AMD 64 bit -2004-07-20 10:17 robert +Mon, 24 Mar 2003 21:17:51 +0000 +Checked in by : Robert OSFIELD +Added new osgkeyboad example. - * Added SceneView::Options for SceneView::setDefaults(options) and - OsgCameraGroup::setRealizeSceneViewOptions(options) to allow - better control - of what functionality is compiled in by default. +Mon, 24 Mar 2003 15:21:52 +0000 +Checked in by : Robert OSFIELD +Fixed typo. -2004-07-20 07:46 robert +Mon, 24 Mar 2003 15:13:00 +0000 +Checked in by : Robert OSFIELD +Added support for remapping of Win32 key symbols to osgGA::GUIEventAdpater::KeySymbols. - * From Bob Kuehne, add usage of version number to differentiate - between - rev's of the LOD. +Mon, 24 Mar 2003 13:43:22 +0000 +Checked in by : Robert OSFIELD +Added osgGA::GUIEventAdapter::KeySymbol enumate list, which is a remapping of the X settings.Added a pass through of X11 sybmbols from Producer to osgGA::GUIEventAdapter::KeySymbol +in the osgProducer::EventAdapter. -2004-07-20 05:37 robert - * Added support for releasing GLObjects, and renamed - DisplayListVisitor the - GLObjectVisitor to better fit its function, and added support for - releasing - objects as well as compiling them. -2004-07-20 05:36 robert +Mon, 24 Mar 2003 09:37:51 +0000 +Checked in by : Robert OSFIELD +Redid logo dsp. - * From Eric Sokolosky, added INVENTOR_INCLUDE and INVENTOR_LIB - vars. +Mon, 24 Mar 2003 08:42:35 +0000 +Checked in by : Robert OSFIELD +Made the osgGA::GUIEventHandler sublassed from osg::Object as a virtual inheritence to allow handler to also be used as node callbacks.Fix to UpdateVisitor to make the visitation of Drawable more consistent +with the way that nodes are traversed. -2004-07-20 05:34 robert - * Added OpenThreads mutex to protect ref()/unref(). -2004-07-19 18:56 robert +Sun, 23 Mar 2003 20:39:07 +0000 +Checked in by : Robert OSFIELD +Added Producer.lib to osgstereoimage demo. - * Fixed the position of text so it is drawn ontop of the quads. +Sun, 23 Mar 2003 20:36:55 +0000 +Checked in by : Robert OSFIELD +Converted to windows endings. -2004-07-19 18:47 robert +Sat, 22 Mar 2003 20:35:11 +0000 +Checked in by : Robert OSFIELD +Revamp of the osgstereoimage demo to provide a presentation tool for up comming "In Your Face" shows held at the Glasgow Science Center. - * From Mike Weiblen, "When launched, it creates a commandline shell - that is fully configured to - support running OSG apps from the source tree filesystems." +Sat, 22 Mar 2003 09:48:43 +0000 +Checked in by : Robert OSFIELD +Added a traverseGeode method to the UpdateVisitor which contains the traversal code for both the nodes traversal and the drawables the geode contains. -2004-07-19 18:35 robert +Fri, 21 Mar 2003 22:32:01 +0000 +Checked in by : Robert OSFIELD +Added using namespace osg and removed osg:: from CopyOp's as this was causing problems with VisualStudio's scoping bug. - * From Geoff Michel, fix for handling of texture filenames enclosed - in quotes. +Fri, 21 Mar 2003 08:30:52 +0000 +Checked in by : Robert OSFIELD +Added Prodcuer.lib and PThread*.lib to the osgcluster example. -2004-07-19 14:34 robert +Thu, 20 Mar 2003 22:13:10 +0000 +Checked in by : Robert OSFIELD +Duplicated the handling of 64 bit linux builds for ia64 and x86_64 and placed them under the seperate paths for Intel vs GNU compilers. - * Added handling of the case when texture objects are released from - underneath - the osgText::Font::GlyphTexture - something which requires a full - rebuild - of the texture object. +Thu, 20 Mar 2003 21:26:54 +0000 +Checked in by : Robert OSFIELD +Added -m64 -DARCH64 option to Linux 64 bit build. -2004-07-19 09:39 robert +Thu, 20 Mar 2003 20:38:38 +0000 +Checked in by : Robert OSFIELD +Add osg:: infront of CopyOp instances. - * Lowered level of debugging message +Thu, 20 Mar 2003 17:24:25 +0000 +Checked in by : Robert OSFIELD +Added overide of the SceneHandler::clear() making it a no-op. Will revisit this implemention later. -2004-07-19 09:03 robert +Thu, 20 Mar 2003 17:00:32 +0000 +Checked in by : Robert OSFIELD +Updates to osgProducer and osgstereoimage for stereo support.Changed the default distance from the scene of the home position of the +trackball and flight manipulators. - * Added support for --tile-image-size , --tile-terrain-size - and --comment - command line options into osgTerrain::DataSet + osgdem. -2004-07-17 10:38 robert - * From Mike Weiblen, switched of alpha test on anisotropic effect, - due to missing - write of colour. +Thu, 20 Mar 2003 14:07:03 +0000 +Checked in by : Robert OSFIELD +Added support for setting up VisualChoose with destination alpha, stencil and quad buffers attributes from DisplaySettings values. -2004-07-17 10:33 robert +Thu, 20 Mar 2003 08:58:51 +0000 +Checked in by : Robert OSFIELD +Changed the shadow texture implemention to use CLAMP_TO_BORDER for the WRAP_S and _T modes. Also set the border colour to 1,1,1,1 to ensure problem blending. - * From Mike Weiblen, updates to the psuedo loaders to add - documentation. +Thu, 20 Mar 2003 08:46:19 +0000 +Checked in by : Don BURNS +Somehow the logo plugin got left out of the windows build. Adding it back in. (Needed for BMV) -2004-07-12 21:32 robert +Thu, 20 Mar 2003 08:43:38 +0000 +Checked in by : Robert OSFIELD +Added missing setInterleavedArray( InterleaveArrayType format, float *ia, GLuint *iai ) method. - * Fixed the computePosition so it find intersections more easily. +Wed, 19 Mar 2003 21:46:44 +0000 +Checked in by : Robert OSFIELD +Added Endian test header to the core osg, and add use of the new getCpuByteOrder test in LightPointDrawable. -2004-07-12 19:54 robert +Wed, 19 Mar 2003 21:14:50 +0000 +Checked in by : Robert OSFIELD +Added getCameraManipulator(unsigned int) method. - * Added support for matix manipulator setHomePosition(,,) +Wed, 19 Mar 2003 15:57:31 +0000 +Checked in by : Robert OSFIELD +Added sync at the end of the main loop to prevent seg fault on exit. -2004-07-12 17:30 robert +Wed, 19 Mar 2003 15:49:21 +0000 +Checked in by : Robert OSFIELD +First pass fix at implementing requestWarpPointer. - * Removed enabling of use client stage storage hint. +Wed, 19 Mar 2003 15:37:28 +0000 +Checked in by : Don BURNS +Adjusted date format for versionrules -2004-07-12 13:20 robert +Wed, 19 Mar 2003 14:27:05 +0000 +Checked in by : Robert OSFIELD +Addd a full screen toggle event handler to osgProducer & its viewer base class. - * Added OPTIMIZER_TEXTURE_SETTINGS pass to Optimizer, which enables - unref image data after apply, client storage hint. +Wed, 19 Mar 2003 12:06:29 +0000 +Checked in by : Robert OSFIELD +Added a realize callback to the OsgCameraGroup.Move osgtexture3D across to using the new realize callback for creating its textures. -2004-07-12 13:13 robert - * Added debugging message, currently commented out. -2004-07-12 10:23 robert +Wed, 19 Mar 2003 10:28:19 +0000 +Checked in by : Robert OSFIELD +Fixed crash in osgoccluder which was calling setUpViewer and the osgProducer/Viewer was assuming that the update was always set. - * Added unref image data on apply automatically to all textures - being loaded. +Wed, 19 Mar 2003 02:31:22 +0000 +Checked in by : Don BURNS +Fixed a globalState setting order in OsgCameraGroup::realize() -2004-07-12 09:43 robert +Tue, 18 Mar 2003 20:27:09 +0000 +Checked in by : Robert OSFIELD +Chaned the OsgCameraGroup so that its scene handler list used ref_ptr<> for robustly managing memory. - * Reduced the pan sensitive on the trackball +Tue, 18 Mar 2003 20:10:51 +0000 +Checked in by : Robert OSFIELD +Added a clear of allocated Records and the cache's in flt::Registry to prevent memory leaks and unneccesary references to model models remaining beyond the scope of the loader. -2004-07-12 09:17 robert +Tue, 18 Mar 2003 20:02:02 +0000 +Checked in by : Don BURNS +Set VERSION_RELEASE back to 3, replaced guards in include/osg/Verson to OSG_VERSION_ with trailing underscore - * Reduced the sensitivity of the pan. +Tue, 18 Mar 2003 19:42:34 +0000 +Checked in by : Robert OSFIELD +From Tree, added SG_EXPORT to the inner classes for Java binding work. -2004-07-12 01:01 robert +Tue, 18 Mar 2003 18:40:19 +0000 +Checked in by : Don BURNS +Added support for versioning to the build system - * Added a more flexible variable on the textured quad generation - function +Tue, 18 Mar 2003 09:29:06 +0000 +Checked in by : Robert OSFIELD +From Tree, ushort renamed GLushort -2004-07-11 23:07 robert +Mon, 17 Mar 2003 22:53:46 +0000 +Checked in by : Robert OSFIELD +Implemented a object cache in osgDB::Registry. - * Made debugging message write to osg::INFO instead of osg::NOTICE +Mon, 17 Mar 2003 20:08:36 +0000 +Checked in by : Robert OSFIELD +Added inc and links for local Producer. -2004-07-11 21:46 robert +Mon, 17 Mar 2003 09:51:19 +0000 +Checked in by : Robert OSFIELD +break from osgcluster main loop added for when the master send a killed messsage to slaves. - * Added CLUSTER_CULLING mask to CullSettings, and modified the - ClusterCullingCallback - to use the mask to see if cluster culling is enabled or disabled. +Sun, 16 Mar 2003 22:00:42 +0000 +Checked in by : Robert OSFIELD +Fixes for new beta release of VS.NET -2004-07-11 16:38 robert +Sun, 16 Mar 2003 21:58:27 +0000 +Checked in by : Robert OSFIELD +Fixes to osgcluster demo as new Producer based example.Added extra pragrma remove a warning about float to int cast under VS.NET. - * Added ability to control the number of slices and the amount of - the volume clipped. -2004-07-09 20:58 robert - * Fixed cluster culling. +Sat, 15 Mar 2003 20:41:05 +0000 +Checked in by : Robert OSFIELD +Removed the GNUMakefile for the old Demos directory. -2004-07-09 15:42 robert +Sat, 15 Mar 2003 20:20:46 +0000 +Checked in by : Robert OSFIELD +Removed osgGLUT and Demos/*.Integrated Marco's updated examples/*/*.dsp's. - * Compiles fixes for VS.6.0 -2004-07-09 15:41 robert - * VS.NET Warning fixes from Stephane +Sat, 15 Mar 2003 16:41:27 +0000 +Checked in by : Robert OSFIELD +Added osgpbuffer example source. -2004-07-09 15:33 robert +Sat, 15 Mar 2003 09:20:11 +0000 +Checked in by : Robert OSFIELD +Added VisualStudio .dsp's for the new osgProducer based examples. - * Added osgText to dependency list of osgsimulation example +Sat, 15 Mar 2003 08:01:41 +0000 +Checked in by : Don BURNS +Added -losgGA to all GNUmakefiles in examples. Added one std:: in front of an endl in osgunittests.cpp -2004-07-09 15:26 robert +Fri, 14 Mar 2003 21:01:35 +0000 +Checked in by : Robert OSFIELD +Moved code across to use the new ArgumentParser. - * Changed std::min definition to osg::minimum to avoid STOOOPID MS - conficts. +Fri, 14 Mar 2003 20:35:45 +0000 +Checked in by : Robert OSFIELD +Ported osgGLUT based src/Demos across to being osgProducer based, and placed them in the new examples/ directory. -2004-07-09 15:24 robert +Fri, 14 Mar 2003 10:49:06 +0000 +Checked in by : Robert OSFIELD +Ported all glut based demos across to using the new osg::ArgumentParser. - * Clean up of commandline options +Fri, 14 Mar 2003 09:28:34 +0000 +Checked in by : Robert OSFIELD +The wrong file name was being used readFontFile. -2004-07-09 15:21 robert +Fri, 14 Mar 2003 02:29:34 +0000 +Checked in by : Don BURNS +Removed the building of the osgTXP library so the build system builds only the plugin. Building both the plugin and the library causes a race condition during parallel makes. - * Improvements to the handling of coordinate system nodes +Thu, 13 Mar 2003 14:29:16 +0000 +Checked in by : Robert OSFIELD +Reverted Don's changed of sqrtf to sqrt. Don't understand why the change was required, suggest a problem elsewhere which should be fixed, *not* by modification of Vec2. -2004-07-09 12:14 robert +Thu, 13 Mar 2003 09:22:30 +0000 +Checked in by : Robert OSFIELD +From Gabor Dorka, Added d to /MDd option for debug build of osgText. - * Clean up of debugging information. +Thu, 13 Mar 2003 06:22:31 +0000 +Checked in by : Don BURNS +Fixes for Mac OS X -2004-07-09 08:22 robert +Thu, 13 Mar 2003 02:53:40 +0000 +Checked in by : Don BURNS +Various changes to the BUILD system: o Object files now go in subdirectories named $(OS)$(ARCH).Opt and + $(OS)$(ARCH).Debug for OS's that support both architectures. + eg. Linux32.Opt and Linux32.Debug - * From Mike Weiblen, "mods based on those Bob Kuehne posted. - - updated to the latest ARB-approved GLSL version query - mechanism. - - updated enums to the latest official glext.h - - fixed some TODOs" + o Libraries links are now placed in lib/$(OS)$(ARCH) + eg. lib/Linux32/ -2004-07-08 22:28 robert + o Binaries are now placed in bin/$(OS)$(ARCH) + eg. bin/Linux32 - * Added new coputeActiveCooridnateSystemNodePath method + o 'make install' and 'make instlinks' now place files/links in + /usr/local/{include,lib,share/OpenSceneGraph} by default on + most systems (Solaris still goes in /opt/OpenSceneGraph). + Rather than having the somwehat confusing INST_SYS_PREFIX and + INST_SHARE_PREFX, you can override these with just + INST_LOCATION + For example, + make INST_LOCATION=/usr + will place files at /usr/include, /usr/lib, + /usr/share/OpenSceneGraph. -2004-07-08 22:12 robert - * Replaced the custom MyTexGen class with a standard TexGen, and - utilised the - new RenderStage addPositionedTextureAtribute method. -2004-07-08 22:11 robert +Wed, 12 Mar 2003 21:02:04 +0000 +Checked in by : Robert OSFIELD +Changed the GNUMakefile for the osgproducer demo to use INC += instead of CXXFLAGS. - * Made the local storage of a StateAttribute* be a ref_ptr<> +Wed, 12 Mar 2003 20:10:43 +0000 +Checked in by : Don BURNS +Removed osgPlugins from lib, which is now built on the fly -2004-07-08 22:10 robert +Wed, 12 Mar 2003 15:36:26 +0000 +Checked in by : Robert OSFIELD +Fix from Gabor for proper casting of char's to unsigned ints be setting up the osgText::String. - * Made the constructor's default value for _lightingMode be - NO_SCENEVIEW_LIGHT +Wed, 12 Mar 2003 14:01:49 +0000 +Checked in by : Robert OSFIELD +Moved the platform specific directory defs out of makedefs into makediredefs, and have standardised onto single instances where possible. -2004-07-07 15:05 robert +Wed, 12 Mar 2003 13:54:59 +0000 +Checked in by : Robert OSFIELD +Added 'w' toggle to StateSetManipulator to toggle between filled, line and point polygon drawing modes. - * Added lighting and materials to volume subgraph +Wed, 12 Mar 2003 12:17:57 +0000 +Checked in by : Robert OSFIELD +Changed std::min to osg::minimum. -2004-07-07 13:19 robert +Wed, 12 Mar 2003 11:50:02 +0000 +Checked in by : Robert OSFIELD +Added -losgText - * From Vasily Radostev, fixed Billboard compute near/far bug due to - typo of bbCornerFar. +Wed, 12 Mar 2003 11:36:55 +0000 +Checked in by : Robert OSFIELD +Added missing osghud Makefile. -2004-07-07 11:29 robert +Wed, 12 Mar 2003 10:39:43 +0000 +Checked in by : Don BURNS +1) Replaced all Makefile* with GNUmakefile*.2) Changed Makedepend system to make individual dependency files, which + should save time rebuilding dependencies by limiting the regeneration + of dependency file for only modified source files. - * Added automatic scaling of the minimum distance to cope with - models of - small dimensions. -2004-07-07 11:28 robert - * Added automatic setting of the verical scale when the destination - coordinate - system is geographic (i.e. lats and longs.). +Wed, 12 Mar 2003 09:45:12 +0000 +Checked in by : Robert OSFIELD +Added (unsigned int) cast to the call to osg::minimum. -2004-07-07 09:04 robert +Tue, 11 Mar 2003 21:53:28 +0000 +Checked in by : Robert OSFIELD +Added setBound() method to Drawable. - * Added support for automatically computing the local skirt - orientation +Tue, 11 Mar 2003 21:42:55 +0000 +Checked in by : Robert OSFIELD +Added missing osg:: to StateAttribute. -2004-07-06 15:10 robert +Tue, 11 Mar 2003 15:25:49 +0000 +Checked in by : Robert OSFIELD +Added support for AbortRendering flag pointer in osg::State which is used by osgUtil::RenderLeaf to test if any abort state has been set, if so it doesn't do any further drawing.The osgProducer::Viewer has been set up to set the osg::State's it manages +with their AbortRendering flag pointers set to the osgProducer::Viewer::_done +memeber varaible. Now when escape is pressed the rendering is aborted early. - * Added mutex to image stream thread to serialize calls to - Quicktime. -2004-07-06 13:00 robert - * From Geoff Michel, replaced used C style FILE with iostream. +Tue, 11 Mar 2003 13:30:03 +0000 +Checked in by : Robert OSFIELD +Bug fixes to osgText to handle the osgUtil::Optimizer being used on a scene graph containing text.Fixed warning in MD2 plugin. -2004-07-06 12:32 robert - * Removed debugging message -2004-07-06 12:15 robert +Tue, 11 Mar 2003 13:24:28 +0000 +Checked in by : Robert OSFIELD +Added missing osgDB:: to writeArray() usage. - * Fixed warning. +Mon, 10 Mar 2003 16:40:26 +0000 +Checked in by : Robert OSFIELD +Improvements to the Text .osg support. -2004-07-06 12:14 robert +Mon, 10 Mar 2003 12:06:17 +0000 +Checked in by : Robert OSFIELD +Addded new osgProducer based osgreflect demo. - * Changed the default mipmapping mode to record the mipmaps in the - images in the generated databases. +Mon, 10 Mar 2003 11:59:41 +0000 +Checked in by : Robert OSFIELD +Moved the RenderLeaf implementatation across to always applying matrices before state, which fixes problem that can occur with state that needs the current model view or projection matrices.Changes osgreflect so that it uses ClipNode rather than clip plane, thereby +fixing the problems which occur when the above is applied. -2004-07-06 06:13 robert +Create a new osgProducer version of the original GLUT based version. - * Added GL_TEXTURE_DEPTH #define for Win32 build -2004-07-06 06:05 robert - * Fixed build after Image change +Mon, 10 Mar 2003 11:57:17 +0000 +Checked in by : Robert OSFIELD +Marged new getLibaryMethod added by Daniel. -2004-07-05 21:46 robert +Mon, 10 Mar 2003 09:15:59 +0000 +Checked in by : Robert OSFIELD +Moved the remain inline osg::Font methods into Font.cpp to avoid problems with the impossibly stupid visual studio compilers. - * Added dealloc or previous image data into readImageFromTexture +Sat, 8 Mar 2003 21:39:40 +0000 +Checked in by : Robert OSFIELD +Fixed examples/osghud and osgtext Makefile's to include osgText. -2004-07-05 21:09 robert +Sat, 8 Mar 2003 09:51:41 +0000 +Checked in by : Robert OSFIELD +Removed the OSGTEXT_EXPORT symbol from FontImplementation to avoid problems under VisualStudio. - * Added suppor for copying mipmaps of compressed textures +Fri, 7 Mar 2003 21:05:35 +0000 +Checked in by : Robert OSFIELD +Fixes for IRIX build. -2004-07-05 16:21 don +Fri, 7 Mar 2003 09:04:04 +0000 +Checked in by : Robert OSFIELD +From Daniel Sjolie, support for light source. - * Changed internal formatt on jpeg loader to be GL_RGB, GL_RGBA, - etc. rather - than numComponents. +Fri, 7 Mar 2003 08:52:51 +0000 +Checked in by : Robert OSFIELD +Fix to comment record and longID length using both inbedded null's and rec length to determine the length of a string. -2004-07-05 09:04 robert +Thu, 6 Mar 2003 21:35:33 +0000 +Checked in by : Robert OSFIELD +Added maximum width and maximum height limits to the osgText::Text which automatically wraps text which goes beyond these limits. - * From Ulrich Hertlein, added check for detailRatio<=0.0 +Thu, 6 Mar 2003 19:41:59 +0000 +Checked in by : Robert OSFIELD +Reverted the changes to ref_ptr<> for implicit cast to pointer. -2004-07-05 07:42 robert +Thu, 6 Mar 2003 17:11:24 +0000 +Checked in by : Robert OSFIELD +Changed the osgText::Font implementation so it used a facade us abstract away the actual implemention. This has been done so that when a freetype font is created the implementation can unloaded when the freetype plugin is unloaded without breaking the main font.Also add image margin around founds to prevent any image boundaries appearing. - * Fixed missing member variable initialized varaibles -2004-07-02 14:46 robert - * Change the light in LightSource from a generic - osg::StateAttribute to - a osg::Light. +Thu, 6 Mar 2003 13:45:20 +0000 +Checked in by : Robert OSFIELD +Reverted the ref_ptr<> implementation to prior implicit cast operator via commenting out// #define AUTOMATIC_CAST_TO_POINTER. -2004-07-02 14:45 robert +Thu, 6 Mar 2003 11:18:38 +0000 +Checked in by : Robert OSFIELD +Renamed Text::TextString String. - * Added setFunction and setReferenceValue method +Thu, 6 Mar 2003 10:38:56 +0000 +Checked in by : Robert OSFIELD +Fixed the setInterleavedArray call. -2004-07-02 14:43 robert +Thu, 6 Mar 2003 10:38:31 +0000 +Checked in by : Robert OSFIELD +Add #ifndef's around the comparison operator's against const T* now that the implicit cast operator has been added. - * Added normal setting to slice planes +Wed, 5 Mar 2003 21:05:37 +0000 +Checked in by : Robert OSFIELD +Added osgText::String implementation to better handle decoding of encoded text. -2004-07-01 14:30 robert +Wed, 5 Mar 2003 21:04:11 +0000 +Checked in by : Robert OSFIELD +Added implicit cast to T* to ref_ptr<>. - * Clean up of osgvolume +Wed, 5 Mar 2003 21:02:37 +0000 +Checked in by : Robert OSFIELD +Made the State::setInterleavedArrays method use a const GLvoid*. -2004-07-01 14:29 robert +Wed, 5 Mar 2003 20:18:12 +0000 +Checked in by : Robert OSFIELD +Fix for non standard compiliant Forte compilers. - * Added osgvolume +Wed, 5 Mar 2003 19:31:55 +0000 +Checked in by : Don BURNS +added directives for intel compilers -2004-07-01 14:27 robert +Wed, 5 Mar 2003 14:02:48 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build. - * Changed the generation of primtive set to use DrawElementsUShort - for even - index sets that can be represented by UBytes, thisis to try to - keep to - fast paths more likely to be supported by graphics drivers. +Wed, 5 Mar 2003 12:28:42 +0000 +Checked in by : Robert OSFIELD +Updates to the GLUT and Producer text demo.Fix to text to better handle unsetting of vertex arrays. -2004-07-01 14:22 robert - * Fixed indenting -2004-07-01 13:53 robert +Wed, 5 Mar 2003 09:56:56 +0000 +Checked in by : Robert OSFIELD +Added md2 plugin from Vladimir Vukicevic. - * Moved the radius parameter from PageLOD into LOD. +Wed, 5 Mar 2003 09:08:11 +0000 +Checked in by : Robert OSFIELD +Updates to Text for Sun Forte compilers. -2004-06-30 19:07 robert +Tue, 4 Mar 2003 19:52:32 +0000 +Checked in by : Robert OSFIELD +Added std:: infront of cout references. - * Added support for using pixel size control of LOD levels. +Tue, 4 Mar 2003 17:14:42 +0000 +Checked in by : Robert OSFIELD +Updates to the new osgtext example and fix to the friend usage. -2004-06-30 14:43 robert +Tue, 4 Mar 2003 15:47:28 +0000 +Checked in by : Robert OSFIELD +Added support for using the generate mip map extension within osgText. - * Maded the image filename handling more consistent. +Tue, 4 Mar 2003 14:25:12 +0000 +Checked in by : Robert OSFIELD +Added osgProducer project to larget list. -2004-06-30 14:37 robert +Tue, 4 Mar 2003 14:17:39 +0000 +Checked in by : Robert OSFIELD +Added osgProducer project file. - * Completed support for "--levels min max" option where the levels - that a - source imager or DEM contributes to. +Tue, 4 Mar 2003 12:34:42 +0000 +Checked in by : Robert OSFIELD +Further improvements to osgText and the freetype plugin, handling different font sizes better and plugin removal safely. -2004-06-30 09:02 robert +Tue, 4 Mar 2003 09:08:04 +0000 +Checked in by : Robert OSFIELD +Renamed "libunfreetype.lib" to "freetype.lib" - * Fixed handling of PROCTED/OVERRIDE +Mon, 3 Mar 2003 22:47:50 +0000 +Checked in by : Robert OSFIELD +Added examples/osghud - a osgProducer port of the old osghud demo. -2004-06-30 07:26 robert +Mon, 3 Mar 2003 22:18:33 +0000 +Checked in by : Robert OSFIELD +Updates osghud demo.Compile fixes for VisualStudio6.0 because its a hideous pile of junk and can't +compile its way out of a paper bag. - * Changed const int to #define for VS6.0 build -2004-06-29 15:04 robert - * From Pavel Moloshtan, added support for storing primitive sets in - VBO's +Mon, 3 Mar 2003 20:28:07 +0000 +Checked in by : Robert OSFIELD +Fix for warning under Windows. -2004-06-29 14:58 robert +Mon, 3 Mar 2003 20:24:49 +0000 +Checked in by : Robert OSFIELD +Typo fix. - * Improved the handling of normal lighting +Mon, 3 Mar 2003 20:12:18 +0000 +Checked in by : Robert OSFIELD +Compile fixes to osgText. -2004-06-29 13:59 robert +Mon, 3 Mar 2003 16:42:48 +0000 +Checked in by : Robert OSFIELD +Added search path to osgText::readFontFile. - * Added osgvolume example +Mon, 3 Mar 2003 16:12:00 +0000 +Checked in by : Robert OSFIELD +Changed the ownership of Glyph's so that GlyphTexture's own a reference to Glyph's as well as Font's so keeping the Font valid even after the Font itself has been desctructed. -2004-06-29 08:03 robert +Mon, 3 Mar 2003 15:36:52 +0000 +Checked in by : Robert OSFIELD +Fixes to osgText for default parameter. - * Fixed parsing of internalTextureFormat. +Mon, 3 Mar 2003 11:04:15 +0000 +Checked in by : Robert OSFIELD +Fixes for the new osg::Image::setImage() parameter, from Ulrich Hertlein. -2004-06-28 22:09 robert +Mon, 3 Mar 2003 11:02:35 +0000 +Checked in by : Robert OSFIELD +Updates to the quicktime plugin from Bob Kuehne. - * Re-organised Texture::computeInternalFormatWithImage() to avoid - testing - for extensions when not required. +Mon, 3 Mar 2003 10:20:24 +0000 +Checked in by : Robert OSFIELD +Added project file for new freetype plugin. -2004-06-28 21:39 robert +Mon, 3 Mar 2003 09:37:02 +0000 +Checked in by : Robert OSFIELD +Added support for computing bounds of text. - * Fixed warnings. +Sun, 2 Mar 2003 21:05:05 +0000 +Checked in by : Robert OSFIELD +First cut of new osgText implementation. -2004-06-28 20:47 robert +Thu, 27 Feb 2003 08:43:02 +0000 +Checked in by : Robert OSFIELD +Changed incorrect instance "TRUE" to "FALSE" to match DepthMask state. - * From Matt Burke, typo fix on getMinimumDistance(). +Thu, 27 Feb 2003 08:38:53 +0000 +Checked in by : Robert OSFIELD +Changed the title of the ReaderWriter, removing the "Default" word as its no longer appropriate. -2004-06-28 15:09 robert +Tue, 25 Feb 2003 21:00:26 +0000 +Checked in by : Robert OSFIELD +Added using namespace Producer to get round scoping issues associated with trying to support VS6 and the rest of the compiler world. - * Added .osg support for new TexGenNode +Tue, 25 Feb 2003 12:28:16 +0000 +Checked in by : Robert OSFIELD +Renamed osgProducer::CameraGroup and SceneHandler to OsgCameraGroup and OsgSceneHandler to avoid the namespace bug under VS6.Removed the osgproducer demo (its now been replaced by examples/osgviewer.) -2004-06-28 14:18 robert - * Fixed warning -2004-06-28 13:18 robert +Tue, 25 Feb 2003 11:56:18 +0000 +Checked in by : Robert OSFIELD +Added osg::Image::AllocationMode enum and associated set/get methods. osg::Image::setImage has also been modified to require the AllocationMode mode to be passed to it so that it knows how to delete the data once the image goes out of scope.Port the image plugins across to specify the new AllocationMode, and converted +them across to using new/delete in place of malloc/free. - * From Michael Logan, build fix for Performer plugin -2004-06-28 13:18 robert - * From Michael Gronager, added support for alpha channel in writing - of BMP images +Mon, 24 Feb 2003 12:02:00 +0000 +Checked in by : Robert OSFIELD +Implemented an osg::minimum and osg::maximum template functions to replace the std::min/max functions previously used in parts of the osg, since the std::min/max methods do not seem implemented under IRIX. -2004-06-28 12:52 robert +Sun, 23 Feb 2003 17:01:05 +0000 +Checked in by : Robert OSFIELD +Ported osgstereoimage to use osgProducer, added it to the examples directory.Added a osgProducer::CameraGroup::getSceneHanderList() methods. - * From Eric Sokolowsky. Added missing blend modes into .osg reading - and writing - and fixed typo. -2004-06-28 10:00 robert - * From Terry Welsh, added support for reading and writing - osg::FragmentProgram - local parameters. +Sun, 23 Feb 2003 15:50:57 +0000 +Checked in by : Robert OSFIELD +Fixes to try and keep OSX and Win32 compiling with the new usage of std::max. -2004-06-28 09:05 robert +Fri, 21 Feb 2003 20:22:32 +0000 +Checked in by : Robert OSFIELD +Added #include to keep OSX build compiling.Reverted the mymax implementation to std::max, hopefully this should be ok now +that we have standardised on non native STL under VisualStudio. - * From Bob Kuehne, add additional check in osgconv to handles - modules that don't load gracefully. -2004-06-17 15:07 robert - * Added handling of GL_INTENSITY in - osg::Image::computeNumComponents() +Fri, 21 Feb 2003 14:05:39 +0000 +Checked in by : Robert OSFIELD +Added examples directory, a place for all new OSG demo code.Added osgcameragroup, osgviewer, osgtext, osgconv to the new examples directory. -2004-06-17 14:39 robert - * Added first stage of support for "--levels min max" in - osgdem/osgTerrain where - this option controls which levels that an associated imager or - DEM contributes - to the final model. -2004-06-17 14:02 robert +Thu, 20 Feb 2003 21:58:47 +0000 +Checked in by : Robert OSFIELD +Added std:: infront of cout. - * Added support for setting texture units in the new TexGenNode. +Thu, 20 Feb 2003 21:52:50 +0000 +Checked in by : Robert OSFIELD +Changed the license details across to OSGPL instead of GPL. -2004-06-16 15:05 robert +Wed, 19 Feb 2003 21:37:12 +0000 +Checked in by : Robert OSFIELD +Added missing std:: infront of string usage. - * From Loic Dachary, added missing copy contructor operations. +Wed, 19 Feb 2003 11:32:15 +0000 +Checked in by : Robert OSFIELD +Added check into the application usage list of command line args for unrecognized options to prevent unprocessed, but valid options being classed as unrecognized. -2004-06-16 06:02 robert +Wed, 19 Feb 2003 10:43:02 +0000 +Checked in by : Robert OSFIELD +Added keyboard mouse binding usage to the osg::ApplicationUsage and osgGA::GUIEventHandler and its subclasses. - * From David Fries, small treak to debugging output. +Tue, 18 Feb 2003 21:58:40 +0000 +Checked in by : Robert OSFIELD +Completed first pass at providing commandline option usage via the new osg::ArgumentPareser and osg::ApplicationUsage classes. The osgproducer demo has been implemented using these new mechansims. -2004-06-15 12:31 robert +Tue, 18 Feb 2003 21:10:42 +0000 +Checked in by : Robert OSFIELD +Made the osg::ApplicationUsage forward declared.Added include of ostream to ArgumentParser header. - * Added include of osg/ClusterCullingCallback -2004-06-15 12:26 robert - * Added Marco's AutoTransform.cpp +Tue, 18 Feb 2003 19:45:53 +0000 +Checked in by : Don BURNS +std::cout replaced cout -2004-06-14 20:14 robert +Tue, 18 Feb 2003 16:36:42 +0000 +Checked in by : Robert OSFIELD +Added new osg::ApplicationUsage and osg::ArgumentParser to help streamline application/example developement. - * Fixed deprecated #idef +Tue, 18 Feb 2003 14:00:31 +0000 +Checked in by : Robert OSFIELD +Removed non implemented method convertWideString(const char* text) from header -2004-06-14 20:12 robert +Tue, 18 Feb 2003 11:33:55 +0000 +Checked in by : Robert OSFIELD +Added reference to Group in the RegisterDotOsgWrapperProxy. - * From Marco Jez, implemented I/O support for the AutoTransform - node. +Tue, 18 Feb 2003 10:50:57 +0000 +Checked in by : Robert OSFIELD +Added missing ; -2004-06-14 20:11 robert +Tue, 18 Feb 2003 09:12:27 +0000 +Checked in by : Robert OSFIELD +Removed linking to osgGLUT/GLUT in the osgconv program. - * Fixed #ifdef USE_DEPRECATED_API +Sat, 15 Feb 2003 19:51:53 +0000 +Checked in by : Robert OSFIELD +Fixes to RenderToTextureStage to account for the cull/draw traversal no longer using reference counting of statesets.Moved last uint reference over to unsigned int. -2004-06-14 20:10 robert - * Improved precision of AnimationPath IO. -2004-06-14 19:34 robert +Fri, 14 Feb 2003 22:32:29 +0000 +Checked in by : Robert OSFIELD +Moved osghanglide back to pure osgGLUT based, removing osgProducer pathways. - * Changed Billboard::g/setPos(..) to g/setPosition(..). +Fri, 14 Feb 2003 20:27:23 +0000 +Checked in by : Robert OSFIELD +More work on uint -> unsigned int. -2004-06-14 19:31 robert +Fri, 14 Feb 2003 19:47:59 +0000 +Checked in by : Robert OSFIELD +MOre work on uint -> unsigned int. - * Fixed tabbing. +Fri, 14 Feb 2003 16:52:47 +0000 +Checked in by : Robert OSFIELD +Renamed futher uint/ushort instances. -2004-06-14 19:30 robert +Fri, 14 Feb 2003 11:41:52 +0000 +Checked in by : Robert OSFIELD +Removed last of the uint references. - * Added extra constructor to make it more convinient to create - AlphaFunc. +Thu, 13 Feb 2003 15:37:32 +0000 +Checked in by : Robert OSFIELD +Added support for ClipNode in the .osg plugin. -2004-06-14 19:20 robert +Thu, 13 Feb 2003 15:16:04 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, updates to the Geo plugin.Removed osg::uint reference form the pfb plugin. - * Tweaked comments. -2004-06-14 19:17 robert - * Removed old UserData comment which was non longer relevant. +Wed, 12 Feb 2003 19:20:47 +0000 +Checked in by : Robert OSFIELD +Removed include/osg/Types header defining osg::ubyte, osg::ushort etc. Changed any reference to these in the distribution across to using unsigned char, unsigned short etc. This has been done to keep the OSG code more opaque to what types are. -2004-06-14 19:14 robert +Wed, 12 Feb 2003 14:39:51 +0000 +Checked in by : Robert OSFIELD +Merged linkage changes from Duncan Cavens to help the OSG osgtext and osghud demo's build cleanly even when a previous version of the OSG is installed. - * Fixed typos. +Wed, 12 Feb 2003 12:02:25 +0000 +Checked in by : Robert OSFIELD +From Norman Vine, updates to TXP plugin so that the Cygwin build uses pthreads. -2004-06-14 19:11 robert +Wed, 12 Feb 2003 10:10:03 +0000 +Checked in by : Robert OSFIELD +Add if (!textureStateSet) return check to replace assert() to prevent crashes when multi-texture layers don't exist. - * Added new TexGenNode class for positioning tex gens. +Wed, 12 Feb 2003 09:52:27 +0000 +Checked in by : Robert OSFIELD +Added if (!null) guard around description strings. -2004-06-11 21:27 robert +Tue, 11 Feb 2003 19:23:19 +0000 +Checked in by : Don BURNS +From Tom Jolley: I was converting a pfb file to osg and had trouble with a missing image library. I added -all in front of -limage where PFLIBS is defined in Make/makedefs to solve my problem. - * Fixed handling of skylight and headlight options in - osgProducer::Viewer. +Tue, 11 Feb 2003 15:54:31 +0000 +Checked in by : Robert OSFIELD +Made the Professional services subscript optional - use "osglogo ps" to enable it. -2004-06-11 21:05 robert +Tue, 11 Feb 2003 12:37:48 +0000 +Checked in by : Robert OSFIELD +Clean up of the logo demo. - * Added better debugging messages for verify bindings. +Mon, 10 Feb 2003 22:15:04 +0000 +Checked in by : Don BURNS +Used INC instead of CXXFLAGSGVS: ---------------------------------------------------------------------- -2004-06-11 21:05 robert - * Changed the color binding to better reflect the settings in the - OpenFlight file. -2004-06-11 21:00 robert +Mon, 10 Feb 2003 16:48:53 +0000 +Checked in by : Robert OSFIELD +Removed the osg::notify() calls from the RenderBin prototype construction to avoid problems under OSX with construction/deletion of std::cout/cerr. - * Added further checks for _node validity. +Mon, 10 Feb 2003 15:16:51 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, updates to the Geo loader including handling of .geo files from the rc1 of the GEO modeller. -2004-06-11 20:57 robert +Mon, 10 Feb 2003 15:01:27 +0000 +Checked in by : Robert OSFIELD +From Tree, added support for using wchar_t strings with osg::Text/EncodedText. - * Added checks against null to prevent crashes when the terrain - manipulator is set up before - a node has been attached. +Mon, 10 Feb 2003 14:47:20 +0000 +Checked in by : Robert OSFIELD +Updates from Ulrich for sharing of textures. -2004-06-11 14:49 robert +Mon, 10 Feb 2003 14:31:05 +0000 +Checked in by : Robert OSFIELD +Rename of INSTALL to INSTALL.txt, etc. to help OSX case insentivity issues. - * Added missing setColorBinding() into - ConvertFromFLT::setMeshColors(). +Mon, 10 Feb 2003 14:23:31 +0000 +Checked in by : Robert OSFIELD +Changed int to GLint for OSX build. -2004-06-10 15:43 robert +Mon, 10 Feb 2003 13:58:39 +0000 +Checked in by : Robert OSFIELD +Minor fixes to ReaderWriter and Paragraph to help work with use of Doxygen.Fix to CullVisior to handle the new no referenced counted cull and draw traversal. - * From Troy Yee, fixes to handling meshes. - From Robert Osfield, replaced assert(0)'s with error messages. -2004-06-10 05:27 robert - * Added CluserCullingCallback +Wed, 5 Feb 2003 23:13:27 +0000 +Checked in by : Don BURNS +Right, em.... fixed eh.. problem with destruction of RenderBin prototype list -2004-06-09 20:18 robert +Fri, 31 Jan 2003 23:46:15 +0000 +Checked in by : Robert OSFIELD +Fixed infinite loop in osgProducer::CameraGroup::advance(). - * Compile fix w.r.t new CoordinateSystemNode. +Fri, 31 Jan 2003 00:44:56 +0000 +Checked in by : Robert OSFIELD +Port of osghangglide to use osg producer. Default build still uses GLUT. -2004-06-09 16:28 robert +Thu, 30 Jan 2003 23:02:32 +0000 +Checked in by : Robert OSFIELD +Added FrameStats support into osgProducer lib, and removed them from the osgproducer demo.Removed the producer config files osgproducer demo. - * Changed the *(itr++) instances with *(itr), *(itr+1) with a - seperate itr+=n etc. This - has been done to avoid VC6.0 optimization ordering problems. +Added a search the osgDB::DataFilePath for the producer config file. -2004-06-09 15:11 robert - * Added CoordinateSystemNode::set(const CoordinateSystemNode&) - method to conviniently - set up a coordindate system. -2004-06-09 15:06 robert +Thu, 30 Jan 2003 21:46:57 +0000 +Checked in by : Robert OSFIELD +Fix for endianess of colour set up of RGBA values. - * Added proper mapping of format and coordinate system. +Thu, 30 Jan 2003 16:11:39 +0000 +Checked in by : Robert OSFIELD +Fixed warning in osgTextAdded getBound() to begining of osgProducer::CameraGroup::frame() to ensure +that the parallel cull traversals don't all do a getBound(). -2004-06-09 15:00 robert +Added osgProducer::CameraGroup::getTopMostSceneData() convinience method. - * Added CoordinateSystem::s/getFormat(). -2004-06-09 13:06 robert - * Cleaned up float vs double types in Vec*d and Vec2f classes +Thu, 30 Jan 2003 01:31:22 +0000 +Checked in by : Robert OSFIELD +From Max, fixes to UniCode support for bitmap fonts. -2004-06-09 10:03 robert +Thu, 30 Jan 2003 00:34:35 +0000 +Checked in by : Robert OSFIELD +Fixes to osgprerender and osgshadow scene for new cull and draw implemention without use of ref counting.New StatsEventHandler for osgprerender demo to add keyboard control of stats +output. - * Added --o_cs, --o_wkt and --o_wkt_file commandline options. -2004-06-08 14:30 robert - * Improved the precision of animation paths. +Wed, 29 Jan 2003 17:24:54 +0000 +Checked in by : Robert OSFIELD +Fixed CullVisitor::getDistanceFromEyePoint so that withLODScale is handled correctly. -2004-06-08 13:58 robert +Wed, 29 Jan 2003 17:16:26 +0000 +Checked in by : Robert OSFIELD +Fixes for multipipe support.Addition of FrameStatsHandler to osgproducer demo to add frame stats. - * Added options for controlling mipmapping and aniso-tropic - filtering. -2004-06-08 12:31 robert - * Updates to FlightManipulator +Mon, 27 Jan 2003 20:40:08 +0000 +Checked in by : Don BURNS +Fixes to osgProducer for IRIX build. -2004-06-08 09:29 robert +Sat, 25 Jan 2003 00:14:14 +0000 +Checked in by : Robert OSFIELD +Final changes for release. - * From Boris Bralo, reimplementation of dereference_less functor to - use - two input types, to attempt to avoid VC compile problems and - redundent - copies of ref_ptr<>. +Fri, 24 Jan 2003 23:59:55 +0000 +Checked in by : Robert OSFIELD +Addition for osgSim docs. -2004-06-08 07:32 robert +Fri, 24 Jan 2003 23:36:35 +0000 +Checked in by : Robert OSFIELD +Updates docs for release. - * Updates to the terrain manipulator. +Fri, 24 Jan 2003 22:40:24 +0000 +Checked in by : Robert OSFIELD +Updates NEWS file with date of release. -2004-06-07 15:05 robert +Fri, 24 Jan 2003 16:57:28 +0000 +Checked in by : Robert OSFIELD +Removed the inline declarations of several method implementations. - * Moved the osg::ClusterCullingCallback into into own header and - source file. +Fri, 24 Jan 2003 15:33:54 +0000 +Checked in by : Robert OSFIELD +Changed the /MDd switch to /MD to remove a warning. -2004-06-07 14:49 robert +Fri, 24 Jan 2003 15:12:54 +0000 +Checked in by : Robert OSFIELD +Added an #ifdef to osgGLUT/Window.cpp to handle the case of compiling against older versions of GLUT. - * Changed the terrain manipulator so the intersection ray is only - computed near to the current center point during panning. +Fri, 24 Jan 2003 12:39:18 +0000 +Checked in by : Robert OSFIELD +Changes to try and placate the Sun Forte compiler. -2004-06-07 12:53 robert +Fri, 24 Jan 2003 10:22:08 +0000 +Checked in by : Robert OSFIELD +Removd the linking to the debug version of the freetype lib as this won't be included in the new OsgWin32Dependances.zip file. - * Added sphere segment to osgsimulator. +Fri, 24 Jan 2003 09:47:15 +0000 +Checked in by : Robert OSFIELD +Added osgvertexprogram to the demo list. -2004-06-06 14:28 robert +Fri, 24 Jan 2003 09:46:52 +0000 +Checked in by : Robert OSFIELD +Udpated the freetype 2.1.3 linked to by the osgText.dsp - * Added --RGB_16, --RGB_24 and --compressed options. +Fri, 24 Jan 2003 09:37:56 +0000 +Checked in by : Robert OSFIELD +Added support for osg::Transform::asMatrixTransform, asPositionAttitudeTransform and as DOFTransform. -2004-06-04 16:32 robert +Fri, 24 Jan 2003 09:37:11 +0000 +Checked in by : Robert OSFIELD +Changed the setUpViewer so it takes unisigned int to make it easier to do OR'ing of the various enumerates when passing in paramters (avoids a warning). - * Fixed the Vec*d class so there have value_type set to double. +Fri, 24 Jan 2003 09:35:05 +0000 +Checked in by : Robert OSFIELD +Fixed the formating of the Matrix output. -2004-06-04 12:27 robert +Fri, 24 Jan 2003 09:34:33 +0000 +Checked in by : Robert OSFIELD +Added an #ifdef check around the glutSpecialUpFunc to help compile unde old version of GLUT. - * Added haveAppliedAttribute to allow draw callbacks to get access - to the - current active lights. +Fri, 24 Jan 2003 09:11:05 +0000 +Checked in by : Robert OSFIELD +Fix for impostors bug where image insert were visible, this was down to a double call to RenderStage::drawPreRenderStage(). The call to it in RenderStage inside the draw() method has been removed, leaving on the call in SceneView. -2004-06-04 11:35 robert +Thu, 23 Jan 2003 22:12:04 +0000 +Checked in by : Robert OSFIELD +Changed the template insert(,,) method for a std::copy() implemention as it seems that the Sun Forte compiler can't handle member templates! - * Add clamping to 0..1 bounds for each of the r,g,b,a components in - the CubeMapGenerator::set_pixel() method. +Thu, 23 Jan 2003 15:12:58 +0000 +Checked in by : Robert OSFIELD +Added extra checks in the removal of rendundent nodes code so that description fields etc are checked. -2004-06-04 10:05 robert +Thu, 23 Jan 2003 14:46:10 +0000 +Checked in by : Robert OSFIELD +Fix to handling of comment records and longid's. - * Added check to Quat::makeRotate(,,,) to catch zero lengh axis. +Thu, 23 Jan 2003 12:18:22 +0000 +Checked in by : Robert OSFIELD +Changed the image directory refered to in billboard demo.Updates NEWS. -2004-06-04 08:40 robert +Changed the line endings in TextureCubeMap to unix endings. - * From Ulrich Hertlein & Iskander Prins, added rotation of skydown - on - fixed handling of updating one image per frame. -2004-06-04 08:24 robert - * From Terry Welsh, added checks to incoming Geometry for existance - of normals, - and if they are present use these to compute the tanget and - binormals - vectors perpendicular to existing normals. +Thu, 23 Jan 2003 12:07:01 +0000 +Checked in by : Robert OSFIELD +Tweaking of the osgvertexprogram tex matrix settings. -2004-06-04 08:13 robert +Thu, 23 Jan 2003 10:11:11 +0000 +Checked in by : Robert OSFIELD +Fixed Win32 compile problem. - * From Max Behensky, fixes to the computation of the number of - primitives +Thu, 23 Jan 2003 09:58:25 +0000 +Checked in by : Robert OSFIELD +Removed COPYING file as it is now replaced by the LICENSE file. -2004-06-03 20:06 robert +Thu, 23 Jan 2003 08:39:48 +0000 +Checked in by : Robert OSFIELD +Fixed typo of APPLY_MATICES_BEFORE_STATE. - * Fixed spelling of Equivalent. +Thu, 23 Jan 2003 08:37:15 +0000 +Checked in by : Robert OSFIELD +Removed eroneous std:: from the from of DisplayListVector. -2004-06-03 10:16 robert +Wed, 22 Jan 2003 23:40:47 +0000 +Checked in by : Robert OSFIELD +From Ulrich, change to the pflib includes for Performer under Linux to solve problem loading pf datasets. - * Added handling of case when only one colour is used. +Wed, 22 Jan 2003 23:35:19 +0000 +Checked in by : Robert OSFIELD +Added a couple more #defines for the texture cube maps that one can use. -2004-06-03 10:10 robert +Wed, 22 Jan 2003 23:34:43 +0000 +Checked in by : Robert OSFIELD +Added support for a -c option. - * Added support for a single color in a ColorRange +Wed, 22 Jan 2003 23:34:18 +0000 +Checked in by : Robert OSFIELD +Changed the implementation of the texture objects and display list to delete caches so that they use a std::vector<> swap on the internal data structures when ready to delete to minimize the amount of time that a race condition condition can happen. -2004-06-03 09:36 robert +Wed, 22 Jan 2003 20:48:10 +0000 +Checked in by : Robert OSFIELD +Vertex program update from Brede. - * Added room for tail of text. +Wed, 22 Jan 2003 19:17:39 +0000 +Checked in by : Robert OSFIELD +Updated version numbers to 0.9.3 -2004-06-02 14:16 robert +Wed, 22 Jan 2003 16:49:05 +0000 +Checked in by : Robert OSFIELD +Fixed compute bound code which was applying offset first then rotating, rather than rotating first then offset. - * Added handling of skirt ratio, and extra docs on commandline args +Wed, 22 Jan 2003 16:17:56 +0000 +Checked in by : Robert OSFIELD +Fixed handling of rotations reading from .osg of osg::Shapes. -2004-06-02 14:15 robert +Wed, 22 Jan 2003 15:44:22 +0000 +Checked in by : Robert OSFIELD +From Daniel Sjölie, support for controlling which viewports are focusable i.e. recive mouse/keyboard events. - * Added DataSet::s/getSkirtRatio() method to allow control of how - deep to - make the skirts around tiles. +Wed, 22 Jan 2003 15:30:17 +0000 +Checked in by : Robert OSFIELD +Clean up to the osgProducer lib and demo. -2004-06-02 14:13 robert +Wed, 22 Jan 2003 12:50:52 +0000 +Checked in by : Robert OSFIELD +Fixed remove transform code to work with the new extra paramter require by osgUtil::Optimizer. - * Added derived reqiestRedraw() and requestContinueUpdate() methods - for - debugging purposes. +Wed, 22 Jan 2003 12:25:04 +0000 +Checked in by : Robert OSFIELD +Changed the decal=true setting to decal=false to make sure that textured models come out lit ok. The makes the assumption that colour values on the objects and realistic, if they arn't then decal texture can produce better results.. -2004-06-02 12:37 robert +Wed, 22 Jan 2003 12:06:22 +0000 +Checked in by : Robert OSFIELD +Fixed an Optimizer crash where if the top most node of a model was a static transform it would crash when this root was deleted. Have fixed by recognising this node as one not to remove and set it to identity instead. - * Added setPosition and setWidth methods into ScalarBar and changed - the - implementation to use these values to position and set the size - of the - scalar bar. Also made the characterSize value a float rather than - the previous int. +Tue, 21 Jan 2003 21:02:17 +0000 +Checked in by : Robert OSFIELD +Changed the local header includes from <> to "" to help the OSG compile. -2004-05-26 00:27 robert +Tue, 21 Jan 2003 19:37:45 +0000 +Checked in by : Robert OSFIELD +Removed debugging messages. - * Fixed setCoordinateFrame method +Tue, 21 Jan 2003 16:45:36 +0000 +Checked in by : Robert OSFIELD +Added new Copyright/License notice to header and source files. -2004-05-26 00:26 robert +Tue, 21 Jan 2003 16:40:18 +0000 +Checked in by : Robert OSFIELD +Made the pre rendering texture using glCopySubImage rather than copy to image and then copy to texture, as the later was no longer working due to texture->apply ordering. - * Made the drive and flight manipulators more sensitive to - de/acceleration +Tue, 21 Jan 2003 16:02:29 +0000 +Checked in by : Robert OSFIELD +Added gaurds around alpha function value to catch erroneous values before they are passed on to the OSG. -2004-05-25 20:40 robert +Tue, 21 Jan 2003 13:22:13 +0000 +Checked in by : Robert OSFIELD +Made a new osgproducer demo based on the new osgProducer::Viewer class. Kept the old camera group version around for future reference. - * From George Tarantilils, add missing handling of alpha channel. +Tue, 21 Jan 2003 13:14:29 +0000 +Checked in by : Robert OSFIELD +Added new osgProducer::Viewer class for putting together simple producer based viewers very quickly. -2004-05-25 20:39 robert +Tue, 21 Jan 2003 09:09:48 +0000 +Checked in by : Robert OSFIELD +From Joseph Steel, addition of texture filter modes to txp plugin. - * Changed screen grab filename back to a saved_image.jpg +Mon, 20 Jan 2003 20:40:06 +0000 +Checked in by : Robert OSFIELD +Made the drawable::compile(State&) method const and the DisplayListVisitor to compile even when dislay list is off. This has been done to allow subclasses of Drawable handle their own compile implementation, such as used by text. -2004-05-25 20:35 robert +Mon, 20 Jan 2003 20:33:50 +0000 +Checked in by : Robert OSFIELD +Improvements to osgProducer lib, in particular adding a mutex lock to the init() call in SceneView to prevent init running multi-threaded. - * Updated clampProjectionMatrix methods +Mon, 20 Jan 2003 20:28:28 +0000 +Checked in by : Robert OSFIELD +Improvements to the handling of multiple graphics contexts. Still needs alot of work, but at least it isn't crashes in trivial cases right now. -2004-05-25 16:10 robert +Mon, 20 Jan 2003 14:08:03 +0000 +Checked in by : Robert OSFIELD +Removed the ReaderWriterFLY.cpp for the project as its no longer used. - * From George Tarantilis, fixes to DDS size computations. - From Robert Osfield, addition of constructors for internal DDS - structures. +Mon, 20 Jan 2003 14:07:27 +0000 +Checked in by : Robert OSFIELD +Removed the ReaderWriterFLY demo since it was causing OSX builds to crash when running the osghangglide demo. -2004-05-25 14:32 robert +Mon, 20 Jan 2003 12:41:15 +0000 +Checked in by : Robert OSFIELD +Added the new standard copyright notice. - * Updates the movie support +Mon, 20 Jan 2003 12:40:12 +0000 +Checked in by : Robert OSFIELD +Added the OpenSceneGraph Public License which is a based on the WxWindows license which inturn is a modified LGPL. -2004-05-25 07:40 robert +Mon, 20 Jan 2003 11:54:34 +0000 +Checked in by : Robert OSFIELD +Clean up to the osgproducer demo. - * Added better handling of clamping of projection matrix +Mon, 20 Jan 2003 11:52:34 +0000 +Checked in by : Robert OSFIELD +Fixed bug in the flight and drive manipulators where they would uncontrollably shrink down to a tiny window size when one rezized the window. -2004-05-24 19:50 robert +Mon, 20 Jan 2003 11:07:41 +0000 +Checked in by : Robert OSFIELD +Fixed osglogo demo so that is correctly set up the colour of the background. - * From Alberto Farre, fixes to the computation of sizes +Mon, 20 Jan 2003 11:02:27 +0000 +Checked in by : Robert OSFIELD +Made the setting of default glNormal and glColor values an compile option via #ifdef USE_DEFAULT_NORMAL and USE_DEFAULT_COLOR defines respectively. -2004-05-20 23:25 robert +Mon, 20 Jan 2003 10:41:21 +0000 +Checked in by : Robert OSFIELD +Updates from Pavel. 1. Storing color of geometry in ColorArray e.g. its don't work when + lighting off. - * Made improvements to the handling of small rotations in Quat and - TerrainManipulator + 2. Detecting of alpha channel and automatically enabling blending. -2004-05-20 22:20 robert - * Added HUD scalar bar. -2004-05-20 13:54 robert +Mon, 20 Jan 2003 09:56:09 +0000 +Checked in by : Robert OSFIELD +Update the ReaderWriterATTR file so that it used the definitions that Joseph Steel obtained from MPI.Removed the unique child check from the flt::PrimRecord and osg::Group, this +allows more flexibility when specifing nodes, and is faster.. - * Fixed warnigs on VS. -2004-05-20 12:57 robert - * Improved support for new double Vec* classes +Mon, 20 Jan 2003 09:09:46 +0000 +Checked in by : Robert OSFIELD +From Ruben, updates to the IV/VRML1 loader to handler large datasets. -2004-05-20 10:42 robert +Mon, 20 Jan 2003 08:58:32 +0000 +Checked in by : Robert OSFIELD +Updates to osgProducer, moving the implementation of CameraGroup and SceneHandler into the source directory. - * Fixed typo of Vec3f to Vec2f +Sun, 19 Jan 2003 15:28:08 +0000 +Checked in by : Robert OSFIELD +Added osg::State::dirtyAllModes() and dirtyAllAttributes() methods. -2004-05-20 10:15 robert +Sat, 18 Jan 2003 22:07:59 +0000 +Checked in by : Robert OSFIELD +Improvements to the osgProducer lib to better handle Producer's normalized coord system.Addition of ReadCameraConfigFile and WriteCameraConfigFile as a tempory +measure for implementing local a C++ read/write of the Producer::CameraConfig, this +will be removed once these implementations or similar have been moved to Producer. - * Added Vec2d, Vec3d and Vec4d classes, and remapped Vec2, Vec3 and - Vec4 to - Vec2f, Vec3f an Vec4f respectively, with typedef's to the from - Vec* to Vec*f. -2004-05-19 09:17 robert - * Added GL_SCALE_NORMAL define to get round compilation against - GL1.1 headers +Sat, 18 Jan 2003 10:17:28 +0000 +Checked in by : Robert OSFIELD +Updated the KeyboardMouseCallback so this it takes into account the the new passiveMouseMotion support in Producer. -2004-05-19 09:12 robert +Sat, 18 Jan 2003 09:44:12 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, Fix for IRIX build, adding typename into the graph_array to allow the compiler to leave instation of typedefs until required. - * Added GL_RESCALE_NORMAL to allow compilation with GL1.1 headers +Fri, 17 Jan 2003 20:27:07 +0000 +Checked in by : Robert OSFIELD +Added comment about osgProducer to the NEWS. -2004-05-17 22:22 robert +Fri, 17 Jan 2003 20:05:41 +0000 +Checked in by : Robert OSFIELD +Added KeyboardMouse::allowContinousMouseMotionUpdate(), but commented out right now as Producer crashes when you use it.. - * Changed how the rotation and panning are managed, therby - improving the - handling of the center point going over a pole. +Fri, 17 Jan 2003 18:34:35 +0000 +Checked in by : Robert OSFIELD +Added osgProducer library to the distribution.Cleaned up the osgproducer demo, and made it work with the new osgProducer lib. -2004-05-17 15:50 robert - * Improved the panning support, and added s/getRotationMode(..) to - allow - users flip between a trackball rotation style and an - azim,elevation style. -2004-05-17 13:20 robert +Fri, 17 Jan 2003 16:00:09 +0000 +Checked in by : Robert OSFIELD +Removed the addition of 0 to the add of the encoded text vector as it is now redundent having added support for the begin,end range into FTFont. - * From Bob Kuehne, more general checks for existance of extensions. +Fri, 17 Jan 2003 15:01:27 +0000 +Checked in by : Robert OSFIELD +Fixed a bug on the handling of empty EncodedText. -2004-05-17 12:08 robert +Fri, 17 Jan 2003 14:12:46 +0000 +Checked in by : Robert OSFIELD +Further improvements to the osgproducer demo. - * Improved the pan controls on the terrain manipulator +Fri, 17 Jan 2003 14:12:25 +0000 +Checked in by : Robert OSFIELD +Added new getCurrentCamaeraManipulator(), and removed and debugging message. -2004-05-17 10:21 robert +Fri, 17 Jan 2003 14:11:34 +0000 +Checked in by : Robert OSFIELD +Removed the osg::Referenced::createCount() and deleteCount() methods and associated variables which were only compiled in on debug build. These optional methods/static vars were causingproblems when mixing debug and release builds. - * From Ruben, fix for gcc 3.4 build +Fri, 17 Jan 2003 13:34:03 +0000 +Checked in by : Robert OSFIELD +Integated the trackball manipulator with the osgproducer demo. -2004-05-17 02:48 don +Fri, 17 Jan 2003 11:26:16 +0000 +Checked in by : Robert OSFIELD +Added ProducerEventCallback class to manager the conversion of producer events into GUIEventAdapter versions. - * Added an optional argument for doing model orientations in - osgconv using - degrees and axis rather than two vectors. +Thu, 16 Jan 2003 19:27:30 +0000 +Checked in by : Robert OSFIELD +Added DOUBLECLICK EventType to GUIEventAdapter. -2004-05-15 08:42 robert +Thu, 16 Jan 2003 16:37:24 +0000 +Checked in by : Robert OSFIELD +Added support for ReferenceFrame into osg::LightSource, modified the .osg plugin and cull visitor to account for this change. - * From Mike Weiblen, further updates to add relative paths to - OpenThreads/Producer. +Thu, 16 Jan 2003 12:39:15 +0000 +Checked in by : Robert OSFIELD +Added support for frame stamping each frame. -2004-05-14 14:43 robert +Thu, 16 Jan 2003 12:18:45 +0000 +Checked in by : Robert OSFIELD +Updates to clean up the demo. - * Fixed error of headers having ..\..\src\ path instaead of - ..\..\include\ +Wed, 15 Jan 2003 21:54:42 +0000 +Checked in by : Don BURNS +Added gstabs+ to DBGF in Linux in makedefs -2004-05-13 22:09 robert +Wed, 15 Jan 2003 20:57:48 +0000 +Checked in by : Robert OSFIELD +Warning fix for Win32. - * Added the beginings of new osgParticle Explosion, Fire and - SmokeEffects. - - Added support for generation explosion, fire and smoke effects in - osgsimulation +Wed, 15 Jan 2003 20:53:27 +0000 +Checked in by : Robert OSFIELD +Added #include simply to include the #pragma's for disabling the daft VisualStudio warnings. -2004-05-13 22:06 robert +Wed, 15 Jan 2003 20:50:12 +0000 +Checked in by : Robert OSFIELD +Made the osgDB::ParamterOutput class so that it is purely defined in terms of the header, and therefore not requiring to be exported.Updated the MUSE_READ_ME.txt to include mention of syntax highlighting. - * Revert the computeNearFar mode to using bounding volumes as - default. -2004-05-13 22:04 robert - * From Mike Weiblen, added hardwired include and lib paths to - OpenThreads - and Priducer directories that are assumed to site alongside the - OpenSceneGraph - library being built. +Wed, 15 Jan 2003 19:23:16 +0000 +Checked in by : Robert OSFIELD +Updates to the osgproducer demo. -2004-05-13 13:37 robert +Wed, 15 Jan 2003 15:44:49 +0000 +Checked in by : Robert OSFIELD +Removed the -> methods from the arc class to prevent stupid warnings under VisualStudio6.0. - * From Bruce Clay, cross platform implemention of fileType(..) +Wed, 15 Jan 2003 15:24:35 +0000 +Checked in by : Robert OSFIELD +First cut and a demo which uses Open Producer for windowing. -2004-05-13 08:11 robert +Wed, 15 Jan 2003 13:17:52 +0000 +Checked in by : Robert OSFIELD +Attempts to fix more of the *stupid* errors in the VisualStudio6.0 compiler. - * From Donny Cipperly, completed Windows support for fileType() +Wed, 15 Jan 2003 11:33:33 +0000 +Checked in by : Robert OSFIELD +Patch from Joseph Steel, added missing check for the mipmap usage. -2004-05-12 20:31 robert +Wed, 15 Jan 2003 11:29:30 +0000 +Checked in by : Robert OSFIELD +Removed the template versions of the PrimitiveSet constructors as this was causing problem under VisualStudio6.0. - * Fixes for FreeBSD +Tue, 14 Jan 2003 19:12:22 +0000 +Checked in by : Robert OSFIELD +Fix for win32. -2004-05-12 14:22 robert +Tue, 14 Jan 2003 16:39:41 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build. - * From Frank Lindeman, compile fix for VS to get round limitation - is VS when - handling templated methods. +Tue, 14 Jan 2003 14:25:56 +0000 +Checked in by : Robert OSFIELD +From Daniel Sjölie, updates to the GUIEventAdapter and GLUTEventAdapter to handle key and key down, modifiers and funcion keys. -2004-05-12 10:45 robert +Tue, 14 Jan 2003 14:21:06 +0000 +Checked in by : Robert OSFIELD +Added an compile in option of applying the matrices before state in the RenderLeaf apply method. This order is intended to help support of vertex programming, but unfortunately breaks the osgreflect demo so the original ordering is kept by default. - * From Eric Sokolowsky, fixed problems in PNG plugin for handling - paletted images which contain alpha values. +Tue, 14 Jan 2003 14:00:09 +0000 +Checked in by : Robert OSFIELD +Submission from Joseph Stell, added LoadModels to TerrapageNode. -2004-05-11 20:44 robert +Tue, 14 Jan 2003 12:36:14 +0000 +Checked in by : Robert OSFIELD +Fixed typo. - * From Eric Sokolosky, with further additions from Robert, added - support - for RGBA TIFF files +Tue, 14 Jan 2003 10:54:01 +0000 +Checked in by : Robert OSFIELD +Replaced the NVTriStrip code with tri_stripper written by Tanguy Fautré. -2004-05-10 20:01 robert +Mon, 13 Jan 2003 20:14:23 +0000 +Checked in by : Robert OSFIELD +Typo fix if USE_HOME_POSITION. - * From Bruce Clay, modify template copy method to avoid VS6.0 - compile errors. +Mon, 13 Jan 2003 14:56:04 +0000 +Checked in by : Robert OSFIELD +Added handling of the case when length is -1, allowing the code to just test against characters being zero, rather than against length, which is now only done when a valid value of length (i.e >=0) is passed in. -2004-05-10 16:17 robert +Mon, 13 Jan 2003 14:11:06 +0000 +Checked in by : Robert OSFIELD +Clean up to the cross platform support in DirectX plugin. - * Changed &D to use define to keep things compiling under VS6.0 +Mon, 13 Jan 2003 14:05:08 +0000 +Checked in by : Robert OSFIELD +Fixes to osgText to handle std::string correctly. -2004-05-10 14:53 robert +Mon, 13 Jan 2003 10:39:14 +0000 +Checked in by : Robert OSFIELD +Added missing _bbox.init() to ShapeDrawable.cpp. - * Made GDAL_INSTALLED default to no +Sat, 11 Jan 2003 20:56:29 +0000 +Checked in by : Don BURNS +ReaderWriterDirectX.cpp needed some std::'s -2004-05-10 13:56 robert +Sat, 11 Jan 2003 20:43:47 +0000 +Checked in by : Robert OSFIELD +From Ulrich, fixes to double to float conversion warnings under Windows. - * Removed eroneous return statement. +Sat, 11 Jan 2003 12:50:39 +0000 +Checked in by : Robert OSFIELD +Moved some in inline methods in ParamterOutput into the new ParamterOutput.cpp file to clean up the interface. -2004-05-09 07:06 robert +Fri, 10 Jan 2003 17:06:20 +0000 +Checked in by : Robert OSFIELD +Updates from Ulrich. - * From Joran Jessurun, "I needed to be able to set the quality of - the saved jpeg images. I could - not find a way to do this in OSG. Therefore I implemented this by - adding - an option called: JPEG_QUALITY to the JPEG - reader/writer. - - To parse the options string I use the same method as used in the - LWO - reader/writer. " +Fri, 10 Jan 2003 16:56:39 +0000 +Checked in by : Robert OSFIELD +Added missing header for new matric reading and writing methods. -2004-05-09 06:29 robert +Fri, 10 Jan 2003 09:25:42 +0000 +Checked in by : Robert OSFIELD +Made the more of the OSG's referenced object desctructors protected to ensure that they arn't created on the stack inappropriately.Split the implemention of Matrix up so that it is a simple no referenced counted +class and can be safefly created on the stack. To support referenced counting a +seperate subclass now exists, this is RefMatrix which inherits from both Matrix and +Object. - * From Mike Weiblen, Fixes for Win32 build -2004-05-08 22:18 robert - * From Corbin Holtz, "I have completed my mods to the OpenFlight - loader (modified files are - attached): - * Light point strings using the REPLICATE opcode should now be - supported - (>=15.6?) - - * Directional lights should now work as in Performer using a - viewing - frustrum defined by a direction vector, horizontal angular width, - vertical - angular width, and roll angle about the direction vector. The - current - directional light implementation had some bad assumptions which - caused - problems with direction vectors not on the XY plane. - - * IVE and OSG reader/writers were updated as appropriate" +Thu, 9 Jan 2003 18:41:01 +0000 +Checked in by : Robert OSFIELD +Fixed typo. -2004-05-08 21:33 robert +Thu, 9 Jan 2003 16:13:30 +0000 +Checked in by : Robert OSFIELD +Added #ifndef GL_TEXTURE_WRAP_S #define block to keep things compiling on old drivers. - * From Paul Martz, - - "Changes to provide rudimentary support for OF 15.8 light point - animation palettes. This change also includes light point palette - override - support for external references. This is the last of my code - changes to - support OF 15.8 in the flt loader. Barring bugs, of course, knock - on wood. - - The gist of the animation palette code is to create ref_ptr'd - osgSim::BlinkSequence objects for each palette entry, and then - pass them on - to osgSim::LightPoint for any OpenFlight light points that - reference that - palette entry. This should be conservative of memory (not that I - expect the - animation palette to be extremely large)." +Thu, 9 Jan 2003 11:48:49 +0000 +Checked in by : Robert OSFIELD +Fixed typo. -2004-05-08 18:41 don +Thu, 9 Jan 2003 10:06:44 +0000 +Checked in by : Robert OSFIELD +Added setting of the R wrap paramter to applyTexParamters(). - * Ooops... previous fix didn't work, corrected. +Wed, 8 Jan 2003 22:52:27 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, DirectX .x model loader plugin. -2004-05-08 18:37 don +Wed, 8 Jan 2003 16:37:09 +0000 +Checked in by : Robert OSFIELD +Fix to case statement from Tree. - * Fixed a define for __sgi. Irix does not allow dlsym(0L, ...) - without - calling dlopen() first, just like __sun +Wed, 8 Jan 2003 16:33:02 +0000 +Checked in by : Robert OSFIELD +Added Shape.cpp to cvs resposity. Shape.cpp adds support for the various osg::Shape in the .osg file format. -2004-05-08 06:35 robert +Wed, 8 Jan 2003 16:30:48 +0000 +Checked in by : Robert OSFIELD +Cleaned up the code for the animation flags of the group record. - * From Ken Sewel, added osgDB::fileType(filename) method and usage - of this - new function in osgdem to automatcally handle directories as part - of the - regular -d and -t options. +Wed, 8 Jan 2003 15:22:17 +0000 +Checked in by : Robert OSFIELD +From Tree, support for encoded text added into osgText. -2004-05-08 06:13 robert +Wed, 8 Jan 2003 14:32:13 +0000 +Checked in by : Robert OSFIELD +Added support for reading and writing Sphere, Box, Cone, Cylinder and Grid shapes. - * Did a unix2dos and checked in trans.dsp +Tue, 7 Jan 2003 16:29:07 +0000 +Checked in by : Robert OSFIELD +Added support for sharing arrays in the .osg format for osg::Geometry.Fixed the osgUtil::Optimizater so it takes into account sharing of arrays when +deciding whether an geometry can be merged or not. -2004-05-07 21:08 robert - * Changed scale.dsp etc instance to rot.dsp etc. -2004-05-07 19:58 robert +Mon, 6 Jan 2003 23:19:42 +0000 +Checked in by : Robert OSFIELD +Fixes for Irix64 build. - * From Yefei Hi, replaced windows specific function with sprintf to - afford - better cross platform portability. +Mon, 6 Jan 2003 16:42:02 +0000 +Checked in by : Robert OSFIELD +Removed the osg::LightPoint::OPAQUE option, and implemented the ADDTIVE blending option. -2004-05-07 19:55 robert +Mon, 6 Jan 2003 13:45:55 +0000 +Checked in by : Robert OSFIELD +Fixed headers guard typo in LightPoint.Updated the NEW files. - * From Marco Jez, replacement of local mutex lock/unlock with - ScopedLock. -2004-05-07 15:18 robert - * From Mike Weiblen, added new rot, scale and trans pseudo loaders. +Sat, 4 Jan 2003 20:45:53 +0000 +Checked in by : Robert OSFIELD +Added new ARB vertex program state attribute and demo program, sent in my Brede Johansen. -2004-05-07 14:51 robert +Sat, 4 Jan 2003 20:44:17 +0000 +Checked in by : Robert OSFIELD +Fixed small typo. - * From Yefei Hi,fix to MultiSwitch set up, and adding of parsing of - description - fields (which is presently #if 0'd out while a compile problem is - resolved.) +Sat, 4 Jan 2003 20:43:53 +0000 +Checked in by : Robert OSFIELD +Added usage info in -O option. -2004-05-07 14:44 robert +Sat, 4 Jan 2003 20:43:27 +0000 +Checked in by : Robert OSFIELD +Fixed options code. - * Fixed tabbing to be all four spaced tabs +Fri, 3 Jan 2003 21:42:02 +0000 +Checked in by : Robert OSFIELD +Removed the dual inheritance from the AnimationPathCallback, moving the NodeVisitor implemention into the .cpp.Small tweak to the lighpoint drawable implmenentation to improve the additive +blending and state resotoration. -2004-05-07 14:33 robert - * From Julian, fix to handling of multi-textures -2004-05-07 13:43 robert +Thu, 2 Jan 2003 20:10:04 +0000 +Checked in by : Robert OSFIELD +Added a AnimationPathCallback which can update both a MatrixTransform and a PositionAttitudeTransform, removed the equivialnt callbacks once found in these transform classes.Changed the NodeCallback class so its derived from osg::Object instead of +osg::Referenced to allow it to be saved out in the .osg format. - * Added support for - osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE +Added support for Update and Cull callbacks into the .osg file format. -2004-05-07 12:41 robert +Added support for AnimationPathCallback into the .osg file format. - * From Bob Kuehne, addition of support for toggling on and off - GL_TEXTURE_1D, 3D, CUBE_MAP - and GL_TEXTURE_RECTANGLE (small addition from R.O) -2004-05-07 12:40 robert - * Added GL_TEXTURE_RECTANGLE define +Sat, 21 Dec 2002 19:41:27 +0000 +Checked in by : Robert OSFIELD +Updates the terrapage to try and make it thread "safer" when used with the OSG. -2004-05-07 11:28 robert +Sat, 21 Dec 2002 11:30:54 +0000 +Checked in by : Robert OSFIELD +Turned display lists off in the osg::Geomety created by the terrapage loader, this is done because terrapage will dynamic page in and out geometry so we don't want to keep creating and deleting display lists. - * From Bob Kuehne, added getting of the max number of texture units - in - the Texture::Extension object +Fri, 20 Dec 2002 10:48:22 +0000 +Checked in by : Robert OSFIELD +Tweaked the colours in the logo. -2004-05-07 11:18 robert +Fri, 20 Dec 2002 09:47:06 +0000 +Checked in by : Robert OSFIELD +From March Jez, updated the osgSim.dsp with the addition of /Op option to enable VS.NET to compile with crashes. - * Changed debug info level +Fri, 20 Dec 2002 09:43:15 +0000 +Checked in by : Robert OSFIELD +Renamed the app method update. -2004-05-07 11:10 robert +Thu, 19 Dec 2002 19:50:45 +0000 +Checked in by : Don BURNS +Update for ia64 - * Changed notify level of debuggin message from NOTICE to INFO +Thu, 19 Dec 2002 19:50:16 +0000 +Checked in by : Don BURNS +update for ia64 -2004-05-07 11:09 robert +Thu, 19 Dec 2002 15:55:40 +0000 +Checked in by : Robert OSFIELD +Renamed all instance of AppCallback/AppVisitor to UpdateCallback/UpdateVisitor inline with the decision to rename the "app phase" the "update phase". - * From Don Tidrow, changed cerr usage to osg::notify() +Thu, 19 Dec 2002 10:32:02 +0000 +Checked in by : Robert OSFIELD +Changed the remaining #include <> to #include "" to get things compiling under VS. -2004-05-06 12:57 robert +Wed, 18 Dec 2002 11:43:39 +0000 +Checked in by : Robert OSFIELD +Removed the reference of Sequence from Switch. - * From Geof Michel, fix to osgFX. +Wed, 18 Dec 2002 10:17:52 +0000 +Checked in by : Robert OSFIELD +Removed the osg:: from the front of the Group::computeBound() method to keep things compiling under Windows. -2004-05-06 12:30 robert +Wed, 18 Dec 2002 09:50:36 +0000 +Checked in by : Robert OSFIELD +Changed the <*.h> to "*.h> in the terrapage plugin to get it compile under Windows. - * *** empty log message *** +Tue, 17 Dec 2002 17:22:06 +0000 +Checked in by : Robert OSFIELD +From Daniel Sjölie, support for reading comment records into description fields. -2004-05-06 11:01 robert +Tue, 17 Dec 2002 16:07:59 +0000 +Checked in by : Robert OSFIELD +Moved the include/osgTXP back into src/osgPlugins/txp as a seperate include directory is no longer required.Removed the osgtxp demo as it is no longer required. - * Added new TerrainManipulator to osgGA, and new callback for - getting the - CoordinateFrame for a given X,Y,Z location. -2004-05-06 10:59 robert - * Removed Terrain.cpp and header from CVS repository. - - Added support for setting the maximum visiable distance of top - level - to osgTerrain::DataSet, and debugging code which insert a - axes.osg - above each tile. +Tue, 17 Dec 2002 15:41:05 +0000 +Checked in by : Robert OSFIELD +Added txp::TerrapageNode to the txp plugin, and implemented the node so that it automatically assign handles the updates of eye points and database merges. -2004-05-06 10:54 robert +Mon, 16 Dec 2002 21:39:26 +0000 +Checked in by : Robert OSFIELD +Added a few more comments on the DeleteHandler.Changed the friend struct DeleteHandler to friend class DeleteHandler. - * Fixed computeLocalTransform to generate correct orientation of - local coordinate - frame. -2004-05-05 19:56 robert - * Moved isCulled check inside the CullVisitor::apply(Projection&) - to just - before traverse rather than at the begining of the method. +Mon, 16 Dec 2002 19:39:08 +0000 +Checked in by : Don BURNS +Fixed a scope issue for 3.2 compiler for friend declarattion, l ine 39 in include/osg/Referenced -2004-05-05 14:54 robert +Mon, 16 Dec 2002 17:00:05 +0000 +Checked in by : Robert OSFIELD +Moved TriangleFunctor from Drawable into its own header file. - * Compile fixes for that pitful excuse for a C++ compiler that is - VS6.0 +Mon, 16 Dec 2002 16:57:47 +0000 +Checked in by : Robert OSFIELD +Removed the redundent export symbol. -2004-05-05 09:16 robert +Mon, 16 Dec 2002 16:55:50 +0000 +Checked in by : Robert OSFIELD +Removed MemoryManager. - * Added support for reading environmental varables in CullSettings. +Mon, 16 Dec 2002 14:52:48 +0000 +Checked in by : Robert OSFIELD +Fix for a warning. -2004-05-05 05:17 robert +Mon, 16 Dec 2002 14:12:48 +0000 +Checked in by : Robert OSFIELD +Removed reference to osg/MemoryManager. - * Increased the sampling of upper most tiles when doing a - geocentric projection +Mon, 16 Dec 2002 13:46:42 +0000 +Checked in by : Robert OSFIELD +Renamed osgtests.bat to rundemos.bat and moved it into the root directory. -2004-05-04 18:15 robert +Mon, 16 Dec 2002 13:44:35 +0000 +Checked in by : Robert OSFIELD +Removed the memory manager. - * Added gdal_i.lib to osgdem project dependencies. +Mon, 16 Dec 2002 13:40:58 +0000 +Checked in by : Robert OSFIELD +Converted the instance of osgNew and osgDelete back to new and delete as part of depecating the include/osg/MemoryManager -2004-05-04 18:13 robert +Mon, 16 Dec 2002 13:27:29 +0000 +Checked in by : Robert OSFIELD +Redone the project files for osgpbuffer and osgtxp to get it to work under VisualStudio. - * Added osgTerrain to dependency list of osgdem +Mon, 16 Dec 2002 13:14:27 +0000 +Checked in by : Robert OSFIELD +Fixed the traverse method so it calls Transform::traverse() instead of MatrixTransform::traverse() which was recursive.. -2004-05-04 14:02 robert +Mon, 16 Dec 2002 10:28:14 +0000 +Checked in by : Robert OSFIELD +Added seperate Referenced.cpp implementation. - * Improved the cluster culling computation so that it now accounts - for - the local elevations. +Mon, 16 Dec 2002 10:25:31 +0000 +Checked in by : Robert OSFIELD +Added a DeleteHandler into osg::Referenced so that it can delete objects via a seperate delete handler. Useful for making unref()/ref() thread safe if the users needs to address this issue. -2004-05-04 13:58 robert +Mon, 16 Dec 2002 10:22:37 +0000 +Checked in by : Robert OSFIELD +Integrated further updates from Geoff on the Geo loader. - * Changed notify level on several debugging messages from WARN to - INFO. +Mon, 16 Dec 2002 10:05:55 +0000 +Checked in by : Robert OSFIELD +Changed the std::hex and std::dec to hex and dec to get it compile under VisualStudio, and added a using namespace std to keep it compiling on all other compilers! -2004-05-04 09:55 robert +Mon, 16 Dec 2002 09:55:30 +0000 +Checked in by : Robert OSFIELD +Added supported for setting animation path on MatrixTransform's. - * Fixed typo of OSGTERRAIN +Mon, 16 Dec 2002 00:33:48 +0000 +Checked in by : Don BURNS +Uncommented fix for returning to non-stereo from stereo to get color mask back to normal. -2004-05-04 07:24 robert +Sun, 15 Dec 2002 22:42:03 +0000 +Checked in by : Robert OSFIELD +Updates the details on the plans for Open Procuder and osgSim. - * Fixed typo of osgTerrain +Sun, 15 Dec 2002 09:57:32 +0000 +Checked in by : Robert OSFIELD +Fixes to txp plugin for Windows. -2004-05-03 20:43 robert +Sat, 14 Dec 2002 07:55:29 +0000 +Checked in by : Robert OSFIELD +Disabled the MemoryManager in all builds since it isn't yet thread safe. - * Added osgTerrain and osgdem project files +Sat, 14 Dec 2002 06:42:56 +0000 +Checked in by : Robert OSFIELD +Added a check for extension of a filename to the gif loader, since it looks like the isn't reconginizing rgb files as not being gif. -2004-05-03 20:42 robert +Fri, 13 Dec 2002 20:33:05 +0000 +Checked in by : Don BURNS +Added TrPageViewer.[h,cpp] to Demos/osgtxp (moved from the plugin directory) and modified Makefile accordingly - * Cleaned up osgTerrain, renaming the Terrain and Renderer class to - HeightFieldNode and HeightFieldRender to better reflect their - function. - Removed the GeoMipMapRenderer.cpp stub as the implemention will - be left - to a plugin. Added Version functions. +Fri, 13 Dec 2002 20:29:26 +0000 +Checked in by : Don BURNS +Moved TrpageViewer.h to Demos/src/osgtxp -2004-05-03 13:09 robert +Fri, 13 Dec 2002 20:28:58 +0000 +Checked in by : Don BURNS +Move TrPageViewer.cpp to src/Demos/osgtxp - * Changed the gdal plugin to link to the gdal_i.lib dll stub - library +Fri, 13 Dec 2002 19:41:59 +0000 +Checked in by : Robert OSFIELD +Merged fixes to warnings in geo plugin from Geoff. -2004-05-03 12:46 robert +Fri, 13 Dec 2002 16:05:07 +0000 +Checked in by : Robert OSFIELD +Fixes for txp plugin. - * Added CoordinateSystemNode and EllipsoidModel .h/.cpp's files to - project files +Thu, 12 Dec 2002 11:36:08 +0000 +Checked in by : Robert OSFIELD +Added the axis alignment into the Outline and Texture fonts drawing. -2004-05-03 12:04 robert +Thu, 12 Dec 2002 11:35:09 +0000 +Checked in by : Robert OSFIELD +Turned lighting off for whole of logo. - * Added support for automatically finding CoordinateSystemNode's in - the - scene graph and then using them to set up the CoordinateFrame - used - by the camera manipulators. +Thu, 12 Dec 2002 11:25:25 +0000 +Checked in by : Robert OSFIELD +Changed the osglogo demo to use arial texured font. -2004-05-03 07:42 robert +Thu, 12 Dec 2002 10:03:05 +0000 +Checked in by : Robert OSFIELD +Changed the colour of the text to be the same as the OpenGL logo. - * Fixed compile error +Wed, 11 Dec 2002 22:39:59 +0000 +Checked in by : Robert OSFIELD +Removed redundent std:: -2004-05-02 21:50 robert +Wed, 11 Dec 2002 19:49:34 +0000 +Checked in by : Robert OSFIELD +Converted the file to unix file endings. - * Added support for decoration of the osgTerrain::DataSet generated - databases - with a CoordinateSystemNode which reflect the coordinate system - of the - database. - - Added support for reading and writing CoordianteSystemNode into - the .osg - and .ive formats. +Wed, 11 Dec 2002 16:27:01 +0000 +Checked in by : Robert OSFIELD +Removed erroneous character from end of file. -2004-05-02 15:45 robert +Wed, 11 Dec 2002 16:24:42 +0000 +Checked in by : Robert OSFIELD +Added the afteresher.geo demo to osgtest.bat and debugtests.bat.Converted the osgtxp demo to use straight string comparison instead of case sensitive string +comparion to help cross platform portability. - * Made the tri stripping of tile default to using a minimum tri - strip length - of 3, thereby reducing the number of indivual primitives, but - with the tradeoff - of more seperate triangles being used. -2004-05-02 15:43 robert - * Made the generation of QUADS for strip with the length of 4 an - option. +Wed, 11 Dec 2002 16:14:51 +0000 +Checked in by : Robert OSFIELD +Added osgSim to the dependancy list of the geo plugin. -2004-05-02 14:04 robert +Wed, 11 Dec 2002 14:30:27 +0000 +Checked in by : Robert OSFIELD +Removed the duplicate file out from the GEO plugin.Changed the osglogo to reference a jpeg instead of a tiff one. - * Added support for settings scale the elevation of geometry -2004-05-02 14:03 robert - * Changed the default near far calculation mode so that it uses the - fine grained computation of near/far. +Wed, 11 Dec 2002 14:24:44 +0000 +Checked in by : Robert OSFIELD +Added code to the path to the executable, adding it into the libary and data file paths. -2004-05-02 13:35 robert +Wed, 11 Dec 2002 10:07:14 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32. - * Temporary fix for handling grey scale images as texture source. +Wed, 11 Dec 2002 10:03:50 +0000 +Checked in by : Robert OSFIELD +Added space in bettern /D "OSGTXP_LIBRARY" and /YX to fix a compile problem under VisualStudio. -2004-04-30 15:35 robert +Tue, 10 Dec 2002 21:18:16 +0000 +Checked in by : Robert OSFIELD +Fixes from IRIX build from Bob Kuehne. - * Added osg::CullSettings class as a way of collecting all the - various - settings related to the cull traversal in one place, so we can - keep APIs - for settings these values more consistent. +Tue, 10 Dec 2002 20:26:56 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlien, fix for new changes in osg::Switch interface. Small clean to changes by Robert. -2004-04-30 09:04 robert +Tue, 10 Dec 2002 20:00:56 +0000 +Checked in by : Robert OSFIELD +Updates from Geoff Michel to geo loader and demo. - * Added getKeyManipMap() method +Tue, 10 Dec 2002 19:58:03 +0000 +Checked in by : Robert OSFIELD +From Micheal Gronager, fix to osg::Quat::getRotate(..) to handle zero rotations.Port of Sequence to subclass directly from osg::Group. -2004-04-29 22:23 robert - * Updated to build against the move from - osgTerrain::CoordinateSystem to - osg::CoordinateSystemNode. -2004-04-29 22:22 robert +Tue, 10 Dec 2002 19:56:14 +0000 +Checked in by : Robert OSFIELD +Updates to the light points support to improve the control of the blending of light points with their background. - * Added Support for cluster culling. - - Removed osgTerrain::CoordinateSystem which is now replaced by - osg::CoordinateSystemNode. +Tue, 10 Dec 2002 17:57:02 +0000 +Checked in by : Don BURNS +Fixed endif placement for SunOS build -2004-04-29 22:21 robert +Mon, 9 Dec 2002 21:03:02 +0000 +Checked in by : Robert OSFIELD +Added setting of the current texture unit into the applyTextureAttribute() method. - * Added support for fine grained computation of the near plane, by - taking - into account individual primitives culled against the view - frustum. - - Added better support for computing the near far for billboards. +Mon, 9 Dec 2002 09:26:49 +0000 +Checked in by : Robert OSFIELD +Changed cout to notify. -2004-04-29 22:19 robert +Mon, 9 Dec 2002 06:00:57 +0000 +Checked in by : Don BURNS +fixed small typo (forgot std::) - * Added support for tracking a user specified CoordinateSystemNode - for the - CoordinateFrame to use in the camera manipulation +Sun, 8 Dec 2002 19:45:03 +0000 +Checked in by : Robert OSFIELD +Fixes for VisualStudio build of txp plugin. -2004-04-29 22:18 robert +Sun, 8 Dec 2002 17:22:20 +0000 +Checked in by : Robert OSFIELD +Modifed the .attr loaders handling if TX_BILINEAR minification filter so that it remaps it to LINEAR_MIPMAP_LINEAR to get round image quality issue of some OpenFlight databases. - * Added support for handling a user define CoordinateFrame in the - flight - and trackball manipulators with API access via the - MatrixManipulator - base class +Sat, 7 Dec 2002 21:20:40 +0000 +Checked in by : Robert OSFIELD +Tweaks the light points blend function. -2004-04-29 22:16 robert +Sat, 7 Dec 2002 21:18:12 +0000 +Checked in by : Robert OSFIELD +Updated the Switch, Sequence and Group classes so that they all used a similar style removeChild() mechansim.Made the old style osg::Switch::setValue() method deprecated. - * Added osg::CoordinateSystemNode -2004-04-29 22:15 robert - * Added missing billboard drawable dirtyBound() +Sat, 7 Dec 2002 06:59:08 +0000 +Checked in by : Don BURNS +Cleanin' up after Robert's spelling ...er ... challenges. -2004-04-29 22:13 robert +Fri, 6 Dec 2002 19:56:17 +0000 +Checked in by : Don BURNS +Typo png was npg - * Fix for VS7.0 build from Mike Weiblen +Fri, 6 Dec 2002 19:03:34 +0000 +Checked in by : Robert OSFIELD +From Tree, added support for accept(PrimitiveFunctor) into osg::Text. Currently implemention is overly simple, but will do until rewrite. -2004-04-29 21:57 robert +Fri, 6 Dec 2002 11:16:45 +0000 +Checked in by : Robert OSFIELD +Added checking of parents against switch and sequence into the RemoveRendundentNodeVisitor to prevent breaking of the orinal order of the nodes. - * Warnings fix for VS7.0 from Mike Weiblen +Fri, 6 Dec 2002 09:44:11 +0000 +Checked in by : Robert OSFIELD +From Tree, mods to help support the creation of Java bindings. -2004-04-29 21:38 robert +Fri, 6 Dec 2002 09:43:30 +0000 +Checked in by : Robert OSFIELD +Updated NEWS - * Fixed an iterator invalidation bug. (thanks to Per Månsson for - tracking down the - bug) +Fri, 6 Dec 2002 09:41:53 +0000 +Checked in by : Robert OSFIELD +Update from Norman Vine for Cygin gcc3.2 support. -2004-04-29 15:57 robert +Fri, 6 Dec 2002 09:20:20 +0000 +Checked in by : Robert OSFIELD +Updates to the osglogo demo adding colour to the sides of the cube. - * Added missing dirtyBound() to billboard section of flatten static - transforms +Fri, 6 Dec 2002 09:19:35 +0000 +Checked in by : Robert OSFIELD +Fixes from Norman Vine for Cygwin support. -2004-04-28 15:07 robert +Thu, 5 Dec 2002 15:21:25 +0000 +Checked in by : Robert OSFIELD +Updates to the osglogo demo. - * Changed M_PI to osg::PI. +Thu, 5 Dec 2002 14:30:57 +0000 +Checked in by : Robert OSFIELD +Added Brede Johansen's osgpbuffer demo, currently only runs under Windows, requires the equivilant glx support to be added. -2004-04-27 19:09 robert +Thu, 5 Dec 2002 12:43:08 +0000 +Checked in by : Robert OSFIELD +Norman Vine's changes for gcc 3.2 under Cygwin, moving of SG_EXPORT to after the extern declaration. - * Made s/getBackgroundColor() deprecated, and add in new - s/getClearColor() to - replace it. +Thu, 5 Dec 2002 12:13:30 +0000 +Checked in by : Robert OSFIELD +Added osglogo to test scripts. -2004-04-23 14:47 robert +Thu, 5 Dec 2002 12:04:38 +0000 +Checked in by : Robert OSFIELD +Added first pass at a new logo, this time generated by a osglogo demo. - * Added extra parameter policy enum +Thu, 5 Dec 2002 12:01:38 +0000 +Checked in by : Robert OSFIELD +Added support for setting the axis which the text should be aligned along. -2004-04-22 21:51 robert +Wed, 4 Dec 2002 17:34:52 +0000 +Checked in by : Robert OSFIELD +Fixes for Cywin gcc3.x build in GL and Math headers.Fix for VS build in osgshadowtexture. - * Added a guard on the simplification of already low res tiles so - that they - won't be over simplified. -2004-04-22 21:51 robert - * Added support for "--bluemarble-east", "--bluemarble-west", - "--whole-globe" - and "--range" commandline options to allow easier specification - of coords - systems for common datasets which don't come with geospatial - coords. +Wed, 4 Dec 2002 13:26:11 +0000 +Checked in by : Robert OSFIELD +Removed the osg:: from the from of the osg::TexGen::apply() call. -2004-04-22 13:36 robert +Tue, 3 Dec 2002 17:20:31 +0000 +Checked in by : Robert OSFIELD +Made the callback class uses virtual inheritance of osg::Referenced to ensure that a single class can be used for two different types of callbacks whithout incurring issues of multiple ref counts and ref()/unref() methods existing. - * Added support for protecting points from being simplified. - - Added back in support for generation of skirts in - osgTerrain::DataSet. +Tue, 3 Dec 2002 10:19:37 +0000 +Checked in by : Robert OSFIELD +Fixed the ifeq ($(OS),SunOS) so it was correctly on its own seperate line, and complimented by the required endif -2004-04-22 10:47 robert +Mon, 2 Dec 2002 19:37:43 +0000 +Checked in by : Don BURNS +updated difference between forte compilers and gnu compilers on Solaris - * Added getBoundingBox() method to osg::Geode to provide a closer - bound - of the bounding volume of a Geode to be tracked. This sits - alongside - the existing getBound() method which returns a bounding sphere. +Fri, 29 Nov 2002 22:10:12 +0000 +Checked in by : Don BURNS + Modified Files: include/osgTXP/trPagePageManager.h src/Demos/osgtxp/osgtxp.cpp Added Files: VisualStudio/Demos/osgtxp/osgtxp.dsp -2004-04-22 10:44 robert +Fri, 29 Nov 2002 16:14:03 +0000 +Checked in by : Don BURNS +Fixes to txp loader - * Added update() method to enable the ScaleBar to be updated after - changes - to attached classes. +Wed, 27 Nov 2002 05:29:59 +0000 +Checked in by : Don BURNS +Made LIB's dependent on PLUGINS for directories where both are built -2004-04-22 08:04 robert +Mon, 25 Nov 2002 16:57:49 +0000 +Checked in by : Robert OSFIELD +Added comment for future reference about the validity of using delete in the demo code... should really by using ref_ptr<> etc. - * Added pathway in code for override the colour of the wireframe - scribe +Mon, 25 Nov 2002 16:40:30 +0000 +Checked in by : Robert OSFIELD +Added check of translucency of an image via osg::Image::isImageTranslucent(). -2004-04-21 13:20 robert +Mon, 25 Nov 2002 16:39:05 +0000 +Checked in by : Robert OSFIELD +Added implementation of isImageTranslucent method. - * Added searching of the filepath. +Mon, 25 Nov 2002 16:38:33 +0000 +Checked in by : Robert OSFIELD +Added isImageTransulacent() method. -2004-04-21 11:06 robert +Mon, 25 Nov 2002 16:30:34 +0000 +Checked in by : Robert OSFIELD +Added extra check to the freeing of memory. - * Added back in tri stripping of tiles +Mon, 25 Nov 2002 16:13:57 +0000 +Checked in by : Robert OSFIELD +Fixes for OSX build from Stephan Huber. -2004-04-21 10:40 robert +Sun, 24 Nov 2002 21:36:05 +0000 +Checked in by : Don BURNS +Added Paging TerraPage loader and osgTXP library. - * Changed the edge collapse to accept edges with more than two - connected - triangles. +Sun, 24 Nov 2002 00:23:47 +0000 +Checked in by : Don BURNS +Forced GLPixmapGlyph color to white rather than using glGetCurrentColor -2004-04-20 09:46 robert +Sat, 23 Nov 2002 05:16:47 +0000 +Checked in by : Don BURNS +Freetype 2.1 and later align bitmap pitch on boundaries of 2 bytes. It is therefore necessary to use glPixelStorei(..,UNPACK_..., 2). There is an #if() statement that allows the continued use of freetype 2.0 (Rh 7.x), as well as accomodating newer releases. - * Added project files for osgsimplifier example. +Fri, 22 Nov 2002 17:36:46 +0000 +Checked in by : Don BURNS +Merged in Joseph Steel's updates to rgb plugin -2004-04-20 09:36 robert +Fri, 22 Nov 2002 09:46:25 +0000 +Checked in by : Robert OSFIELD +Warning fixes. - * Changed the debugging info to output to osg::notify() rather than - cout. - - Add a clear of all the internal EdgeCollapse structures to avoid - memory - leaks +Fri, 22 Nov 2002 08:23:54 +0000 +Checked in by : Robert OSFIELD +Adjusted tabbing. -2004-04-19 23:08 robert +Fri, 22 Nov 2002 08:05:20 +0000 +Checked in by : Robert OSFIELD +Added d to the end of the dll name for the debug build of the ac3d loader. - * Added support for using the error metric to guide the - simplficiation process +Fri, 22 Nov 2002 05:00:43 +0000 +Checked in by : Don BURNS +Fixes for IRIX build -2004-04-19 20:44 robert +Thu, 21 Nov 2002 20:28:28 +0000 +Checked in by : Don BURNS +Fixed std:: prefix and reinitialized variable for gcc 3.2 - * Changed the scoping for for variables to fix VS6.0 compile. +Thu, 21 Nov 2002 16:08:30 +0000 +Checked in by : Robert OSFIELD +Added use of ref_ptr<> for the replaced node in osg::Group::replaceChild(,) to prevent it being deleted while it was still being used with the body of the method.Added mention of the shadow texture demo. -2004-04-19 20:06 robert - * Added support for detecting edge collapses which will overturn - the local - triangles. -2004-04-18 16:15 robert +Thu, 21 Nov 2002 15:35:51 +0000 +Checked in by : Robert OSFIELD +Moved the shadow creation code into a seperate CreateShadowedScene header and source, and exposed just the basic createShadowedScene function in the header. - * Added osgsimplifier example. +Thu, 21 Nov 2002 14:54:14 +0000 +Checked in by : Robert OSFIELD +Clean up of the shadow texture code... -2004-04-18 14:12 robert +Thu, 21 Nov 2002 14:38:55 +0000 +Checked in by : Robert OSFIELD +Added shadow texture demo .dsp under the correct name! - * Changed std::cout to osg::notify +Thu, 21 Nov 2002 13:25:39 +0000 +Checked in by : Robert OSFIELD +Fixed the updating of projection matrix so that is done in eye coordinates. -2004-04-18 14:02 robert +Thu, 21 Nov 2002 09:07:11 +0000 +Checked in by : Robert OSFIELD +Added osg::Geometry::setPrimtiveSet,removePrimtiiveSet, insertPrimitiveSet and getPrimitiveSetIndex().Renamed osg::Group::findChildNum(..) to getChildIndex(). - * Changed std::cout to osg::notify +Renamed osg::Geode::findDrawableNum(..) to getDrawableIndex(). -2004-04-18 13:44 robert - * From Marco Jez, "fixes a bug that prevented mipmaps in images - from being read correctly (the call to - setImage() clears the previously filled _mipmapData vector)." -2004-04-17 22:50 robert +Thu, 21 Nov 2002 07:53:48 +0000 +Checked in by : Robert OSFIELD +Fix for compile problems under IRIX. - * Further work on Simplifer support for compute error metric +Wed, 20 Nov 2002 15:51:18 +0000 +Checked in by : Robert OSFIELD +First pass at shadow textures. -2004-04-17 20:27 robert +Wed, 20 Nov 2002 14:40:33 +0000 +Checked in by : Robert OSFIELD +Moved the code to create StateSet around textures into flt::Pool::getTexture so that the code associated with loading textures is done is just one place. - * Changed TriangleSet::iterator to const_iterator to fix build - under VS.NET. +Wed, 20 Nov 2002 07:46:25 +0000 +Checked in by : Robert OSFIELD +Fixed the texture apply method which was broken yesterday, the new code wasn't checking for the validity of _image before doing checks on it. This breaks when render to texture is used as there is no image to check against...Added osgshadowtexture demo source. Demos still in development, so don't expect +any shadows yet... -2004-04-17 16:02 robert - * Further work on simplifier edge collapse code -2004-04-16 22:50 robert +Wed, 20 Nov 2002 07:44:28 +0000 +Checked in by : Robert OSFIELD +Fixed the references osgSim project file.Added the osgshadowtexture demo project file. - * From Don Tidrow, changed "setupGLExtenions()" to - "setupGLExtensions()" in Texture and - Texture.cpp -2004-04-16 22:07 robert - * Fixed incorrecting sizing of background tex coords +Tue, 19 Nov 2002 12:48:58 +0000 +Checked in by : Robert OSFIELD +Added handling of image dirty after a textyre has been bound, the texture is now updated when the image is dirty. -2004-04-16 10:05 robert +Tue, 19 Nov 2002 12:26:51 +0000 +Checked in by : Robert OSFIELD +Updated OSX defs to compile osgSim and osglightpoint - * From Bob Kuehne, updated extension/version checking for border - clamp extension. +Tue, 19 Nov 2002 12:25:38 +0000 +Checked in by : Robert OSFIELD +Added osglightpoint to the demo list. -2004-04-15 09:37 robert +Tue, 19 Nov 2002 12:23:45 +0000 +Checked in by : Robert OSFIELD +Added visual workspace files for osgSim nodekit and osglightpoint demo. - * Added tests for the consistency of points, edges and triangles. +Tue, 19 Nov 2002 10:57:40 +0000 +Checked in by : Robert OSFIELD +Added osgSim library which encapulsulates light points.Added osglightpoint demo. -2004-04-14 11:56 robert - * Fixed typo in makefile -2004-04-14 08:58 robert +Tue, 19 Nov 2002 10:56:59 +0000 +Checked in by : Robert OSFIELD +Moved Drawable across to using osg::buffered_value.Added new osg::State::setInterleavedArray() method. - * From Garret Potts, added -losgUtil to libs linked to osgTerrain +Added new osg::Group::setNode(uint,Node*) method. -2004-04-13 16:03 robert +Cleaned up and fixed the osg::Texture's handling of dirtyTextureParamters(). - * Fixed bogus read*Implementation calls in ReadFileCallback. -2004-04-13 15:59 robert - * Added support for removing triangles and associated edge and - points from - the EdgeCollapse object. +Mon, 18 Nov 2002 16:14:00 +0000 +Checked in by : Robert OSFIELD +Added setDrawable(uint,Drawable*) method. -2004-04-13 14:39 robert +Thu, 14 Nov 2002 15:30:28 +0000 +Checked in by : Robert OSFIELD +From Jason Daly, fix for long file names on sequence nodes. - * Added support for copy all per vertex attributes to and from the - edge collapse - object. +Thu, 14 Nov 2002 09:03:31 +0000 +Checked in by : Robert OSFIELD +Updated the plugins so they do the extension checking with a non case sensitive comparison. -2004-04-12 21:30 robert +Wed, 13 Nov 2002 13:04:00 +0000 +Checked in by : Robert OSFIELD +Updated NEWS and ChangeLog for the release. - * Commented out call to osgUtil::Simplifier as this utility is not - yet functional +Wed, 13 Nov 2002 12:42:58 +0000 +Checked in by : Robert OSFIELD +Updates to docs for release -2004-04-12 21:29 robert +Wed, 13 Nov 2002 11:09:55 +0000 +Checked in by : Robert OSFIELD +Added State::computeSecondaryColorSupported() & computeFogCoordSupported().Updated NEWS. - * Further work on the new osgUtil::Simplifier. -2004-04-12 13:36 robert - * Changed the optimization of flat tiles so that it creates a flat - 8x8 height - field rather than a flat 2x2 height field. This allows geocentric - warping - of the tiles without obvious flat regions. +Wed, 13 Nov 2002 10:23:55 +0000 +Checked in by : Robert OSFIELD +Small improvement to the computation of the pixel size vector. -2004-04-11 21:21 robert +Tue, 12 Nov 2002 15:50:39 +0000 +Checked in by : Robert OSFIELD +Fixed ansisotropic scaling problem with pixel scaling/small feature culling. - * From Eric Wing, clean ups for OSX support. +Tue, 12 Nov 2002 13:51:04 +0000 +Checked in by : Robert OSFIELD +Fixed bug in stats where overdraw would be reported incorrectly. -2004-04-10 16:11 robert +Tue, 12 Nov 2002 13:37:43 +0000 +Checked in by : Robert OSFIELD +Removed debugging messages. - * From Alberto Farre, changed the cache hint option in read*() - calls from being - a bool to a enum osgDB::Registru::CacheHintOptions to be used a - bit mask flag. - - From Robert Osfied, added osgDB::Registry::ReadFileCallback and - osgDB::Registry::WriteFileCallback to allow customizition of read - and write - calls. +Tue, 12 Nov 2002 13:36:56 +0000 +Checked in by : Robert OSFIELD +Fixed bug in osg::Transform's computation of a its bounding sphere, where it was erroneously using the y axis for the z axis test. -2004-04-10 11:30 robert +Tue, 12 Nov 2002 10:22:38 +0000 +Checked in by : Robert OSFIELD +Added LEFT_EYE and RIGHT_EYE stereo to osg::DisplaySettings/osgUtil::SceneViewRenamed LODBias to LODScale. - * From Paul Martz, added support for OpenFlight15.8 - LightPointSystems -2004-04-09 08:20 robert - * Renamed MyTriangleOperator to CollectTriangleOperator. +Mon, 11 Nov 2002 20:18:27 +0000 +Checked in by : Don BURNS +Fixed a const/non-const inconsistency in NodeVisitor.cpp Fixed a blank namespace issue in UnitTestFramework.cpp -2004-04-08 11:27 robert +Mon, 11 Nov 2002 16:11:48 +0000 +Checked in by : Robert OSFIELD +Fixes to typo of *Dirty() - * Added beginning of new osgUtil::Simplifier +Mon, 11 Nov 2002 09:06:02 +0000 +Checked in by : Robert OSFIELD +Added missing demos and libs into the darwin defines. -2004-04-07 18:38 robert +Mon, 11 Nov 2002 09:01:54 +0000 +Checked in by : Robert OSFIELD +Added a getBound() to the SceneView::app() to make sure the bounding volume is updated well before the cull traversal which can be multithreaded. - * Added an alteranive code path for the fallback for handling - opaque texture - blending. +Mon, 11 Nov 2002 08:52:24 +0000 +Checked in by : Robert OSFIELD +Fixed bug in osg::Node::isCullingActive().Rnabled the automatic selection of the animation path if one is specified +on the commandline in sgv. -2004-04-07 08:57 robert - * From Paul Martz, changes to better support OpenFlight 15.8 -2004-04-06 20:15 robert +Mon, 11 Nov 2002 08:08:37 +0000 +Checked in by : Robert OSFIELD +Updates to news. - * Fixed comments on the OBJ coords system +Mon, 11 Nov 2002 08:05:23 +0000 +Checked in by : Robert OSFIELD +Updates to doc -2004-04-06 16:01 robert +Mon, 11 Nov 2002 08:05:07 +0000 +Checked in by : Robert OSFIELD +Fixes for MING build - * Fixes from Per Månsson for Win32 build +Mon, 11 Nov 2002 08:04:40 +0000 +Checked in by : Robert OSFIELD +Fixes to const paramter types. -2004-04-05 21:27 robert +Mon, 11 Nov 2002 07:20:11 +0000 +Checked in by : Robert OSFIELD +*** empty log message *** - * Added --wtk_file option +Mon, 11 Nov 2002 07:12:21 +0000 +Checked in by : Robert OSFIELD +Added osgText to dependancy list of geo plugin. -2004-04-05 15:58 robert +Fri, 8 Nov 2002 15:56:49 +0000 +Checked in by : Robert OSFIELD +Fixes to build in VS7.0 - * Re-enabled normal generation on tiles. +Fri, 8 Nov 2002 14:24:33 +0000 +Checked in by : Robert OSFIELD +Added newly generated html files. -2004-04-05 15:46 robert +Fri, 8 Nov 2002 14:15:17 +0000 +Checked in by : Robert OSFIELD +Checking in updates to documentition for the 0.9.2 release. - * Commented out scale setting when source DEM is in lat+longs. +Fri, 8 Nov 2002 14:03:44 +0000 +Checked in by : Robert OSFIELD +Removed deprecated API -2004-04-05 15:39 robert +Fri, 8 Nov 2002 12:58:34 +0000 +Checked in by : Robert OSFIELD +Updates version numbers to 0.9.2 - * Added local transform support. Fixed skirt generation to work - during geocentric - transformations. Fixed output of image files so that compressed - textures are - turned off when external image files are required. +Fri, 8 Nov 2002 12:56:45 +0000 +Checked in by : Robert OSFIELD +Updates to GEO loader from Geoff Michel. -2004-04-05 09:00 robert +Fri, 8 Nov 2002 12:54:09 +0000 +Checked in by : Robert OSFIELD +Minor warning fix. - * From Nathan Cournia, fix to = operator, was eroneous written as - an == operator. +Fri, 8 Nov 2002 12:26:41 +0000 +Checked in by : Robert OSFIELD +Added #define DARWIN_OSX_PRE_10_2 and related #ifdef checks to cope with backwards compatiblity with versions of OSX before 10.2. -2004-04-04 15:33 robert +Fri, 8 Nov 2002 11:00:16 +0000 +Checked in by : Robert OSFIELD +Added GL_LIBS to the osgText/Makefile for OSX build.Fixed typo in IntersectVisitor. - * Prelimary work on adding support for local tile transforms +Fixed warnings in osgimpsotor demo. -2004-04-02 15:55 robert - * Added support for generating compressed textures -2004-04-02 15:45 robert +Fri, 8 Nov 2002 10:25:08 +0000 +Checked in by : Robert OSFIELD +Updates to Math for OSX build.Added 3dmodelworld.com to the data source directory. - * From Bob Kuehne, reworked code to use a marco instead of - duplicated code, - done as measure for reducing the risk of copy and paste errors. +Fixed compile problem under VC6.0 in osgimpostor. -2004-04-02 15:23 robert - * Fixed computeImageResolution so that the computed num of columns - and rows - of the destination image are clamped to the nearest power of two - equal or - above the required resolution. -2004-04-01 15:00 robert +Fri, 8 Nov 2002 08:51:30 +0000 +Checked in by : Robert OSFIELD +Fixes for VisualStudio6.0 build. - * Changed default cut of ratio to be smaller, to reduce the - resolution of - tiles selected. +Fri, 8 Nov 2002 08:45:30 +0000 +Checked in by : Robert OSFIELD +Removed the usage report from sgv when it fails to load a file. -2004-04-01 13:09 robert +Fri, 8 Nov 2002 08:34:06 +0000 +Checked in by : Robert OSFIELD +Converted usage of GLuint to usigned int, in hope that it will get round the warnings generated under OSX. - * Added scaling of the PagedLOD range to be relative to the radius - of children. +Fri, 8 Nov 2002 08:12:18 +0000 +Checked in by : Robert OSFIELD +Commented back in LIBS into Makefile for OSX build. -2004-04-01 11:03 robert +Fri, 8 Nov 2002 08:11:12 +0000 +Checked in by : Robert OSFIELD +Fixes for VisualStudio build and OSX build. - * Added support for --geocentric option to allow users to specify - that the - output database should by in geocentric coordinates. +Fri, 8 Nov 2002 08:00:28 +0000 +Checked in by : Robert OSFIELD +Added TestManipulator into osgimpostor project file. -2004-04-01 11:02 robert +Thu, 7 Nov 2002 16:08:37 +0000 +Checked in by : Robert OSFIELD +Compile fix from Duvan Cope. - * Cleaned up handling of geocentric coords +Thu, 7 Nov 2002 15:45:01 +0000 +Checked in by : Robert OSFIELD +Commented out the selection of the animation path manipulator since it was somehow disabling culling?!? -2004-04-01 07:49 robert +Thu, 7 Nov 2002 15:13:32 +0000 +Checked in by : Robert OSFIELD +Titled the view in osganimate and added the title into osgimpostor. - * Changed the comment to make it clear what axis change is - implementated. +Thu, 7 Nov 2002 14:44:01 +0000 +Checked in by : Robert OSFIELD +Renamed Primitive:: to PrimitiveSet. -2004-03-31 22:31 robert +Thu, 7 Nov 2002 14:29:33 +0000 +Checked in by : Robert OSFIELD +Commented out the USE_DEPRECATED_API define. - * Added preliminary support for converting datasets into geocentric - coords +Thu, 7 Nov 2002 14:13:51 +0000 +Checked in by : Robert OSFIELD +Intergrated Martin Kada's impostor test program with the old test program. -2004-03-31 15:50 robert +Thu, 7 Nov 2002 13:56:12 +0000 +Checked in by : Robert OSFIELD +Added Geoff Michel's new osggeomdemo program which allows control of geo models via the mouse. - * Added osgTerrain::EllipsodeTransform helper class for converting - to and from - lat, long, height to geocentric X,Y,Z and back. +Thu, 7 Nov 2002 13:47:39 +0000 +Checked in by : Robert OSFIELD +Updates to GEO loader from Geoff Michel. -2004-03-31 09:20 robert +Thu, 7 Nov 2002 08:49:12 +0000 +Checked in by : Robert OSFIELD +Added shape drawable into dot osg plugin. - * Clean up freeing of no longer required tiles +Thu, 7 Nov 2002 08:48:30 +0000 +Checked in by : Robert OSFIELD +Fix for build under Linux. -2004-03-31 08:52 robert +Wed, 6 Nov 2002 23:00:37 +0000 +Checked in by : Don BURNS +Oops... experiment gon awry in makerules. This works for Solaris, but not Linux, evidently. The goal was to do a dependency update on only files that had changed, since Solaris is so gawdawful slow at doing CC -xM - * From David Fries, add init() call to SphereSegment constructor, - and - new get methods for draw mask and color. +Wed, 6 Nov 2002 18:39:32 +0000 +Checked in by : Don BURNS +Changed a couple of const/non-const discrpancies between header and source for TexGen. Removed external library dependencies in plugin makefiles -2004-03-30 22:06 robert +Wed, 6 Nov 2002 16:04:51 +0000 +Checked in by : Robert OSFIELD +Fix for backwards compatibility. - * Added back in tri stripping of geometry tiles +Wed, 6 Nov 2002 15:43:11 +0000 +Checked in by : Robert OSFIELD +Name change and const change of Drawable::drawImmediateMode(State&) to Drawable::drawImplementation(State&) const. Various updates to the rest of the OSG to accomodate this. -2004-03-30 22:02 robert +Wed, 6 Nov 2002 11:15:23 +0000 +Checked in by : Robert OSFIELD +Added in default value of _timeScale. - * Changed the writing out of tile imagery so that it only happens - when the - destination file format is not .ive. - - Added back in support for freeing un-needed tiles. +Wed, 6 Nov 2002 10:46:34 +0000 +Checked in by : Robert OSFIELD +Renamed ProceduralGeometry to ShapeDrawable to better reflect its current purpose. -2004-03-30 21:13 robert +Wed, 6 Nov 2002 10:24:33 +0000 +Checked in by : Robert OSFIELD +Added support for recording camera animation paths in osgGLUT::Viewer, and fixed the osgGA::AnimationPathManipulator to handle it.Added a new Drawable::ConstAttributeFunctor and make the accept(PrimitiveFunctor) +be a const method so can disallows modification. Added Drawable::supports(...) methods +for each of the AttributeFunctor, ConstAttributeFunctor and PrimitiveFunctor so +that programs can querry whether it is possible to use functors with that object type. - * Fixed the boundary equalization -2004-03-30 19:15 robert - * Added debugging for detecting problems in boundary equalization +Tue, 5 Nov 2002 07:50:40 +0000 +Checked in by : Robert OSFIELD +From Jason Daly, fix for 14.2 color records in versions of OpenFlight files. -2004-03-29 22:26 robert +Mon, 4 Nov 2002 15:33:08 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fix for OSX build. - * Added normal generation in polygonal tile generation, and add - --wtk option - for setting coord systems in osgdem +Mon, 4 Nov 2002 10:37:11 +0000 +Checked in by : Robert OSFIELD +Added std:: in front of string. -2004-03-29 14:40 robert +Mon, 4 Nov 2002 09:08:50 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlien, added ReaderWriter::Options to the osgconv and pfb plugin so that all the pfi files can be converted to rgb be the plugin. - * Added support for generating polygonal tiles +Mon, 4 Nov 2002 09:07:25 +0000 +Checked in by : Robert OSFIELD +Fixed warning under Visual.NET -2004-03-29 12:28 robert +Mon, 4 Nov 2002 08:40:51 +0000 +Checked in by : Robert OSFIELD +Added in guard to png loader so that it only accepts png files. This has been added since the png loader itself doesn't not seem robust enough at detecting non png files.Added a tab in to the flt code to make it more obvious what is happening in +the flow of the code. - * Fixed the handling begin()/vertex()/end() sequences in - TriangleIndexFunctor. -2004-03-29 12:28 robert - * Added extra check against a null vertex array to prevent a crash - when - tri stripping an empty geometry. +Mon, 4 Nov 2002 08:35:55 +0000 +Checked in by : Robert OSFIELD +Added back in the missing flt.dsp. -2004-03-29 10:45 robert +Fri, 1 Nov 2002 15:12:51 +0000 +Checked in by : Robert OSFIELD +Added support for primitive functor into the new osg::ProceduralGeometry class - * Groundwork for adding support for polygonal tiles +Fri, 1 Nov 2002 15:11:05 +0000 +Checked in by : Robert OSFIELD +Futher fixes for VisualStudio.NET compilation. -2004-03-29 10:24 robert +Fri, 1 Nov 2002 14:16:58 +0000 +Checked in by : Robert OSFIELD +Michael Gronage fix for aspect ratio in split stereo. - * Added empty() method to Geometry to facilitate tests for removing - empty - geometry from the scene graph. - - Added removal of empty geometry leaves from within the - RemoveEmptyNodeVisitor +Fri, 1 Nov 2002 12:48:15 +0000 +Checked in by : Robert OSFIELD +Fixed VisualStudio7.0 compile error related to an std::vector<>::iterator no longer being a pointer, fixed by using a &(*itr). -2004-03-29 09:32 robert +Fri, 1 Nov 2002 12:40:33 +0000 +Checked in by : Robert OSFIELD +Added missing Shape and ProceduralGeometry references in the osg project file. - * Fixed handling of FOURCC_DXT1 pixel format. +Fri, 1 Nov 2002 12:20:34 +0000 +Checked in by : Robert OSFIELD +Futher updates to shapes support. -2004-03-26 11:04 robert +Fri, 1 Nov 2002 12:11:23 +0000 +Checked in by : Robert OSFIELD +Added handled of invlid drawable bounding boxes. - * Added support for recording the animation paths relative to an - 0.0 start - time. +Fri, 1 Nov 2002 10:39:35 +0000 +Checked in by : Robert OSFIELD +Added export to the height field class. -2004-03-26 10:48 robert +Fri, 1 Nov 2002 10:25:27 +0000 +Checked in by : Robert OSFIELD +Updates to Shape support. - * Added empty() method as a convinience method for setting checking - whether - an animation path contains any control points +Thu, 31 Oct 2002 15:24:17 +0000 +Checked in by : Robert OSFIELD +Added a dirtyBound & diryDisplayList to the geometry merge operation in the Optimizer to fix a bug where the bouding volumes where being invildated. -2004-03-25 18:34 don +Thu, 31 Oct 2002 12:51:09 +0000 +Checked in by : Robert OSFIELD +From Geoff Michel, added AC3D .ac and GEO .geo loaders. - * Applied Norman Vine's changes for Cygwin/Mingw +Thu, 31 Oct 2002 10:36:11 +0000 +Checked in by : Robert OSFIELD +Added osg::Grid shape class, and added an example of its use into the hang glide demo. -2004-03-21 12:17 robert +Thu, 31 Oct 2002 10:35:15 +0000 +Checked in by : Robert OSFIELD +Yefei He's updates to Pool and flt2osg to use lazy loading of textures from a texture pallette. - * Added TextureType and GeometryType parameters to DataSet. These - will be used - to control what type of database is generated. +Wed, 30 Oct 2002 13:27:15 +0000 +Checked in by : Robert OSFIELD +Added first cut of new primtive shapes support. -2004-03-20 18:32 robert +Wed, 30 Oct 2002 12:58:26 +0000 +Checked in by : Robert OSFIELD +Removal of more redundent const base types. - * Implemented support for overriding the coordinate system and geo - transform - using in generate of databases. +Wed, 30 Oct 2002 12:56:55 +0000 +Checked in by : Robert OSFIELD +Updated osgText .osg support so that it handles text via the osgDB::Outpur::wrapString() method. -2004-03-20 17:21 robert +Wed, 30 Oct 2002 10:07:16 +0000 +Checked in by : Robert OSFIELD +Fixed addChild(node,value) so that it resizes using the _newChildDefaultValue rather than the add child value, then sets the child's value to value. - * From Paul Martz, code change to make the flt loader pass its - light point intensity value in to osgSim::LightPoint. +Mon, 28 Oct 2002 12:55:19 +0000 +Checked in by : Robert OSFIELD +Updated the handling of string in the .osg reading and writing so that it handles the use of " quotes inside the string. -2004-03-19 22:20 robert +Mon, 28 Oct 2002 09:43:21 +0000 +Checked in by : Robert OSFIELD +Removed the remapping of special keys to keyboard events. - * Added support for setting the geoTransform to use in source data. +Fri, 25 Oct 2002 12:29:03 +0000 +Checked in by : Robert OSFIELD +From Gideon May, fixes to remain const base type instances in headers. -2004-03-19 22:03 robert +Fri, 25 Oct 2002 09:34:51 +0000 +Checked in by : Robert OSFIELD +Updated the min and mag filter modes to be more appropriate, still some of the FLT modes havn't been mapped across as its is not obvious how to map them to OpenGL/OSG. - * Improved the argument handling. +Thu, 24 Oct 2002 20:49:15 +0000 +Checked in by : Don BURNS +changed unsigned int's to unsigned longs so 64 bit build would work. -2004-03-19 22:03 robert +Thu, 24 Oct 2002 20:45:44 +0000 +Checked in by : Don BURNS +Added ARCH64 def for 64 bit builds - * Added ArgumentParser::Parameter class to make the argument - parsing much more - flexible, and to simplifying the API. The read(,,,) methods now - take - Parameter objects as arguments, and this Parameter adapt what - ever basic - type is passed in, so is able to transparently handle float, - double, int, - unsigned int & strings. +Thu, 24 Oct 2002 15:24:39 +0000 +Checked in by : Don BURNS +FIxed set_new_handler to std::set_new_handler -2004-03-19 09:18 robert +Wed, 23 Oct 2002 07:46:11 +0000 +Checked in by : Robert OSFIELD +Fix from Don Tidrow for bug when moving between RenderGraph when popping back up to common parents. - * Moved the LineSegment destructor from the header to the source to - avoid - compilation problems under MingW. +Mon, 21 Oct 2002 15:09:03 +0000 +Checked in by : Robert OSFIELD +Changed the nameing of iterators to prevent clashes with VisualStudio's dumb compiler. -2004-03-18 21:39 robert +Mon, 21 Oct 2002 13:03:02 +0000 +Checked in by : Robert OSFIELD +Fixed spelling mistake in comment. - * Added defaults for the geotransform when none exists. +Mon, 21 Oct 2002 13:02:30 +0000 +Checked in by : Robert OSFIELD +Changed the private: to protected: to allow easier extension. -2004-03-17 20:34 robert +Fri, 18 Oct 2002 12:47:36 +0000 +Checked in by : Robert OSFIELD +Merged Pavel's updates to LWO2 for handle multiple texture layers. - * From Paul Martz, "The attached code change causes the flt plugin - to leave _sector unset if the - direction normal has a zero length. The net effect is that - unidirectional - light points with zero length direction vectors are now treated - as - omnidirectional light points." +Fri, 18 Oct 2002 12:26:23 +0000 +Checked in by : Robert OSFIELD +Added default colour and normal definition to the Geometry draw to prevent state inheritance of these attributes from causing problems of Geometry which arn't fully defined. -2004-03-17 20:31 robert +Fri, 18 Oct 2002 12:23:42 +0000 +Checked in by : Robert OSFIELD +Added extension checking to the rgb and bmp write of images. - * From Marco Jez, updates to osgParticle, with integration of - changes from Tom - Jolly. +Thu, 17 Oct 2002 21:25:56 +0000 +Checked in by : Don BURNS +USE_MM was not defined for IRIX -2004-03-17 20:04 robert +Thu, 17 Oct 2002 13:48:46 +0000 +Checked in by : Robert OSFIELD +Renamed the RenderBin::sort_local to sortImplementation(), draw_local to drawImplementation() and added a new RenderBin::DrawCallback().Added osgcubemap to the Make/ test scripts. - * Added support for writing out to .ive -2004-03-17 20:03 robert - * Added the setting of the _internalTextureFormat from within - osg::Image. +Thu, 17 Oct 2002 11:59:01 +0000 +Checked in by : Robert OSFIELD +Fixed memory allocation. -2004-03-17 17:04 robert +Thu, 17 Oct 2002 11:50:53 +0000 +Checked in by : Robert OSFIELD +Checked in fix for std::hex for dumb arsed compilers. - * Completed support for the majority of osg::Shape. +Thu, 17 Oct 2002 11:39:04 +0000 +Checked in by : Robert OSFIELD +Fixed compile error under Windows. -2004-03-17 16:11 robert +Thu, 17 Oct 2002 10:04:11 +0000 +Checked in by : Robert OSFIELD +Fixed error in #ifdef GL_SECONDARY_COLOR... CV: ---------------------------------------------------------------------- - * Added prelimary shape support to .ive plugin +Tue, 15 Oct 2002 19:10:05 +0000 +Checked in by : Don BURNS +Changed std::malloc to new in src/osgUtil/CubeMapGenerator.cpp -2004-03-17 08:15 robert +Mon, 14 Oct 2002 21:10:44 +0000 +Checked in by : Don BURNS +Fixed cstdlib to stdlib.h for IRIX in src/osgUtil/CubeMapGeneragortor.cpp - * From Paul Martz, added (non-meters) unit scaling to the flt - plugin - failed to set the scaling of external references. +Thu, 10 Oct 2002 20:04:02 +0000 +Checked in by : Robert OSFIELD +Fixes from Macro. -2004-03-16 21:03 robert +Thu, 10 Oct 2002 18:02:05 +0000 +Checked in by : Robert OSFIELD +Added missing .cpp's. - * Added better handling of number of graphic context size changes. +Thu, 10 Oct 2002 14:58:44 +0000 +Checked in by : Robert OSFIELD +Fixed the names of the ControlPoint parameters so they weren't capitals, to avoid the clash with the parameter type itself.Addd a PER_PRIMTIIVE_SET handling to the existing PER_PRIMTIIVE code, this code +is still flacky though and needs a rewrite as it doens't handle all attributes or +the full consequences of per primitive and per primitive set bindings. -2004-03-16 16:54 robert - * Added support for generation of PagedLOD databases in - osgTerrain::DataSet -2004-03-16 16:10 robert +Thu, 10 Oct 2002 13:06:24 +0000 +Checked in by : Robert OSFIELD +Added a little more info into the State contextID docs. - * From Joran Jessurun, fixed "borderColor" typo. +Thu, 10 Oct 2002 12:44:38 +0000 +Checked in by : Robert OSFIELD +Added Macro's new cube map generation classes and osgcubemap demo. -2004-03-16 09:40 robert +Thu, 10 Oct 2002 09:42:41 +0000 +Checked in by : Robert OSFIELD +Maded the "flt::Registry::getPrototype: Unkown opcode:" message a INFO level notify message rather than a NOTICE. - * Set JASPER_INSTALLED to no +Thu, 10 Oct 2002 09:39:09 +0000 +Checked in by : Robert OSFIELD +Made the warning about a mis-matching in the number of children in a switch a INFO level notify message rather than a WARN. -2004-03-15 15:47 robert +Thu, 10 Oct 2002 09:29:07 +0000 +Checked in by : Robert OSFIELD +Added remapping of special keys to be handle like a convential key press. - * Added support for controlling the type of destiation database to - create into - osgTerrain::DataSet. +Thu, 10 Oct 2002 09:00:31 +0000 +Checked in by : Robert OSFIELD +From Gabor Dorka, Fixes to memory leaks. -2004-03-14 21:54 robert +Wed, 9 Oct 2002 15:43:56 +0000 +Checked in by : Robert OSFIELD +Fixes to smoothing visitor and tesselator to handle indexed Geometry. - * Added PrimitiveIndexFunctor for better support of - TriangleIndexFunctor +Wed, 9 Oct 2002 15:41:22 +0000 +Checked in by : Robert OSFIELD +Changed the default value of StandardOrientation to true, to fix orientation problems which commonly occur with png files. Leaves the quesition of how to set this value automatically. -2004-03-14 15:40 robert +Tue, 8 Oct 2002 16:02:09 +0000 +Checked in by : Robert OSFIELD +Fixed bug in osg::LOD::addChild() which was forcing all ranges to be identical values. - * From Stephan Huber, support for reading movie files as - ImageStreams using - Quicktime (under OSX) to do the reading of the movie files. - Originally submitted as - a sperate .mov plugin, but integrated into the QuickTime plugin - by Robert - Osfield. +Tue, 8 Oct 2002 14:10:55 +0000 +Checked in by : Robert OSFIELD +Fixed a bug in the Optimizer where BIND_PER_PRIMITIVE_SET primitives where being eroneously merged.Added missing support for reading geometry indices from the .osg format. -2004-03-14 15:26 robert +Added handling of geometry indices into the primitive functor in osg::Geometry. - * From Paul Martz, "I've added support for indexed light points and - the light - point appearance palette to the OpenFlight loader. Both are 15.8 - features. - I also added parsing/comments regarding other things that have - changed for - v15.8." +Moved the method implementions of AnimationPathManipulator into src/osgGA and added extra convinience +methods for setting the manipulator with an hand built AnimationPath. -2004-03-14 15:08 robert +FCVS: VisualStudio/osgPlugins/iv/iv.dsp - * From Marco Jez, added support NVidia extension to imager formats. -2004-03-13 16:29 robert - * Moved the destructor block->release to after the cancel(). +Tue, 8 Oct 2002 08:39:42 +0000 +Checked in by : Don BURNS +osgdb_osg loader had more issues with const/non-const discrepancies on Solaris. Modified Geoset.cpp and Point.cpp -2004-03-13 12:36 robert +Tue, 8 Oct 2002 08:36:48 +0000 +Checked in by : Don BURNS +Solaris didn't like filebuf. Using old FILE - * Added setting of pivot point in AnimationPathCallback +Tue, 8 Oct 2002 07:39:38 +0000 +Checked in by : Don BURNS +Added AnimationPathManipulator to osgGA and modified sgv to use it. -2004-03-12 21:04 robert +Tue, 8 Oct 2002 05:41:19 +0000 +Checked in by : Don BURNS +Fixed some inconsistencies between header files and function definitions where the header file declared a parameter non-const, but the function definition expected a const. The Solaris linker was coming up with undefined symbols. - * Added some basic event handler. +Mon, 7 Oct 2002 21:23:37 +0000 +Checked in by : Robert OSFIELD +Added extra convinience methods to LOD - addChild(child,min,max).Added osganimate to test scripts. -2004-03-12 20:23 robert - * Cleaned up osgmovie example so it no longer depends upon - LibMpeg3, just - using readImageFile instead. -2004-03-12 16:54 robert +Mon, 7 Oct 2002 20:17:57 +0000 +Checked in by : Robert OSFIELD +Fixes to Switch so that it defaults to adding children switched on, and adds a flag to control whether children and added as true or false. - * Added the setting of the source data type in the reproject - function, and - disabled the automatic build of overviews. +Mon, 7 Oct 2002 20:01:28 +0000 +Checked in by : Robert OSFIELD +Set the default values for scale to 1,1,1. This fixes the bug obsevered when using AnimationPath with MatrixTransform without setting the scale value of the osg::AnimationPath::ControlPoint's. -2004-03-11 22:04 robert +Mon, 7 Oct 2002 19:51:11 +0000 +Checked in by : Robert OSFIELD +Added new osganimate demo which demonstrate the osg::AnimationPath in action.Added extra parameters to the AnimationPath callbacks to allow finer control. - * Changed the coordinate system option to --o_cs -2004-03-11 16:14 robert - * Moved osgTerrain::DataSet from the osgdem example into - osgTerrain. Added - various improvements. +Mon, 7 Oct 2002 11:06:37 +0000 +Checked in by : Robert OSFIELD +Added missing osg::TextureCubeMap::getAssociatedMode(). -2004-03-11 14:34 robert +Mon, 7 Oct 2002 10:02:47 +0000 +Checked in by : Robert OSFIELD +Added code to Viewer::addViewport(..) to force the sharing of a single osg::State object between viewports. - * Replaced eronous GL_TEXTURE_2D instances with GL_TEXTURE_3D and - GL_TEXTURE_RECTANGLE_NV - respectively. +Mon, 7 Oct 2002 09:41:30 +0000 +Checked in by : Robert OSFIELD +From Daneil Sjölie - modifications to the support of custom GUIEventHandlers in osgGLUT -2004-03-11 14:34 robert +Sun, 6 Oct 2002 20:33:13 +0000 +Checked in by : Robert OSFIELD +Converted osg::LOD from used n+1 successive ranges to n min/max ranges, one min/max pair per child. Converted the rest of the OSG to use the new osg::LOD node. - * From Bob Kuehne, fixed eroneous use of GL_TEXTURE_2D token in - texture object - manager usage +Fri, 4 Oct 2002 16:40:45 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build. -2004-03-11 09:04 robert +Fri, 4 Oct 2002 14:50:33 +0000 +Checked in by : Robert OSFIELD +Implemented OpenFlight style switches so that each child of a switch can now be individually turned on or off. Moved the OpenFlight code across to use the new scheme, removing the old hack of using node masks to achieve the same end result. - * Fixed normal orientation +Fri, 4 Oct 2002 13:53:41 +0000 +Checked in by : Robert OSFIELD +Changed the include of MatrixTransform to Transform. -2004-03-10 15:41 robert +Wed, 2 Oct 2002 15:28:17 +0000 +Checked in by : Robert OSFIELD +Added osgteapot demo to show how to implement custom Drawables to wrap up OpenGL code. - * Ported mpeg plugin across to use OpenThreads instead of pthreads. +Wed, 2 Oct 2002 13:16:39 +0000 +Checked in by : Robert OSFIELD +Added back in the old osg::Geometry::addPrimitive(..) methods for backwards compatibility and have placed them within a #ifdef USE_DEPREACATED_API block. -2004-03-09 23:00 robert +Wed, 2 Oct 2002 13:12:16 +0000 +Checked in by : Robert OSFIELD +Moved the new osg::IndexedGeometry class over the top of the the existing osg::Geometry class, and removed the temporary IndexedGeometry. Port the rest of the OSG across to account for the change in method calls - osg::Geometry::addPrimitive(..) becomes osg::addPrimitiveSet(..) - * From Paul Martz, fix to the scaling of light points in flt - plugin. +Mon, 30 Sep 2002 18:12:54 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate inline keyword from getOrCreateStateSet(). -2004-03-09 21:33 robert +Mon, 30 Sep 2002 18:11:34 +0000 +Checked in by : Robert OSFIELD +Added setActiveTextureUnit(0) to State::reset(). - * From Tom Jolly, addition a isCullingActive check to the culling - test done - on drawables. This solves a osgParticle bug relating to bounding - boxes being - initially at 0,0,0. +Mon, 30 Sep 2002 16:50:16 +0000 +Checked in by : Robert OSFIELD +Added traverse the AnimationPath callbacks. -2004-03-09 15:39 robert +Mon, 30 Sep 2002 13:30:46 +0000 +Checked in by : Robert OSFIELD +Added support for per primitive bindings in osg::IndexedGeometry. Added a convertToIndexedGeometry() method to GeoSet to allow datasets with per primitive bindings to be be mapped to across to osg::IndexedGeometry for testing purposes. - * Fixed mpeg plugin entry +Sun, 29 Sep 2002 17:55:46 +0000 +Checked in by : Robert OSFIELD +From Macro, added a setActiveTextureUnit(0) to osg::Text::drawImmediateMode() to prevent the wrong OpenGL mode being used. -2004-03-09 15:00 robert +Sun, 29 Sep 2002 12:33:30 +0000 +Checked in by : Robert OSFIELD +From Daniel, Fixes for warnings under Win32. - * Added MPEG plugin +Sat, 28 Sep 2002 19:09:42 +0000 +Checked in by : Robert OSFIELD +Fixes to IndexedGeometry.cpp to repair bugs introduced with Win32 build fixes.S -2004-03-09 14:59 robert +Sat, 28 Sep 2002 07:47:10 +0000 +Checked in by : Robert OSFIELD +Added a dirtyAllVertexArrays() to State::reset(). - * Added TextureRectangle(Image*) contructor. +Sat, 28 Sep 2002 07:43:04 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build. -2004-03-09 14:58 robert +Fri, 27 Sep 2002 19:04:46 +0000 +Checked in by : Robert OSFIELD +Fix build after change in GLExtensions. - * Added float s, float t parameters to createTexturedGeometry - function +Fri, 27 Sep 2002 19:01:59 +0000 +Checked in by : Robert OSFIELD +Fixes to IndexGeometry for Win32 build. -2004-03-09 14:57 robert +Fri, 27 Sep 2002 17:47:47 +0000 +Checked in by : Robert OSFIELD +Improvements to IndexedGeometry. - * Fixed compile warning +Thu, 26 Sep 2002 15:26:22 +0000 +Checked in by : Robert OSFIELD +Futher work on the IndexedGeometry class. Indexed coordinates should now work. -2004-03-09 14:00 robert +Tue, 24 Sep 2002 20:14:08 +0000 +Checked in by : Robert OSFIELD +Changed the linux linking of -lgif to -lungif.Fixed a typo in the Images name. - * Removed redundent ImageStream.h -2004-03-09 09:42 robert - * Preliminary work on general support of video textures. +Tue, 24 Sep 2002 20:04:20 +0000 +Checked in by : Robert OSFIELD +Changed the image file so that use the Images/ prefix to help locate the files within the OpenSceneGraph-Data directory. -2004-03-08 17:13 robert +Tue, 24 Sep 2002 19:41:18 +0000 +Checked in by : Robert OSFIELD +Removed redundent /-------------------------------------------------------------------- - * Added support for APPLE_client_storage to TextureRectange -2004-03-08 17:09 robert - * Added support for APPLE_client_storage of textures. +Sun, 22 Sep 2002 07:09:50 +0000 +Checked in by : Robert OSFIELD +Renamed Primitive to PrimitiveSet. -2004-03-08 11:53 robert +Fri, 20 Sep 2002 15:55:50 +0000 +Checked in by : Robert OSFIELD +From Gideon, support for tracking the number of objects constructed and deleted, only compiled in when unit tests are compiled in. - * Clean up of headers. +Fri, 20 Sep 2002 15:54:17 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlien, supported add to textures in the .lwo format. -2004-03-08 11:41 robert +Fri, 20 Sep 2002 14:51:59 +0000 +Checked in by : Robert OSFIELD +Renamed osg::Primitive to osg::PrimitiveSet which better reflect what it encapsulates.Added new osg::IndexGeometry implemention, *not* complete yet. - * Added osgGA::TrackballManipulator::g/setMinimumZoomScale() - method. +Changed the rest of the OSG to handle the renaming og Primitive to PrimitiveSet. -2004-03-08 11:02 robert - * From Bob Kuehne, change on __DARWIN_OSX__ define to __APPLE__ -2004-03-07 21:03 robert +Fri, 20 Sep 2002 14:48:41 +0000 +Checked in by : Robert OSFIELD +From Daniel, changed setEventHandler to addEventHandler. - * Added #include for Win32 build +Thu, 19 Sep 2002 10:30:15 +0000 +Checked in by : Robert OSFIELD +Added PolygonStipple class from Mike, with mods from Robert to make data management local. -2004-03-07 14:21 robert +Thu, 19 Sep 2002 09:52:50 +0000 +Checked in by : Robert OSFIELD +Made the calls to the drawing of the pre rendering stages exclit, using a seperate method in RenderStage and associated calls in sceneView.cpp. This fixes problems when doing stereo and prerender at the same time. - * Clean up of headers. +Thu, 19 Sep 2002 09:05:50 +0000 +Checked in by : Robert OSFIELD +Fixed copy constructor so that the _stage member variable was set to this correctly. -2004-03-07 14:19 robert +Wed, 18 Sep 2002 16:10:42 +0000 +Checked in by : Robert OSFIELD +Fix the sceondary color code. - * From Geof Michel, bug fix to handling of Materials +Wed, 18 Sep 2002 16:05:26 +0000 +Checked in by : Robert OSFIELD +Added missing isCompressedInternalFormat() method. -2004-03-07 14:14 robert +Wed, 18 Sep 2002 15:59:35 +0000 +Checked in by : Robert OSFIELD +Fixed mispelling of SEPARATION. - * Changed cerr to osg::notify(osg::WARN) +Wed, 18 Sep 2002 14:57:01 +0000 +Checked in by : Robert OSFIELD +Simplified the depth calculation code in CullVisitor so that it always computes the depth of all drawables, so that it is always safe for RenderBin sort routines can use these values directly.Add an example of a RenderBin::SortCallback to sgv.cpp. -2004-03-06 15:03 robert - * From Paul Marz : "Input.h, Input.cpp -- Here's where support for - reading the continuation - record goes. I added a new function to read a continued record - body. I added - code in the existing ReadRecord routine to peek ahead for a - CONTINUATION_OP - if the current record could possibly be continued. - - opcodes.h -- Besides adding the opcode for CONTINUATION_OP, I - also added new - 15.8 opcodes. I labeled opcodes as "ignored" if I could easily - discern that - our loader wasn't doing anything with them. For historical - reasons, I added - all obsolete opcodes, prefixed with "OBS_". - - LocalVertexPoolRecord.h, LocalVertexPoolRecord.cpp -- This is one - of three - types of records that can be continued with a CONTINUATION_OP - record. I - removed all invalid assertions that assumed the record length - would always - be less than 65535. I replaced the "vertex size" calculation with - a more - efficient method based on caching the size from attribute bits, - rather than - taking the length of the record and dividing it by numVerts - (which would - have been incorrect if the record had been continued)." -2004-03-06 14:38 robert +Wed, 18 Sep 2002 11:11:10 +0000 +Checked in by : Robert OSFIELD +From Daniel Sjölie - added support for multitexured flt files. - * Added osg.ico back in again to test out cvs's assignment of - keyword - substitution. +Tue, 17 Sep 2002 15:47:23 +0000 +Checked in by : Robert OSFIELD +Improved the sort callback support in osgUtil::RenderBin, and removed the now rendundent DepthSortedBin class. -2004-03-06 14:37 robert +Mon, 16 Sep 2002 20:58:05 +0000 +Checked in by : Robert OSFIELD +Further work on multiple context extensions. - * Temporarily removed osg.ico +Mon, 16 Sep 2002 10:55:09 +0000 +Checked in by : Robert OSFIELD +Commented out the call to combine LOD's in the optimizer as it was causing problems in some flt datasets. -2004-03-06 14:13 robert +Sat, 14 Sep 2002 10:38:28 +0000 +Checked in by : Robert OSFIELD +Updates the osg::Texture3D::Extensions interface to support the standardisation of extensions supported across multiple graphics contexts. - * Changed cout/cerr to osg::notify(). +Fri, 13 Sep 2002 13:50:58 +0000 +Checked in by : Robert OSFIELD +Added dirty methods for vertex arrays to better support external OpenGL code which modifies the OpenGL state and needs to tell the osg::State about it to ensure that the OSG doesn't make any errors during lazy state updating. -2004-03-05 20:07 robert +Thu, 12 Sep 2002 20:30:41 +0000 +Checked in by : Robert OSFIELD +From Pavel Moloshtan, fixes for Mingw32 build. - * From Boris Bralo, Added std:: in front of getline. +Thu, 12 Sep 2002 19:59:05 +0000 +Checked in by : Robert OSFIELD +Added opengl32.lib and glu32.lib links to osgGLUT.dsp -2004-03-05 15:44 robert +Thu, 12 Sep 2002 15:34:31 +0000 +Checked in by : Robert OSFIELD +Added asGroup() and asTransform() methods to osg::Node to downcast nodes to these types without requiring an expensive dynamic_cast<>.Also added asGeometry() to osg::Drawable for the same reasons. - * From Marco Jez, on behalf of Farshid Lashkari. Details from - Marco's email: "I've just received an addition to osgParticle - from Farshid Lashkari. It enhances the generation of texture - coordinates on particles so that animated textures can be used, - with the current frame of animation being computed from each - particle's current age. - Clients just have to call Particle::setTextureTile() and specify - the number of - horizontal and vertical tiles that make the animation up in the - texture image." -2004-03-04 18:35 robert - * From Paul Martz/Robert Osfield. Addition of initializers in - AttrData to prevent - bugs due to uninitialized memory references. +Thu, 12 Sep 2002 14:29:59 +0000 +Checked in by : Don BURNS +Fixed setFusionDistance -2004-03-04 16:38 robert +Thu, 12 Sep 2002 13:23:15 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen - Fixes to osg::Plane::valid and added a new set method.From Stephan Huber - Compilation fix to Texture.cpp for OSX. - * From Paul Martz, fix to the byte swapping of the version number +From Don Tidrow - added dirtyBound() to osgText::Text::setPosition -2004-03-04 14:33 robert - * From Bob Kuehne, added support for FragmentProgram and - VertexProgram into .ive -2004-03-04 14:32 robert +Mon, 9 Sep 2002 04:40:50 +0000 +Checked in by : Don BURNS +Added ability to accept '.tif' files (as well as '.tiff') and printed notify() on error - * Removed redundent getAssociatedModes() +Thu, 5 Sep 2002 15:45:10 +0000 +Checked in by : Robert OSFIELD +Improvements to osg::Texture3D::Extensions code. -2004-03-03 15:38 robert +Thu, 5 Sep 2002 15:13:05 +0000 +Checked in by : Don BURNS +For Solaris, /usr/local/lib dependencies now compile static libraries. This reduces the dependencies for binary installs. ALso rearranged the SunOS gnu and Forte compiler sections to be more generic - * Changed StateAttribute::getAssociatedModes(std::vector&) - across - to StateAttribute::getModeUsage(StateAttribute::ModeUsage&). +Thu, 5 Sep 2002 11:42:55 +0000 +Checked in by : Robert OSFIELD +Added new buffered_value template class which encapsulates a std::vector but initializes the array to the number of graphics contexts, and automatically expands the array when indices outside the current size are required.Added new osg::Texture::Extensions nested class to handle extensions on a per +context basis. -2004-03-03 13:27 robert - * Removed include where possible, replacing with istream - or ostream and changing - std::cout/cerr to osg::notify(). -2004-03-03 11:17 robert +Wed, 4 Sep 2002 10:51:33 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, check for max 3d texture size into the osgtexture demo. - * From Ruben, Added osgpointsprite examples. +Wed, 4 Sep 2002 10:49:17 +0000 +Checked in by : Robert OSFIELD +Added support for setting the fusion distance directly in SceneView, defaults to the original behavior of using the values from the Camera if attached. -2004-03-02 22:36 robert +Wed, 4 Sep 2002 08:14:04 +0000 +Checked in by : Robert OSFIELD +Added support for multiple graphics contexts to osg::Texture and its subclasses. - * From Ruben, addition of osg::PointSprite and osgpointsprite - example. +Wed, 4 Sep 2002 01:15:07 +0000 +Checked in by : Don BURNS +Added setting colormask to SceneView on every frame to allow toggling between stereo on and off in Anaglyphic mode. -2004-03-02 21:37 robert +Tue, 3 Sep 2002 20:12:29 +0000 +Checked in by : Robert OSFIELD +Fixes to the LWO to better handle 3 and 4 vertex polygons.Added an extra pass into the Optimizer's merging of geometry primitives so +it convertex 3 and 4 vertex polygons into triangles and quads respectively. - * From David Fries, changed the Win32 Timer init code across to - using - QueryPerformanceCounter to avoid inaccurate and slow original - Sleep based code. -2004-03-02 20:35 robert - * Added support for osg::Capsule into .osg format. +Tue, 3 Sep 2002 19:25:00 +0000 +Checked in by : Robert OSFIELD +Removed const from the evaluateLODChild(,,) callback method. -2004-03-02 20:33 robert +Tue, 3 Sep 2002 14:42:19 +0000 +Checked in by : Robert OSFIELD +Removed the temporary commenting out of the Optimizer, which was done for debugging purposes. - * From David Jung, added support for osg::Capsule shape +Tue, 3 Sep 2002 13:04:53 +0000 +Checked in by : Robert OSFIELD +Fixed LWO2 ReaderWriter problem which was down to an the compiler reodering the evaluation of a Vec3 paramter. -2004-03-02 20:05 robert +Tue, 3 Sep 2002 09:50:51 +0000 +Checked in by : Robert OSFIELD +Fixed and unmatched malloc/free pair, which was previously doing a mallco/delete. - * From Marco Jez, fix to circular reference which was causing a - crash. +Mon, 2 Sep 2002 12:31:35 +0000 +Checked in by : Robert OSFIELD +Converted the instances of const built in types being returned from methods and passed as paramters into straight forward non const built in types, i.e. const bool foogbar(const int) becomes bool foobar(int). -2004-03-02 16:57 robert +Sat, 31 Aug 2002 09:59:18 +0000 +Checked in by : Robert OSFIELD +From Yfei He, added in missing RoadConstruction handler. - * From Mike Weiblen, updated osg.ico file. +Sat, 31 Aug 2002 09:51:52 +0000 +Checked in by : Robert OSFIELD +Bug fix from Tom Jolly, which adds a check aginst a delete of gl textures in FTGLTextureFont destructor to prevent a NULL be passed to glDeleteTextures. This solves the crash on exit of osghud/osgtext. -2004-03-02 16:53 robert +Sat, 31 Aug 2002 06:04:21 +0000 +Checked in by : Don BURNS +Added the script to make IRIX distribution packages (via 'inst'). - * From Brede Johansen, added support for incrementing animation of - DOFTransform - w.r.t. time rather than frame number. +Fri, 30 Aug 2002 19:45:56 +0000 +Checked in by : Robert OSFIELD +Renamed osg::Statistics::addOpaque to addDrawable to better reflect its current function. -2004-03-02 16:12 robert +Fri, 30 Aug 2002 16:17:41 +0000 +Checked in by : Robert OSFIELD +Updates to windows build docs.Merge fixes for OSX from bob. - * From Paul Martz, with a couple of mods by Robert Osfield: - - "Changes to return the lat/long origin of an - OpenFlight model as userData of the root node object." +Added checking for impostor sprites into stats. -2004-03-02 15:37 robert - * From Paul Martz: - - "These two files fix the alignment bug in the flt plugin header - parsing, which I posted about on Saturday. They go in the flt - plugin - directory. - - The fix is to memcpy the data read from the flt file into - individual fields - in our Header struct, then replace the raw (packed) data block - with our - header struct. This avoids the alignment problem entirely, and - all fields - now contain valid data." -2004-03-02 15:27 robert +Fri, 30 Aug 2002 15:32:59 +0000 +Checked in by : Robert OSFIELD +Fixes to Math for MacOSX build.Converted TextureCubeMap to unix file endings. - * From Brad Christiansen: added _matrixDirty=true to - AutoTransform::setPosition(..) - method. From Robert Osfield, probagated this change to other - AutoTransform set - methods. -2004-03-02 15:26 robert - * Fixed warning message +Fri, 30 Aug 2002 15:17:01 +0000 +Checked in by : Robert OSFIELD +Update LANDEXT.DAT to contain all the latest core OSG files. -2004-03-01 09:15 robert +Fri, 30 Aug 2002 15:07:10 +0000 +Checked in by : Robert OSFIELD +Fixed the flatten static transform visitor. - * Build fixes +Fri, 30 Aug 2002 13:38:22 +0000 +Checked in by : Robert OSFIELD +Added std:: infront of ends references. -2004-02-26 18:33 don +Fri, 30 Aug 2002 07:17:48 +0000 +Checked in by : Robert OSFIELD +Removed the OSG_COMPILE_UNIT_TESTS define from the OSX build to avoid issues with the missing - * Changed OsgCameraGroup to check for the - Producer::RenderSurface::defaultWindowName - rather than the hard coded string +Fri, 30 Aug 2002 01:34:40 +0000 +Checked in by : Don BURNS +Some small clean ups and editorializing of the NEWS file. -2004-02-24 12:04 robert +Thu, 29 Aug 2002 20:41:19 +0000 +Checked in by : Robert OSFIELD +Fixed the numerical accuracy problems in the Drive and Flight Manipulators. - * Warning fix +Thu, 29 Aug 2002 16:38:51 +0000 +Checked in by : Robert OSFIELD +Fixed numerical accuracy problem in Trackball manipulator. -2004-02-22 11:58 robert +Thu, 29 Aug 2002 14:48:25 +0000 +Checked in by : Robert OSFIELD +Updated change log. - * Added scale parameter into PositionAttitudeTransform. - - Added pivotPoint parameter into AnimationPathCallack. +Thu, 29 Aug 2002 14:41:12 +0000 +Checked in by : Robert OSFIELD +Removed html files which relate to now removed API. -2004-02-21 16:59 robert +Thu, 29 Aug 2002 14:39:41 +0000 +Checked in by : Robert OSFIELD +Added new autogenerated .html files - * Changed the Timer class to default to using the standard clock - under - Linux to prevent Timer problems occur under Linux32 on the - Athlon64. +Thu, 29 Aug 2002 14:29:49 +0000 +Checked in by : Robert OSFIELD +Updated docs. -2004-02-21 16:57 robert +Thu, 29 Aug 2002 14:05:51 +0000 +Checked in by : Robert OSFIELD +Updated the NEWS to release the new release. - * Made the FRAME event handling in the various MatrixManipulators - return false - from the handle method to prevent frame events from being eaten. +Thu, 29 Aug 2002 11:02:01 +0000 +Checked in by : Robert OSFIELD +Renamed the ConvexPlaner* classes to ConvexPlanar* and changed all the various classes that reference it.Added MUST_READ_ME.txt to the VisualStudio directory. -2004-02-21 16:56 robert - * Added AnimationPathCallback::s/getTimeOffset and - s/getTimeMultiplier() methods. -2004-02-20 20:47 robert +Thu, 29 Aug 2002 08:39:04 +0000 +Checked in by : Robert OSFIELD +Added SG_EXPORT. - * Added missing _pause(false) into AnimationPathCallback default - contructor. +Thu, 29 Aug 2002 03:49:23 +0000 +Checked in by : Don BURNS +Blast it, Don... You should rebuild before you check things in! -2004-02-20 20:10 robert +Thu, 29 Aug 2002 03:22:27 +0000 +Checked in by : Don BURNS +Fixed 69 occurance of 'Seperate' misspelling (should be 'Separate') - * Added missing initialization in the AnimationPathCallback - constructor. +Wed, 28 Aug 2002 21:40:38 +0000 +Checked in by : Robert OSFIELD +Changed instances of new across to use osgNew to help debugging, and fixed an unitialized variable in Sequence. -2004-02-20 11:51 robert +Wed, 28 Aug 2002 19:46:56 +0000 +Checked in by : Robert OSFIELD +Fixed the optimized library name of the osgText plugin. - * Added Material::operator = +Wed, 28 Aug 2002 18:49:27 +0000 +Checked in by : Robert OSFIELD +Updated the version numbers to reflect the upcomming release 0.9.1. -2004-02-19 10:10 robert +Wed, 28 Aug 2002 18:38:33 +0000 +Checked in by : Robert OSFIELD +Fixes to Win32 build. - * Fixed typo in inline docs on the default value of the clear - stencil value +Wed, 28 Aug 2002 17:37:12 +0000 +Checked in by : Robert OSFIELD +Added std:: infront of cout and endl. -2004-02-18 21:40 robert +Wed, 28 Aug 2002 16:59:22 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build. - * Added support for osg::LineWidth into ive format +Wed, 28 Aug 2002 16:25:06 +0000 +Checked in by : Robert OSFIELD +Fixed unitialized variable in the MyTextureSubloadCallback. -2004-02-17 09:46 robert +Wed, 28 Aug 2002 16:17:54 +0000 +Checked in by : Robert OSFIELD +Added fixes to UnitTestFramework to get it compiling under Windows. - * Added support for a OSG_DISABLE_FAST_PATH_IN_DISPLAY_LISTS - environmental - variable in the computeFastPathsUsed() method so that use of - vertex arrays - can be forced off. This is a work around for a bug in the OpenGL - drivers in - OSX/Panther. +Wed, 28 Aug 2002 15:44:03 +0000 +Checked in by : Robert OSFIELD +Warning fixes for Windwos -2004-02-16 15:27 robert +Wed, 28 Aug 2002 15:35:17 +0000 +Checked in by : Robert OSFIELD +Fixed typo on osgunittests project name. - * Removed redundent byte swap on _version +Wed, 28 Aug 2002 15:28:11 +0000 +Checked in by : Robert OSFIELD +Removed deprecated code from the distribution.Added .osg support for Texture1D and Texture3D. -2004-02-12 18:40 don - * Submission by Paul Martz for doing units conversions on flight - files. -2004-02-12 12:53 robert +Wed, 28 Aug 2002 14:28:21 +0000 +Checked in by : Robert OSFIELD +Added -I{THISDIR} into the iv Makefile. - * Changed _X & _Y varaibles to _tileX & _tileY +Wed, 28 Aug 2002 14:27:18 +0000 +Checked in by : Robert OSFIELD +Updates, from Neil Salter, to comments etc to osgGA which add better explanations of how each of the classes operates. -2004-02-12 01:42 robert +Wed, 28 Aug 2002 14:26:09 +0000 +Checked in by : Robert OSFIELD +Added Neil Salter's osgUtx library into the distribution, have put all the orignal seperate headers and source into include/osg/UnitTestFrameWork and src/osg/UnitTestFramework.cpp respectively. I have done this to keep the include and source directories focused on the scene graph rather than the test framework.Have added a very simple unit test to Vec3.cpp, which are optionally +compiled in with the OSG_COMPILE_UNIT_TESTS define, which is only +currently defined in debug builds under unix. It should be fine to +add it in under Windows project files as well. - * From Shane Arnott, added drawing of "split" +Finally, a new demo app osgunittests runs the tests and reports success +or failure of the tests. -2004-02-12 01:15 robert - * Improved osgSim::SphereSegmenet's handling of transparancy. -2004-02-11 12:06 robert +Tue, 27 Aug 2002 21:01:22 +0000 +Checked in by : Robert OSFIELD +Commented out the #define TEXTURE_USE_DEPRECATED_API from includ/osg/Texture which forces the use of a typedef Texture2D Texture; in place of the orignal texure implementation. - * Added support for draw back then front faces of the osg::Sphere - shape +Tue, 27 Aug 2002 20:54:58 +0000 +Checked in by : Robert OSFIELD +Added code to write byte/int/float arrays out with 8 values per line by default, rather than 1 per line as before. -2004-02-11 10:19 robert +Tue, 27 Aug 2002 20:18:43 +0000 +Checked in by : Robert OSFIELD +Added support for DOFTransforms into .osg format, and add pivot point support to the PositionAttitudeTransform .osg support.Removed a double light reference in the osglight demo. - * From Brad Christiansen, fix to enable AutoTransform to keep track - of window - size/perspective changes -2004-02-11 10:18 robert - * Added defined(__x86_64__) to force X86-64 build to use standard - clock +Tue, 27 Aug 2002 15:46:47 +0000 +Checked in by : Robert OSFIELD +Added support for reading and writing osg::PositionAttitudeTransform. -2004-02-10 12:36 robert +Tue, 27 Aug 2002 15:46:29 +0000 +Checked in by : Robert OSFIELD +Fixed bug in the Light reading code. - * Made getViewport(...) const. +Tue, 27 Aug 2002 14:02:19 +0000 +Checked in by : Robert OSFIELD +Added proper osgtexture1D demo - this demo uses a 1D texture to dynamically contour the scene. -2004-02-10 10:07 robert +Tue, 27 Aug 2002 14:00:04 +0000 +Checked in by : Robert OSFIELD +From Marco, fix to include/GL to clean up warnigns in Windows builds. - * From David Fries, added _frameTime copying into copy constructor - of osg::Sequence +Tue, 27 Aug 2002 10:06:57 +0000 +Checked in by : Robert OSFIELD +Added osgtexture3D demo, renamed osgtexture demo to osgtexture2D, and have added osgtexture1D demo which currently is simply copy of osgtexture2D. I will be modifying it to do 1D texturing next.Fixed a bug in osg::Texture3D relating to checking of existance of +texturing. -2004-02-09 22:56 robert +Merged some fixes to the pfb loader from Ulrich Hertlein. - * From Ronny Krueger: - - In RenderStage.cpp removed erroneous else statement. - - In ShapeDrawable.cpp's PrimitiveShapeVisitor::apply(const Box& - box) fixed - order of the last face. -2004-02-09 10:14 robert - * Added new TriangleIndexFunctor. +Mon, 26 Aug 2002 20:11:24 +0000 +Checked in by : Robert OSFIELD +Fixed typo of _texParametersDirty. -2004-02-07 19:36 robert +Mon, 26 Aug 2002 19:35:43 +0000 +Checked in by : Robert OSFIELD +Removed #ifdef hacks to remove optimization with VS6.0's STL. VS6.0 STL is now no longer supported! - * Removed slideshow3D from runexamples.bat +Mon, 26 Aug 2002 15:02:31 +0000 +Checked in by : Robert OSFIELD +Moved the #define GL_DOT3_RGB_ARB's into their own #ifndef GL_ARB_texture_env_dot3 block. -2004-02-05 21:23 robert +Mon, 26 Aug 2002 13:04:43 +0000 +Checked in by : Robert OSFIELD +Moved #define's for OpenGL1.2 image formats into the include/osg/Image header to allow compilation of the rgb plugin under Windows with its 1.1 OGL headers.Added float.h to Math's compile path for VS7 compilation. - * From Eric Hammil, addition of /Zm200's to keep things compiling - under VS6 -2004-02-05 12:11 robert - * Fixed the className() defintations to be const +Mon, 26 Aug 2002 12:34:42 +0000 +Checked in by : Robert OSFIELD +Made the sort callback's sort method pure virtual. -2004-02-05 11:53 robert +Mon, 26 Aug 2002 12:28:10 +0000 +Checked in by : Robert OSFIELD +Removed redundent parameter in sort() callback which was never being used. - * Changed fonts to lower case. +Mon, 26 Aug 2002 10:30:40 +0000 +Checked in by : Robert OSFIELD +Added #include to include/osg/glut for Windows build. -2004-02-05 11:39 robert +Mon, 26 Aug 2002 10:24:01 +0000 +Checked in by : Robert OSFIELD +Updated Texture3D to use extension checking to get the relevant 3d texturing extensions. - * From Nick, Improved support for 3D labels. +Mon, 26 Aug 2002 03:15:45 +0000 +Checked in by : Don BURNS +Added writer to RGB plugin -2004-02-05 10:50 robert +Sun, 25 Aug 2002 15:31:44 +0000 +Checked in by : Robert OSFIELD +Converted code dependant on osg::Texture across to its replacement osg::Texture2D. - * From Tom Jolly, Fixes to osgSim::BlinkSequence to enable proper - saving and - loading. +Sun, 25 Aug 2002 11:00:30 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build -2004-02-05 10:15 robert +Sat, 24 Aug 2002 21:12:51 +0000 +Checked in by : Robert OSFIELD +Added guard to prevent VS7 builds using the #defines for cosf etc. - * Fixed warning in Tesselation w.r.t unhandled cases in switch - statement +Sat, 24 Aug 2002 21:12:10 +0000 +Checked in by : Robert OSFIELD +Added brief items to NEWS in prep for the 0.9.1 release. -2004-02-05 10:10 robert +Sat, 24 Aug 2002 21:11:07 +0000 +Checked in by : Robert OSFIELD +Added support for the texture_env_dot3 extension. - * Removed slideshow3D from list of example apps, and rejigged - makedefs handling - of the QUICK_TIME +Sat, 24 Aug 2002 19:39:39 +0000 +Checked in by : Robert OSFIELD +Added new osg::TextureBase, osg::Texture1D, osg::Texture2D, and osg::Texture3D classes, and changed osg::Texture and osg::TextureCubeMap so that they now derive from osg::TextureBase. -2004-02-05 09:24 robert +Sat, 24 Aug 2002 19:35:00 +0000 +Checked in by : Robert OSFIELD +Clean up of include/osg/GL and include/osg/GLExtensions for better support of Windows build. - * Removed DRAWIN_QUICKTIME definition +Fri, 23 Aug 2002 00:43:10 +0000 +Checked in by : Don BURNS +Modifed osgGLUT viewer and messages in SGV to allow for start up in full screen mode. -2004-02-04 13:21 robert +Thu, 22 Aug 2002 17:36:44 +0000 +Checked in by : Don BURNS +Fixed a dependency order - * Removed slideshow3D from project file. +Thu, 22 Aug 2002 09:19:41 +0000 +Checked in by : Robert OSFIELD +Added calling of the LightSource and ClipNode as Group by the NodeVisitor and fixed the CullVisitor and Optimizer to take account of this. -2004-02-04 13:21 robert +Thu, 22 Aug 2002 08:14:38 +0000 +Checked in by : Robert OSFIELD +Fixed the osg::Transform::coompute*() methods so the were using the _referenceFrame correctly, as previously they were doing the exact opposite from what they should have been doing. - * Removed slideshow3D project file +Wed, 21 Aug 2002 20:42:19 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "I found a small bug in QTtexture.c: the code fails, when the image-files don't reside on the boot-partition. I replaced the offending function by a cleaner one.". -2004-02-04 13:19 robert +Tue, 20 Aug 2002 22:43:42 +0000 +Checked in by : Robert OSFIELD +Moved the include from the State header into State.cpp, and added it into other files which now required it. - * Removed slideshow3D example source code, since it being moved to - a seperate - distribution. +Tue, 20 Aug 2002 18:00:22 +0000 +Checked in by : Robert OSFIELD +Added IO Support for TexEnvCombine state attribute. -2004-02-04 11:03 robert +Tue, 20 Aug 2002 14:15:49 +0000 +Checked in by : Robert OSFIELD +Added support for the tex_env_add and tex_env_crossbar extensions. - * Added virtual destructor to LightPointDrawable +Tue, 20 Aug 2002 14:12:51 +0000 +Checked in by : Robert OSFIELD +Fixes to new osgText and osgParticle project files. -2004-02-04 09:30 robert +Tue, 20 Aug 2002 12:29:35 +0000 +Checked in by : Robert OSFIELD +Added the definition of GL_FOG_COORDINATE_SOURCE to Fog.cpp.Added #include to the GLExtensions header. - * From Brad Christaiansen, added check for projection matrix - changing in - screen coord character size mode. -2004-02-03 22:46 robert - * Changes to help differentiate between OSX using Quicktime vs not - using - quicktime, from Eric Sokolosky and Robert Osfield. +Tue, 20 Aug 2002 11:27:08 +0000 +Checked in by : Robert OSFIELD +Moved the IO support for the osgText and osgParticle libraries into seperate plugin libraries. -2004-02-03 21:08 robert +Tue, 20 Aug 2002 10:26:36 +0000 +Checked in by : Robert OSFIELD +Added a error message for when OSG_NOTIFY_LEVEL is not set correctly. - * Added rounding to nearest power of two in tile image size +Tue, 20 Aug 2002 10:14:12 +0000 +Checked in by : Robert OSFIELD +Merged fixes to the osg::GLExtensions function pointer code from Stefan Huber, and a fix to osg::State's secondary color code from Bob Kuehne.Moved the body of the getGLExtensionFuncPtr() into the header to help out +support for Windows mapping of different OpenGL extensions function ptr per +dll. -2004-02-03 19:07 robert - * Added dynamic_cast into SceneView::init() - method to - properly check for class type before doing setState(). -2004-02-03 16:51 robert +Tue, 20 Aug 2002 10:08:04 +0000 +Checked in by : Robert OSFIELD +A FogCoordinateSource set/get methods to osg::Fog which correspond to the FogCoord support added to osg::Geometry. Added suppot for these new parameters to the .osg plugin. - * Added support for better merging of height fields which ignores - NoData - values. Fixed various problems with handing of coordinates - systems. Added - support for halving levels in x and y respectively, in addition - to the - previous divide in both x and y at the same time, which allows - long - line/short tall regions to be handled better. +Tue, 20 Aug 2002 08:14:02 +0000 +Checked in by : Robert OSFIELD +Reordered the string comparions so that DEBUG_INFO comes before INFO, since the find op will find INFO in a DEBUG_INFO string, and hence report the wrong notify level. -2004-02-02 17:16 robert +Mon, 19 Aug 2002 19:53:34 +0000 +Checked in by : Robert OSFIELD +Added default values to the TexEnvCombine constructor. - * From Eric Sokolosky, change to use X_INC in GNUmakefile to allow - compiling - on systems with X installed in a non standard place. +Mon, 19 Aug 2002 15:14:10 +0000 +Checked in by : Robert OSFIELD +Added missing include/osg/ClearNode -2004-02-02 16:55 robert +Mon, 19 Aug 2002 15:11:09 +0000 +Checked in by : Robert OSFIELD +Added new osg::TexEnvCombine state attribute. - * Moved the InitVisitor::setState() into the SceneView::init() - method to make - sure that it always has the correct State object at the of the - init. +Mon, 19 Aug 2002 11:42:37 +0000 +Checked in by : Robert OSFIELD +Renamed the osg::EarthSky to osg::ClearNode to make it more obvious what role it has play and make it more relevant to non vis-sim applications. -2004-02-02 08:55 robert +Mon, 19 Aug 2002 08:35:35 +0000 +Checked in by : Robert OSFIELD +Moved "unsigned int i" from for(.. to just before it, and removed subsequent ones to get the VisualStudio compiler working once more. - * Added atan2f to the list of #define's into include/osg/Math. +Sun, 18 Aug 2002 14:42:43 +0000 +Checked in by : Robert OSFIELD +Added DOFTransform, MatrixTransform and PositionAttitudeTransform to NodeVisitor.Added osg::Matrix/Quat::makeRotate(angle1,axis1,angle2,axis2,angle3,axis3) and +osg::Matrix::rotate(angle1,axis1,angle2,axis2,angle3,axis3) method. -2004-02-01 17:21 robert +Made osg::Matrix/Quat::makeRotate(heading,pitch,roll) and +osg::Matrix::rotate(heading,pitch,roll) all deprecated API. - * Commented out the PagedLOD priority offset to leave it at its - default - values, so not to force the loading of distance children before - near ones, - letting PagedLOD set priorities simply on the depth into a child - range. +Fixed the Quat*Quat & Quat*=Quat multiplication methods so that they multiplied +in the correct order - they were reversed originally due to the Quat code being +based on code example which used the v' = M v ordering, rather than the OSG's +v' = v M ordering. -2004-02-01 17:19 robert - * Changed the osgviewer example to use the osg::Timer::instance - instead a loca - instance. -2004-02-01 17:18 robert +Sun, 18 Aug 2002 11:16:31 +0000 +Checked in by : Robert OSFIELD +Added check to disable color binding when the secondary colour extension doesn't exist. - * From Nick, "I have modified the gdal code to read ecw images as - well - There is a small issue though ... - GDALRasterBand::GetColorInterpretation() - is not implemented for ecw images (in GDAL's sources I downloaded - today) - ... I put small hack in there to interpret the bands based on - their index - and it seams to work .." +Sat, 17 Aug 2002 07:34:11 +0000 +Checked in by : Robert OSFIELD +Fixed typo in #define of UBYTE4 -2004-02-01 17:17 robert +Fri, 16 Aug 2002 15:14:43 +0000 +Checked in by : Robert OSFIELD +Added Texuture::SubloadCallback example into the osgprerender demo to illustrate how to use it.Changed the ImpostorSprite to use LINEAR,LINEAR for min and mag filters for the +impostor texture. - * Increased expiry delay from 1 second to 30 seconds -2004-02-01 16:13 robert - * Fixed the PagedLOD::removeExpiredChildren() so it only removes - the high - res child that has expired and no more. +Fri, 16 Aug 2002 13:33:32 +0000 +Checked in by : Robert OSFIELD +Added new osg::Texture::SubloadCallback, and getNumMipmapLevels() to osg::Texture and osg::Image. This additions are design to make texture subloading more flexible. -2004-02-01 15:40 robert +Fri, 16 Aug 2002 10:56:20 +0000 +Checked in by : Robert OSFIELD +Fixes from Ulrich Hertlein to get the pfb plugin compiling with using any deprecated API. - * Fixed GL_COMPRESSED_RGB_S3TC_DXT1_EXT pathway so both pixel and - internal - formats are the same. +Thu, 15 Aug 2002 20:27:33 +0000 +Checked in by : Robert OSFIELD +Supported added for secondary color & fog coords to osg::Geometry and osg::State. -2004-02-01 10:27 robert +Thu, 15 Aug 2002 20:25:46 +0000 +Checked in by : Robert OSFIELD +From Perry, support for color added to the MeshPrimtive/LocalVertexPool code. - * Improvements to the merging of source image datasets into the - destination - tiles which ensure that gaps don't appear. - - Made the elevation properly scaled relative to the having the x & - y in - degrees. +Thu, 15 Aug 2002 15:04:23 +0000 +Checked in by : Robert OSFIELD +Removed the getData() from MeshRecord and the dummy SMesh record, this allow the FaceRecord base class to directly provide the datatype. -2004-01-31 21:27 robert +Thu, 15 Aug 2002 14:09:36 +0000 +Checked in by : Robert OSFIELD +Added a using namespace std; and removed std:: from from std::hex and std::dec. - * Fixed second pathway for computing HeightField bounding box. +Thu, 15 Aug 2002 13:04:13 +0000 +Checked in by : Robert OSFIELD +Added a virtual keyword into the getData() overrided methods. -2004-01-31 20:45 robert +Thu, 15 Aug 2002 11:25:23 +0000 +Checked in by : Robert OSFIELD +Submission from Perry Miller for support of OpenFlight15.7's local vertex pool and mesh primitives. Converted Perry's code to work with the osg::Geometry instead of osg::GeoSet. - * Fixed HeightField compute bounding box implementation. +Wed, 14 Aug 2002 20:56:04 +0000 +Checked in by : Robert OSFIELD +Added SG_EXPORT to PositionAttitudeTransform and MatrixTransform. -2004-01-31 11:34 robert +Wed, 14 Aug 2002 09:30:02 +0000 +Checked in by : Robert OSFIELD +Commented out the #define USE_DEPRECATED_API. - * Added AnimationPathCallback::getAnimationTime() method +Tue, 13 Aug 2002 18:29:50 +0000 +Checked in by : Don BURNS +Added some comments -2004-01-30 21:17 robert +Tue, 13 Aug 2002 15:31:10 +0000 +Checked in by : Robert OSFIELD +Futher improvements and fixes to osg::AnimationPath, and the osglight demo to show it action. - * Fixed another typo :) +Tue, 13 Aug 2002 13:22:46 +0000 +Checked in by : Robert OSFIELD +Made improvements to osg::AnimationPath, added osg::PositionAttitudeTransform::AnimationPathCallback which us an app callback which uses an AnimationPath to specify the new positions of the transform.Added AnimationPath code to osglight to animate the positional light. -2004-01-30 21:17 robert +Added CullVisitor::setCullingMode() code into SceneView so that SceneView's +CullingMode is now properly passed onto CullVisitor. Note, this work +had been done before, but must has been lost in a merge. Umm... - * Fixed misspelling of dependencies -2004-01-30 21:11 robert - * Added new dependancies file which contains a list of libraries - that various - OSG modules depend upon, these can be set as installed or not. - The makedirdefs - now uses this to configure which modules to compile. +Tue, 13 Aug 2002 09:35:06 +0000 +Checked in by : Robert OSFIELD +Fixed uninitialized _sortMode. -2004-01-30 21:10 robert +Mon, 12 Aug 2002 17:40:36 +0000 +Checked in by : Robert OSFIELD +Added new s/getPivotPoint() support to osg::PositionAttitudeTransform.Modified the osglight demo to use an AppCallback and a PositionAttitudeTransform +to animate the loaded model. - * Added osg:: infront of State in Draw callback to make the - callback work - when copy and pasting it in user code. -2004-01-30 21:09 robert - * Added new osgspacewarp example which demonstrates how to create a - star - field which becomes lines as one accelerates, similar to the - effect seen - in star trek's warp drive. +Mon, 12 Aug 2002 13:42:43 +0000 +Checked in by : Robert OSFIELD +Updates to DOFTransform so that its overrides the traverse() and compute*() methods rather than depending upon callbacks for animating and compute matrices. Merged the put/inverseput code between Sasa's and Ferndinand's DOF code.From Bora Utka, Added support to osg::Sequence/OpenFlight AnimNode to the flt plugin. -2004-01-30 16:12 robert - * From Bob Keuhne, warning fixes under OSX -2004-01-30 15:54 robert +Mon, 12 Aug 2002 13:37:35 +0000 +Checked in by : Robert OSFIELD +attempt to fix read only status of Sequence.cpp. - * Added osgText dependancy to the TXP plugin +Sun, 11 Aug 2002 21:26:58 +0000 +Checked in by : Robert OSFIELD +Removed dependency of the new osg::DOFTransform and osg::Sequence Node's on osgUtil by implementing a NodeVisitor::VisitorType enum, and associated g/setVisitorType. This allows callbacks to querry the visitor/traversal type without doing down cast's to specific visitor subclasses such as osgUtil::AppVisitor/CullVisitor. -2004-01-30 15:52 robert +Sun, 11 Aug 2002 10:32:20 +0000 +Checked in by : Robert OSFIELD +Temporarily commented out the flat staic transforms visitor since it was causing problems with the new DOFTransform class. - * Added Windows icon +Fri, 9 Aug 2002 19:51:12 +0000 +Checked in by : Robert OSFIELD +Submission for Gideon May, fixes for spacing in various osgText files. -2004-01-30 14:06 robert +Fri, 9 Aug 2002 16:27:39 +0000 +Checked in by : Robert OSFIELD +Fixed the X and Y axis rotation billboards so that now rotate correctly.Rewrote the osgbillboard demo so that it creates a point rotatated billbaord +and X,Y and Z axis billboards to both test and demonstrate this types of +billboards in action. - * Added osgmovie example, derived from Ulrich Hertlien's original - videotex - example, and brought up to date. -2004-01-30 13:53 robert - * Changed the snap image filename to save_image.jpg taking - advantage of the - new JPEG writing support. +Thu, 8 Aug 2002 21:36:22 +0000 +Checked in by : Robert OSFIELD +Fixes for IRIX 32bit timmer on O2. From Tom Jolley. -2004-01-30 13:52 robert +Thu, 8 Aug 2002 15:10:58 +0000 +Checked in by : Robert OSFIELD +Fixed warning related to where _increasingFlags is an unsigned short and 0xffffff is being truncated, spotted by Tom Jolly. - * From Stephane, added support for writing JPEG images. +Thu, 8 Aug 2002 15:09:18 +0000 +Checked in by : Robert OSFIELD +Removed inline definition from front of setMaxAnisotropy method. -2004-01-29 20:14 robert +Thu, 8 Aug 2002 13:45:16 +0000 +Checked in by : Robert OSFIELD +Fixed typos, sent in by Warren Macchi. - * Fixed the clampProjectionMatrix method so it doesn't modify the - input - znar and zfar, by avoid the use of float/double&. +Thu, 8 Aug 2002 13:41:18 +0000 +Checked in by : Robert OSFIELD +Fixed bug related to switching on/off culling modes. Patch from Nikolaus Hanekamp. -2004-01-29 17:09 don +Thu, 8 Aug 2002 11:27:11 +0000 +Checked in by : Robert OSFIELD +Changed the Geometry::setVertexArray and GeoSet::setCoords so that they call dirtyBound() instead of reseting the local bound flag, this ensures the updates are propagated upwards through into the parents. - * Adde Texture1D to .dsp file +Thu, 8 Aug 2002 11:01:07 +0000 +Checked in by : Robert OSFIELD +Fixed the shininess factor in 3ds plugin. -2004-01-29 15:47 robert +Wed, 7 Aug 2002 15:52:24 +0000 +Checked in by : Robert OSFIELD +Changed the support for anisotropic filtering in osg::Texture so that it is now controlled via the setMaxAnisotropy(float) method, and is set up independently for the mag filter mode, which it previously was done. - * Attempts to fix compile problems under IRIX due to namespace - problems. +Wed, 7 Aug 2002 10:10:33 +0000 +Checked in by : Robert OSFIELD +Renamed osgsequence.cpp to osgsequence.dsp, as it was clearly a typo... -2004-01-29 15:47 robert +Wed, 7 Aug 2002 10:08:42 +0000 +Checked in by : Robert OSFIELD +Fixed type of DOFTransform.cpp - * Improved support for handling externally set projections +Tue, 6 Aug 2002 17:07:05 +0000 +Checked in by : Robert OSFIELD +Added shells for DOFTransform and PositionAttitudeTransform to the .osg loader, still need to fill in the saving and loading of paramters.Went through the distribution remove old API usage. -2004-01-29 11:16 robert - * From Pavel Moloshtan, add support to osg::Texture files for - GL_ARB_shadow_ambinet support -2004-01-29 10:44 robert +Tue, 6 Aug 2002 10:37:22 +0000 +Checked in by : Robert OSFIELD +Changed the default value of _animationOn to true. - * Added double's as parameters to _clampProjectionMatrix() template - function to - cure compile problems +Tue, 6 Aug 2002 10:07:17 +0000 +Checked in by : Robert OSFIELD +Fixed typo in comment. -2004-01-28 22:23 don +Tue, 6 Aug 2002 10:04:06 +0000 +Checked in by : Robert OSFIELD +Adde getViewFrustum() to camera. - * Fixed WIREFRAME_CLOSED swap in flt loader. submitted by Andreas - Ekstrand +Mon, 5 Aug 2002 15:07:18 +0000 +Checked in by : Robert OSFIELD +Added new osg::DOFTransform node from Sasa Bistrovic, designed to mirror the OpenFlight DOF transform nodes. -2004-01-28 20:17 robert +Mon, 5 Aug 2002 13:29:51 +0000 +Checked in by : Robert OSFIELD +Added support for PROTECTED modes into the .osg reading and writing. - * Made the thread priority outwith the frame PRIORITY_MIN +Mon, 5 Aug 2002 13:12:09 +0000 +Checked in by : Robert OSFIELD +Added an example of the use of the PROTECTED modes and attributes into the osgreflect demo so that toggling texturing on or off won't affect the mirror planes texturing. -2004-01-28 14:44 robert +Mon, 5 Aug 2002 12:52:18 +0000 +Checked in by : Robert OSFIELD +Fixed compile errors under IRIX. - * Adding scaling of skirt. +Mon, 5 Aug 2002 12:40:24 +0000 +Checked in by : Robert OSFIELD +Added support to StateAttribute/State to support PROTECTED flag for modes and attributes so that they cannot be overriden from above via the OVERRIDE flag. This is useful for things like manipulators that have handles display in the scene, you might want to prevent their state being affected by other overriding of light, wireframe modes etc. -2004-01-28 10:53 robert +Sun, 4 Aug 2002 21:11:00 +0000 +Checked in by : Robert OSFIELD +Fix to iv/vrml loader so that it correctly passes back the right ReadResult and checks the validity of the file extension being passed to the plugin. Removed main.cpp * .h moving all its functionality into readerwriter.cpp. - * From Mike Weiblen, icons for osgviewer under Windows. The - osgviewer changes effectively provides template - for making icons for all the examples. +Sun, 4 Aug 2002 20:51:03 +0000 +Checked in by : Robert OSFIELD +Changed the error reporting so that it directs it all via osg::notify, and only uses the INFO level for reporting that the file to load is not recognised. Also add check for LWO2 loading so that it returns FILE_NOT_HANDLED message correctly. -2004-01-28 10:49 robert +Sun, 4 Aug 2002 20:34:48 +0000 +Checked in by : Robert OSFIELD +From Ruben Lopez, updates to VRML/IV loader.From Ben Discoe, corrections to comments in osg::Transform - * Added support for CullVisitor::clampProjectionMatrixCallback +From Alberto Barbati, Lazy evaluation of inverse matrix in osg::MatrixTransfrom -2004-01-27 22:45 don - * Added 1D texture support to .ive plugin. (Fixed a couple of - misspellings - as well). -2004-01-27 21:29 robert +Sat, 3 Aug 2002 19:42:39 +0000 +Checked in by : Robert OSFIELD +Added Sequence.cpp to osg plugin workspace file. - * Added support for osg::Texture::setBorderWidth(). +Sat, 3 Aug 2002 19:37:32 +0000 +Checked in by : Robert OSFIELD +Changed the copy constructor of for _light mem var to use a dynamic_cast. -2004-01-27 14:49 robert +Sat, 3 Aug 2002 18:11:21 +0000 +Checked in by : Robert OSFIELD +Integrated Ulrich Hertlien's osg::Sequence node, and osgsequence demo, and support for osg::Sequence in the pfb loader. - * Fixed problems with the DatabasePager free of texture objects and - display - list before they are finished with. +Sat, 3 Aug 2002 18:03:40 +0000 +Checked in by : Robert OSFIELD +Changed the range max and min members variables to maximum and minimum to prevent collision with windows min and max macros. -2004-01-27 14:47 robert +Sat, 3 Aug 2002 16:49:42 +0000 +Checked in by : Robert OSFIELD +Added support for a sort callback in RenderBin. - * Added className() method to GlyphTexture for debugging purposes. +Sat, 3 Aug 2002 16:48:36 +0000 +Checked in by : Robert OSFIELD +Fixed comments. -2004-01-27 14:46 robert +Sat, 3 Aug 2002 16:37:13 +0000 +Checked in by : Robert OSFIELD +Added cout's of the view frustum to the aid debugging, these cout's are now commented out, and are just left in so that they may be used to double check things in future. - * Added operator = implementations to template classes. +Fri, 2 Aug 2002 19:11:06 +0000 +Checked in by : Robert OSFIELD +Fix for Win32 build -2004-01-27 11:50 robert +Fri, 2 Aug 2002 15:14:59 +0000 +Checked in by : Robert OSFIELD +Added missing _nodePath.clear() and _segHitList.clear() to InteresectVisitor::reset(). - * From Nick, added VectorUInt in osgText/String hack to get around - VS's stoopid compiler bugs. - - From Robert, removed an #if #else #endif block, for code clarity. +Wed, 31 Jul 2002 15:16:14 +0000 +Checked in by : Robert OSFIELD +Updates to iv/vrml loader from Ruben. -2004-01-26 14:52 robert +Tue, 30 Jul 2002 10:08:50 +0000 +Checked in by : Robert OSFIELD +Updates to the iv loader from Ruben - conversion from GeoSet to Geoemetry. - * Re-enabled the unref image of texture apply, since the bug of - disappearing - textures was due to a bug in DatabasePager. +Mon, 29 Jul 2002 21:29:41 +0000 +Checked in by : Robert OSFIELD +Forced the use of non mip mapped texture during subloading in the osgprerender demo. -2004-01-26 14:51 robert +Mon, 29 Jul 2002 11:02:14 +0000 +Checked in by : Robert OSFIELD +Removed default value from constructor. - * Set the delete of expired subgraphs in the database thread to - false, to - prevent problems with osgText. Will need to solve the - dirtyTextureObject - issue. +Mon, 29 Jul 2002 00:04:07 +0000 +Checked in by : Robert OSFIELD +Fixes to the new texture subloading methods. -2004-01-26 13:55 robert +Sun, 28 Jul 2002 23:28:27 +0000 +Checked in by : Robert OSFIELD +Checked in new methods for setting up texture subloading, these allow the user to control which parts on an image are subloaded from, and how big the initial texture is. - * Removed Texture unref on apply. +Sun, 28 Jul 2002 23:27:21 +0000 +Checked in by : Robert OSFIELD +Checked in Pavel's updates for non texured surfaces. -2004-01-26 09:01 robert +Sun, 28 Jul 2002 21:25:32 +0000 +Checked in by : Robert OSFIELD +Added set/getUnrefImageOnApply() methods and associated flag and code in Texture::apply() to set the _image to 0 on apply. Note, this will only work when you have a single graphics context, as with multiple graphics contexts one can't delete the image after the first apply, as there will be more than one texture object to update. - * Fix to computation of size of texture in presense of compressed - textures + mipaplevels<=1 +Sun, 28 Jul 2002 21:15:25 +0000 +Checked in by : Robert OSFIELD +Checked in Marco's commented out #defines/rejigged struct names to get things compiling under Windows, will need to check this in future as it may change with regeneration of parser files with lex/yacc. -2004-01-25 13:52 robert +Sun, 28 Jul 2002 12:52:15 +0000 +Checked in by : Robert OSFIELD +Chagned the initiliazation of iterators, sent in by Alberto Barbati. - * From Nick, added Text support. +Sun, 28 Jul 2002 12:49:01 +0000 +Checked in by : Robert OSFIELD +Fixes to NodeCallback and RenderBin from Alberto Barbati. -2004-01-24 20:50 robert +Sat, 27 Jul 2002 21:35:21 +0000 +Checked in by : Robert OSFIELD +Fixes to the inventor/vrml loader. - * Removed redundent , from enum. +Sat, 27 Jul 2002 10:34:14 +0000 +Checked in by : Robert OSFIELD +From Macro, removal of use of display lists during double pass rendering of particles. -2004-01-24 09:41 robert +Sat, 27 Jul 2002 10:25:51 +0000 +Checked in by : Robert OSFIELD +Fix for Windows - * Added release of file request block in the DatabasePager - destructor. +Sat, 27 Jul 2002 10:22:58 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build. -2004-01-23 21:47 robert +Sat, 27 Jul 2002 10:09:39 +0000 +Checked in by : Robert OSFIELD +Added return value to addViewport. - * Added proper handling of the rotation of billboards about an - artbitary axis. - Note, this code while mathermatically is not optimal, and will - need to - reviewed in the future to optimize it. +Fri, 26 Jul 2002 18:46:18 +0000 +Checked in by : Robert OSFIELD +Added missing osg:: from various references to osg::Objectf -2004-01-23 16:29 robert +Fri, 26 Jul 2002 16:33:25 +0000 +Checked in by : Robert OSFIELD +Added support for LWO2, send in by Pavel Moloshtan. - * Added rotation of billboard normal into flattern transform - Optimizer pass. +Fri, 26 Jul 2002 16:02:57 +0000 +Checked in by : Robert OSFIELD +Added project file for inventor plugin. -2004-01-23 16:09 robert +Fri, 26 Jul 2002 15:37:23 +0000 +Checked in by : Robert OSFIELD +Added Ruben Lopez's Inventor/VRML 1.0 loader. - * Made getLookAt() etc methods const +Fri, 26 Jul 2002 12:49:19 +0000 +Checked in by : Robert OSFIELD +Change Geometry paramter name to lower case geometry. -2004-01-23 13:38 robert +Thu, 25 Jul 2002 22:08:51 +0000 +Checked in by : Robert OSFIELD +From Ferdinand Cornelissen - Futher updates to the DOF code. - * Fixed the handling of the Producer Fovy so that it accounts for - Producer - now using degrees in set and get methods +Thu, 25 Jul 2002 21:58:53 +0000 +Checked in by : Robert OSFIELD +Added missing return statement to if() block in Matrix::mult code. Bug spotted by Ray Conner. -2004-01-23 13:25 robert +Thu, 25 Jul 2002 21:50:08 +0000 +Checked in by : Robert OSFIELD +Fixes to Doxygen files from Neil.Removed unused set/getReportMode() methods and member variables from IntersectVisitor. - * From Romano Magacho, fixes to handle the subloading from Image - when the - internal format changes requiring a rebuild of the texture - object. +Added deep copy construction of Geometry objects. -2004-01-23 12:06 robert - * Reverted by hand osgshadowtexture -2004-01-22 14:24 robert +Thu, 25 Jul 2002 21:45:46 +0000 +Checked in by : Robert OSFIELD +Changed > operator to < and swapped sides of expression, to enable compilation across compilers. - * Added support for copying tex coord data directly from - prpgGeometry. +Thu, 25 Jul 2002 16:15:01 +0000 +Checked in by : Robert OSFIELD +Fix to geometry combiner which wasn't check the overall color array values in the lessGeometry functor. -2004-01-22 12:28 robert +Thu, 25 Jul 2002 15:25:42 +0000 +Checked in by : Robert OSFIELD +Fix to DOF Record from Sasa Bistroviae. - * Added report of LOD scale +Thu, 25 Jul 2002 15:21:18 +0000 +Checked in by : Robert OSFIELD +Fix for colors in old flt models from Brede. -2004-01-22 12:21 robert +Thu, 25 Jul 2002 14:42:01 +0000 +Checked in by : Robert OSFIELD +Removed double quotes from around the : DBGF = -g -DOSG_USE_MEMORY_MANAGERAs this was breaking the build. - * Added setLODScale into TileMapper traversal -2004-01-22 11:33 robert - * Added back in handling of non seam children in seam subgraphs, - now uses - a seperate group to enclose both the seam and the non seam - children. +Wed, 24 Jul 2002 16:29:00 +0000 +Checked in by : Robert OSFIELD +Implemented the DOF handling more cleanly, as per OpenFlight15.7 docs. -2004-01-22 10:55 robert +Tue, 23 Jul 2002 18:44:03 +0000 +Checked in by : Robert OSFIELD +Added missing std:: to endl; - * From Nick, addition of pruning to remove redundent local - materials. +Tue, 23 Jul 2002 15:48:12 +0000 +Checked in by : Robert OSFIELD +Added the missing _primtives from the copy constructor list. -2004-01-22 10:43 robert +Tue, 23 Jul 2002 15:45:55 +0000 +Checked in by : Robert OSFIELD +Added fog toggling to Viewer.cpp, 'y' reduces fog density, 'Y' increases fog density. - * Added setName("TileContent") on the subgraphs that represent the - contents - of the tiles, this name is then searched for during the - TileMapper pre - cull traversal to help cut short traversals, and thereby improve - its performance. +Tue, 23 Jul 2002 15:01:51 +0000 +Checked in by : Robert OSFIELD +Mods for HP-UX port. -2004-01-22 10:42 robert +Tue, 23 Jul 2002 14:35:38 +0000 +Checked in by : Robert OSFIELD +Added mode checking into StateSet to try and catch non texture OpenGL modes which have been applied to the texture modes and visa-versa. - * Added controls over the datatbase pager threading priority during - and outwith the frame. +Tue, 23 Jul 2002 13:30:47 +0000 +Checked in by : Robert OSFIELD +Support added for Gnu C++ under Solaris. -2004-01-21 20:38 robert +Tue, 23 Jul 2002 10:48:22 +0000 +Checked in by : Robert OSFIELD +Checked in Tino Schwarze's port to HP-UX. - * Added _activeSwitchSet(sw._activeSwitchSet) into the copy - constructor. +Mon, 22 Jul 2002 16:01:00 +0000 +Checked in by : Robert OSFIELD +Updates to osgParticle form Macro. -2004-01-21 19:13 robert +Mon, 22 Jul 2002 13:05:31 +0000 +Checked in by : Robert OSFIELD +Merged changed to osgParticle from Macro, these add the ability to orientate the particles to predefined axis. - * Commented back in osg::Material settings +Mon, 22 Jul 2002 12:41:55 +0000 +Checked in by : Robert OSFIELD +Fixed more uninitialized variables and two potential memory leaks. -2004-01-21 17:26 robert +Sun, 21 Jul 2002 20:34:38 +0000 +Checked in by : Robert OSFIELD +Fixed various uninitiliazed variables. - * Added new mechanism for handling Seams. +Sun, 21 Jul 2002 10:44:25 +0000 +Checked in by : Robert OSFIELD +Added default construction values for various member variables to fix report uninitialized variables. -2004-01-20 10:02 robert +Sun, 21 Jul 2002 10:04:33 +0000 +Checked in by : Robert OSFIELD +Futher work on ensuring that all datatypes are initilizaed in OSG objects. - * Build fix. +Sun, 21 Jul 2002 01:29:11 +0000 +Checked in by : Robert OSFIELD +Futher changes to remove unitialized variables/reordering of initialization to prevent unitialized warnings. -2004-01-19 15:55 robert +Sat, 20 Jul 2002 23:54:55 +0000 +Checked in by : Robert OSFIELD +Various fixes to constructors to ensure that all variables are initialized. - * Upates from Nick. +Sat, 20 Jul 2002 22:44:21 +0000 +Checked in by : Robert OSFIELD +Added missing default values to State constructor. -2004-01-19 11:02 robert +Sat, 20 Jul 2002 22:40:24 +0000 +Checked in by : Robert OSFIELD +Added default values for FrameStamp.cpp constructor. - * Added support for osg::Texture::setUnRefImageDataAfterApply(true) - into all - objects osg::Textures the TXP plugin creates. +Sat, 20 Jul 2002 22:36:55 +0000 +Checked in by : Robert OSFIELD +Removed the rendundent variables in the ConvexPlanerPolygon as these were unused and unitialized. -2004-01-19 11:01 robert +Sat, 20 Jul 2002 22:36:09 +0000 +Checked in by : Robert OSFIELD +Added new debugging switch checkOnAllocations which is now on by default when compiling with debug build (under UNIX) and can be turned on or off with the OSG_MM_CHECK_ON_ALLOCATIONS environmental variable. - * Fixed bug in logic in areAllTextureObjectsLoaded() which was - producing the - exact opposite result to what it should have been generating. +Sat, 20 Jul 2002 21:37:10 +0000 +Checked in by : Robert OSFIELD +Added some extra checks for memory initialization into the osg::MemoryManager, this is turned off by default, even in debug build. However you can turn it on by setting the OSG_MM_CHECK_FOR_UNINITIALIZED -2004-01-18 21:59 robert +Sat, 20 Jul 2002 18:27:40 +0000 +Checked in by : Robert OSFIELD +Umm... these should have already been commited, not sure why cvs has just popped these ones up... - * Updates for improvements to osgdem, such as adding support for - skirt - and border into osg::HeightField, handling of computation of - neigherbouring - tiles in osgdem's DestinationGraph. +Sat, 20 Jul 2002 16:24:12 +0000 +Checked in by : Don BURNS +Added logo plugin -2004-01-16 16:39 robert +Sat, 20 Jul 2002 15:01:49 +0000 +Checked in by : Robert OSFIELD +Fixed the char[] array length to fully encompass the strings bring written to them. - * Improvements to generation of terrain and texture'd LOD'd - destination datasets +Sat, 20 Jul 2002 15:00:47 +0000 +Checked in by : Robert OSFIELD +Fixed the glTessCallback type to GLU_TESS_ERROR_DATA. -2004-01-15 21:07 robert +Fri, 19 Jul 2002 15:49:43 +0000 +Checked in by : Robert OSFIELD +Small bug fix to osg::BoundingBox::expandBy(x,y,z).Updated ChangeLog and NEWS for the release. - * Added automatic generation of LOD levels with destination graph -2004-01-14 15:14 robert - * Clean ups of floats & .0f's +Fri, 19 Jul 2002 15:03:23 +0000 +Checked in by : Robert OSFIELD +Removed debugging cout's. -2004-01-13 16:07 robert +Fri, 19 Jul 2002 14:52:44 +0000 +Checked in by : Robert OSFIELD +Updated Doyxgen files. - * Fixed #undef's +Fri, 19 Jul 2002 14:19:49 +0000 +Checked in by : Robert OSFIELD +Updates to the Geometry to add more access methods, and updates to Optimizer to add the new merge primtives option. -2004-01-13 10:30 robert +Fri, 19 Jul 2002 13:49:54 +0000 +Checked in by : Robert OSFIELD +Added primitve merging into the osg::Geometry optimizer. - * From Daved Ergo, patch for handling group names better +Fri, 19 Jul 2002 12:51:23 +0000 +Checked in by : Robert OSFIELD +Removed the cow.osg paramter for the osgparticle cow.osg in the test scripts -2004-01-13 09:47 robert +Fri, 19 Jul 2002 10:18:29 +0000 +Checked in by : Robert OSFIELD +Added MatrixTransform.cpp. - * Fixed typo's of ImpostorSprite +Fri, 19 Jul 2002 09:10:41 +0000 +Checked in by : Robert OSFIELD +Changed the "reflect.rgb" path to "Images/reflect.rgb" to the help find the file required. -2004-01-13 09:47 robert +Thu, 18 Jul 2002 22:35:54 +0000 +Checked in by : Robert OSFIELD +Updates NEWS file for 0.9.0 release.Added default computeBound() implementation to osg::Drawable which uses +a PrimtiveFunctor to compute the bounding box in a generic way, that +will work for all Drawable subclasses that implement the accept(PrimitiveFunctor&). - * Fixed for Win32 build -2004-01-12 22:03 robert - * Added support for automatic subdivision of the destination graph +Thu, 18 Jul 2002 22:34:08 +0000 +Checked in by : Robert OSFIELD +Added osgoccluder to test scripts. -2004-01-12 14:22 robert +Thu, 18 Jul 2002 19:54:22 +0000 +Checked in by : Robert OSFIELD +Moved the 't' operation on texture modes across to use the new StateSet::setTextureMode methods, this enables 't' to work once more! - * Introduce new Matrix::invert() implementation from Ravi Mathur, - with tweaks - by Robert Osfield. +Thu, 18 Jul 2002 19:54:11 +0000 +Checked in by : Robert OSFIELD +Updated docs ready for the release. -2004-01-12 14:21 robert +Thu, 18 Jul 2002 19:41:52 +0000 +Checked in by : Robert OSFIELD +Moved get/setUserData from osg::Node into its superclass osg::Object to allow other subclasses to add their own custom data. - * Fixed compile warning +Thu, 18 Jul 2002 15:36:14 +0000 +Checked in by : Robert OSFIELD +Rewrote the osg::Drawable::AttributeFunctor and PrimtiveFunctor to make them more consistent with each other. This does mean an API change, so dependanct code in the OSG has been updated accordingly. -2004-01-12 13:53 robert +Thu, 18 Jul 2002 15:28:26 +0000 +Checked in by : Robert OSFIELD +From Randall Hopper, warning fixes for IRIX. - * Changed of _firstTime intial values of 0 to DBL_MAX. +Thu, 18 Jul 2002 15:25:02 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen, fix the TexturePaletteRecord::endian() to handle old flt versions (11, 12 & 13). -2004-01-11 21:33 robert +Thu, 18 Jul 2002 14:29:32 +0000 +Checked in by : Robert OSFIELD +From Brede Johansen "I have found one bug in the ConvertFromFLT::visitFace() function. In the early days of the Flight format, before the LightPoint record existed they used face records with a light (-point) attribute." - * Improvements from Pavel. +Thu, 18 Jul 2002 14:20:01 +0000 +Checked in by : Robert OSFIELD +Rewrote osg:Statistics so that it is PrimitiveFunctor as is now completely decoupled from osg::Drawable. The Drawable::getStats() virtual method no longer exists.Updated the Viewer to use the osg::Statistics incarnation and reformated stats +to clean it up. -2004-01-10 21:29 robert - * Added support for controlling the LODScale via '*' and '+' keys - in - osgProducer::Viewer. -2004-01-10 20:58 robert +Thu, 18 Jul 2002 10:55:04 +0000 +Checked in by : Robert OSFIELD +Added code into osg::LightSource so it correctly computes its bounding sphere, taking into account any subgraph below, and the light itself if it is not a infinite light. - * Fixed consolodateRequireResolutions() methods +Thu, 18 Jul 2002 10:49:37 +0000 +Checked in by : Robert OSFIELD +Updated the test scripts to include cube mapping example and osglight demo. -2004-01-10 17:13 robert +Thu, 18 Jul 2002 10:41:39 +0000 +Checked in by : Robert OSFIELD +Removed repeated return transform in the visitDOF method. - * From Alberto Farre, added osgDB::SharedStateManager. Also a - couple of - ammendments by Robert Osfield, adding get/setSharedStateManager() - methods into osgDB::Registry, and clean up fixes in - SharedStateManager - for the StateSet arrays. +Thu, 18 Jul 2002 10:38:16 +0000 +Checked in by : Robert OSFIELD +Added support for .sgi alias extension to the .rgb plugin. -2004-01-10 09:10 robert +Thu, 18 Jul 2002 10:06:21 +0000 +Checked in by : Robert OSFIELD +Fixed warnings. - * Did a to_unix on all the LWS files include GNUmakefile. +Thu, 18 Jul 2002 09:55:30 +0000 +Checked in by : Robert OSFIELD +Converted the osg::Material::set/getShininess option to use the standard OpenGL range of 0.0 to 128.0 instead of the previous normalised shiniess range. This brings it inline with the way the rest of the OSG uses a 1 to 1 mapping to OpenGL.Converted the various loaders to use the new range, which is almost all +cases was simply removing the /128.0f which was required before! -2004-01-09 20:33 robert - * Standardised on using value_type in most methods in Matrixd & - Matrixf interfaces - and Matrix_implementation.cpp. -2004-01-09 14:07 robert +Thu, 18 Jul 2002 09:17:50 +0000 +Checked in by : Robert OSFIELD +Added const to LessGeometry functor to fix Win32 build. - * From Romano Magacho, add group->setName() to flattening of static - transforms +Thu, 18 Jul 2002 00:55:01 +0000 +Checked in by : Robert OSFIELD +Fixed spelling mistake. -2004-01-09 13:35 robert +Thu, 18 Jul 2002 00:53:03 +0000 +Checked in by : Robert OSFIELD +Various fixes to the flt loader, and knock on changes to the osgUtil::Optimizer to better support removal of seperate osg::Geometry instances where they share the same state and bindings. - * Fixed to TXP plugin from Nick. +Wed, 17 Jul 2002 16:24:55 +0000 +Checked in by : Robert OSFIELD +Changed from a -> to *() when using the object pointed to by a reverse iterator, to fix problems with build under VS6/STLport. -2004-01-08 21:39 robert +Wed, 17 Jul 2002 12:21:53 +0000 +Checked in by : Robert OSFIELD +Fix for Win32 build. - * Fixes from Geoff. +Wed, 17 Jul 2002 10:00:50 +0000 +Checked in by : Robert OSFIELD +Several items of work related to adding a manual creation of occluders option to the osgoccluder demo.First the osgGA classes have been generalised a little to better support +new GUIEventHandler subclasses. -2004-01-08 21:04 robert +Second osgGLUT has a new option for registering a user defined event handler, +the allows the application to add externally extra options to the osgGLUT viewer. - * Made the default settings of Quat 0,0,0,1 to represent a zero - rotation. +Third, the osgoccluder demo now works in two modes. The original create +four occluder sides to wrap an loaded model, the second an interactive +mode which allows the users to add occluders to the model by pointing +to points and pressing 'a' to add a point, the 'e' to end the occluder +polygon, polygons must be convex, planer and be defined in an anitclockwise +order. To start the osgoccluder in this mode one simple runs it with the +'-c' option. Run osgoccluder with no parameter to get a list of options. -2004-01-07 20:58 robert - * Moved the default light to be from the sky. -2004-01-07 19:57 robert +Tue, 16 Jul 2002 20:07:32 +0000 +Checked in by : Robert OSFIELD +Updated docs and added osgGA - * Fixed TXPPagedLOD.h/.cpp typos. +Tue, 16 Jul 2002 19:21:31 +0000 +Checked in by : Robert OSFIELD +Updates from Bob Kuehne and Kristopher Bixler to remove the fink dependency from the MacOSX build. -2004-01-07 14:14 robert +Tue, 16 Jul 2002 19:19:31 +0000 +Checked in by : Robert OSFIELD +Fix to DOF Record from Sasa Bistrovic - * Fixed tabs to be four spaces. +Tue, 16 Jul 2002 19:17:30 +0000 +Checked in by : Robert OSFIELD +Added SpotExponent to the spot light. -2004-01-07 14:10 robert +Tue, 16 Jul 2002 18:56:12 +0000 +Checked in by : Robert OSFIELD +Removed repeat line from Makefile. - * From Nick, updates to TXP plugin to handle differences in LOD - levels - between adjacent tiles. +Tue, 16 Jul 2002 15:43:20 +0000 +Checked in by : Robert OSFIELD +Bumped up the version numbers to 0.9.0 to reflect the upcomming release. -2004-01-07 12:38 robert +Tue, 16 Jul 2002 15:28:25 +0000 +Checked in by : Robert OSFIELD +Rewrote the apply_imp template method so that it takes an initialization paramater. - * Added osgsimplepager example program +Tue, 16 Jul 2002 15:13:57 +0000 +Checked in by : Robert OSFIELD +Fixes for MacOSX build from Bob Kuehne. -2004-01-07 12:38 robert +Tue, 16 Jul 2002 15:12:36 +0000 +Checked in by : Robert OSFIELD +Added the beginings of an osglight demo. - * Removed redundent DatabasePager pointer. +Tue, 16 Jul 2002 11:33:36 +0000 +Checked in by : Robert OSFIELD +Added TextureCubeMap.cpp to the .osg plugin Makefile. -2004-01-07 12:37 robert +Tue, 16 Jul 2002 10:20:26 +0000 +Checked in by : Robert OSFIELD +Fixed the new TemplateArray desctructor. - * Added DatabasePager::setUseFrameBlock(bool) method +Tue, 16 Jul 2002 10:16:34 +0000 +Checked in by : Robert OSFIELD +Added protected destrcutor to TemplateArray. -2004-01-07 08:43 robert +Mon, 15 Jul 2002 22:23:57 +0000 +Checked in by : Robert OSFIELD +Added support to osgUtil::Tesselator to insert extra vertices and other attributes into an osg::Geometry node. Uses the new osg::ArrayVisitor.Converted the osg plugin Geometry support to use the new UByte4 class. - * Removed eroneous CreateShadowedScene.cpp/.h from .dsp -2004-01-07 08:39 robert - * Moaved PagedLOD::PerRangeData implementaton into .cpp and add - missing - return *this to copy operator. +Mon, 15 Jul 2002 22:18:47 +0000 +Checked in by : Robert OSFIELD +Added osg::UByte4 class, which can be used to represent packed colors.Changed osg::UByte4Array across to use the new osg::UByte4 class rather +than a GLuint as do previously. -2004-01-07 08:36 robert +Cleaned up some of the paramters in osg::Vec4. - * Fixed ending of .dsp -2004-01-06 21:18 robert - * Simplified the API for using the DatabasePager, by providing a - single - DatabasePager::updateSceneGraph(..) method, and added a ref_ptr<> - into - osDB::Registry for managing a single DatabasePager in a - centralised way. +Mon, 15 Jul 2002 13:39:11 +0000 +Checked in by : Robert OSFIELD +Removed the second texture from the prerender demo so as not over complicate the final image. -2004-01-06 15:56 robert +Mon, 15 Jul 2002 13:20:41 +0000 +Checked in by : Robert OSFIELD +Fixed the orientation of the osgreflect demo so that the reflection plane is orientated towards the viewer.Changed the lightmodel ambient level to 0.1,0.1,0.1 instead of 0.0, so that +a small amount of ambient lighting is available to render back surfaces. +The osgreflect and osgprerender suffered unexpected behaviors because of +no lighting on the backfaces. - * Added osgdistortion examples .dsp -2004-01-06 14:37 robert - * Fixed comments +Mon, 15 Jul 2002 13:14:28 +0000 +Checked in by : Robert OSFIELD +Added a MatrixTransform to tilt the osgreflect demo so that the reflection plane is seen clearly. -2004-01-06 14:09 robert +Mon, 15 Jul 2002 13:13:46 +0000 +Checked in by : Robert OSFIELD +Fixed the optimization of the orientation conversion. - * Added code to the DatagbasePager::removeExpiredSubgraphs() that - update - the osgDB::Registry cache. +Mon, 15 Jul 2002 11:44:21 +0000 +Checked in by : Robert OSFIELD +Fixed memory leak in FieldReaderIterator.cpp.Updated the Make/osgtests.bat and Make/debugtests.bat scripts. -2004-01-06 12:27 robert - * Merged changes from Cobin Holtz for support of - "noUnitsConversion" via - the ReaderWriter::Options string. -2004-01-06 08:38 robert +Mon, 15 Jul 2002 10:53:51 +0000 +Checked in by : Robert OSFIELD +Renamed hangglide to osghangglide - * From Nick, increased info.radius by x 1.3 to avoid culling +Mon, 15 Jul 2002 10:51:45 +0000 +Checked in by : Robert OSFIELD +Removed the old hangglide directory. -2004-01-05 20:51 robert +Mon, 15 Jul 2002 10:45:13 +0000 +Checked in by : Robert OSFIELD +Renamed osghangglide demo. - * Added code to scale the priority by the offset and scale. +Mon, 15 Jul 2002 10:43:32 +0000 +Checked in by : Robert OSFIELD +Renamed the hangglide demo osghangglide to make it consistent with the rest of the demos. -2004-01-05 20:45 robert +Mon, 15 Jul 2002 10:03:59 +0000 +Checked in by : Robert OSFIELD +Added State::disableTexCoordPointersAboveAndIncluding( unit ) method so that all unsed texture units can be turned off simply within Drawables such as Geometry and GeoSet. This can be used to prevent bleed of arrays from one object to the next - which can cause crashes. - * Added support for priority offset and scale into PagedLOD. +Mon, 15 Jul 2002 04:42:44 +0000 +Checked in by : Don BURNS +Changes for Sunos -2004-01-05 19:04 robert +Sun, 14 Jul 2002 21:49:51 +0000 +Checked in by : Don BURNS +Added Logos loader - * #if 0'd out code for switch off seam generation. +Sun, 14 Jul 2002 20:51:31 +0000 +Checked in by : Robert OSFIELD +Fixed unused variable `osg::StateSet *osgStateSet' warning -2004-01-05 15:40 robert +Sun, 14 Jul 2002 20:48:30 +0000 +Checked in by : Robert OSFIELD +Added Drawable::AppCallback example and fixed a warning. - * Compile fixes for Win32 +Sun, 14 Jul 2002 20:32:05 +0000 +Checked in by : Robert OSFIELD +Tweaked the color and aspect ratio settings of the pre rendering bin. -2004-01-05 15:34 robert +Sun, 14 Jul 2002 16:26:03 +0000 +Checked in by : Robert OSFIELD +Fixed computeNearFar bug in CullVisitor::apply(Billboard&). - * Fixed .dsp +Sun, 14 Jul 2002 10:46:46 +0000 +Checked in by : Robert OSFIELD +Fixes to read/write of MatrixTransform/Transform. -2004-01-05 14:17 robert +Sun, 14 Jul 2002 08:35:35 +0000 +Checked in by : Robert OSFIELD +Copy and Paste bug where an for() loop was repeated within itself, which was introduced when moving across to use osg::Geometry. - * Renamed osgshadowtexture.dsp to osgdepthshadow.dsp +Sat, 13 Jul 2002 21:17:40 +0000 +Checked in by : Robert OSFIELD +Fixed various warnings which were appearing under MacOSX. -2004-01-05 13:40 robert +Sat, 13 Jul 2002 20:31:30 +0000 +Checked in by : Robert OSFIELD +Conveted GeoSet to use the new state::set*Pointer/disable*Pointer methods to keep the current state valid. - * Added support into osgProducer::Viewer for flushing and compiling - GL objects - via a Producer post swap callback. +Sat, 13 Jul 2002 14:16:41 +0000 +Checked in by : Robert OSFIELD +Support added for multitextured TXP files, sent in by Boris Bralo. -2004-01-05 09:34 robert +Sat, 13 Jul 2002 02:46:06 +0000 +Checked in by : Don BURNS +put a typedef in public area of class for sun compilers - * From Pavel Moloshtan, osgdepthshadow example +Fri, 12 Jul 2002 21:45:54 +0000 +Checked in by : Robert OSFIELD +Added missing MatrixTransform.cpp file -2004-01-04 22:28 robert +Fri, 12 Jul 2002 21:45:08 +0000 +Checked in by : Robert OSFIELD +added glutInit to osgparticle demo to fix crash under MacOSX. - * Experiments at fixing seam handling. +Fri, 12 Jul 2002 21:42:27 +0000 +Checked in by : Robert OSFIELD +Added second texture to osgprerender demo to test out multitexture in osg::Geometry, it works!! -2004-01-04 12:37 robert +Fri, 12 Jul 2002 21:08:19 +0000 +Checked in by : Robert OSFIELD +Added MatrixTransform header and source. - * Fixed osgFX::Validator::compare(..) so that it checked for the - correct - StateAttribute type before comparing member variables. - - Fixed docs typo in Material +Fri, 12 Jul 2002 19:50:52 +0000 +Checked in by : Robert OSFIELD +Changed the osgmultitexture demo so that it uses a TexEnv::BLEND mode with a colour. This lightens the resultant models. -2004-01-03 22:52 don +Fri, 12 Jul 2002 18:14:45 +0000 +Checked in by : Robert OSFIELD +Added using namespace osgUtil to get round IRIX/Windows compiler differences. - * Oops. Fixed glaring memory leak in main loop of osgsimple +Fri, 12 Jul 2002 18:12:01 +0000 +Checked in by : Robert OSFIELD +Ported distribution across to use the new osg::MatrixTransform and osg::BlendFunc class instead of osg::Transform and osg::Transparancy respectively. -2004-01-03 20:32 robert +Fri, 12 Jul 2002 14:25:10 +0000 +Checked in by : Robert OSFIELD +Have added a #define USE_DEPRECATED_API to include/osg/Export, and various osg header and source files to optional compile in deprecated parts of the OSG API.Have renamed osg::Transparency osg::BlendFunc to bring it in line with +the +rest of the OSG's StateAttribute classes which are named after their +OpenGL counterparts. include/osg/Transparency still exists and is +simply +a typedef to BlendFunc and is enclosed in a #ifdef USE_DEPRECTATED_API +block. + +The matrix methods in the osg::Transform class have been +moved/replicated in +a osg::MatrixTransform sublcass from osg::Transform. The old matrix +functionality is still present in the osg::Transform class but is guard +by #ifdef USG_DEPRECATED_API blocks. One should now think of +osg::Transform +as being a Transform Node base class. MatrixTransform has all the +functionality of the original Transform class, so should be used +instead. + + + +Fri, 12 Jul 2002 13:00:09 +0000 +Checked in by : Robert OSFIELD +Fix, sent in by Macro Jez, to the set of the camera with the computed near and far plane, so that it is only updated when _computeNearFar != CullVisitor::DO_NOT_COMPUTE_NEAR_FAR. + +Fri, 12 Jul 2002 10:30:27 +0000 +Checked in by : Robert OSFIELD +Added blend color to osg::TexEnv + +Fri, 12 Jul 2002 09:16:49 +0000 +Checked in by : Robert OSFIELD +Fixed indenting. + +Fri, 12 Jul 2002 08:48:27 +0000 +Checked in by : Robert OSFIELD +Addition of RoadRecords from Yefei He. + +Thu, 11 Jul 2002 23:30:18 +0000 +Checked in by : Don BURNS +added -lpthread to the link line for Linux builds. Seems Red Hat 7.3 turns up undefined symbols without it. + +Thu, 11 Jul 2002 21:08:02 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build + +Thu, 11 Jul 2002 18:33:30 +0000 +Checked in by : Robert OSFIELD +Added Makefile for osgmultitexture demos. + +Thu, 11 Jul 2002 18:32:41 +0000 +Checked in by : Robert OSFIELD +Added #define for GL_TEXTURE0_ARB + +Thu, 11 Jul 2002 16:12:24 +0000 +Checked in by : Robert OSFIELD +Added support for multitexturing to osg::State and added osgmultitexture demo which adds as spherical environment map using texture 1 to any model. + +Thu, 11 Jul 2002 14:32:21 +0000 +Checked in by : Robert OSFIELD +Moved the code referencing osg::BoundingBox::isValid() and osg::BoundingSphere::isValid() across to use the valid() methods, the later being more consitent with other classes such as osg::ref_ptr<>. + +Thu, 11 Jul 2002 12:57:53 +0000 +Checked in by : Robert OSFIELD +Fixes for win32 build + +Thu, 11 Jul 2002 11:36:25 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build + +Thu, 11 Jul 2002 11:33:06 +0000 +Checked in by : Robert OSFIELD +Fixed bug in disabledTexCoordPointer where a '>' was being used where it should have been a '>='. + +Thu, 11 Jul 2002 11:08:34 +0000 +Checked in by : Robert OSFIELD +Fixed the pathname for the osgprerender demo. + +Thu, 11 Jul 2002 08:28:09 +0000 +Checked in by : Robert OSFIELD +changed unsigned int/short/char* references to GLuint,GLushort,GLubyte respectively. + +Wed, 10 Jul 2002 22:38:02 +0000 +Checked in by : Robert OSFIELD +Updates for new use of GLushort instead of osg::ushort in GeoSet index pointer. + +Wed, 10 Jul 2002 22:33:08 +0000 +Checked in by : Robert OSFIELD +Tidied up the types in osg::GeoSet so that the index pointers use GLushort and GLuint to get round compile issues under MacOSX. + +Wed, 10 Jul 2002 20:30:57 +0000 +Checked in by : Robert OSFIELD +Updates to osg::Drawable::AppCallback and osgprerender demo. - * From Marco Jez, new Light Wave Scene loader +Wed, 10 Jul 2002 15:35:47 +0000 +Checked in by : Robert OSFIELD +Added app callback to Drawable. -2004-01-03 15:20 robert +Wed, 10 Jul 2002 13:33:25 +0000 +Checked in by : Robert OSFIELD +Updates to osgprerender to support use of rendering to an image, rather then just a texture. - * From Marco Jez, updates to the LWO loader. +Wed, 10 Jul 2002 11:26:48 +0000 +Checked in by : Robert OSFIELD +Rejigged the line endings. -2004-01-03 09:06 robert +Wed, 10 Jul 2002 11:22:24 +0000 +Checked in by : Robert OSFIELD +Ported all the demos and loaders across to use the new multitexturing API. - * Updates to osgGL2 from Mike Weiblen +Wed, 10 Jul 2002 09:32:44 +0000 +Checked in by : Robert OSFIELD +Added Yefei He's RoadRecords to the flt loader, these records will be ignored by the loader, but will allow the loader to skip over them and continue reading the rest of the file correctly. -2004-01-02 20:44 robert +Wed, 10 Jul 2002 09:14:46 +0000 +Checked in by : Robert OSFIELD +Updates from Macro to support the new multitexture API, and improve bounding box computation. - * Fixed getFogCoord methods +Wed, 10 Jul 2002 09:04:28 +0000 +Checked in by : Robert OSFIELD +Added setCurrentRenderBin() method. -2004-01-02 17:30 robert +Tue, 9 Jul 2002 19:23:53 +0000 +Checked in by : Robert OSFIELD +Implemented more code for the new osgprerender demo. - * Updates to TXP plugin from Nick. +Tue, 9 Jul 2002 13:31:50 +0000 +Checked in by : Robert OSFIELD +Updates to the osgprerender code. Still doesn't do anything interesting yet.. -2004-01-02 17:06 robert +Tue, 9 Jul 2002 13:17:42 +0000 +Checked in by : Robert OSFIELD +Added new demo osgprerender to demonstrate how to prerender a scene and use the result in the main rendering for special effects. - * Added "&& oitr->second.first->referenceCount()<=1" check to - removeExpiredObjectsInCache - so that it only expires objects in the cache that have no - external reference. +Tue, 9 Jul 2002 10:33:15 +0000 +Checked in by : Robert OSFIELD +Warnings fixes for IRIX - there was a missing "const" in the sameKindAs(.) method. -2004-01-02 11:31 robert +Tue, 9 Jul 2002 10:23:48 +0000 +Checked in by : Robert OSFIELD +Fixes for IRIX build. - * Updates to the AUTHORS file from Rune. +Tue, 9 Jul 2002 09:35:42 +0000 +Checked in by : Robert OSFIELD +Implemented most of the changes required for supporting multitexturing in the osg::State/osg::StateSet/osg::StateAttribute and related classes. -2003-12-27 22:17 robert +Mon, 8 Jul 2002 09:42:51 +0000 +Checked in by : Robert OSFIELD +Added Mike Connell to authors list. - * Added osgdistortion demo. +Sun, 7 Jul 2002 22:12:51 +0000 +Checked in by : Robert OSFIELD +Added comment to reflect Clay Fowlers findings on getting VS to compile without the Vector wrapper classes. -2003-12-27 22:17 robert +Sun, 7 Jul 2002 22:08:27 +0000 +Checked in by : Robert OSFIELD +Added winsock32 libs to osgcluster demo. - * From Geof Michel, addition of TESSELATE_GEOMETRY pass. +Sun, 7 Jul 2002 20:16:30 +0000 +Checked in by : Robert OSFIELD +Rehashed the osgcluster project file to see if it solves the failure under windows. -2003-12-27 15:57 robert +Sun, 7 Jul 2002 17:42:34 +0000 +Checked in by : Robert OSFIELD +Fixes for Windows build. - * Removed TXPIO.h +Sun, 7 Jul 2002 17:40:34 +0000 +Checked in by : Robert OSFIELD +Added include to __DARWIN_OSX__ build. -2003-12-27 13:46 robert +Sun, 7 Jul 2002 17:30:48 +0000 +Checked in by : Robert OSFIELD +Did a to_dos on osgcluster.dsp since it was original saved with unix file endings. - * From Geoff Michel, added tesselate pass to Optimizer and added - handling of per - primitve color to osgUtil::Tesselator. +Sun, 7 Jul 2002 14:40:41 +0000 +Checked in by : Robert OSFIELD +Work on supporting multitexturing in State/StateSet/StateAttribute/Geoemtry. -2003-12-27 11:30 robert +Thu, 4 Jul 2002 18:47:33 +0000 +Checked in by : Robert OSFIELD +Added VisualStudio files for Win32 port of osgcluster demo. - * From Rommano Silva, admendments to - Texture::computeRequiredTextureDimensions - so that it takes into account the current mip map settings. +Thu, 4 Jul 2002 18:41:13 +0000 +Checked in by : Robert OSFIELD +Added support for Win32 broadcast and recience over lan. Changes sent in by Michael Gronager. -2003-12-26 16:45 robert +Thu, 4 Jul 2002 14:49:37 +0000 +Checked in by : Robert OSFIELD +Used typedef's for std::vector<>'s used inside DrawElements implementations.Added deperecated comment to osg::GeoSet header. - * Fixed osgFX::Scribe so that is handled setting of colour and line - width correctly, - by setting up the Materiail and LineWidth attributes within the - Scribe constructor. -2003-12-24 19:28 robert - * Fixes for VS6.0 +Thu, 4 Jul 2002 14:23:58 +0000 +Checked in by : Robert OSFIELD +Added osgGA to the MIGNW makedefs. -2003-12-24 17:20 robert +Thu, 4 Jul 2002 09:49:12 +0000 +Checked in by : Robert OSFIELD +Fixed the TriangleFunctor QUAD_STRIP code so that it produces consistent results. - * Removed redundent osgcameragroup +Wed, 3 Jul 2002 20:33:21 +0000 +Checked in by : Robert OSFIELD +Spotted by Neil Salter - missing transform. in the Transform copy operator. -2003-12-24 17:19 robert +Wed, 3 Jul 2002 11:16:43 +0000 +Checked in by : Robert OSFIELD +Added osgUtil dependency to the flt project. - * Fixed typo of TileMap - now corrected to TileMapper +Tue, 2 Jul 2002 19:53:18 +0000 +Checked in by : Robert OSFIELD +Reimplemted the osgUtil::SceneView::setCalcNearFar() functionality to bring it inline with the CullStack/CullVisitor implementation. Also added the setSmallFeatureCullingPixelSize() method and wired them up inside SceneView.cpp so they set the corresponding CullVisitor paramters.Intergrated pfImage copying change in the Performer plugin, submission sent in by Ulrich Hertlein -2003-12-24 00:14 robert - * Fixed typos in error reporting -2003-12-24 00:14 robert +Tue, 2 Jul 2002 15:01:46 +0000 +Checked in by : Don BURNS +-n32 and -64 entries were reversed in makedefs - * Build fixes for VS6.0 +Tue, 2 Jul 2002 06:28:41 +0000 +Checked in by : Don BURNS +osgcallback required fixes for new osg::Drawable::CullCallback -2003-12-24 00:07 robert +Tue, 2 Jul 2002 06:22:28 +0000 +Checked in by : Don BURNS +Added support for CullVisitor to contain a osg::State. This used when cull Callbacks require the contextID for doing operations on texture objects, for example. Modified CullVisitor SceneView and Drawable - * Added osgphotoalbum project +Mon, 1 Jul 2002 14:40:09 +0000 +Checked in by : Don BURNS +More 64 bit build specifics in IRIX makedefs file -2003-12-23 23:55 robert +Mon, 1 Jul 2002 14:20:37 +0000 +Checked in by : Don BURNS +Removed -ldl from makedefs for IRIX - * Added support for a photo archive. +Fri, 28 Jun 2002 22:42:02 +0000 +Checked in by : Robert OSFIELD +Rewrote the osgUtil::Tesselator so that it is easier to use, and can also easily retesselate osg::Primitive::POLYGONS found in Geometry objects. Added calls to the tesselate to the lwo and flt loaders. -2003-12-23 13:02 robert +Fri, 28 Jun 2002 20:54:09 +0000 +Checked in by : Robert OSFIELD +A couple fixes to remove Performer runtime warnings. - * Updates from Nick. - - Added support for OSG_TXP_DEFAULT_MAX_ANISOTROPY to override the - default make - anistropy in textures. +Fri, 28 Jun 2002 16:25:46 +0000 +Checked in by : Robert OSFIELD +Fixes from Ulrich Hertlein to build of pfb plugin. Small mods to these by Robert. -2003-12-23 12:10 robert +Fri, 28 Jun 2002 14:42:34 +0000 +Checked in by : Robert OSFIELD +Added to the osggeometry demo. - * removed osg:: +Fri, 28 Jun 2002 11:11:20 +0000 +Checked in by : Robert OSFIELD +Rewriting the osggeomtry demo to illustrate more primitive types. -2003-12-23 09:18 robert +Fri, 28 Jun 2002 08:47:23 +0000 +Checked in by : Robert OSFIELD +Removed commas from the end of enum lists. - * Removed osg:: from NodeVisitor and Group base class calls +Fri, 28 Jun 2002 08:36:02 +0000 +Checked in by : Robert OSFIELD +Change =0 to osg::Vec2Array::iterator() in .obj loader to get round warnings under gcc3.0.x -2003-12-22 21:05 robert +Thu, 27 Jun 2002 20:29:32 +0000 +Checked in by : Robert OSFIELD +Ported the flt plugin across to use osg::Geometry, it still uses a GeoSet internally, and I will remove this after some futher work. - * Added beginings of PhotoArchive for storing and loading a set of - photos from an archive. +Thu, 27 Jun 2002 15:18:10 +0000 +Checked in by : Robert OSFIELD +Added SG_EXPORT which was missing. -2003-12-22 14:48 robert +Thu, 27 Jun 2002 13:15:34 +0000 +Checked in by : Robert OSFIELD +Converted the template DrawElements primitive class into three seperate non templated classes - UByteDrawElements, UShortDrawElements, UIntDrawElements. - * Added max texture anisotropy of 4. +Thu, 27 Jun 2002 10:50:19 +0000 +Checked in by : Robert OSFIELD +Moved the AttributeArray and Primitive classes into their own header and source files. -2003-12-22 14:05 robert +Thu, 27 Jun 2002 09:56:30 +0000 +Checked in by : Robert OSFIELD +Removed the test aginst a iterator as a bool. - * Updates from Nick. +Wed, 26 Jun 2002 21:11:59 +0000 +Checked in by : Robert OSFIELD +Added comment to explain #ifdefs for member templates. -2003-12-22 07:26 robert +Wed, 26 Jun 2002 21:10:45 +0000 +Checked in by : Robert OSFIELD +Added #idef to Export to add check for support for member templates. - * Moved TileMapper code out into its own file and made it a - signleton +Wed, 26 Jun 2002 21:08:17 +0000 +Checked in by : Robert OSFIELD +Ported LWO loader across to use osg::Geometry. Work not quite complete, as we need to retesselate any concave polygons that can exists in these datasets. -2003-12-22 06:27 robert +Wed, 26 Jun 2002 17:48:13 +0000 +Checked in by : Robert OSFIELD +Added templated constructor to TemplateArray & DrawElements template to handle VisualStudio7.0 build.Ported 3DS across to use osg::Geometry instead of osg::GeoSet. - * From Trajce Nikolov, port of TXP plugin across to a pure PagedLOD - based - pager, with a little assistance from Robert Osfield. -2003-12-21 23:02 robert - * Fixed memory leak and utilised DrawArrayLengths in place of - multiple - DrawArray calls. +Wed, 26 Jun 2002 14:34:04 +0000 +Checked in by : Robert OSFIELD +Ported pfb, txp and obj loaders across to use osg::Geometry. -2003-12-21 13:11 robert +Wed, 26 Jun 2002 10:28:17 +0000 +Checked in by : Robert OSFIELD +Ported various demos and support classes over to use the new osg::Geometry class thus removing dependancy on osg::Geoset from most of the OSG, only loaders left to port now. - * Added extra clampProjectionMatrix methods to handle both Matrixd - and Matrixf - pathways. +Tue, 25 Jun 2002 20:47:42 +0000 +Checked in by : Robert OSFIELD +Fixes for Cygwin build from Norman Vine. -2003-12-20 23:25 robert +Tue, 25 Jun 2002 20:36:17 +0000 +Checked in by : Robert OSFIELD +Fix to Quat::slerp so that it interpolates along the shortest path. - * Fixed PagedLOD's handling of distances beyond the furthest range. +Tue, 25 Jun 2002 20:27:51 +0000 +Checked in by : Robert OSFIELD +Added osg::Drawable::PrimitiveFunctor and TriangleFunctor subclass for querrying the primitive data inside Drawables. Moved various support classes over from being osg::GeoSet based to osg::Geometry based. -2003-12-20 14:25 robert +Mon, 24 Jun 2002 21:44:27 +0000 +Checked in by : Robert OSFIELD +Fixed osgText::Text::DrawModeType::ALIGNEMENT spelling mistake, now is ALIGNMENT. - * Added support for placing pictures of backs and fronts of pages. +Mon, 24 Jun 2002 21:37:34 +0000 +Checked in by : Robert OSFIELD +Checked in .osg support for the new osg::Geometry class. -2003-12-20 14:23 robert +Mon, 24 Jun 2002 12:53:27 +0000 +Checked in by : Robert OSFIELD +Added required std:: to front of endl to fix Win32 build. - * Added support for REVERESED_XY_PLANE, REVERESED_XZ_PLANE and - REVERESED_YZ_PLANE's for the axis alignement to allow the text to - be - reversed. +Sun, 23 Jun 2002 21:43:46 +0000 +Checked in by : Robert OSFIELD +Added conversion to osg::GeoSet::converToGeometry() utility to help the migration to and testing of the new osg::Geometry class. -2003-12-20 14:20 robert +Sat, 22 Jun 2002 15:46:43 +0000 +Checked in by : Robert OSFIELD +Compile Fixes for Win32. - * *** empty log message *** +Fri, 21 Jun 2002 19:24:43 +0000 +Checked in by : Robert OSFIELD +Temporarily removed the references to multi-texturing calls. -2003-12-20 14:19 robert +Fri, 21 Jun 2002 16:45:45 +0000 +Checked in by : Robert OSFIELD +Added new osggeometry demo to test the work on the new osg::Geometry Drawable. - * Added Mode parameter to constructor. +Fri, 21 Jun 2002 15:14:29 +0000 +Checked in by : Robert OSFIELD +Bug fix to the size calculation of bmp images, changed both the reading and writing of images. -2003-12-19 23:14 robert +Fri, 21 Jun 2002 07:48:05 +0000 +Checked in by : Robert OSFIELD +Fixed constructor for TemplateArray(const TemplateArray& t,const CopyOp& copyop). - * Added support for reading and writing UserData from objects. +Thu, 20 Jun 2002 19:54:08 +0000 +Checked in by : Robert OSFIELD +Addd new experimental osg::Geometry Drawable which will eventually replace GeoSet. Currently doesn't draw anything, and is very much in the early design stages. -2003-12-19 22:55 robert +Thu, 20 Jun 2002 18:17:36 +0000 +Checked in by : Robert OSFIELD +Mods to MemoryManager to make the optimized build produce dummy implementations for all the public functions found in the header, this should prevent problems when not compiling in the MemoryManager under IRIX 64 build. - * Added support for tagging the required resolutions from the - source data. +Wed, 19 Jun 2002 20:38:08 +0000 +Checked in by : Robert OSFIELD +Fixed incorrect naming of ConvexPlanerOccluder. -2003-12-19 22:34 robert +Wed, 19 Jun 2002 18:45:05 +0000 +Checked in by : Robert OSFIELD +Added support for reading the new OSG_MAX_TEXTURE_SIZE environmental variable inside the osg::Image::ensureValidSizeForTexturing() method. The smallest of GL_MAX_TEXTURE_SIZE and OSG_MAX_TEXTURE_SIZE is used for the final max texture size.This new env. var. allows users to deliberate cap the size of their textures +so they can test whether their models are limited by texture memory. If +reducing the max texture size increases performance then you are limited +by texture memory! - * Added swap bytes methods. -2003-12-19 22:21 robert - * From Corbin Holtz, support for endian testing and bytes swapping. - With mods - from Robert to use include/osg/Endian +Wed, 19 Jun 2002 16:06:03 +0000 +Checked in by : Robert OSFIELD +Added support for reading and writing OccluderNode's to the .osg file format. -2003-12-19 10:52 robert +Wed, 19 Jun 2002 15:18:47 +0000 +Checked in by : Robert OSFIELD +Added computation of the bounding volume of osg::OccluderNodes.Added support for osg::BoundingSphere::expandBy*(osg::BoundingBox) and have +added osg::BoundingSphere/Box::valid() which deprecates isValid(), this +is to be more consistent with other classes in the OSG. - * Added _ARB to GL_COMPARE_R_TO_TEXTURE -2003-12-18 20:53 robert - * Changed inline docs for readPixels to say "read pixels from - current frame buffer" +Wed, 19 Jun 2002 10:19:10 +0000 +Checked in by : Robert OSFIELD +Added support for occlusion of holes in occluders, and cleaned up the interface to ShadowVolumeOccluders. -2003-12-18 16:15 robert +Wed, 19 Jun 2002 08:34:19 +0000 +Checked in by : Robert OSFIELD +Changed the osg::LightSource so its Light attribute is now generalised to be a StateAttribute. This allows alternative implementations of Lights other than the standard osg::Light. - * Added definition of GL_DEPTH_TEXTURE_MODE_ARB +Tue, 18 Jun 2002 22:35:48 +0000 +Checked in by : Robert OSFIELD +Added support for occluders occluding other occluders, which helps reduce the number of occluder that will be used in cull traversal to only the ones that will be effective. Note. Holes in occluders arn't handled in this occluder occlusion test, will implement this later. -2003-12-18 12:20 robert +Tue, 18 Jun 2002 10:18:12 +0000 +Checked in by : Robert OSFIELD +Clean ups for the Windows build. - * Changed the ArrayData constructor to use copyop for copying - arrays, instead - of by default doing cloning. +Tue, 18 Jun 2002 09:09:37 +0000 +Checked in by : Robert OSFIELD +Added the length argument to a std::string argument, under Linux it compiled with the default value npos, under Windows it broke the build, add the npost excpilicity should get round this difference in implementation. -2003-12-18 10:57 robert +Mon, 17 Jun 2002 21:50:37 +0000 +Checked in by : Robert OSFIELD +Rewrote the FileUtils support for data and library file paths, moving the storage of the path lists into osgDB::Registry, and changed the data structor from a char* to a std::deque. Changed a names of couple of the convinience functions in osgDB/FileUtils to better reflect the two public FilePathList's - DataFilePathList and the LibraryFilePathList.Added support into the osgDB::Registry::readNode/Image/Object methods +for pushing and popping the path of the current file being loaded. - * Fixed s/getCreateBackFace(bool on) methds so that use used the - correct variable. -2003-12-18 09:56 robert - * Fixed typo in comments. +Mon, 17 Jun 2002 09:10:26 +0000 +Checked in by : Robert OSFIELD +Fixes to the occluder culling code to properly disable occluders to prevent self occlusion. -2003-12-17 23:19 robert +Sat, 15 Jun 2002 20:57:50 +0000 +Checked in by : Robert OSFIELD +Fixes for Visual .NET and Mingw builds, and fix MacOSX notify() crash. - * From Bob Kuehne, build fixes for OSX. +Sat, 15 Jun 2002 12:14:42 +0000 +Checked in by : Robert OSFIELD +Added computation of occluders volume scaled relative to the frustum volume, all volumes computed in eye coords. -2003-12-17 19:26 robert +Fri, 14 Jun 2002 16:28:47 +0000 +Checked in by : Robert OSFIELD +Added computation of the occluders volume, scale it to a ratio of the frustum. - * From Pavel Moloshtan, added GL_ARB_shadow_support to - osg::Texture. +Fri, 14 Jun 2002 14:50:31 +0000 +Checked in by : Robert OSFIELD +Added occluder hole test code into the osgoccluder demo. The code works, but I've commented it out right now as the Geode physically representing the occluder doesn't yet have a hole in it - just a cosmetic thing. -2003-12-17 17:05 robert +Fri, 14 Jun 2002 13:49:59 +0000 +Checked in by : Robert OSFIELD +Refined the CollectOccluderVisitor so that it checks the subgraph below a node contains occluders before traversing. - * From Pavel Molishtan, Fixed comparision of _t plane. +Fri, 14 Jun 2002 11:27:34 +0000 +Checked in by : Robert OSFIELD +Improvements to the plane clipping code. -2003-12-17 17:02 robert +Fri, 14 Jun 2002 08:45:28 +0000 +Checked in by : Robert OSFIELD +Further updates to the occlusion culling code, also adding missing OccludeNode file the .osg plugin. - * Added support for tracing the resolutions that are required by - the destination data. +Thu, 13 Jun 2002 23:46:02 +0000 +Checked in by : Robert OSFIELD +Further work on occlusion culling. -2003-12-17 10:05 robert +Thu, 13 Jun 2002 19:39:28 +0000 +Checked in by : Don BURNS +removed the use of gettimeofday for 32 bit architectures... - * From Jeremy Bell, made SHARED = -dynamic for OSX. +Thu, 13 Jun 2002 19:34:27 +0000 +Checked in by : Robert OSFIELD +Added #include so that it will compile properly regardless of include order. -2003-12-17 10:04 robert +Thu, 13 Jun 2002 19:10:29 +0000 +Checked in by : Robert OSFIELD +Added -osgGA to the Makefile list. - * Added VS projects for osgkeyboardmouse and osgsimple examples. +Thu, 13 Jun 2002 18:27:14 +0000 +Checked in by : Robert OSFIELD +Merge Randall's changes. -2003-12-17 00:58 robert +Thu, 13 Jun 2002 16:21:00 +0000 +Checked in by : Robert OSFIELD +Further work on Occlusion Culling. Most of work is complete, just debugging required now. - * Added -losgGL2 to link line. +Wed, 12 Jun 2002 16:23:59 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate inline keyword which was breaking the IRIX build. -2003-12-16 23:43 robert +Wed, 12 Jun 2002 15:43:47 +0000 +Checked in by : Robert OSFIELD +IRIX build fix. - * From Marco Jez, fixes to osgFX so that effects are compiled - correctly. - - Fixed title name of osgkeyboardmouse example. +Wed, 12 Jun 2002 14:57:35 +0000 +Checked in by : Robert OSFIELD +Changes for MacOSX build, send in by Bob Kuehne. -2003-12-16 19:21 robert +Wed, 12 Jun 2002 14:46:44 +0000 +Checked in by : Robert OSFIELD +Fixed the osgDB::getFilePath, osgDB::getSimpleFileName() and osgDB::getStrippedName() so that they check for both unix style '/' and windows style '\' slashes in file names. - * Added osgUtil dependancy to lib3ds plugin +Wed, 12 Jun 2002 13:54:14 +0000 +Checked in by : Robert OSFIELD +Fix for renaming of ShadowOccluderVolume to ShadowVolumeOccluder. -2003-12-16 08:56 robert +Wed, 12 Jun 2002 09:22:30 +0000 +Checked in by : Robert OSFIELD +Further work on occludision code. - * Put the ordering of the callbacks so that the update callback is - first, - then cull then draw. Added missing copy of update callback into - copy - constructor. +Tue, 11 Jun 2002 19:52:55 +0000 +Checked in by : Robert OSFIELD +A little more work on Occlusion culling. -2003-12-15 23:23 robert +Tue, 11 Jun 2002 18:41:57 +0000 +Checked in by : Robert OSFIELD +Checked in Macro Jez's additions to osgText to support .osg IO make it a fully functioning NodeKit.Also reimplement notify() to try an prevent a crash which has been caused by +to objects in notify.cpp being initiliazed twice, the second time the auto_ptr +holding the dev/null ofstream was being initilized to 0. - * Added support for updating the SceneView projection matrix from - the values - of near and far computed during the cull traversal. -2003-12-15 23:22 robert - * Changed the default wrap modes from REPEAT to CLAMP since CLAMP - is the OpenGL - default value. +Mon, 10 Jun 2002 13:50:25 +0000 +Checked in by : Robert OSFIELD +Added osg::CollectOccludersVisitor which is a helper class for finding active occluder in the view frustum, to be used as pre cull traversal. -2003-12-15 16:46 robert +Mon, 10 Jun 2002 11:21:21 +0000 +Checked in by : Robert OSFIELD +Created new helper class osg::CullStack to handle the accumulation of projection, modelview and culling sets, to be used during travesal of the scene graph, such as the cull traversal. - * Added two news examples, osgsimple just loads a model and then - renders it in - a single window. osgkeyboardmouse adds to osgsimple support for - keyboard mouse - and picking interactions. +Sun, 9 Jun 2002 13:10:09 +0000 +Checked in by : Robert OSFIELD +Checked in migration from osgUtil based GUIAdapter code to Neil Salter's osgGA (Gui Abstraction). This may break users code, but all it should require to fix the builds should be a change from osgUtil::CameraManipulator (etc) to osgGA::CameraManipulator and include second; - else return 0xffffffff; - } - - inline bool isOperationPermissableForObject(const osg::Object* - object,unsigned int option) const - { - return (option & getPermissableOptionsForObject(object))!=0; - } +Wed, 29 May 2002 16:05:14 +0000 +Checked in by : Robert OSFIELD +Changed the endings to dos. -2003-12-11 16:46 robert +Tue, 28 May 2002 23:43:22 +0000 +Checked in by : Robert OSFIELD +Added new osgcallback demo, and updated small API changes to improve the flexiblity of callbacks.Added beginings of convex planer occlusions culling. - * Added _maximumNumberOfActiveOccluders variable to - CollectOccludersVisitor(), to - limit the maximum number of occluders used in the cull traversal, - default is - now 10. - - Added set/getCollectOccluderVisitor() method into SceneView to - allow control - of the the settings of the CollectOccluderVisitor. -2003-12-10 16:50 robert - * Added environmental variable for setting the height of the drive - manipulator. +Tue, 28 May 2002 16:11:49 +0000 +Checked in by : Robert OSFIELD +Added pragma to disable warning under VisualStudio.NET. -2003-12-10 15:24 robert +Tue, 28 May 2002 15:17:45 +0000 +Checked in by : Robert OSFIELD +Fixed bug in the Use mechansim in Registry.cpp, sumbitted by Macro Jez. - * Added a special AvailablerReaderWriterIterator class to handle - the task - of iterating through the list of available reader writer, whilst - handling - cases where the list itself changes size during iteration through - the list. - Previous size changes during iteration was cause invalid - iterators, which - in turn was causing a crash. +Tue, 28 May 2002 14:33:13 +0000 +Checked in by : Robert OSFIELD +Adde osgText::Text::setColor/getColor so that osg::Material's need not be attached to set the text color. -2003-12-10 15:22 robert +Tue, 28 May 2002 13:06:32 +0000 +Checked in by : Robert OSFIELD +Added Norman Vine to the authors list for his work on the Cygwin port. - * Added proper handling of unhandled file return type. +Tue, 28 May 2002 11:40:37 +0000 +Checked in by : Robert OSFIELD +Changes for Cygwin build, sent in by Norman Vine. -2003-12-10 11:40 robert +Tue, 28 May 2002 11:39:51 +0000 +Checked in by : Robert OSFIELD +Changed the method of expanding of the near and far planes in CullVisitor::popProjectionMatrix so that it better handled models of zero thickness orthogonal to the viewing direction. - * Improved the management of errors reported from ReaderWriters, - and cleaned - up the reporting of errors in DynamicLibrary. +Tue, 28 May 2002 10:24:43 +0000 +Checked in by : Robert OSFIELD +Various updates to operations related to cull traversal. -2003-12-10 10:49 robert +Mon, 27 May 2002 06:37:51 +0000 +Checked in by : Robert OSFIELD +Removed , from end of enum. - * Added support for using DrawArrays when indices are in ascending - order, and - increment 1 at a time. +Sat, 25 May 2002 09:30:38 +0000 +Checked in by : Robert OSFIELD +Fixed crash associated with searching in an empty filepath. -2003-12-09 22:29 robert +Thu, 23 May 2002 15:38:03 +0000 +Checked in by : Robert OSFIELD +Added the patched verions VisualStudio's langext.dat file, which can be used to replace VisualStudio standard one, this enabled VS to reconginse OSG header files as C++ files. - * Improvements to the TriStripVisitor such that it now groups 4 - point tri strips - together as quads. +Thu, 23 May 2002 15:35:12 +0000 +Checked in by : Robert OSFIELD +Fixed a bug in the Optimizer::RemoveDuplicateNodesVisitor which was prevent removal of node which could have been removed.Added so extra convinience methods to ClippingVolume and utilized them in the +CullVisitor to push and pop only culling planes that are active. -2003-12-09 14:07 robert - * Removed osg::Transform::ComputeTransformCallback from - osg::Transform. - - Updated various dependant files to reimplemt callbacks as - Transform subclasses. -2003-12-09 14:06 robert +Wed, 22 May 2002 19:58:43 +0000 +Checked in by : Don BURNS +Fixed spelling error Calander -> Calendar - * Added support for new PagedLOD Radius and - NumChildrenThatCannorBeExpired variables - to .osg and .ive support. +Wed, 22 May 2002 12:19:09 +0000 +Checked in by : Robert OSFIELD +Removed the usage of memory manager from the debug windows build. -2003-12-09 12:11 robert +Wed, 22 May 2002 12:01:12 +0000 +Checked in by : Robert OSFIELD +Added osgUtil::CullVisitor::getCurentRenderGraph() and getRootRenderGraph() methods which replace getRenderGraph(). Small changing of order of push/pop of StateSet's in SceneView to clean things up. - * Added new example osgphotoalbum. +Wed, 22 May 2002 10:04:28 +0000 +Checked in by : Robert OSFIELD +Changed the public osg::State::applyMode() and applyAttribute methods so that they dirty the associated state, this helps keep the OpenGL state valid once out of local drawing routines. -2003-12-09 12:09 robert +Wed, 22 May 2002 08:50:05 +0000 +Checked in by : Robert OSFIELD +Updates for Doxygen and osgGA headers from Neil. - * Reverted back to non exception based JPEG plugin. +Tue, 21 May 2002 19:34:16 +0000 +Checked in by : Robert OSFIELD +Typo and grammer fixes to introduction.html from Neil Salter. -2003-12-09 12:08 robert +Tue, 21 May 2002 09:16:31 +0000 +Checked in by : Robert OSFIELD +Renamed osg::State::getCurrentMode/Attribute(..) to getLastAppliedMode/Attribute() to make it more consistent with the internal workings of osg::State. - * Addition of the following methods: - - /** Set the object-space reference radius of the volume enclosed - by the PagedLOD. - * Used to detmine the bounding sphere of the PagedLOD in the - absense of any children.*/ - inline void setRadius(float radius) { _radius = radius; } - - /** Get the object-space radius of the volume enclosed by the - PagedLOD.*/ - inline float getRadius() const { return _radius; } - - - /** Set the number of children that the PagedLOD must keep - around, even if thay are older than their expiry time.*/ - inline void setNumChildrenThatCannotBeExpired(unsigned int num) { - _numChildrenThatCannotBeExpired = num; } - - /** Get the number of children that the PagedLOD must keep - around, even if thay are older than their expiry time.*/ - unsigned int getNumChildrenThatCannotBeExpired() const { return - _numChildrenThatCannotBeExpired; } +Tue, 21 May 2002 08:59:26 +0000 +Checked in by : Robert OSFIELD +Added osg::State::getCurrentMode and osg::State::getCurrentAttribute().Aded osg::clampAbove(..) and osg::clampBelow() template functions to +include/osg/Math. -2003-12-09 12:07 robert - * Added get() method to ReaderWriterProxy class to allow the - readerwriter to - be obtained once its constructed. -2003-12-09 12:05 robert +Tue, 21 May 2002 00:58:40 +0000 +Checked in by : Don BURNS +Modified instrules so that the functionality of instlinks is that system links are not made to point to links, rather the real files. So links installed on a system are pointing to platform specific files rather than links that may be pointing to files of the wrong platform type. - * Addition of Mode mode=MODULATE constructor. +Sat, 18 May 2002 08:39:42 +0000 +Checked in by : Robert OSFIELD +Various API updates to suppor light points developments better, but should also benifit other extensions to rendering. -2003-12-09 12:04 robert +Sat, 18 May 2002 08:37:08 +0000 +Checked in by : Robert OSFIELD +Made trilinear filtering the default mode for osg::Texture's. - * Fixes for optional compile of GL_LUMINANCE_ALPHA and GL_ALPHA - texture usage - in fonts. Default to GL_ALPHA. +Sat, 18 May 2002 08:35:09 +0000 +Checked in by : Robert OSFIELD +Modified the setting of min and mag texture filter modes to produce higher quality mip maps. -2003-12-09 11:31 robert +Wed, 15 May 2002 19:58:04 +0000 +Checked in by : Robert OSFIELD +Fixed problem with orhographic projections due to a bug in CullVisitor where it automatically resets the near and far to the values calculated during cull traversal. The maths for converting the computed far and near into clip coordinates was wrong, fixed this and the problem goes away. - * Moved osgText across to create GL_ALPHA textures instead of - GL_LUMINANCE_ALPHA +Wed, 15 May 2002 11:27:47 +0000 +Checked in by : Robert OSFIELD +Exposed the CullVisitor::setComputeNearFarMode -2003-12-09 11:20 robert +Tue, 14 May 2002 10:20:55 +0000 +Checked in by : Robert OSFIELD +Fixes to new flipVertical/flipHorizontal. - * From Pavel Moloshtan, extension support for ARB_occlusion_querry +Tue, 14 May 2002 09:34:11 +0000 +Checked in by : Robert OSFIELD +Added osg::Image::flipHorziontal and flipVertical, submitted by Brede Johansen. -2003-12-09 11:19 robert +Mon, 13 May 2002 21:19:42 +0000 +Checked in by : Robert OSFIELD +Added new template versions of a commonly used maths functions. - * From Mike Wieblen, tweak to GL2 shader +Mon, 13 May 2002 07:30:21 +0000 +Checked in by : Robert OSFIELD +Reverted change to use decal flag. -2003-12-09 10:42 robert +Fri, 10 May 2002 19:30:48 +0000 +Checked in by : Robert OSFIELD +Added image plugin library defs for IRIX, submission from Randall Hopper. - * From Tree, tweaks to the coord generation to improve text - alignment. +Fri, 10 May 2002 15:42:27 +0000 +Checked in by : Robert OSFIELD +Fix for finding windows fonts. -2003-12-09 10:38 robert +Thu, 9 May 2002 22:48:15 +0000 +Checked in by : Don BURNS +Small std::cout fix - * From Johan Nouvel, support for AnimationPathCallback values in - .osg file. - Includes a small modication to ensure that code works shared - animation paths, by RO. +Thu, 9 May 2002 19:02:35 +0000 +Checked in by : Robert OSFIELD +Fix compile problems with osgGA under Windows. -2003-12-09 09:25 robert +Thu, 9 May 2002 18:59:19 +0000 +Checked in by : Robert OSFIELD +Added pixelSize method to CullVisitor, and converted small feature culling to use the pixelSize method instead of a ratio of radius to distance from eye point. setSmallFeatureCullingPixelSize() method has also been added to provide the user with finer control of small featyre culling. - * From Eric Sokolosky, OSX uses DYLD_LIBRARY_PATH for initial - library search path - instead of LD_LIBRARY_PATH. +Thu, 9 May 2002 10:31:03 +0000 +Checked in by : Robert OSFIELD +Added new osgGA - GUI Adapter library submitted by Neil Salter. This will replace the current GUI adapter code inside osgUtil. -2003-12-09 09:03 robert +Wed, 8 May 2002 07:32:40 +0000 +Checked in by : Robert OSFIELD +Addded missing ClipNode references to osg.dsp. - * Aded FileUtils include. +Tue, 7 May 2002 11:44:24 +0000 +Checked in by : Robert OSFIELD +Fixed osg::Camera::getModelViewMatrix() so that it handles the EYE_TO_MODEL transform correctly.Fixed warning in ClipNode.cpp. -2003-12-08 19:25 robert - * Added commented out lines for setting orange blue anaglyphic - stereo. The - analgyphic block really needs to have the color mask set up - optionally, this - is something to configure in the future. -2003-12-08 11:24 robert +Tue, 7 May 2002 11:12:01 +0000 +Checked in by : Robert OSFIELD +Support added for OpenFlight switch nodes, submission from Brede Johansen. - * Moved the responsibility for finding file to load on to the - ReaderWriter plugins, - instead of osgDB::Registry where it original lay. This has been - done to allow - fileName strings to be encode data rather than just file names, - such as one - requires when using PagedLOD along with plugins for doing dynamic - tesselation. +Tue, 7 May 2002 11:08:12 +0000 +Checked in by : Robert OSFIELD +Added default values in the constructors of Vec2,Vec3,Vec4 and Quat default constructors. -2003-12-07 20:58 robert +Tue, 7 May 2002 02:51:33 +0000 +Checked in by : Don BURNS +Fixed rpath nonsense in makedefs for Irix - * Added check against null being passed into std::string - constructor. +Fri, 3 May 2002 22:47:57 +0000 +Checked in by : Robert OSFIELD +Added osg::Node::getValidStateSet(). -2003-12-05 22:42 robert +Fri, 3 May 2002 16:47:16 +0000 +Checked in by : Robert OSFIELD +Added support for the managing the StateSet above a LightSource node, and made it an osg::Group so that it can be used a decorator above a scene.Added osgclip demo to the test suite. - * Changed the minium tri strip length to 2 rather than 0. -2003-12-05 14:39 robert - * Added code for combining adjacent static MatrixTransforms +Thu, 2 May 2002 22:02:14 +0000 +Checked in by : Robert OSFIELD +Made osg::Viewport::getViewport(..) const. -2003-12-05 14:39 robert +Thu, 2 May 2002 00:14:40 +0000 +Checked in by : Robert OSFIELD +dded osg::ClipNode class for managing OpenGL clipping planes, and osgclip demo. - * Fixes for Win32 build. +Fri, 26 Apr 2002 16:01:27 +0000 +Checked in by : Robert OSFIELD +Updated the AUTHORS file to mention the original authors of the terrapage loader. -2003-12-05 13:58 robert +Fri, 26 Apr 2002 15:21:22 +0000 +Checked in by : Don BURNS +Testing .dsp and .dsw as binary files - * Fixes for Windows build. +Fri, 26 Apr 2002 13:49:42 +0000 +Checked in by : Robert OSFIELD +Added mention of MemoryManager to NEWS file. -2003-12-05 13:26 robert +Fri, 26 Apr 2002 13:45:01 +0000 +Checked in by : Robert OSFIELD +Updated docs.Fix to pfb Makefile for missing $. - * Removed DOFTransform. -2003-12-05 09:22 robert - * Added a cast (Array*) to get round VS.NET compiler error. +Fri, 26 Apr 2002 12:06:19 +0000 +Checked in by : Robert OSFIELD +Fix for CisualStudio6.0 build. -2003-12-04 17:14 robert +Fri, 26 Apr 2002 08:25:51 +0000 +Checked in by : Robert OSFIELD +Fixed remaining MAX_PATH usuage, replacing it with the new DX_MAX_PATH, this should solve compile problems under VisualStudio .NET. - * Added support for expanding index'd attributes from within - osgUtil:TriStripVisitor. +Fri, 26 Apr 2002 08:16:14 +0000 +Checked in by : Robert OSFIELD +Qarning fixes, and updated the date in NEWS to reflect todays release of 0.8.45 -2003-12-04 09:43 robert +Thu, 25 Apr 2002 22:09:28 +0000 +Checked in by : Robert OSFIELD +Fixes for IRIX build.Fix for a warning under VisualStudio.NET. - * Added optional TraversalMask paramter to computeIntersections() - methods. -2003-12-03 21:45 robert - * Implemented duplicate removal code into TriStripVisitor and added - an - extra pass to doing tri stripping in the osgUtil::Optimzer. - - Added validity checks into osg::TexEnvCombine to catch eronous - enumarant values. - - Improved the efficient of CullingSet's handling of new - transforms. - - Added a copy shared subgraphs and subdivision code into - osgUtil::Optimizer. +Thu, 25 Apr 2002 22:07:48 +0000 +Checked in by : Robert OSFIELD +Cygwin build fixes. -2003-12-03 21:28 robert +Thu, 25 Apr 2002 21:31:16 +0000 +Checked in by : Robert OSFIELD +Fix for window build. - * Made removedExpiredChildren() virtual. +Thu, 25 Apr 2002 15:54:25 +0000 +Checked in by : Don BURNS +Added small blurb for Solaris... -2003-12-02 21:38 robert +Thu, 25 Apr 2002 13:26:33 +0000 +Checked in by : Robert OSFIELD +Ran the spell checker through the new documentation. - * Suggestion from Tree, changed tex coord scaling against - textureWidth/Height rather - than textureWidth-1 etc. +Thu, 25 Apr 2002 12:35:33 +0000 +Checked in by : Robert OSFIELD +Updated change log for 0.8.45 release. -2003-12-02 21:38 robert +Thu, 25 Apr 2002 11:37:49 +0000 +Checked in by : Robert OSFIELD +Added to the .plan. - * From Rune, Added catch for erroneous size specification in .dds - file. +Thu, 25 Apr 2002 11:30:21 +0000 +Checked in by : Robert OSFIELD +Fixes to .obj plugin from gideon. -2003-12-01 14:31 robert +Thu, 25 Apr 2002 11:29:31 +0000 +Checked in by : Robert OSFIELD +Added Bob to the AUTHORS list for his efforts on MacOSX. - * From Pavel Moloshton, addition of AlphaFunc support to .ive. +Thu, 25 Apr 2002 10:46:11 +0000 +Checked in by : Robert OSFIELD +A more verbose version of the test script, using each and more memleaks.log to print out progress and report any memory leaks which have been logged. The later will only occur with a debug build. The use of echo and more makes this version osgtest.bat not portable to windows unfortuntately. -2003-12-01 10:28 robert +Thu, 25 Apr 2002 10:14:50 +0000 +Checked in by : Robert OSFIELD +Added another bullet point to the plan. - * Added a spatializer into osgUtil to create a balanced quad/oct - tree. +Thu, 25 Apr 2002 10:10:04 +0000 +Checked in by : Robert OSFIELD +Removed these old files that do little in the context of the current OpenSceneGraph disitribution apart from clogs things up! -2003-11-28 22:39 robert +Thu, 25 Apr 2002 10:07:44 +0000 +Checked in by : Robert OSFIELD +Add doc/plan.html and links to it from the rest of the docs. - * From Ruben, - - >Fixed: The iv loader that uses Inventor library has a little - bug, if used with - >osgconv, it doesn't write the images to the converted file - because it's - >not setting the osg::Image->setFilename() +Thu, 25 Apr 2002 08:54:48 +0000 +Checked in by : Robert OSFIELD +Fixed compile problem under VisualStudio. -2003-11-28 14:37 robert +Thu, 25 Apr 2002 07:47:37 +0000 +Checked in by : Robert OSFIELD +Fixed relative path for image. - * From Geoff Michel, updates to GEO plugin. +Thu, 25 Apr 2002 07:29:02 +0000 +Checked in by : Robert OSFIELD +Updated demos documentation. -2003-11-28 14:26 robert +Thu, 25 Apr 2002 06:27:09 +0000 +Checked in by : Robert OSFIELD +Fixed spellings in introduction.html, and update osgtext and osgviews images. - * Updates to osgdem. +Thu, 25 Apr 2002 05:43:33 +0000 +Checked in by : Robert OSFIELD +Added back in as binary file. -2003-11-28 13:41 robert +Thu, 25 Apr 2002 05:42:37 +0000 +Checked in by : Robert OSFIELD +Temporily removing to change it to a binary file. - * From Qing Shen, addition of computeIntsect methods which take a - node pointer to intersect with rather than assume the viewer's - scene pointer. +Wed, 24 Apr 2002 20:57:00 +0000 +Checked in by : Robert OSFIELD +Merged Bob's changes for MacOSX build. This change is simply the addition of GLUT_LIB to the link line. This change should be removed once we fixed the OSG_LIBS so that it doens't include osgGLUT, however, I'll leave this for another day... -2003-11-27 22:53 robert +Wed, 24 Apr 2002 20:36:47 +0000 +Checked in by : Robert OSFIELD +Fix for MacOSX build, making sure that the compresed tex image is defined on all builds by removing the #ifdef's but then changing the name used in the typedef so it doesn't collide with local implementations. - * From Rune Schmidt Jensen, support for osgSim::VisibilityGroup in - the .ive loader - and support for node masks. +Wed, 24 Apr 2002 20:32:39 +0000 +Checked in by : Robert OSFIELD +Updated doc++ docs once more. -2003-11-27 22:06 robert +Wed, 24 Apr 2002 20:24:10 +0000 +Checked in by : Robert OSFIELD +Removed CullViewState from the distribution, moved CullViewState::CullingMode into CullVisitor, and then removed all references to CullViewState from other parts of the scene graph. - * Standardised the tabbing so that 4 spaces are used instead of - hardware tabs. +Wed, 24 Apr 2002 20:13:50 +0000 +Checked in by : Robert OSFIELD +Updateds doc++ documention. -2003-11-27 16:23 robert +Wed, 24 Apr 2002 20:04:34 +0000 +Checked in by : Robert OSFIELD +Changes for Mac OSX build, sent in by Bob Kuehne - * From Michael Gronager, osgSim::VisibilityGroup +Wed, 24 Apr 2002 14:52:53 +0000 +Checked in by : Robert OSFIELD +Removed the use of __FUNCTION__ from MemoryManager to remove problems with VisualStudio .NET compile.Added support for OSG_NOTIFY_LEVEL and OSG_FILE_PATH into the relevant getenv +routines. This compliments the exisiting OSGNOTIFYLEVEL & OSGFILEPATH which +are deprecated but still supported. The OSG_ version are more consistent +with the rest of the env variables used in the OSG. -2003-11-27 15:13 robert - * Updates to osgdem + BoundingBox to support graph iterators -2003-11-27 13:31 robert +Wed, 24 Apr 2002 14:14:37 +0000 +Checked in by : Robert OSFIELD +Updates to the documentation. - * From Nikolaus Hanekamp, Fixes to lightpoint code +Wed, 24 Apr 2002 13:08:30 +0000 +Checked in by : Robert OSFIELD +Moved doc/OpenSceneGraphBanner_Distribution.jpg to doc/images/ to tidy up the doc directory. -2003-11-27 13:25 robert +Wed, 24 Apr 2002 13:05:03 +0000 +Checked in by : Robert OSFIELD +Futher work on documentation - added seperate context.html, a new demos.html directory and moved the previous doc/index.html to doc/documentation.html. - * From Trajce Nikolov: - - > There are databases that contain both Matrix and GeneralMatrix - records as - > ancillary records. If this happens, this fix will only use one - matrix to - > create osg::TransformMatrix node. +Wed, 24 Apr 2002 08:50:03 +0000 +Checked in by : Robert OSFIELD +Fix for the Cygwin build related to the new FileUtils_Unix not using the Windows PATH environmental variable for searching for libraries. Sent in by Norman Vine.Reoder of the makedefs/makedirdefs to fix Mac OSX compilation. Sent in by +Bob Kuehne. -2003-11-26 16:56 robert - * Addition of light point. -2003-11-26 16:43 robert +Tue, 23 Apr 2002 22:04:04 +0000 +Checked in by : Robert OSFIELD +Updated the docs on compiling under Windows. - * Warning fix from Romano +Tue, 23 Apr 2002 15:05:14 +0000 +Checked in by : Robert OSFIELD +Added OSG_USE_MEMORY_MANAGER to Windows debug build -2003-11-26 13:21 robert +Tue, 23 Apr 2002 15:01:55 +0000 +Checked in by : Robert OSFIELD +Fixed compilation problem associated wirh moving FileUtils source out into seperate files. - * Added a f after 2.0 definitions in atan2 to get round stupid MS - errors. +Tue, 23 Apr 2002 14:58:33 +0000 +Checked in by : Robert OSFIELD +Fixed ordering of paramters in osg::Image constructor to remove warning. -2003-11-26 11:33 robert +Tue, 23 Apr 2002 13:59:01 +0000 +Checked in by : Robert OSFIELD +Seperated out the platform specific implementions of the file search/access routines - we now have FileUtils_Windows.cpp, FileUtils_Mac.cpp and FileUtils_Unix.cpp. The FileUtils_Mac.cpp is based on code submitted by Josh Portway and add uses the carbon API for searching for files. - * Removed DOFTransform. +Tue, 23 Apr 2002 13:12:37 +0000 +Checked in by : Robert OSFIELD +Addtional details on the OpenSceneGraph and support. -2003-11-26 11:01 robert +Tue, 23 Apr 2002 11:03:09 +0000 +Checked in by : Robert OSFIELD +Changed the Windows gauard around so that it only works for VisualStudio and not Cygwin/Mingw. - * Changed SG_EXPORT to OSGSIM_EXPORT. +Tue, 23 Apr 2002 11:02:09 +0000 +Checked in by : Robert OSFIELD +Added a pragma to get round a VisualStudio warning that I couldn't fix in any easy way. -2003-11-26 08:37 robert +Tue, 23 Apr 2002 10:55:45 +0000 +Checked in by : Robert OSFIELD +Added an imageList.clear() to osgbillboard so that its memory would be cleared before entering the viewer main loop, this removes memorymanager a reported memory leak due to the viewer using exit() which bypasses the clean up on main itself.Added an osgNew to the ReaderWriterRGB.cpp to aid detected of tracking of +memory leaks. - * Added missing DOFTransform and MultiSwitch implementations -2003-11-25 19:43 robert - * Checked in support for osgTerrain in Make/makedirdefs +Tue, 23 Apr 2002 10:34:20 +0000 +Checked in by : Robert OSFIELD +Fixed compile problems under VisualStudio w.r.t the new additions for precompiled mipmaps. Changed std::size_t to unsigned int. -2003-11-25 19:42 robert +Tue, 23 Apr 2002 09:06:03 +0000 +Checked in by : Robert OSFIELD +Replaced texture compression extension define so that its #ifndef guard used GL_ARB_texture_compression as natured intended. - * Early development work on osgTerrain. +Tue, 23 Apr 2002 08:40:13 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog in preperation for the 0.8.45 release. -2003-11-25 19:25 robert +Tue, 23 Apr 2002 08:34:58 +0000 +Checked in by : Robert OSFIELD +Added to the NEWS file. - * Disabled the build of osgTerrain, until its checked in. +Tue, 23 Apr 2002 08:29:39 +0000 +Checked in by : Robert OSFIELD +Fixed warning in swapBytes, simple addded unsigned to the int loop count, since sizeof() is always an unsigned int. -2003-11-25 19:25 robert +Mon, 22 Apr 2002 23:54:13 +0000 +Checked in by : Don BURNS +Impleneted byte swap for use between machines with different endians. - * Added OSGSIM_EXPORT to scalarbar::printer +Mon, 22 Apr 2002 21:45:33 +0000 +Checked in by : Don BURNS +Fixed couple of small errors caught by Solaris compiler -2003-11-25 19:06 robert +Mon, 22 Apr 2002 21:18:15 +0000 +Checked in by : Robert OSFIELD +A couple of API additions to osg::ClippingVolume, osg::Matrix and osg::Plane sent in by Mike Connell. - * Added missing DOFTransform.cpp +Mon, 22 Apr 2002 21:13:33 +0000 +Checked in by : Robert OSFIELD +Integrated submission from Boris Bralo:Supported added for precompiled mip maps stored in osg::Image, and read +by osg::Texture. -2003-11-25 16:28 robert +Updates to TerraPage loader for support of compressed texture images and +precompiled mip maps. - * Added suport for osgSim::MultiSwitch to .ive plugin -2003-11-25 16:07 robert - * Tweaked MultiSwitch IO +Mon, 22 Apr 2002 19:41:33 +0000 +Checked in by : Robert OSFIELD +Added code in hangglide to move the earth sky around with the eye point, use osg::Transform::ComputeTransformCallback. -2003-11-25 15:58 robert +Mon, 22 Apr 2002 14:54:39 +0000 +Checked in by : Robert OSFIELD +Added support for compute the near and far planes and then applying to the current projection matrix into CullVisitor itself. Similar code to support this has been moved out of SceneView completely.Added Matrix:: infront of the definition of the static +osg::Matrix::inverse(Matrix) method which was missing. - * Added osgSim::MultiSwitch and support for it in the OpenFlight - and - .osg plugins -2003-11-25 14:38 robert - * Added support for TexMat to .ive plugin +Mon, 22 Apr 2002 09:55:45 +0000 +Checked in by : Robert OSFIELD +Slight changes to FAQ to make a little more relevant, it really needs a total re-write though. -2003-11-25 14:11 robert +Mon, 22 Apr 2002 09:50:32 +0000 +Checked in by : Robert OSFIELD +Added test script which runs all the demos in the OSG to make sure they run ok. User has to verify they are correct visually. - * Moved osg::DOFTransform to osgSim::DOFTransform. - - Fixed crash associated with .osg files which contain empty - description fields. - - From Sondra Inverson, added support to .ive plugin for - osgSim::DOFTransform. +Mon, 22 Apr 2002 09:37:17 +0000 +Checked in by : Robert OSFIELD +Cleaned up the handling of the Viewport with osg::SceneView/RenderStage and CullVisitor so that the Viewport is now managed as part as the global stateset so that it can be pushed and popped like the rest of state without problems. This makes it easier to have multiple viewports within one scene graph. -2003-11-25 11:40 robert +Mon, 22 Apr 2002 09:31:54 +0000 +Checked in by : Robert OSFIELD +Fixes the .mlt loading from Ben Discoe. - * Work in progress on osgdem example and osgTerrain::DataSet class +Sun, 21 Apr 2002 22:05:26 +0000 +Checked in by : Robert OSFIELD +Updated TODO list.Converted AnimationPath so it is now subclassed from osg::Transform::ComputeTransfromCallback() +so that it can be directly attached to the scene to move objects about. -2003-11-25 11:06 robert +Changed the osg::SateSet::setGlobalDefaults() so that is sets GL_DEPTH_TEST +to ON. - * Fixed type of unrecognized +Added guards and creation of default helper classes in osgGLUT::Viewer and +osgUtil::SceneView so that sensible defaults are used when no settings +are used of osg::State/StateSet,osgUtil::RenderStage/RenderGraph/CullVisitor. -2003-11-25 11:05 robert - * Moved the unrecognized options check to after loaded -2003-11-25 10:57 robert +Sun, 21 Apr 2002 21:53:03 +0000 +Checked in by : Robert OSFIELD +A second try at commit these updates to docs. - * Tweaks for debugging output +Sun, 21 Apr 2002 10:12:15 +0000 +Checked in by : Robert OSFIELD +Fixes to spelling mistakes in NEWS file. -2003-11-25 10:56 robert +Sun, 21 Apr 2002 10:11:03 +0000 +Checked in by : Robert OSFIELD +Updated Versions, and NEWS file to reflect impending release of 0.8.45. - * Added intersect method. +Sun, 21 Apr 2002 09:51:59 +0000 +Checked in by : Robert OSFIELD +Updates to docs. -2003-11-25 10:56 robert +Sat, 20 Apr 2002 20:35:02 +0000 +Checked in by : Robert OSFIELD +Updated the docs. - * Added read(string,float,float,float,float) method +Sat, 20 Apr 2002 15:49:28 +0000 +Checked in by : Robert OSFIELD +Reorginising the docs so that data source, dependencies and installation istrucions sit in the doc directory as html files. -2003-11-25 10:55 robert +Fri, 19 Apr 2002 19:55:48 +0000 +Checked in by : Robert OSFIELD +Changed the implementation of osg::Quat::makeRotate(heading,pitch,roll) so that it conforms to the OpenFlight convention of euler angles. Added documentation into Matrix and Quat to reflect this.Added so test code to osgcube for stress testing memory allocation and deallocation. - * Reorganised posstion of getViewMatrix*() methods. +Commented out the registering of app and cull callbacks in osghud. -2003-11-25 10:53 robert - * From Eric Hammil, support for compute the dimensions when the - file specified - size is zero. -2003-11-25 10:52 robert +Fri, 19 Apr 2002 16:22:25 +0000 +Checked in by : Robert OSFIELD +Fixes for Max OSX build from Bob Kuehne. - * Changed error message to something more meaningful +Fri, 19 Apr 2002 16:21:18 +0000 +Checked in by : Robert OSFIELD +updated the introduction.html, still not complete but getting there. No edited for typo's yet :-) -2003-11-25 10:50 robert +Fri, 19 Apr 2002 16:00:15 +0000 +Checked in by : Don BURNS +Fixed an assignment that should have been a test - * Increased the prevision of outputing the height field parameters +Fri, 19 Apr 2002 15:34:40 +0000 +Checked in by : Don BURNS +Updated some files sent by Boris Bralo for the txp loader. -2003-11-25 10:49 robert +Fri, 19 Apr 2002 15:02:34 +0000 +Checked in by : Don BURNS +Fixed small typo in src/osgUtil/RenderStage.cpp - * Added support for case insenstive file searches. +Fri, 19 Apr 2002 15:00:57 +0000 +Checked in by : Don BURNS +Added Bob K's fix -2003-11-25 10:47 robert +Thu, 18 Apr 2002 23:30:06 +0000 +Checked in by : Don BURNS +Fixed small typo in SceneView::setDefaults(). - * From Trajce Nicklov, support for GeneralMatrix record +Thu, 18 Apr 2002 21:29:31 +0000 +Checked in by : Robert OSFIELD +Added introduction html file. -2003-11-25 10:32 robert +Thu, 18 Apr 2002 16:40:17 +0000 +Checked in by : Robert OSFIELD +Updated stereo documentation to include details about horizontal and vertical split stereo. - * From Alberto Farre, added support for nesting of files. +Thu, 18 Apr 2002 16:08:36 +0000 +Checked in by : Don BURNS +Changed make makeosx to make -2003-11-25 10:20 robert +Thu, 18 Apr 2002 15:37:26 +0000 +Checked in by : Don BURNS +changed LIBEXT to LIB_EXT for Darwin - * From Michael Morrison, added support for the OpenFlight - BSPRecord, simply - mapping it to a Group. +Thu, 18 Apr 2002 15:16:59 +0000 +Checked in by : Don BURNS +Added -lXi to the Linux X_LIBS -2003-11-25 09:23 robert +Thu, 18 Apr 2002 10:38:58 +0000 +Checked in by : Robert OSFIELD +Fixed VisualStudio .NET warnings in TXP plugin. - * Updated links to mailing list +Thu, 18 Apr 2002 09:57:42 +0000 +Checked in by : Robert OSFIELD +Fixed memory leak in FTGL associated with the function of gluTesselate.Fixed a warnings in the DW plugin. -2003-11-25 09:04 robert - * Added support for case insenstive searches of the filepaths. -2003-11-24 10:01 robert +Wed, 17 Apr 2002 20:04:41 +0000 +Checked in by : Robert OSFIELD +Warning fixes for VisualStudio - * Changed the shadow colour so that it is now controlled via the - emissive - light material rather than ambient, this allows it to bypass any - of the - osg::Light values and control the resulting shadow colour more - directly. +Wed, 17 Apr 2002 14:18:20 +0000 +Checked in by : Robert OSFIELD +Fixed type in location of redhat glu patch. -2003-11-21 20:21 robert +Wed, 17 Apr 2002 11:36:38 +0000 +Checked in by : Robert OSFIELD +Fixes for warnings under VisualStudio - * Removed the ScalarBar:: from the from of the - ScalarPrinter::printScalar() calls. +Wed, 17 Apr 2002 11:29:49 +0000 +Checked in by : Robert OSFIELD +Added a gset->computeNumVertices() which was missing, this was causing models to disappear after application of tri stripping. -2003-11-21 19:33 robert +Wed, 17 Apr 2002 09:48:19 +0000 +Checked in by : Robert OSFIELD +Changed the osg::Billboard comution so that it get passed in the current modelview matrix rathan than an identity matrix, this matrix is then modified locally.Changed the osg::Matrix set methods so they are inline. - * From John Tan, support for offset and scale tex coords via - TexMat. +Added a few useful comments to MemoryManager.cpp to help people understand +the assert's better. -2003-11-21 16:30 robert - * From Stephan Huber, clean up of QTexture.cpp's scaling code and - additions - of handling of different extensions in ReaderWriterQT.cpp -2003-11-21 16:19 robert +Tue, 16 Apr 2002 21:39:45 +0000 +Checked in by : Don BURNS +Changed Linux makedepend flag from -MM to -M - * Removed newline from top of header +Tue, 16 Apr 2002 21:08:46 +0000 +Checked in by : Robert OSFIELD +Fixed the seveal hunderd warnings in TerraPage loader! -2003-11-21 14:30 robert +Tue, 16 Apr 2002 15:44:31 +0000 +Checked in by : Robert OSFIELD +Fix to TXP plugin to handle to new osg::Image method naming. - * From Stephan Huber, with mods by Robert to keep old code in - place, change to replace - scaling of texture since the OSG does this automatically when - required. +Tue, 16 Apr 2002 15:31:46 +0000 +Checked in by : Robert OSFIELD +Added clearing of seperation band between horizontal/vertical split stereo areas. -2003-11-21 14:17 robert +Tue, 16 Apr 2002 15:21:24 +0000 +Checked in by : Don BURNS +Added makedirdefs via a request from Bob Kheune. This allows us to edit the DIRS cruft in a single file in the Make directory instead of having to edit multiple files. Also edited Makefiles that needed to include this file.Also cleaned up txp loader to compile with SunOS. This needs to be retested +on other platforms. - * Changed the main to create a Group and then add the loaded scene - and HUD scene - into this. This has been done to rework code nearer to what - Stephan Huber - used to get round a crash under OSX when a model was passed in. - This crash - suggest a problem in dynamic_cast<> perhaps? -2003-11-21 13:45 robert - * From Romano J M Silva, changed osg::Texture2D::copyTexImage2D so - that it uses the - _internalFormat for the texture format to read rather than - default to GL_RGBA. - - From Robert Osfield, changed the osg::Texture2D::copyTexImage2D - and copyTexSubImage - code so that it set the _internalFormat to GL_RGBA if is is zero. +Tue, 16 Apr 2002 14:57:39 +0000 +Checked in by : Robert OSFIELD +Added osg::Image::setPixelFormat(..) and setInternalTextureFormat(), and renamed osg::Image::pixelFormat(), internalTextureFormat(),dataType() to osg::Image::getPixelFormat() etc. These changes are to bring it more into line with the style of the rest of the OSG.Updated the rest of the distribution to take account for these names changes. -2003-11-20 12:03 robert - * Added the missing insertChild(index,child) and - insertChild(index,child,value) into - osg::Switch. -2003-11-20 11:07 robert +Tue, 16 Apr 2002 14:09:46 +0000 +Checked in by : Robert OSFIELD +Purge on warnings under Linux. - * Changed the freetype plugin so it keeps its own ref_ptr to - fonts - that it creates, rather than have osgText::Font::readFontFile() - use the - osgDB::Registry object cache. - - This has been done to prevent problems when users flush the - object cache, - which was causing a dangling pointer. +Tue, 16 Apr 2002 11:41:32 +0000 +Checked in by : Robert OSFIELD +Removed the cached matrices from osg::Camera, so that osg::Camrea::getModelViewMatrix() and osg::Camera::getProjectionMatrix() are calculated on the fly. Removed various redudent methods, including the project and unproject methods which are better supported within osgUtil::SceneView.Added a computeWindowMatrix() method to Viewport, to make it easier to construct +a MV*P*W matrix for converting local coords into screen coords and visa versa. +Converted SceneView and CullVisitor to use this new method. -2003-11-19 20:30 robert - * Changed libgdal.lib to gdal.lib -2003-11-14 13:39 robert +Tue, 16 Apr 2002 11:36:23 +0000 +Checked in by : Robert OSFIELD +Updates to the flt plugin from Brede Johansen. - * From Ruben, added support for nested update and cull callbacks. +Tue, 16 Apr 2002 08:01:18 +0000 +Checked in by : Robert OSFIELD +Warnings fix. -2003-11-14 09:25 robert +Tue, 16 Apr 2002 05:29:39 +0000 +Checked in by : Don BURNS +Fixed some boo-boos in makerpms for building demo source files... - * Changed the credit from NVidia's NvTriStrip to Tanguy Faure's - traingulation code. +Tue, 16 Apr 2002 04:13:30 +0000 +Checked in by : Don BURNS +Fixed Solaris 'make distribution' for demo source. -2003-11-13 15:45 robert +Tue, 16 Apr 2002 03:24:41 +0000 +Checked in by : Don BURNS +fixed a few problems that didn't work right with installing demo source on platforms other than Solaris. - * From Tom Jolly, Fix to handling of triangle fans. +Mon, 15 Apr 2002 21:48:43 +0000 +Checked in by : Robert OSFIELD +Compile fixes for IRIX, submitted by Randall Hopper. -2003-11-12 19:05 robert +Mon, 15 Apr 2002 21:03:32 +0000 +Checked in by : Robert OSFIELD +Added support for OSG_USE_MEMORY_MANAGER into Windows build. - * Added usage of object cache + fixed handling of projection - matrix. +Mon, 15 Apr 2002 19:12:39 +0000 +Checked in by : Robert OSFIELD +Added Makefile.inst which was not added ealier with the check in osghud. -2003-11-12 15:03 robert +Mon, 15 Apr 2002 14:45:14 +0000 +Checked in by : Don BURNS +Added Daniel Sjölie's request to use a default complier (CXX) in makedefs. Doing this only for Linux - * Fixed setting of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO value. +Mon, 15 Apr 2002 14:29:13 +0000 +Checked in by : Robert OSFIELD +Fixed error in project w.r.t name of source file. -2003-11-12 10:13 robert +Mon, 15 Apr 2002 14:21:10 +0000 +Checked in by : Robert OSFIELD +Renamed Demos/osgtext/osgtext.dsp back to Demos/osgtext/osgtextdemo.dsp - * Moved the getTime to inside the locked part of the add events. +Mon, 15 Apr 2002 13:15:48 +0000 +Checked in by : Robert OSFIELD +Added CullCallbacks to osg::Node, and osgUtil::CullVisitor. -2003-11-11 16:30 robert +Mon, 15 Apr 2002 11:03:31 +0000 +Checked in by : Robert OSFIELD +Added osghud, a head up display demo. - * From Tom Jolly, fixed incorrect setTexCoordIndices to - setColorIndices. - - Added support for triangle fan primitives. +Mon, 15 Apr 2002 10:59:16 +0000 +Checked in by : Robert OSFIELD +Fixes to warning in Win32 build -2003-11-11 08:52 robert +Mon, 15 Apr 2002 08:51:11 +0000 +Checked in by : Robert OSFIELD +Fixed the copying of LongIDRecord's strings in flt plugin so it now uses the record length-4, to create the string. Also Removed some in appropriate comments from LongIDRecord, since they were obvious and hang over of a copy and paste job on the code. - * From Dean Iversion, fix to the ReaderWriter::Options management - in Pool.cpp +Mon, 15 Apr 2002 08:09:02 +0000 +Checked in by : Robert OSFIELD +Fixed display problem with the HUD in osgtext which was caused by the new mods to SceneView not honouring the z near/far calculation flag. -2003-11-07 09:00 robert +Sun, 14 Apr 2002 22:21:59 +0000 +Checked in by : Robert OSFIELD +Added support for specificing the eye mapping and seperation between the horizontal and veritical split stereo modes.Renamed osg::Image::ensureDimensionArePowerOfTwo() to osg::Image::ensureValidSizeForTexturing(). - * Made getWidth and getHeight const. -2003-11-06 22:06 robert - * From Sondra Iverson: - - small optimization to ParticleSystem.cpp moving sqrtf out of - inner loop. - fix of copy and past error changing erronous cullTimes to - drawTimes. +Sun, 14 Apr 2002 20:30:43 +0000 +Checked in by : Robert OSFIELD +Used a faster method for checking for power of 2 on the image dimensions and did a check on forcing 16bits textures in osg::Texture (which speeds things up on the Umea model which is performance bound by texture memory.), the later check is now commented out. -2003-11-06 21:58 robert +Sun, 14 Apr 2002 13:41:13 +0000 +Checked in by : Robert OSFIELD +Fixes to osg::Image::createImage(..), and addition of code to Viewer.cpp to support output of screen snapshot via 'O'. - * Added Producer.lib into the dependancy list. +Sun, 14 Apr 2002 12:54:26 +0000 +Checked in by : Robert OSFIELD +Addition of write .bmp to the BMP plugin. -2003-11-06 13:44 robert +Sun, 14 Apr 2002 12:53:36 +0000 +Checked in by : Robert OSFIELD +Fix for crash in SceneView introduced when ungarded use of _dispalySettings pointer was added, a if (valid) guard has been added to solve the problem. - * From David Ergo, patch for setting the shininess strength of the - specular material, +Sat, 13 Apr 2002 22:19:29 +0000 +Checked in by : Robert OSFIELD +Clean up for VisualStudio build -2003-11-06 04:08 don +Sat, 13 Apr 2002 18:53:20 +0000 +Checked in by : Robert OSFIELD +Added a space into the project name because it was confusing VisualStudio. - * Fixed loading of dynamic libraries with dlopen if the library is - in the current directory +Sat, 13 Apr 2002 18:45:18 +0000 +Checked in by : Robert OSFIELD +Further changes to VisualStudio.dsw for dependancies. -2003-11-05 10:24 robert +Sat, 13 Apr 2002 11:36:10 +0000 +Checked in by : Robert OSFIELD +Added dependanices into osgPlugins. - * Added code to load the bluemarble.ive database instead of the - texture mapped - sphere for the earth model in the logo. +Sat, 13 Apr 2002 11:08:04 +0000 +Checked in by : Robert OSFIELD +Fixed compile problem related to missing includes (a result of removing include of Camera..) -2003-11-05 04:58 don +Sat, 13 Apr 2002 10:29:44 +0000 +Checked in by : Robert OSFIELD +Added dependancies to Demos. - * MIssing check for ptr == NULL at line 227 in Registry.cpp +Sat, 13 Apr 2002 10:18:58 +0000 +Checked in by : Robert OSFIELD +Saved workspace from VisualStudio to follow up on missing demo dependancies -2003-11-05 04:56 don +Sat, 13 Apr 2002 09:28:53 +0000 +Checked in by : Robert OSFIELD +Added Core infront of the names of the project dependancies. - * Small bug in DynamicLibrary.cpp ptr was not being checked for - NULL +Fri, 12 Apr 2002 18:06:13 +0000 +Checked in by : Robert OSFIELD +Further work on cleaning up SceneView and Camera, in particular moving strereo support out of Camera and into SceneView. Also enabled the option to set the projection and modelview matrices directly on SceneView thereby removing the dependance on osg::Camrea to control the view of the scene. -2003-11-05 04:51 don +Fri, 12 Apr 2002 14:05:55 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build. - * Changed versioning for make rpms +Fri, 12 Apr 2002 13:06:48 +0000 +Checked in by : Robert OSFIELD +Futher updates to VisualStudio files, adding osgstereoimage and osgversion in particular. -2003-11-04 22:00 robert +Fri, 12 Apr 2002 12:51:32 +0000 +Checked in by : Robert OSFIELD +Added "Core " infront of the osg, osgDB, osgUtil, osgText, and osgGLUT libraries in the Visual Studio workspace/project files. - * Added TextureObjectManager constructor. +Fri, 12 Apr 2002 12:15:07 +0000 +Checked in by : Robert OSFIELD +Renamed the osgtext demo project to reflect the name. -2003-11-04 19:26 robert +Fri, 12 Apr 2002 11:57:20 +0000 +Checked in by : Robert OSFIELD +Added "Demo " and "osgPlugin " infront of all demo and plugin project names to help differentiate them within VisualStudio. - * Made all positioning transform DYNAMIC to avoid the - osgUtil::Optimizer flattening - them. Flattening of static transforms was affecting the PagedLOD - nodes. +Fri, 12 Apr 2002 10:24:45 +0000 +Checked in by : Robert OSFIELD +Attempt to add osgPlugin infront of the 3ds name to force VisualStudio to present it as plugin in the browser. -2003-11-04 16:38 robert +Fri, 12 Apr 2002 10:12:35 +0000 +Checked in by : Robert OSFIELD +Reorganised the names of libraries and Demos to make it clear what is what. - * Added support to slideshow3D for -s commandline option allow the - size of - the display to be specified. - - Also implementaited some code for display position and speed info - in - osgProducer::Viewer, not fully implemented yet. +Fri, 12 Apr 2002 09:53:39 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build -2003-11-04 15:07 robert +Fri, 12 Apr 2002 09:25:41 +0000 +Checked in by : Robert OSFIELD +Removed double reference of osgtexture - * Changed the slide coordinates system so that the bottom left hand - corner of the - slide is 0,0,0 and the top right is 1,1,0, and the eye point is - at the - appex of a frustum at x,y,1. +Fri, 12 Apr 2002 09:25:15 +0000 +Checked in by : Robert OSFIELD +Removed Metroweks files since they wern't being used, and were not up to date. An attempt at using Metrowerks for MacOSX build failed, and we have Cywgin/Mingwin VisualStudio for windows so there is little need for it. -2003-11-04 13:40 robert +Fri, 12 Apr 2002 08:01:22 +0000 +Checked in by : Robert OSFIELD +Removed dangling references to NewCullVisitor from osgUtil.dsp. - * Added osgText::Text::getTextureGlyphQuadMap(). +Fri, 12 Apr 2002 06:18:41 +0000 +Checked in by : Don BURNS +Solaris PKG distribution now makes a shar (self-extracting shell archived) changed makepgk to do this.Changed another one of those pesky cout = std::cout in CullVisitor.cpp -2003-11-03 23:26 robert - * Fixed positioning of images. -2003-11-03 23:22 robert +Fri, 12 Apr 2002 05:09:45 +0000 +Checked in by : Don BURNS +added 'make cleandepend' to build system. - * Fixed positioing of text. +Fri, 12 Apr 2002 05:06:41 +0000 +Checked in by : Don BURNS +Added the 'make cleandepend' target to the build system. -2003-11-03 23:13 robert +Thu, 11 Apr 2002 23:20:23 +0000 +Checked in by : Robert OSFIELD +Added DataVariance enum and set/get fields to osg::Object to help identify which objects have values that vary over the lifetime of the object (DYNAMIC) and ones that do not vary (STATIC). Removed the equivalent code in osg::Transform, StateSet and StateAttribute, as these are now encompassed by the new DataVariance field.Removed MatrixMode enum from Matrix, and associated fields/parameters from +osg::Transfrom and osg::NodeVisitor, since MatrixMode was not providing +any useful functionality, but made the interface more complex (MatrixMode +was an experimental API) - * Updated to slideshow3D to support animation + pausing of - animation. - - Updated associated osg/osgUtil classes that provide animation - pausing. +Added ReferenceFrame field to osg::Transform which allows users to specify +transforms that are relative to their parents (the default, and previous behavior) +or absolute reference frame, which can be used for HUD's, camera relative +light sources etc etc. Note, the view frustum culling for absolute Transform +are disabled, and all their parents up to the root are also automatically +have view frustum culling disabled. However, once passed an absolute Transform +node culling will return to its default state of on, so you can still cull +underneath an absolute transform, its only the culling above which is disabled. -2003-11-02 20:10 robert - * Merged fixes from Geof Michel. -2003-10-31 10:11 robert +Thu, 11 Apr 2002 17:15:07 +0000 +Checked in by : Robert OSFIELD +Added several new methods to osg::Image to help keep track of memory and added osg::Image::readPixels to encapsulate glReadPixels.Reordering of includes in include/osg/Fog and include/osg/Light to remove silly warnings under Visual Studio. - * Renamed _mips to _mipMapKernel -2003-10-30 16:22 robert - * Added support for float to the slideshow3D - .xml format - to allow the time for autostepping between layers/slides. - - Moved the tiles accross to the left hands side by default. +Thu, 11 Apr 2002 17:13:16 +0000 +Checked in by : Robert OSFIELD +Patch to ReadWriter3DS from Mike Connel. -2003-10-30 00:10 robert +Thu, 11 Apr 2002 16:05:38 +0000 +Checked in by : Don BURNS +Backed out bad addition of NewCUllVisitor - * Changed the wrap mode from CLAMP to CLAMP_TO_EDGE to avoid - artifacts under - OSX. +Thu, 11 Apr 2002 15:54:49 +0000 +Checked in by : Don BURNS +Somehow, cvs forgot to check in a modified Makefile with NewCullVisitor added to it... Hm.. anyway this fixes it. -2003-10-29 23:10 robert +Thu, 11 Apr 2002 13:53:46 +0000 +Checked in by : Robert OSFIELD +Fix for Win32 build. - * Added support for 565 textures to osgbluemarble. - - Added a osg::Image::scaleImage() version which allows the - datatype to be varied. +Thu, 11 Apr 2002 09:16:01 +0000 +Checked in by : Robert OSFIELD +Changed the comments for Clay Fowlwer about the GLU patch for RedHat7.2 to reflect the new position of the tarball and its new name. -2003-10-29 22:47 robert +Thu, 11 Apr 2002 08:24:55 +0000 +Checked in by : Robert OSFIELD +Fixed refrences to NewCullVisitor which has now been mapped onto CullVisitor. - * Added option for 565 16bit textures. +Wed, 10 Apr 2002 22:10:07 +0000 +Checked in by : Robert OSFIELD +Copied NewCullVisitor over top of CullVisitor and then removed NewCullVisitor.Added some defines to Image in prep for writing code to determine how big a +pixel is. -2003-10-29 19:22 robert - * Added copying of reference to the main CullVisitor's - DatabaseRequestHandler over - to the left/right eye CullVisitor to ensure that the database - works in stereo. -2003-10-29 16:45 robert +Wed, 10 Apr 2002 21:51:34 +0000 +Checked in by : Robert OSFIELD +Added new osg::DrawPixels class with encapsulates glDrawPixels as and osg::Drawable. Added osg::Image::readPixels to osg::Image.Made osg::LightSource to default to cullActive set to false to that LightSource +nodes don't get culled by default. - * Commented out verbose debugging messages. -2003-10-29 14:59 robert - * Added -e -w -o and -l options to the osgbluemarble example. +Wed, 10 Apr 2002 14:34:16 +0000 +Checked in by : Don BURNS +Added placeholder .README file to the PKG directory to keep CVS from removing the directory on an update. -2003-10-29 11:11 robert +Wed, 10 Apr 2002 14:32:16 +0000 +Checked in by : Don BURNS +Removed big honkin' SUN PKG files from cvs distribution. - * Updates for osgdem. Including new read/writeHeightField() - methods. +Wed, 10 Apr 2002 01:29:45 +0000 +Checked in by : Don BURNS +Added (previously omitted) libpng, libjpeg, libtiff, libgif to makedefs in the Linux section -2003-10-29 10:41 robert +Tue, 9 Apr 2002 22:54:43 +0000 +Checked in by : Don BURNS +Fixed makedepend to do the right thing. - * Fixed PNG plugin so it handles endianess correctly, and - alpha/grey scale textures. +Tue, 9 Apr 2002 21:46:34 +0000 +Checked in by : Robert OSFIELD +Added setProjectionMatrix and setModelViewMatrix() methods to osg::SceneView, and associated member variables. I have not linked them up to the cull traversal yet, but this will be the next task. -2003-10-27 16:07 robert +Tue, 9 Apr 2002 16:09:19 +0000 +Checked in by : Robert OSFIELD +Further work on removing Camera references from NewCullVisitor and releted classes, this work paves the way for making osg::Camera an optional extra rather than a requirement for rendering. - * *** empty log message *** +Tue, 9 Apr 2002 15:51:20 +0000 +Checked in by : Don BURNS +Checking in all Makefile.inst in src/Demos/*. These are the Makefiles that get installed rather than the build Makefiles. -2003-10-27 10:29 robert +Tue, 9 Apr 2002 14:55:38 +0000 +Checked in by : Don BURNS +Added pkgadd distribution for Solaris.Added a cleaner way to install demo source so that installed versions use a +simplified makedefs/makerules. - * Added a check into osg::Sequence::traverse() against an empty - sequence, so - that a non existant child is not traversed. +Small fix to get osgText to compile with Solaris CC. Constructor declared +with a non-const argument, but implemented with const argument. -2003-10-22 13:39 robert - * Fixed error when handling mulltiple non per vertex vertex - attributes during - rendering. -2003-10-20 21:31 robert +Mon, 8 Apr 2002 16:50:13 +0000 +Checked in by : Don BURNS +Added -lstdc++ to begining of LIBS on link line.. ?? - * Added ImageOptions to osgDB. +Mon, 8 Apr 2002 16:25:45 +0000 +Checked in by : Don BURNS +Put quotes around "DBGF" for multi argument -2003-10-20 20:17 robert +Mon, 8 Apr 2002 08:23:00 +0000 +Checked in by : Robert OSFIELD +Changed a char* into const char* to fix Solaris build. - * Added Producer and OpenThreads to linkline. +Mon, 8 Apr 2002 08:22:27 +0000 +Checked in by : Robert OSFIELD +Fix for VisualStudio's lack of auto_ptr::reset. -2003-10-20 09:01 robert +Sun, 7 Apr 2002 17:47:03 +0000 +Checked in by : Don BURNS +Added a stop gap fix for cygwin build. Previous experiements were creating library and plugin files that looked like system library and system files which would have deleted original files on a 'make install'. Cygwin is not tested yet, but this needed to get fixed before a cygwin user wiped out his system library files. - * Fixed print on scalar bar example. +Sat, 6 Apr 2002 09:24:51 +0000 +Checked in by : Robert OSFIELD +Updates to Makefile to reflect recent .cpp additions such as TextureCubeMap, MemoryManager etc. -2003-10-19 11:46 robert +Fri, 5 Apr 2002 02:49:58 +0000 +Checked in by : Don BURNS +Fixed a small oversight in the previous bug fix. in GeoSet::computeBound() _numcoords is NOT necesarily _cindex._size. - * From Trajce Nikolov, support for use of PagedLOD in the txp - plugin. +Fri, 5 Apr 2002 01:52:15 +0000 +Checked in by : Don BURNS +Edited INSTALL for new make and installation procedures. Checking in a fix for Norman Vine Added helprules and help.sh for a long-winded help message if you 'make help'. -2003-10-17 15:26 robert +Thu, 4 Apr 2002 18:01:44 +0000 +Checked in by : Don BURNS +Added Norman Vine's changes for CYGWIN buildsAdded distrules and makerpms for building RPM distributions - * Added support for generating compressed textures in - osgbluemarble. +Removed old RedHatRPM distribution build directory -2003-10-17 15:26 robert +Added new dist/RPM directory and placed temporary .spec files (these +are generated by Make/makerpms and are not intended for stand-alone +use, but they keep the directory warm and CVS happy) - * Michael Gronager's changes for supporting the in memory gz - archiving. -2003-10-17 14:40 robert - * From Marco Jez, Fix to the bumping mapping effect. +Thu, 4 Apr 2002 00:30:10 +0000 +Checked in by : Don BURNS +Fixed a small bug in compute bound that caused it to come up with the wrong number if the coord array was indexed, and containing bogus (unindexed, yet in-line) numbers. -2003-10-17 10:28 robert +Wed, 3 Apr 2002 17:53:46 +0000 +Checked in by : Don BURNS +Cleaned up in stallation directives - * Changed the warnings about unhandled op codes to NOTICE instead - or WARN +Wed, 3 Apr 2002 17:42:12 +0000 +Checked in by : Don BURNS +Reinstated Norman Vine's TARGET_BASENAME variable in the makefiles and added prefixes and suffixes to libs and plugins. ALl this to accomodate cygwin...Also added INST_SYS_PREFIX and INST_SHARE_PREFIX for installation, as well +as "standardizing" the install locations for the various platforms. -2003-10-17 10:27 robert - * Set default values for datatype & pixelformat. -2003-10-17 10:26 robert +Tue, 2 Apr 2002 06:58:18 +0000 +Checked in by : Don BURNS +Oops forgot to add makedefs and makerules - * Made = opeator const. +Tue, 2 Apr 2002 06:44:57 +0000 +Checked in by : Don BURNS +The new order for building OSG. All Makefiles are replaced and the Make directory is left with four files only : makedefs makerules makedirrules instrulesThese work for all platforms supported so far, which include : + Linux + Irix + Solaris + MacOSX + Cygwin + FreeBSD -2003-10-17 10:25 robert - * Added SceneView::s/getDrawBufferValue(GLenum) to allow - customization of what - glDrawBuffer() value is set on each frame. -2003-10-17 10:24 robert +Tue, 2 Apr 2002 06:27:07 +0000 +Checked in by : Don BURNS +Folded in Bob Kuehne's changes for Mac OSX to makedefs and makerules - * From Eric Hammil, fix for bmp image size. +Mon, 1 Apr 2002 15:37:21 +0000 +Checked in by : Don BURNS +Added cleanlite rules to makerules.new -2003-10-17 10:23 robert +Mon, 1 Apr 2002 04:54:11 +0000 +Checked in by : Don BURNS +*** empty log message *** - * From Michael Gronenger, updates to JP2 plugin. +Mon, 1 Apr 2002 03:39:29 +0000 +Checked in by : Don BURNS +Completed and tested instrules.new -2003-10-17 10:22 robert +Sun, 31 Mar 2002 16:43:54 +0000 +Checked in by : Don BURNS +Added more to instrules and makedefs.new Folded in Randall Hopper's changes for FreeBSD - * Adding clamping of the tree textures. +Sun, 31 Mar 2002 16:40:44 +0000 +Checked in by : Robert OSFIELD +Added new osg::Projection node, and osgUtil::NewCullVisitor which are work in progress for the new support for controlling the projection matrix from within the scene graph.Also Added osg::State::getClippingVolume(), getProjectionMatrix() and +getModelViewMatrix() with allows drawables to access the current projection, +and model view matrices and the view frustum in local coords to the drawable. -2003-10-12 15:20 robert - * From Geoff Michel & Roger James,revised AC3D loader - accepted - the improvement from Roger James for texture mapping, and - developed his writer until it actually writes most geometries (no - text or osgFX nodes of course). -2003-10-12 14:51 robert +Sun, 31 Mar 2002 09:54:14 +0000 +Checked in by : Robert OSFIELD +Removed reference to malloc.h, replacing by stdlib.h instead. - * Moved Producer::Block temporarily into osgDB to ensure that osgDB - isn't dependent - on Producer. +Sat, 30 Mar 2002 21:20:41 +0000 +Checked in by : Robert OSFIELD +Warnings fixes, submitted by Randall Hopper. -2003-10-12 12:13 robert +Sat, 30 Mar 2002 15:13:33 +0000 +Checked in by : Robert OSFIELD +Fix for Cygwin build. - * Improvements to the DatabasePager +Fri, 29 Mar 2002 17:26:40 +0000 +Checked in by : Robert OSFIELD +Move the applying of Projection and ModelView matrices into osg::State so that it now maintains references to the last applied matrices, automatically doing lazy state updating. This simplifies the various places in the OSG which were previously doing the applying, add paves the way for managing the projection matrix within the scene graph.Remove MemoryAdapter and mem_ptr as they arn't being used, and can potentially +confuse users by their existance. -2003-10-10 19:25 robert - * Improvements to DatabasePager -2003-10-10 12:56 robert +Fri, 29 Mar 2002 12:23:54 +0000 +Checked in by : Robert OSFIELD +Converted from dos file endings to unix. - * Added ClusterCullingCallback to ive. +Fri, 29 Mar 2002 12:23:20 +0000 +Checked in by : Robert OSFIELD +Fixes for dos endings in MemoryManager.cpp, and compile fix for osgText for Cygwin. -2003-10-10 12:54 robert +Fri, 29 Mar 2002 06:54:23 +0000 +Checked in by : Don BURNS +Added new install rules for makefiles and updated makedefs and makerules... more to come - * Udates to Drawable + IVE plugin with support for new - ClusterCullingCallack. - - Improvement to osgbluemarble. +Thu, 28 Mar 2002 23:06:20 +0000 +Checked in by : Robert OSFIELD +Fixes for IRIX build. -2003-10-10 11:12 robert +Thu, 28 Mar 2002 07:29:07 +0000 +Checked in by : Don BURNS +Couple a fixes in makedefs and makerules - * Fix for 64bit build. +Thu, 28 Mar 2002 06:35:57 +0000 +Checked in by : Don BURNS +Added Norman Vines fixeds for cygwin -2003-10-10 09:41 robert +Wed, 27 Mar 2002 23:04:52 +0000 +Checked in by : Robert OSFIELD +A compile fix to the new Texture subload changes. - * Fixed the setting of the offset so that it convert degrees to - radians. - - Added setting of FOV, however, it doesn't yet function, will need - to look into Producer to work out why. +Wed, 27 Mar 2002 22:51:58 +0000 +Checked in by : Robert OSFIELD +Added support for setting the texture subload width and height within osg::Texture. The values default to 0, and in this state they are sizes of the glTexSubImage2D are taken from the source image size. This allows the previous setup with no settings for subload size to work as before. -2003-10-09 20:56 robert +Wed, 27 Mar 2002 16:31:25 +0000 +Checked in by : Robert OSFIELD +Futher updates to MemoryManager, fixed memory leak in osgconv. - * Fix for 64bit build. +Wed, 27 Mar 2002 14:56:47 +0000 +Checked in by : Robert OSFIELD +Updates to various files, replacing delete calls with osgDelete so that greater debugging info can be gleaned. -2003-10-09 20:50 robert +Wed, 27 Mar 2002 10:52:40 +0000 +Checked in by : Robert OSFIELD +Added support for VERTICAL_SPILT and HORIZONTAL_SPLIT stereo modes. - * Fixed missing osg:: +Wed, 27 Mar 2002 06:09:17 +0000 +Checked in by : Don BURNS +Update to makeefs/makerules -2003-10-09 14:55 robert +Wed, 27 Mar 2002 00:55:52 +0000 +Checked in by : Don BURNS +update to makedefs.new makerules.new - * Added DrawElementsUByte to ive plugin. +Tue, 26 Mar 2002 23:52:52 +0000 +Checked in by : Robert OSFIELD +Added support for osg::MemoryManager which is based upon Paul Nettle's memory manager published at flipcode.com. This can be turned on with the OSG_USE_MEMORY_MANGER option which then uses custom global new and delete operators as well as provide osgNew and osgDelete macro's which add ability to log line and file from which calls are made.Updated osg,osgUtil,osgDB,osgText and osgPlugins/osg to use osgNew/osgDelete, +and fixed memory leaks highlighted by the new memory manager. -2003-10-09 10:44 robert - * Converted the animation path file reading code to use - std::ifstream rather - than C style file so that it can handle configurable types better - - fixing - a bug associated with reading animation paths with the new - osg::Quat defaulting - to doubles. -2003-10-09 09:48 robert +Tue, 26 Mar 2002 21:26:27 +0000 +Checked in by : Don BURNS +Adding makedirrrules to Make directory - * Added protection to the DatabasePager::requestNodeFile()'s call - to startThread - to ensure that only one startThread is every issued. +Tue, 26 Mar 2002 21:24:04 +0000 +Checked in by : Don BURNS +Temporarily adding makedefs.new and makerules.new to keep them separate from current makedefs/makerules files. Will eventually remove all makedefs.* and makerules.* and replace only makedefs and makerules with makedefs.new and makedefs.new -2003-10-08 21:29 robert +Mon, 25 Mar 2002 23:18:02 +0000 +Checked in by : Robert OSFIELD +Added osg::MemoryManger which is currently based on Paul Nettle's memory manager published at flipcode. I havn't adopted Paul's macro's for new/delete etc, but use osg prefixed versions instead to allow greater flexiblity in handling include ordering.Have fixed a couple of new/delete[] problems which existed as a result. - * Made the Drawable::*Callback derive from osg::Object so that they - can be - saved to .osg properly. - - Added osg::ClusterCullingCallback to Drawable header/source. Not - complete yet, - but will enable drawables to culled is they are facing away from - the eye point. +To use the MemoryManager to track memory usage simply add +-DOSG_USE_MEMEORY_TRACKING to the compile line. -2003-10-08 14:24 robert +Have yet to move the osg from using new to osgNew, will do this next. - * Added ImageOptions for use with the GDAL plugin -2003-10-08 14:08 robert - * Added osgbluemarble data +Mon, 25 Mar 2002 23:13:30 +0000 +Checked in by : Robert OSFIELD +Added missing osgstereoimage.dsp -2003-10-08 13:09 robert +Mon, 25 Mar 2002 19:04:30 +0000 +Checked in by : Robert OSFIELD +Fixes for MacOSX build. - * Added new GDAL plugin and osgbluemarble example to demonstrate - how to create - PagedLOD'd databases using GDAL. +Sat, 23 Mar 2002 21:30:32 +0000 +Checked in by : Robert OSFIELD +Fixed warning in DisplaySettings.cpp -2003-10-07 18:41 robert +Sat, 23 Mar 2002 21:28:25 +0000 +Checked in by : Robert OSFIELD +Moved the exit on escape into Window, and added a virtual free method on both Window an Viewer to clean up the windows, this is now called before exit is finally called, ensure that more more memroy is clean up prior to exit. - * From Rune Schmidt Jensen, bug fix to reading of osg::Quat's +Sat, 23 Mar 2002 10:55:29 +0000 +Checked in by : Robert OSFIELD +Added GL_TEXTURE_3D definition for those with gl.h headers which don't contain it. -2003-10-06 10:03 robert +Thu, 21 Mar 2002 15:46:34 +0000 +Checked in by : Robert OSFIELD +Added missing TextureCubeMap.cpp to cvs. - * Added -losgGL2 to link line for OSX. +Thu, 21 Mar 2002 12:36:05 +0000 +Checked in by : Robert OSFIELD +Renamed have_applied_mode, have_applied_attribute, apply_mode, apply_attribute to haveAppliedMode, haveAppliedAttribute, applyMode, applyAttribute to make it more consistent with the general OSG name convetion. -2003-10-06 08:53 robert +Thu, 21 Mar 2002 12:00:10 +0000 +Checked in by : Robert OSFIELD +Added osg:State:have_applied_mode(mode) and have_applied_attribute(type) to make it easier to specify which modes and attributes have been modified without the user requiring to know to what value, or to have an equivilant attribute to pass to the have_applied_attribute method. The original have_applied(mode) and have_applied(attribute) methods have been renamed have_applied_mode(), have_applied_attribute() as this was required to prevent the mode and type values colliding during compile (it was causing a compile error when the method names were the same.) - * Added -losgGL2 +Thu, 21 Mar 2002 11:57:16 +0000 +Checked in by : Robert OSFIELD +_cullMaskRight was not being initialized in the constructor which was resulting in some sporadic problems when running stereo - occoasionally the right eye view wouldn't appear! -2003-10-06 08:01 robert +Thu, 21 Mar 2002 07:50:14 +0000 +Checked in by : Don BURNS +Modified files reflect small changes to work with Sun OS port....Removed redundant README file in osgviews... was a copy of sgv/README. - * Commented out gdal temporarily from the list of plugins to - compile. -2003-10-05 16:16 robert - * Changed the texture search path mechanism to better utlise the - OSG's search file - path mechansim. +Wed, 20 Mar 2002 22:39:51 +0000 +Checked in by : Robert OSFIELD +Added osg::TextureCubeMap which encapsulates OpenGL's cube texture mapping. -2003-10-05 11:42 robert +Wed, 20 Mar 2002 14:03:30 +0000 +Checked in by : Robert OSFIELD +Added a Referenced::unref_nodelete() method which unreferences but does not delete the object even if its count goes to 0 or below. This should only be called in special circumstances, the ReaderWriter::ReadResult being one of them. This new method has allowed the problem of objects being multiple referenced on return from readNodeFile() & readImageFile(). - * From Mike Weiblen, added support for OpenGL SL to osgFX::Cartoon. +Wed, 20 Mar 2002 11:24:47 +0000 +Checked in by : Robert OSFIELD +Updates to Texture and TextureCubeMap to clean up the code so they share much more of the core texture setup code. This largely invloved paramterizing the applyImmediateMode, which has also been rename applyTexImage to reflect its functionality better. -2003-10-05 11:34 robert +Wed, 20 Mar 2002 11:22:06 +0000 +Checked in by : Robert OSFIELD +Added the fallback of intersecting with the a drawables bounding box, if the drawable isn't a GeoSet and hence supported by the IntersectVisitor's GeoSet primitive intersections code. - * Added VS.dsp updates for Mike Weiblen's updates to - osgGL2/osgshaders +Mon, 18 Mar 2002 23:10:33 +0000 +Checked in by : Robert OSFIELD +Added osg::TextureCubeMap. submission from Brede Johansen. -2003-10-05 11:30 robert +Mon, 18 Mar 2002 22:03:28 +0000 +Checked in by : Robert OSFIELD +Fixed the MS version number check in Optiizer.cpp. Fixes to memory handling in ReaderWriterDW.cpp. Submissions from Geoff Michel. - * From Mike Weiblen, updates to osgGL2 to support Uniform values +Mon, 18 Mar 2002 21:56:00 +0000 +Checked in by : Don BURNS +Changes required for SUN Solaris port... -2003-10-03 16:29 robert +Sun, 17 Mar 2002 18:44:47 +0000 +Checked in by : Robert OSFIELD +Added new osgstereoimage demo which loads two stero paired images to create a 3D via of photographed scene. - * From Jason Ballenger, fix for - ArgumentParser::getApplicationName() +Thu, 14 Mar 2002 23:19:58 +0000 +Checked in by : Robert OSFIELD +Fix of a delete char array so it used delete []. -2003-10-03 16:27 robert +Thu, 14 Mar 2002 20:29:05 +0000 +Checked in by : Don BURNS +Fixed a problem for finding MIPS 64 bit libraries. Was seaching for LD_LIBRARYN32_PATH instead of LD_LIBRARY64_PATH - * Updated NEWS +Thu, 14 Mar 2002 17:34:08 +0000 +Checked in by : Robert OSFIELD +Integrated various changes worked on at the Glasgow Science Center. Changes include change the CameraManipulators so they work with double for time instead of float. Also added support for DataType to osg::StateAttribute and StateSet so that they can be set to either STATIC or DYNAMIC, this allows the optimizer to know whether that an attribute can be optimized or not. -2003-10-03 09:00 robert +Thu, 14 Mar 2002 16:42:43 +0000 +Checked in by : Robert OSFIELD +Added a TextureCallback which cycles through various filter modes, used in testing new glTextParamters update functionality. I have commented out the call to attaching of the callback so osgtexture outwardly behaves as before. The code lies dormant just incase we need to use it for testing in the future. - * Added Producer.lib and OpenThreadsWin32.lib to link lines. +Thu, 14 Mar 2002 16:01:21 +0000 +Checked in by : Robert OSFIELD +Changed Texture so that is use lazy updating on texture paramters (Filter/Wrap) mode by using a _texParamtersDirty flag in combination with an applyTexParamters(State&) method which does the paramters setting in one tidy bundle. This new implementations replaces the CompileFlags submitted yesterday.Simplified NodeCallback by remove osg::NodeCallback::Requirements as they +are no longer needed. -2003-10-02 19:09 robert +Fixed comments in Drawable. - * Fixes to project files. +Put guards around cosf definations so that they are only used under Win32/Mac. -2003-10-02 14:46 robert +Fixed warning in CullVisitor. - * Returned revision number to 0, for main development work -2003-10-02 14:43 robert - * Updated the revsion number to 2, for the 0.9.6-2 release. +Thu, 14 Mar 2002 15:26:55 +0000 +Checked in by : Robert OSFIELD +Fix to handling of big/little endian in trpage_readbuf sent in by Randall Hopper, and a waning fix. -2003-10-02 14:42 robert +Thu, 14 Mar 2002 00:07:29 +0000 +Checked in by : Don BURNS +Fixed compile flags in Texture - * Updated ChangeLog for release. +Wed, 13 Mar 2002 22:44:22 +0000 +Checked in by : Don BURNS +Fixed DrawCallback in Drawable and added CullCallback to Drawable Cull Visitor now checks for a Drawable's CullCallback and calls it if it exists. It then prunes based on the return value (bool) of the cull callback. -2003-10-02 14:28 robert +Sat, 9 Mar 2002 10:54:56 +0000 +Checked in by : Robert OSFIELD +Support added for pivot points, submission from Mike Connel. - * Updated docs for 0.9.6-2 release +Sat, 9 Mar 2002 10:53:19 +0000 +Checked in by : Robert OSFIELD +Fixed setWindowWidth call to account for width and height correctly. -2003-10-02 14:11 robert +Sat, 9 Mar 2002 10:52:32 +0000 +Checked in by : Robert OSFIELD +TXP plugin updates from Boris Bralo. - * Updated NEWS - - Added support for inline/nonlining of texture cube maps. +Sat, 9 Mar 2002 10:52:01 +0000 +Checked in by : Robert OSFIELD +TXP plugin changes submitted by Boris Bralo. -2003-10-02 13:26 robert +Sat, 9 Mar 2002 10:51:09 +0000 +Checked in by : Robert OSFIELD +TXP plugin update from Boris Bralo. - * Added osgDB::Registry::s/getUseObjectCacheHint() +Mon, 4 Mar 2002 01:37:18 +0000 +Checked in by : Robert OSFIELD +Added file extension guard to .obj reader plugin. -2003-10-01 21:59 robert +Sun, 3 Mar 2002 22:31:46 +0000 +Checked in by : Robert OSFIELD +Added support for seperate traversal masks for standard, left and right cull traversals. This allows one to create seperate rendering for left and right eyes when doing stereo. - * Added a check against opaque textures, when detected turn the - material white - as per specs for 3ds. +Sat, 2 Mar 2002 09:24:05 +0000 +Checked in by : Robert OSFIELD +Added a GL vesion number check to LightModel, and small typo fix in Registry. -2003-10-01 20:48 robert +Fri, 1 Mar 2002 09:29:56 +0000 +Checked in by : Robert OSFIELD +Added getInverse implementation to AnimationPath, and added #if guard to Optimizer.cpp to all compilation on state optimizer when using VS7. - * Added osgcameragroup to the Windows apps list. +Fri, 1 Mar 2002 09:28:47 +0000 +Checked in by : Robert OSFIELD +Fixes to osgText to improve robustness when running multithreaded multipipe apps. -2003-10-01 20:41 robert +Fri, 1 Mar 2002 09:27:10 +0000 +Checked in by : Robert OSFIELD +Updates to the clamp to border support in osg::Texture. - * Removed afterescher reference from runexamples.bat. +Thu, 28 Feb 2002 00:11:31 +0000 +Checked in by : Robert OSFIELD +Added support for setting the maximum number of graphics contexts that the OSG has to maintian. -2003-10-01 15:56 robert +Wed, 27 Feb 2002 22:12:07 +0000 +Checked in by : Robert OSFIELD +Added an using namespace osg to fix a MipsPro7.3 build error. - * Introduced new DisplaySettings::set/getDisplayType() and - environemtal variables - to and command line arguments to set it. - - Added support for using the DisplaySettings::getDisplayType() to - detect use - of a Head Mounted Display when doing stereo so that the asymtric - frustum can - be switched off. +Wed, 27 Feb 2002 22:04:17 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file with Boris' email address. -2003-10-01 13:12 robert +Wed, 27 Feb 2002 22:00:47 +0000 +Checked in by : Robert OSFIELD +Integrated support for GL_CLAMP_TO_BORDER_ARB extension to osg::Texture, submitted by Sasa Bistrovic. - * Added addEntryToObjectCache method to osgDB::Registry +Wed, 27 Feb 2002 21:57:56 +0000 +Checked in by : Robert OSFIELD +Fixes to DW loader, submitted by Geoff Michel. -2003-10-01 09:46 robert +Wed, 27 Feb 2002 00:58:54 +0000 +Checked in by : Robert OSFIELD +Added new osg::AnimationPath which is contaner for a set of key frames for defining an animation path. To be used with osg::Transform etc. - * Rewrote the osgtexturerectangle and osgprerendercubemap +Tue, 26 Feb 2002 20:01:04 +0000 +Checked in by : Robert OSFIELD +Added makeRotate(heading,pitch,roll) to Quat in prep for new classes for animation paths. -2003-10-01 09:18 robert +Mon, 25 Feb 2002 23:14:27 +0000 +Checked in by : Robert OSFIELD +Added LightModel.cpp's to Codewarrior files and added definiations for pre gl version 1.2 headers lack of support for color control. - * From Tree, added missing setTextureData method. +Mon, 25 Feb 2002 22:46:38 +0000 +Checked in by : Robert OSFIELD +Added support for glLightModel functionality via osg::LightModel. -2003-09-30 21:30 robert +Sun, 24 Feb 2002 23:03:10 +0000 +Checked in by : Robert OSFIELD +Updated docs, ChangLog and NEW for patched version of 0.8.44. - * Removed debugging comments. +Sun, 24 Feb 2002 22:39:45 +0000 +Checked in by : Robert OSFIELD +Added LineStipple to mcp file. -2003-09-30 19:42 robert +Sun, 24 Feb 2002 20:55:45 +0000 +Checked in by : Robert OSFIELD +Added support for glLineStipple via osg::LineStipple state attribute. - * Add /Zm200 option to osg library, +Sun, 24 Feb 2002 20:21:43 +0000 +Checked in by : Robert OSFIELD +Removed Metrowerks.mcp as it has not been kept up to date since October, the new OpenSceneGraph.mcp replaces it. -2003-09-30 19:24 robert +Sun, 24 Feb 2002 16:49:23 +0000 +Checked in by : Robert OSFIELD +Integrated fixes to the detailed depth calculation in the CullVisitor from Sasa, and fix to the IntersectVisitor's management of path from Sean. - * Added osgText dependancy to the osgforest project. +Sat, 23 Feb 2002 00:16:21 +0000 +Checked in by : Robert OSFIELD +Updates to Windows Codwarrior file -2003-09-30 19:09 robert +Fri, 22 Feb 2002 23:40:25 +0000 +Checked in by : Robert OSFIELD +updates for Win32 Codewarrior build - * Changed std::vector<>::at to []. +Fri, 22 Feb 2002 23:39:42 +0000 +Checked in by : Robert OSFIELD +Fix for win32 Codewarrior build -2003-09-30 15:50 robert +Fri, 22 Feb 2002 17:12:10 +0000 +Checked in by : Robert OSFIELD +Add support for Metrowerks Codewarrior build under Windows. - * Added text hud instructions. +Tue, 19 Feb 2002 18:59:39 +0000 +Checked in by : Robert OSFIELD +fixed txp build name problem - was overwriting .osg plugin. -2003-09-30 13:48 robert +Mon, 18 Feb 2002 23:01:09 +0000 +Checked in by : Robert OSFIELD +Fixed stereo implementation. - * Added quad tree support into osgforest +Mon, 18 Feb 2002 21:52:45 +0000 +Checked in by : Robert OSFIELD +Fixes to Win32 build of new DX writer plugin. -2003-09-29 14:42 robert +Mon, 18 Feb 2002 20:48:52 +0000 +Checked in by : Robert OSFIELD +Comment w.r.t OpenDX plugin updated. - * Fixed DriveManipulator::init(,) method so that used a - Matrix::set(Quat) rather - than the inappropriate usage Matrix::get(Quat). +Mon, 18 Feb 2002 20:46:47 +0000 +Checked in by : Robert OSFIELD +Added OpenDX writer from Randall Hopper. -2003-09-29 14:07 robert +Thu, 14 Feb 2002 13:26:37 +0000 +Checked in by : Robert OSFIELD +Beginings of reimplementation of stereo support in scene view. Work not complete yet. - * Fixed the Geometry::verifyBindings && - computeCorrectBindingsAndArraySizes so they - correctly check the indices and array elements. +Thu, 14 Feb 2002 12:55:16 +0000 +Checked in by : Robert OSFIELD +updated the options for the txp plugin. -2003-09-29 13:35 robert +Thu, 14 Feb 2002 12:51:38 +0000 +Checked in by : Robert OSFIELD +Removed osgWX workspace files. - * Made osg::Quat support either float or double internal - representation, defaulting to double. - - Generalised the osgDB::Field so that its getFloat() method can be - used with either doubles or - floats governed by the type passed in - this helps support either - float/double - Quat and Matrix classes seemlessly. +Thu, 14 Feb 2002 11:06:03 +0000 +Checked in by : Robert OSFIELD +Fixed impostor bug introduced when new modelview matrix was moved entirely within the cull traversal/draw traversal. The impostor code has been adapted to the new convention. -2003-09-29 13:14 robert +Wed, 13 Feb 2002 22:56:47 +0000 +Checked in by : Robert OSFIELD +Updated the makefiles to all have the #!gmake reference to force IRIX compilation using gmake rather than pmake or smake. This gets round issues with exporting OSGHOME. - * Added getPerspective() method to Matrix* and SceneView +Wed, 13 Feb 2002 22:53:58 +0000 +Checked in by : Robert OSFIELD +Updated the osgconv support for orientation conversion so that it used inserted a static transform to do the work of rotating the scene, then applied a standard osgUtil::Optimizer::FlattenStaticTransformsVisitor traversal to flatten the transfrom down on to the geometry nodes. -2003-09-29 08:03 robert +Wed, 13 Feb 2002 22:52:07 +0000 +Checked in by : Robert OSFIELD +Fixed the fabsf define which was eroneous mapped to sqrtf, due to the copy and paste antipattern no doubt. - * From Clay Fowler, fixes to osgdemeter so that the whole terrain - model - can be visualised at once. +Wed, 13 Feb 2002 00:13:03 +0000 +Checked in by : Robert OSFIELD +Fixed problems with intersection visitor coupled with the viewer. -2003-09-28 10:15 robert +Wed, 13 Feb 2002 00:00:20 +0000 +Checked in by : Robert OSFIELD +Added sgv -stereo cessna.osg to make test list. - * Added equals operator to CUllingSet. - - Update AUTHORS file. - - Change tabs to 4 spaces in ive/TextureCubeMap.cpp +Tue, 12 Feb 2002 23:49:24 +0000 +Checked in by : Robert OSFIELD +Added a set of test runs to the makefiles and demos. The demos now have titles relevenat to their function. -2003-09-28 09:34 robert +Tue, 12 Feb 2002 22:51:18 +0000 +Checked in by : Robert OSFIELD +Updates for IRIX build, and docs updates. - * Added a using namespace osgGA to keep things compiling under - MipsPro + VS6.0 at - them same time. +Tue, 12 Feb 2002 22:35:56 +0000 +Checked in by : Robert OSFIELD +Removed references to osgWX from the doc++ directory. -2003-09-28 09:23 robert +Tue, 12 Feb 2002 08:23:07 +0000 +Checked in by : Robert OSFIELD +Updates to Transform and CullVistor to support new getLocalToWorldMatrix methods. - * Fixed nameing of getAllocationMode() +Mon, 11 Feb 2002 23:24:23 +0000 +Checked in by : Robert OSFIELD +Updates to Transform handling in CullVisitor, in prep for moving camera modelview and projection into Transform nodes. -2003-09-26 20:14 robert +Mon, 11 Feb 2002 22:53:42 +0000 +Checked in by : Robert OSFIELD +Clean up of TXP plugin for IRIX build. - * Changed std::vector<>::at(i) array access usage to straight [i] - to keep things compiling on gcc 2.x serious +Mon, 11 Feb 2002 19:51:24 +0000 +Checked in by : Robert OSFIELD +Cleand up the root Makefile.Moved CullVisitor/RenderStage/RenderStageLighting across to managing lights +entirely within RenderStageLighting, and changed the management of modelview +matrices so that RenderLeaf now stores the absolute modelview matrix, rather +than a model matrix as done previously. The later allows RenderLeaf's to do +a glLoadMatrix rather than a glPushMatrix/glMultMatrix/glPopMatrix. -2003-09-26 16:02 robert - * From Michael Gronager, jp2 plugin for reading and writing - JPEG2000 files. -2003-09-26 11:20 robert +Mon, 11 Feb 2002 15:09:52 +0000 +Checked in by : Robert OSFIELD +Fixed Linux hang of the TXP loader by overriding the default -O2 optimization level which appears to cause the code to hang, -O works fine for some strange reason, I havn't found any direct problems in the code. This may be compiler bug or a code bug, the bug may go away in later versions of GNUC++, the problem currently occurs under GCC2.96. - * Improves to CullStack. - - From M.Grngr. options support for f=switching off internal - imagery in .ive files +Mon, 11 Feb 2002 12:51:08 +0000 +Checked in by : Robert OSFIELD +Applied fix to transparancy in flt loader. -2003-09-25 21:54 robert +Mon, 11 Feb 2002 03:26:20 +0000 +Checked in by : Robert OSFIELD +Fixed the date on the release. - * Added the beginnings of a new osgforest example. - - Added support into osg::TriangleFunctor for specifying whether - the vertices - being generates are temporary or not. +Mon, 11 Feb 2002 02:38:05 +0000 +Checked in by : Robert OSFIELD +Updated changelog for release. -2003-09-24 18:54 robert +Mon, 11 Feb 2002 02:34:30 +0000 +Checked in by : Robert OSFIELD +Fixed a make install error on the plugins related to the old definitions for plugin names hanging around despite being deprecated. These definiations confused the make install/make instclean so it tried to link a non existant library. Have removed old definitions and everything intalls properly once more:-) - * Added a local osg::State to the pbuffer implementation. +Mon, 11 Feb 2002 01:02:21 +0000 +Checked in by : Robert OSFIELD +Updated changelog. -2003-09-24 18:53 robert +Mon, 11 Feb 2002 00:51:45 +0000 +Checked in by : Robert OSFIELD +Did a make docs, in prep for the 0.8.44 release. - * Made the calling of drawable update callbacks always happen when - a geode - is traversed in the update traversal. +Mon, 11 Feb 2002 00:42:33 +0000 +Checked in by : Robert OSFIELD +Added missing doc++ generated .html files. -2003-09-24 15:54 robert +Mon, 11 Feb 2002 00:40:37 +0000 +Checked in by : Robert OSFIELD +Updated Stats code, sent in by Geof Michel. - * Improved the Geometry::verifyBinding() and - computeCorrectBindingsAndArraySizes() - methods to check all atributes and to report warnigns when errors - are detected. - - Added a CheckGeomtryVisitor to osgUtil::Optimizer to detect - eroneous Geometry - before rendering. +Mon, 11 Feb 2002 00:23:44 +0000 +Checked in by : Robert OSFIELD +Clean up INSTALL notes. -2003-09-23 14:42 robert +Sun, 10 Feb 2002 23:19:47 +0000 +Checked in by : Robert OSFIELD +Updateds NEWS for the 0.8.44 release.Change the osg::NodeVisitor::getLocalToWorldMatrix() / +getWorldToLocalMatrix() methods so it do not initilize the matrix being +passed to them, and assume the the users has already initiliazed them +appropriately, such as to take account of camera positions. - * From Tom Jolly, added support for TexEnv to pfb plugin. -2003-09-22 21:22 robert - * From Bob Kuehne, added extra include for freetype to find it on - OSX. +Sun, 10 Feb 2002 22:35:22 +0000 +Checked in by : Robert OSFIELD +Implemented NodeVisitor's getLocalToWorldMatrix and getWorldToLocalMatrix to allow users to querry the current accumulated matrix state within the scene graph. -2003-09-22 17:09 robert +Sun, 10 Feb 2002 20:05:38 +0000 +Checked in by : Robert OSFIELD +Disbalbed a dumb warning in Windows build via a #pragma. - * Changed reference to osgPluins/GNUmakefile to Make/makedirdefs +Sun, 10 Feb 2002 17:16:43 +0000 +Checked in by : Robert OSFIELD +Fixed a bug in the drive manipulator which was due to it using the local coords of the intersection point with the scene rather than the world coord value for that point. The code now uses osgUtil::Hit::getWorldIntersectionPoint() method for getting the world coords.Added support for getWorldIntersectionPoint to Viewer.cpp. -2003-09-22 09:13 robert +Put and #ifdef around the setting of the default display list visitor so +it nolonger sets in under IRIX. This is a world around to the IR graphics +imbending lighting info into display lists, if the display lists are +created before state is set up it produces lighting artifacts such as +flickering. Remove the the default display list init visitor removes +these problems, display lists are then built on the fly and drawables +a drawn for the first time. - * Renamed instance of variables called format to pixelFormat to - make a - clearer distinction between pixelFormat and - internalTextureFormat. -2003-09-17 15:48 robert - * Added osgUtil to dependencies of the obj plugin. +Sun, 10 Feb 2002 11:17:58 +0000 +Checked in by : Robert OSFIELD +Fixes for MacOSX build. -2003-09-17 12:04 robert +Sun, 10 Feb 2002 10:42:55 +0000 +Checked in by : Robert OSFIELD +Fixes to TXP loader for Cygwin and Ming builds. - * From Alberto Farre, added support for GL_EXT_blend_color, - GL_ARB_multisample, - GL_NV_multisample_filter_hint extension in the form of - osg::BlendColor and - osg::Multisample state attribute classes. +Sat, 9 Feb 2002 22:29:40 +0000 +Checked in by : Robert OSFIELD +Fixed the osgUtil::Optimizer::FlattenStaticTransformVisitor so that it does not flatten drawables which have double references to them, but only one reference with a static transform on it. This case can't be flattened but this wasn't picked up. The code now detects the case correctly. -2003-09-16 22:26 robert +Sat, 9 Feb 2002 21:29:33 +0000 +Checked in by : Robert OSFIELD +Updates to BMP loader from Geoff Michel. - * Updated release data of 0.9.6 from 15th to 16th. +Sat, 9 Feb 2002 19:46:44 +0000 +Checked in by : Robert OSFIELD +Added std:: infront of string refrences to solve compile problems under gcc 3.0.3.Also converted to unix file endings so other the windows style files. -2003-09-16 21:26 robert - * Updated Make/makedefs version number to 0.9.6-1. -2003-09-16 21:25 robert +Sat, 9 Feb 2002 14:29:58 +0000 +Checked in by : Robert OSFIELD +Updates to docs and fixes to a few warnings. - * Updated version numbers and ChangeLog for the release. +Sat, 9 Feb 2002 10:54:18 +0000 +Checked in by : Robert OSFIELD +Updated docs. -2003-09-16 19:56 robert +Sat, 9 Feb 2002 10:50:09 +0000 +Checked in by : Robert OSFIELD +Fix to BMP loader. - * Warning fixes for Win32. +Sat, 9 Feb 2002 10:24:39 +0000 +Checked in by : Robert OSFIELD +Fixes for cygwin and mingw builds. -2003-09-16 19:56 robert +Fri, 8 Feb 2002 23:07:43 +0000 +Checked in by : Robert OSFIELD +Removed further wxsgv files. - * Added a check for the maximum index values of primitives, and - then use this - to select whether to use UByte,UShort or UInt versions of - osg::DrawElements. +Fri, 8 Feb 2002 23:04:59 +0000 +Checked in by : Robert OSFIELD +Removed osgWX and wxsgv from the repositry as it is intend to keep the core distribution clean from GUI examples, these instead should live in the bazaar. This can better accomodate the many different types of viewer that users are developming. -2003-09-16 19:54 robert +Fri, 8 Feb 2002 22:55:21 +0000 +Checked in by : Robert OSFIELD +Added support for parents to Drawables.Bumped up version numbers in prep for 0.8.44. - * Fixes for .osg output of UByte4 values, and added missing - template contructor - to DrawElementsUShort. -2003-09-16 19:53 robert - * Improved the tesselation of obj surfaces so that rendering - performance - is significantly improved. +Fri, 8 Feb 2002 09:30:02 +0000 +Checked in by : Robert OSFIELD +Fixes for IRIX and Boris Bralo's TerraPage loader. -2003-09-16 11:54 robert +Thu, 7 Feb 2002 08:07:33 +0000 +Checked in by : Robert OSFIELD +Fixed teh setDrawCallback so that it now calls dirtyDisplayList() instead of dirtyBound. - * Moved a local new StateSet into cull callback as a ref_ptr to - prevent - memory leaks. +Thu, 7 Feb 2002 01:17:54 +0000 +Checked in by : Robert OSFIELD +Fix for Win32 build. -2003-09-16 11:22 robert +Thu, 7 Feb 2002 01:15:15 +0000 +Checked in by : Robert OSFIELD +Various investigations into culling errors w.r.t matrix inversion resulted in the conclusion that the osg::Matrix::inverse was broken, have lifted a new implementation from sgl and it seems to work fine. Will need further testing but looks good. - * Warning fixes for VS .NET. +Thu, 7 Feb 2002 01:12:06 +0000 +Checked in by : Robert OSFIELD +Fix for the handling of lighting in the DW loader. -2003-09-16 09:54 robert +Thu, 7 Feb 2002 01:11:20 +0000 +Checked in by : Robert OSFIELD +Added a check to the destructor of Referenced so that it detects referenced objects that are deleted whilest still having a positive _refCount, such as when a object has been deleted on the stack, yet other references still exist for it. Have put the desctructor implementation in Object.cpp to avoid adding yet another file with only a couple of lines of code in. - * Added support for per vertex colors. +Thu, 7 Feb 2002 01:07:11 +0000 +Checked in by : Robert OSFIELD +Added callbacks to allow users to modify the underlying functionality of LOD, Billboard and Drawabel objects. -2003-09-16 08:10 robert +Thu, 7 Feb 2002 01:05:52 +0000 +Checked in by : Robert OSFIELD +Added extensions code submitted by Yefrei. - * Added inlucde to trPageArchive to get - round IRIX build - problem. +Wed, 6 Feb 2002 08:57:06 +0000 +Checked in by : Robert OSFIELD +Compile fixes. -2003-09-15 22:13 robert +Tue, 5 Feb 2002 21:54:46 +0000 +Checked in by : Robert OSFIELD +Have taken a few more steps towards support for view dependant transformations by adding a ComputeTransformCallback to osg::Transform, and have now removed the recently added AutoTransform since it is nolonger required. Have also updated CullVisitor to account for the new ways for tracking transformation matrices in the scene. - * Changed a couple of int64's back to int32. +Tue, 5 Feb 2002 21:51:06 +0000 +Checked in by : Robert OSFIELD +Have removed the old lazy initialization of Matrix since it was causing bugs and adding checks to many mothods which in the end slow it down more than not intilizing the code! The code is now simpler, more robust and faster:-) -2003-09-15 21:43 robert +Tue, 5 Feb 2002 10:49:58 +0000 +Checked in by : Robert OSFIELD +Added comment to flt2osg's handling of osg::Material setup w.r.t osg::Material::_colorMode. - * Added support for handling of wordwrap in osgText::Text, so that - whole words - are cut in two, but rather moved completely to the next line. +Sun, 3 Feb 2002 22:32:48 +0000 +Checked in by : Don BURNS +added shademodel to TARGET_INCLUDE_FILES -2003-09-15 15:03 robert +Sun, 3 Feb 2002 20:57:31 +0000 +Checked in by : Robert OSFIELD +Added beginings of new AutoTransform class. - * From Julian Ortiz, fix to OpenFlight loader so that it handlers - OpenFlight - switches in a more appropriate way. +Sun, 3 Feb 2002 19:18:14 +0000 +Checked in by : Robert OSFIELD +Fixes for GCC 3.0.3 build. -2003-09-15 13:54 robert +Sun, 3 Feb 2002 12:33:41 +0000 +Checked in by : Robert OSFIELD +Removed the trailing ; after namespace {...} declariations in headers which was being picked as a warning under Codewarrior. - * Added support for correct sizing of the created presentation - w.r.t the - size of the scene, a default home position, handling of - field - in the slideshow xml file, and support for stereo image pairs. +Sun, 3 Feb 2002 11:38:20 +0000 +Checked in by : Robert OSFIELD +Added first cut at new AutoTransform node which will be used for generating Transform's during the cull traversal such as for earth/sky etc. -2003-09-15 10:17 robert +Sun, 3 Feb 2002 11:35:24 +0000 +Checked in by : Robert OSFIELD +Updates for Borland compilation. - * Updates ChangeLog and NEWS for the 0.9.6 release. +Sat, 2 Feb 2002 20:07:59 +0000 +Checked in by : Robert OSFIELD +Added defined( __BCPLUSPLUS__) to windows export code segments. -2003-09-15 10:12 robert +Sat, 2 Feb 2002 19:49:47 +0000 +Checked in by : Robert OSFIELD +Fixed a copy and paste error which was causing compile problems under Windows, due to a incorrect comparison of objects of different types. - * Fixes for warnings under VS.NET from Marco Jez. +Sat, 2 Feb 2002 10:52:30 +0000 +Checked in by : Robert OSFIELD +Typo fixed in the header guard. -2003-09-15 08:34 robert +Wed, 30 Jan 2002 19:59:36 +0000 +Checked in by : Robert OSFIELD +Fixed clone(CopyOp&) and cloneType() methods which were out of sync with the new style clone operations. - * Updated NEWS date to 15th September 2003, for 0.9.6 release. +Wed, 30 Jan 2002 18:59:36 +0000 +Checked in by : Robert OSFIELD +Fixes for Windows build -2003-09-15 08:32 robert +Wed, 30 Jan 2002 16:24:24 +0000 +Checked in by : Robert OSFIELD +Fixes for Windows build. - * Fixed warnings in geo plugin. +Wed, 30 Jan 2002 15:27:45 +0000 +Checked in by : Robert OSFIELD +Removed the M_PI defines from include/osg/Math and have use a const double osg::PI etc in its place. -2003-09-14 22:49 robert +Wed, 30 Jan 2002 15:02:56 +0000 +Checked in by : Robert OSFIELD +Changes for Borland C++ compiler changes. - * From Geoff Michel, updated geo plugin to support latest rev of - Geo Modeller's file format. +Wed, 30 Jan 2002 15:02:07 +0000 +Checked in by : Robert OSFIELD +Added osgbillboard project files to the VisualStudio workspace. -2003-09-14 22:48 robert +Wed, 30 Jan 2002 15:01:02 +0000 +Checked in by : Robert OSFIELD +Added osgbillboard demo. The code is main a copy of osgtexture right now, my plan to do change it to make it a better demo of the different types of billboard that one can do. - * Forom yne Schmidt Jansen, added support for osgSim into ive - plugin. +Wed, 30 Jan 2002 14:37:47 +0000 +Checked in by : Robert OSFIELD +Removed a Makedepend that didn't belong! -2003-09-14 22:11 robert +Wed, 30 Jan 2002 13:15:59 +0000 +Checked in by : Robert OSFIELD +Fixed the rotation direction of the POINT_ROT_* modes, this was broken by earlier fixes to the osg::Matrix. - * Added support for conrolling point size into slideshow3D. +Wed, 30 Jan 2002 12:09:18 +0000 +Checked in by : Robert OSFIELD +Made the LineSegment destructor protected to force users to create segments on the stack thus ensure that they arn't created locally and have their memory deleted incorrectly.Also updated the IntersectVisitor so that it no used osg::ref_ptr<> internally +for storing all data. Have also move the IntersectState helper class to inside the +IntersectVisitor which simplifies the external interface to the class. -2003-09-13 16:48 robert - * Added commandline usage docs. -2003-09-13 16:43 robert +Tue, 29 Jan 2002 20:25:45 +0000 +Checked in by : Robert OSFIELD +Fixes for windows build. - * Changed the FREETYPE_LIB under Cygwin from ft freetype2 to - freetype +Tue, 29 Jan 2002 14:20:29 +0000 +Checked in by : Robert OSFIELD +Removed the now rendundent DeepCopy and ShallowCopy files. -2003-09-13 15:59 robert +Tue, 29 Jan 2002 14:04:06 +0000 +Checked in by : Robert OSFIELD +Moved all references to osg::Cloner to osg::CopyOp. - * Fixed the OBJ loader so that it shares all duplicate state, - improving the - load time and rendering performance significantly. +Tue, 29 Jan 2002 12:55:23 +0000 +Checked in by : Robert OSFIELD +Fixed the header guard, which was using the name define as FileUtils. Problem spotted by Terry Welsh. -2003-09-12 21:15 robert +Tue, 29 Jan 2002 12:52:04 +0000 +Checked in by : Robert OSFIELD +Have add new osg::CopyOp which replaces last nights osg::Cloner, the new class now combines Cloner and DeepCopy into one class. Cloner and DeepCopy will be removed in next commit.Also have added osgcopy app to Demos which shows how the CopyOp have be +subclassed to create users own specific handling of copying. - * Updated change log for release. +Have fixed copy constructor problems in GeoSet which fix the deep copy +problem experienced yesterday. -2003-09-12 21:15 robert - * Changed std::size_t to unsigned int to attempt to fix IRIX build - problem. -2003-09-12 21:05 robert +Mon, 28 Jan 2002 21:49:31 +0000 +Checked in by : Robert OSFIELD +A couple of fixes to DeepCopy Cloner. - * From Norman Vine, fixes for Cygwin and Mingw builds. +Mon, 28 Jan 2002 21:17:01 +0000 +Checked in by : Robert OSFIELD +Added support for shallow and deep copy of nodes, drawables and state, via a copy constructor which takes an optional Cloner object, and the old osg::Object::clone() has changed so that it now requires a Cloner as paramter. This is passed on to the copy constructor to help control the shallow vs deep copying. The old functionality of clone() which was clone of type has been renamed to cloneType().Updated all of the OSG to work with these new conventions, implemention all +the required copy constructors etc. A couple of areas will do shallow +copies by design, a couple of other still need to be updated to do either +shallow or deep. -2003-09-12 19:17 robert +Neither of the shallow or deep copy operations have been tested yet, only +the old functionality of the OSG has been checked so far, such running the +viewer on various demo datasets. - * Work around for OSX errors when reading .ive files. +Also fixed a problem in osg::Optimize::RemoveRendundentNodesVisitor which +was not checking that Group didn't have have any attached StateSet's, Callbacks +or UserData. These checks have now been added, which fixes a bug which was +revealled by the new osgscribe demo, this related to removal of group acting +as state decorator. -2003-09-12 18:49 robert +method - * Changed OSGUTIL_LIBRARY to OSGFX_LIBRARY -2003-09-12 15:29 robert - * Added verbode debugging option to dataoutputstream and - datainputstream to - help invstigation into crash under OSX when reading .ive files. +Sun, 27 Jan 2002 20:28:43 +0000 +Checked in by : Robert OSFIELD +Added stateset->setMode(GL_LIGHTING,osg::StateAttribute::OVERRIDE_ON); to scribbed subgraph so that lighting is always on, this is needed since glMaterial is only active when lighting is enabled. -2003-09-12 13:58 robert +Sat, 26 Jan 2002 20:03:07 +0000 +Checked in by : Robert OSFIELD +Added VisualStudio workspace files for new osgscribe demo. - * Rebuild osgFX plugin by hand to fix dependancy problems that some - Win32 users - are experiencing. +Sat, 26 Jan 2002 19:48:37 +0000 +Checked in by : Robert OSFIELD +Added new osgscribe demo which demostrates how to create a wireframe overlay of a model. -2003-09-12 13:20 robert +Sat, 26 Jan 2002 14:13:27 +0000 +Checked in by : Robert OSFIELD +Fixed the LOD center and range code that so that the values are now multiple by the _unitScale to compenstate for different scales in the flt model. This _unitScale had already been applied to the geometry data.Integrated new defaults for the texturing wrap mode, for when now .attr file +is supplied with a flt file. - * Commented out various osg::notify() calls that were causing - crashes under - OSX during initialization. -2003-09-12 13:02 robert - * Added #ifdef IVE_CATCH_EXCEPTIONS to allow catching of exceptions - to be - turned off for debugging purposes. +Wed, 23 Jan 2002 22:15:39 +0000 +Checked in by : Robert OSFIELD +Have made osg::Transform more extensible via additions of new getLocalToWorldMatrix() and getWorldToLocalMatrix(), computeLocalToWorld() and computeWorldToLocal() methods.Have updated the CullVisitor, IntersectVisitor and Optimizer to use the +new osg::Transform::getLocalToWorldMatrix() which has the same functionality +as the old getMatrix() but is now supports subclasses of osg::Transform +transparently. -2003-09-12 09:48 robert +Have added osg::PositionAttitudeTransform as subclass of osg::Transform +which manages the transform as position and attitude via a Vec3 and Quat +respectively. - * Updated NEWS file for the release. -2003-09-12 08:45 robert - * From Sebastien Kuntz, added support for external refernces to - vertex/fragment - program files. +Wed, 23 Jan 2002 15:42:36 +0000 +Checked in by : Robert OSFIELD +Updates to osg::Transform to allow it subclassed more easily. -2003-09-11 09:44 robert +Wed, 23 Jan 2002 15:28:31 +0000 +Checked in by : Robert OSFIELD +Fixed problem with Optimzer::removeRedundentNodesVisitor which was removing the correct redundent groups but for groups which had a single child it was was not using replaceChild to rettach the child to its parents. It was using parent->removeChild(group)...parent->addChild(child); which was allow the child to be attached in a different place than the original group, this broke LOD code. Have used removeChild instead which solves the LOD problem. - * Clean ups for the release. +Wed, 23 Jan 2002 12:04:53 +0000 +Checked in by : Robert OSFIELD +Changed the ordering of applying OpenGL modes and attributes back to the original modes first then attributes since the it was cause a display bug on some datesets. It seems that the modes needs enabling before glMaterial's take affect, at least on the NVidia drivers under Windows and Linux. The OpenGL reference guide doesn't mention any dependancy so I'm not sure what the official line is. Some other OpenGl attribute and modes need to be applied in that order according to the blue book, however, drivers, at least the NVidia drivers seem require the opposite. This may raise the spectra of before and after mode applies, but this will require extra support in osg::State and osg::StateAttribute, and would have to be handled on a per attribute basis, and possibly different of each platform. Yuck. -2003-09-10 23:18 robert +Tue, 22 Jan 2002 19:30:51 +0000 +Checked in by : Robert OSFIELD +Fixed FlattenStaticTransformVisitor bug which related to incorrect handling of objects which were transformed by multiple matrices at one time - this cannot be handled in the flattening process (since we only have one piece of geometry to transform). This visitor now handles this case by disabling flattening of any objects and transforms associated in this way. - * Added applyProjectionMatrix(0); & applyModelViewMatrix(0); into - osg::State::popAllStateSets(), removed some debugging output. +Tue, 22 Jan 2002 12:03:47 +0000 +Checked in by : Robert OSFIELD +Temporily commented out the call to the FlatternStaticTransformVisitor to prevent a bug in handling instance nodes. Will be commented back in once the bug has been solved. -2003-09-10 21:30 robert +Tue, 22 Jan 2002 11:03:46 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file to reflect recent submission. - * Fixed unix line ending. +Tue, 22 Jan 2002 11:03:26 +0000 +Checked in by : Robert OSFIELD +Added support for node instances to Open Flight loader. Submitted by Yefei He. -2003-09-10 21:22 robert +Sun, 20 Jan 2002 19:30:16 +0000 +Checked in by : Robert OSFIELD +Fixes to Windows compile. - * Added osg::State::popAllStateSets() method to pop all remain - StateSet's off - the state stack, thus readying the state object to recieve a new - frame. - - Removed the state.reset() call in osgUtil::SceneView::cull() as - this was - causing problems with stats producing inheritance of state when - toggling - stats on. +Sun, 20 Jan 2002 16:24:54 +0000 +Checked in by : Robert OSFIELD +Updates to help compilation under gcc 3.03. -2003-09-10 20:43 robert +Sat, 19 Jan 2002 22:11:05 +0000 +Checked in by : Robert OSFIELD +Converted osgUtil::GUIEventAdapter::MouseButtonMask from LEFT_BUTTON etc to LEFT_MOUSE_BUTTON etc, to prevent classes with #define of LEFT_BUTTON.. when including certain MS Windows headers. Arhsh Snarfff.. - * Fixed state inheritance from the stats overlay onto the rest of - the scene. +Sat, 19 Jan 2002 20:34:07 +0000 +Checked in by : Robert OSFIELD +Fixed the handling of non transparent billboards, since it was not taking into account any accumulated transforms inherited from above. -2003-09-10 20:24 robert +Fri, 18 Jan 2002 22:36:56 +0000 +Checked in by : Robert OSFIELD +UPdates to CullVisitor so that it keeps in sync with the new method paramter change in osg::Billboard.Removed in instance of an object being passed () brackets, have removed the +brackets to avoid an amiguity with the compiler intepreting it as a function. - * Added -I/sw/include to Make/makedefs -2003-09-10 19:55 robert - * Addeed LIBXML2_INCLUDE defined to Make/makedefs to handle non - standard placement of - libxml2 in OSX. +Fri, 18 Jan 2002 22:34:07 +0000 +Checked in by : Robert OSFIELD +Changes to fix compilation problems on the Sparc.GeoSet.cpp simply remove rendundent code that had already been commented out. -2003-09-10 19:25 robert - * Changed OsgCameraGroup so that it shares osg::State between - Producer::Camera's which - share the same Producer::RenderSurface. - - Added support for more colors in slideshow3D's constructor code. -2003-09-10 14:43 robert +Fri, 18 Jan 2002 22:25:51 +0000 +Checked in by : Robert OSFIELD +Added support for multiple graphics contexts, submission from Max Rhiener.Alas changed the indenting to use 4 spaces instead of tabs, this irons out +differences when working under Windows and Unix, keeping the identing +consistent. - * Fix warning under Win32. -2003-09-10 13:25 robert - * Added /Zm200. +Fri, 18 Jan 2002 22:15:59 +0000 +Checked in by : Robert OSFIELD +First steps to updating the calcTransform function in Billboard to fix z axis contraint on rotation axis. -2003-09-10 12:38 robert +Fri, 18 Jan 2002 19:00:55 +0000 +Checked in by : Robert OSFIELD +Fixed copy constructor which was copying a matrix to unitialized memory. - * Fixes for osgFX. +Fri, 18 Jan 2002 14:12:36 +0000 +Checked in by : Robert OSFIELD +Removed the global scope operators for the isnan(..) etc calls to fix compilation under some compiler combinations. -2003-09-10 12:26 robert +Fri, 18 Jan 2002 14:11:46 +0000 +Checked in by : Robert OSFIELD +Made the osg::Timer::tick() method a const method. - * Added -losgText into txp plugin's GNUmakefile for OSX build. +Fri, 18 Jan 2002 10:26:06 +0000 +Checked in by : Robert OSFIELD +Fixed typo in comment, reference to BoundingSphere has been changed to BoundingBox. Typo spotted by Gial Paolo Lorenzetto. -2003-09-10 12:04 robert +Thu, 17 Jan 2002 22:41:34 +0000 +Checked in by : Robert OSFIELD +Fixed ENALBE_ALL_CULLING spelling mistake, have changed it to ENABLE_ALL_CULLING. - * Added -losgText for OSX build. +Thu, 17 Jan 2002 22:40:16 +0000 +Checked in by : Robert OSFIELD +Added support for glutSpecialFunc, glutSpaceballMotion, glutSpaceballRotate and glutSpaceballRotate into osgGLUT::Window base class. -2003-09-10 11:21 robert +Wed, 16 Jan 2002 21:23:29 +0000 +Checked in by : Robert OSFIELD +Reversed the ordering of setting of OpenGL modes and attributes, so that attributes are now set first, then modes. This is keep consistent with the setting of glColorMaterial and glEnable(GL_COLOR_MATERIAL) as specfied in OpenGL documentation. - * From Marco Jez, moved color matrix IO code across to using - Marix.h so it - handles float's double's properly. +Wed, 16 Jan 2002 21:22:06 +0000 +Checked in by : Robert OSFIELD +Changed the enum Types { ... } so that in no longer explicitly sets the values, leaving C++ to ensire that values are unque and insequence. -2003-09-10 11:18 robert +Wed, 16 Jan 2002 21:20:22 +0000 +Checked in by : Robert OSFIELD +Fixes to makefiles which have become a bit unhinged after MacOS X integration. - * Added osgText and osgDB to the list of dependencies for OSX - build. +Wed, 16 Jan 2002 21:12:02 +0000 +Checked in by : Robert OSFIELD +Added support for billboard in OpenFlight loader. Submission from Nikolaus Hanekamp. -2003-09-10 08:35 robert +Wed, 16 Jan 2002 12:29:43 +0000 +Checked in by : Robert OSFIELD +Submission from Sean Spicer which adds Make/makedefs.irix.std.64 which compiles the OSG as 64bit. Small changes by Robert to accomodate recent MacOSX makefile changes. - * Updated docs for release. +Wed, 16 Jan 2002 12:08:29 +0000 +Checked in by : Robert OSFIELD +Changes to Make/makerules.* and Make/makedefs.* to accomodate MacOSX's need to treat plugins and shared libraries seperately. -2003-09-09 22:18 robert +Wed, 16 Jan 2002 12:05:22 +0000 +Checked in by : Robert OSFIELD +Integrated the changes to osgPlugin/Makefile's for MacOSX port. - * Cleaned up handling of vertex arrays in osg::Geometry. - - Added support for vertex attribute arrays in .osg and .ive. +Wed, 16 Jan 2002 12:03:29 +0000 +Checked in by : Robert OSFIELD +Changed hardwired char[1024] arrays to char[FILEUTILS_MAX_PATH_LENGTH] and defined the value to be 2048, this should avoid problems with path lengths which have been overflowing the 1024 limit (Sasa report this bug). The real solution is to use std::string throught FileUtils, but this will have to wait for another day. -2003-09-09 11:54 robert +Wed, 16 Jan 2002 10:41:55 +0000 +Checked in by : Robert OSFIELD +Added quicktime plugin (for Mac's only), submitted by Phil Atkin. - * Updates to osgFX, from Marco Jez, to map Effect across to being - derived - from osg::Group rather than from osg::Node. +Wed, 16 Jan 2002 10:36:20 +0000 +Checked in by : Robert OSFIELD +First batch of changes required for MacOS X build. Orignal submission from Phil Atkin, merged by Robert Osfield. -2003-09-09 10:09 robert +Tue, 15 Jan 2002 23:21:31 +0000 +Checked in by : Robert OSFIELD +Changed the use of std::vector<..>.begin() to &vector<..>.front() in code from passing the vector contents to the GeoSet::setPrimLengths(..) etc. methods. This has been done to fix the compile under the MS .NET compiler which has changed the definiation of the std::vector<..>::iterator to a class rather than a pointer. - * Made writeMatrix/readMatrix use doubles exclusively. +Tue, 15 Jan 2002 19:54:55 +0000 +Checked in by : Robert OSFIELD +Fix to osgDB::getStrippedName(..) so that handles the case of file without an extension. -2003-09-09 08:56 robert +Tue, 15 Jan 2002 15:49:02 +0000 +Checked in by : Robert OSFIELD +Added '# LIBS += -limage' and explanation in comments to pfb Makefile, submitted by Randall Hooper. - * Updated docs for release. - - Added OSG_USE_DOUBLE_MARTRICES define into include/osg/Matrix to - make it more - convinient to switch between single and double matrices. +Tue, 15 Jan 2002 12:13:29 +0000 +Checked in by : Robert OSFIELD +Added the set of GL_TEXTURE_GEN_S and _T to code converting pfTexGen to osg::TexGen. This is try and fix a bug in handling tex gen datasets such as sj_texgen.pfb. -2003-09-08 10:51 robert +Tue, 15 Jan 2002 11:05:00 +0000 +Checked in by : Robert OSFIELD +New ajustAspectRatio (ADJUST_NODE) mode added to osg::Camera to fix issue with integration with vrjuggler, submitted by Allen Bierbaum. - * Updated NEWS/AUTHORS + html docs for release. +Sat, 12 Jan 2002 21:49:07 +0000 +Checked in by : Robert OSFIELD +Missing _attachedTransformMode in osg::Camera constructor, fix submitted by Ben Discoe. -2003-09-08 08:44 robert +Sat, 5 Jan 2002 16:19:18 +0000 +Checked in by : Robert OSFIELD +Change TOP to OSGHOME in makefiles. - * Added call to handle_cull_callbacks_and_traverse(node) to - CullVisitor::apply(Geode&) to enable cull callbacks to function - on geode's. +Sat, 5 Jan 2002 16:18:46 +0000 +Checked in by : Robert OSFIELD +Moved the setting of camera fusion distance mode into the handle method so that it is updated on everyframe to ensure that switching between Drive/Flight and Trackball happens seemlessly. -2003-09-07 14:18 robert +Fri, 4 Jan 2002 20:44:41 +0000 +Checked in by : Robert OSFIELD +Renamed the TOP variable in the Makefiles to OSGHOME. - * From Boris Bralo, addition of support for osgSim::LightPoint's - into TXP - plugin. +Fri, 4 Jan 2002 20:43:20 +0000 +Checked in by : Robert OSFIELD +Added a guard to osg::LOD::evaluate so that it returns -1 if the range matched does not have a corresponding child to relate to. This can happen if a user creates more than n+1 ranges, where n is the number of LOD children. -2003-09-06 11:07 robert +Fri, 4 Jan 2002 17:35:54 +0000 +Checked in by : Robert OSFIELD +Added osg::ShadeModel state attribute which encapsulates glShadeModel. - * Fixes from Marco. +Fri, 4 Jan 2002 17:34:01 +0000 +Checked in by : Robert OSFIELD +Fixed a bug in writing of line strips and line loops to the .osg file. -2003-09-05 22:37 robert +Fri, 4 Jan 2002 13:14:06 +0000 +Checked in by : Robert OSFIELD +Fixed multiple deletion of shared indecies in GeoSet destructor. - * Removed eroneous reference to Matrix_implementaion.cpp. +Thu, 3 Jan 2002 23:28:54 +0000 +Checked in by : Robert OSFIELD +Futher Makefile updates for Cygwin support - from Norman Vine. -2003-09-05 22:35 robert +Thu, 3 Jan 2002 23:19:18 +0000 +Checked in by : Robert OSFIELD +Makefile changes to support Cywin port - submission from Norman Vine, updates to fix case problems under unix by Robert. - * Added new Matrixf and Matrixd implementations. - - Made Matrix be a typedef to either Matrixf or Matrixd. Defaults - to Matrixf. - - Converted the osgGA::MatrixManipulators and - osgProducer::Viewer/OsgCameraGroup - across to using exclusively Matrixd for internal computations and - passing betwen - Manipulators, Producer and SceneView. Note, SceneView still uses - Matrix internally - so will depend on what is set as the default in - include/osg/Matrix. - - Added the ability to osgProducer::setDone/getDone(), kept done() - as the - method that the viewer main loop uses for detecting the exit - condition. +Thu, 3 Jan 2002 21:34:57 +0000 +Checked in by : Robert OSFIELD +Updates for Cygwin port, from Norman Vine. -2003-09-05 20:52 robert +Thu, 3 Jan 2002 19:28:13 +0000 +Checked in by : Robert OSFIELD +Small source code changes for Cygwin port of OSG. - * Added set and get methods for Matrixd and Matrixf. +Wed, 2 Jan 2002 17:01:35 +0000 +Checked in by : Robert OSFIELD +Updates in preperation for the third attempt at the 0.8.43 release. -2003-09-05 20:48 robert +Wed, 2 Jan 2002 15:42:42 +0000 +Checked in by : Robert OSFIELD +Updates from Randall Hopper to fix build under IRIX. - * Added support for Matrixd and Matrixf implementations, with the - default - Matrix typedef's to either Matrixd or Matrixf. +Wed, 2 Jan 2002 11:03:26 +0000 +Checked in by : Robert OSFIELD +A small bug fix to the matrix dump function (it was primtiing out 5 columns instead of four).Added support for multiplying mesh geometry by the matrix attached to the +Lib3dsMesh structure, however this produces disjointed models so have +to the default mode to bypass this multiplication code. Will need to revisit +this in the future. -2003-09-04 19:45 robert - * Moved testCancel() to end of loop as per TXP pager code. -2003-09-04 19:37 robert +Wed, 2 Jan 2002 10:59:59 +0000 +Checked in by : Robert OSFIELD +Commented out the smoothing of FLAT_TRIANGLE_STRIP and FLAT_TRIANGLE_FAN since it was causes problems with any color list which were attached. - * Added testCancel() to DatabasePager::run() loop. +Wed, 2 Jan 2002 10:53:20 +0000 +Checked in by : Robert OSFIELD +Moved the glShadeModel(FLAT/SMOOTH) outside of the primtitive inner loop to reduce the amount state changes incurred when using FLAT_ primtives. -2003-09-04 08:50 robert +Wed, 2 Jan 2002 10:49:26 +0000 +Checked in by : Robert OSFIELD +Fixed the orientation of for_each_triangle cases for QUAD and QUAD_STRIP. + +Mon, 31 Dec 2001 23:21:16 +0000 +Checked in by : Robert OSFIELD +Removed the variables which were duplicated in osgGLUT::Viewer and osgGLUT::Window, standardising on the Window ones, and therefore removing an unitialized variable that had been introduced. This caused a crash under WindowsXP due to send invalid values to glutReshapeWindow. - * Build Fixes for IRIX. +Mon, 31 Dec 2001 23:16:20 +0000 +Checked in by : Robert OSFIELD +Added a more detailed explanation of how LOD's work. -2003-09-03 18:17 robert +Mon, 31 Dec 2001 00:04:38 +0000 +Checked in by : Robert OSFIELD +Updates to NEWS for date of release, and added include/osg/DisplaySettings and include/osg/LineWidth to the src/osg/Makefile. - * Fix for IRIX build. +Sun, 30 Dec 2001 20:48:05 +0000 +Checked in by : Robert OSFIELD +Final update of ChangeLog for the 0.8.43 release. -2003-09-03 10:47 robert +Sun, 30 Dec 2001 20:03:42 +0000 +Checked in by : Robert OSFIELD +Added osg::GeoSet::FLAT_TRIANGLE_FAN to the list if primitive handled by the for_each_triangle template function. - * Added a Matrix::value_type typedef'd trait into osg::Matrix, - defaulting its - value to float, and converted the internal code across to use - value_type. This - allows Matrix to be converted to use double's simply by change - the definition - of value_type. Added Matrix::glLoadlMatrix and - Matrix::glMultMatrix() to - help encapsulate the changes between float and double matrix - usage. - - Updated code that uses Matrix so it doesn't assume float or - double matrices. +Sun, 30 Dec 2001 19:04:46 +0000 +Checked in by : Robert OSFIELD +Added /usr/local/lib to the s_default_dso_path search path for plugins. -2003-09-03 08:14 robert +Sun, 30 Dec 2001 17:13:40 +0000 +Checked in by : Robert OSFIELD +Made the output message related to not registering a camera manipulator with the GLUT Viewer output as INFO rather than as a NOTICE. This suppress this message which was appearing on some of the demos all the time, even though are quite reasonable default behaviour is used. - * Fixes for IRIX build. +Sun, 30 Dec 2001 16:59:22 +0000 +Checked in by : Robert OSFIELD +Added references to sgv -stereo and sgv -stencil to the notes of running the demos. -2003-09-03 07:39 robert +Sun, 30 Dec 2001 16:58:33 +0000 +Checked in by : Robert OSFIELD +Updated the default home position of so that a better view of the scene is seen. - * Removed old DatabasePager.cpp from osgProducer. +Sun, 30 Dec 2001 15:24:10 +0000 +Checked in by : Robert OSFIELD +Moved the old by hand ChangeLog to ChangeLog.preCVS and then ran cvs2cl.pl to automatically generate the new ChangeLog. -2003-09-02 21:53 robert +Sun, 30 Dec 2001 15:12:29 +0000 +Checked in by : Robert OSFIELD +Did a make docs, in preperation for 0.8.43 release. - * Added Inventor plugin, submitted by Sean Spicer, Written by Vivek - (c) Magic-Earth. - To compile in do a setenv/export USE_COIN or USE_INVENTOR. +Sun, 30 Dec 2001 15:01:30 +0000 +Checked in by : Robert OSFIELD +Compilation fix to pfb plugin, sent in by Ulrich Hertlein. -2003-09-02 20:39 robert +Sun, 30 Dec 2001 15:00:26 +0000 +Checked in by : Robert OSFIELD +Added a comment in Windows section on INSTALL notes such that it now recommends that you build all the libs. - * Merged changed to osgParticle from Marco Jez, the changes are - (quoted from - email from Marco) - - "Most relevant news: - 1) particle systems now have the "freezeOnCull" property set to - false by - default. Since it is an optimization, and using it may cause some - unwanted - behaviors if not handled properly, it makes more sense to turn it - off by - default. - 2) new "LINE" shape mode which uses GL_LINES to draw line - segments that - point to the direction of motion. - 3) particles can now have a rotation angle and angular velocity. - 4) new AngularAccelOperator applies angular acceleration to - particles. - 5) particle processors such as emitters and programs can have a - "start", - "end" and "reset" time coordinate. For example, an emitter may be - instructed - to start emitting particles only after a certain time, stop after - another - amount of time and then start again. - - Update (2) is from Gideon May. - Updates (3) to (5) are from Douglas A. Pouk." +Sat, 29 Dec 2001 20:53:08 +0000 +Checked in by : Robert OSFIELD +Added .README to prevent CVS from deleting the empty bin directory when checking out copies. This was a problem with the nightly tarballs. -2003-09-02 20:06 robert +Sat, 29 Dec 2001 14:27:46 +0000 +Checked in by : Robert OSFIELD +Added comment to osg::Transform w.r.t use of GL_NORMALIZE when using scaling Transforms. - * Commented out calc near/far debugging messages. +Sat, 29 Dec 2001 12:28:24 +0000 +Checked in by : Robert OSFIELD +Updates form Randall Hopper for the FreeBSD build -2003-09-02 20:03 robert +Thu, 27 Dec 2001 20:06:07 +0000 +Checked in by : Robert OSFIELD +Made inline documentation on the Values enum clearer w.r.t the function of OVERRIDE_ON and OVERRIDE_OFF. - * Added test of sizeof(types) - run osgunittests sizeof. +Wed, 26 Dec 2001 20:55:15 +0000 +Checked in by : Robert OSFIELD +Added more details about using stereo with the OSG, in particular the role of the camera manipulators and the fusion distance. -2003-09-02 17:19 robert +Mon, 24 Dec 2001 23:34:25 +0000 +Checked in by : Robert OSFIELD +Updated doc++ references so that CVS knows about all the newly generated files. - * Made Matrix a typedef to Matrixf, and converted the old Matrix to - Matrixf, as - part of prep for supporting both Matrixf (float) and Matrixd - (double). - - Added osg::Matrixf::glLoadMatrix() and - osg::Matrixf::glMultiMatrix() methods - and changed corresponding usage of glLoad/MultMatrixf() calls - across to use these - methods. Again prep for support Matrixd. - - Fixes for VisualStudio 6.0 compile. +Mon, 24 Dec 2001 23:28:15 +0000 +Checked in by : Robert OSFIELD +Updated the index.html to include references to the new osgText library and demo app. -2003-09-02 17:16 robert +Mon, 24 Dec 2001 23:14:53 +0000 +Checked in by : Robert OSFIELD +Removed references to redundent environmental variables. - * Converted eroneous writeLong/readInt boolean entries used - writeBool/readBool. +Mon, 24 Dec 2001 21:56:22 +0000 +Checked in by : Robert OSFIELD +Did a make docs. -2003-09-02 10:27 robert +Mon, 24 Dec 2001 21:34:40 +0000 +Checked in by : Robert OSFIELD +Fixed the osg::Light so that it requires the user to explicitly define which OpenGL light is being operated on, and also now relies upong the standard osg::State handling of OpenGL modes to switch on the appropriate lights.The previous static counter mechansim for the light number was causing a +redundent light to be created when the osg plugin created the first osg::Light +to use a prototype for other osg::Light's to be cloned from in the +.osg plugin execution. - * Fixes for IRIX build + to_unix on txp plugin files. +The static count mechanism also prevent the lights modes being controlled +independantly from the setting of the light paramters themselves. This +meant that a light once created was global, and couldn't be turned off +locally via the OSG's support for OpenGL mode enabling/disabling. This +has been overcome with the new implementation, the user has complete +flexiblity of when and where to use the different lights at their +disposal. -2003-09-01 21:53 robert - * Support for BumpMapping added by Marco Jez. -2003-09-01 19:43 robert +Mon, 24 Dec 2001 19:06:49 +0000 +Checked in by : Robert OSFIELD +Updated the osgGLUT::Viewer to subclass from osgGLUT::Window as has been intended since the development of osgGLUT::Window. - * Updates from Marco:sgfxbrowser.cpp (added specular - component to scene light) and AnisotropicLighting.cpp (workaround - for a - multiple-context issue). +Mon, 24 Dec 2001 15:12:59 +0000 +Checked in by : Robert OSFIELD +updates for windows build -2003-09-01 15:49 robert +Mon, 24 Dec 2001 14:12:38 +0000 +Checked in by : Robert OSFIELD +Various clean ups for the release. - * Win32 fixes. +Sat, 22 Dec 2001 22:30:57 +0000 +Checked in by : Robert OSFIELD +Updates to keep things compiling under Windows. Also cleaned up the new stereo.html docs. -2003-09-01 15:46 robert +Sat, 22 Dec 2001 21:35:28 +0000 +Checked in by : Robert OSFIELD +Added beginnings on documentation for stereo support, the stereo.html needs to be re-edited in a html editor before it becomes readable though.. - * Fixes for Win32. +Sat, 22 Dec 2001 14:55:22 +0000 +Checked in by : Robert OSFIELD +Updated usage messages to include new stereo and stencil commandline options. -2003-09-01 11:23 robert +Fri, 21 Dec 2001 22:48:19 +0000 +Checked in by : Robert OSFIELD +Further work on improving stereo support in the OSG.Renamed the osg::VisualsSettings to osg::DisplaySettings, and +osgUtil::VisualsRequirementsVisitor to osgUtil::DisplayRequirementsVisitor. - * Added a call to disable all vertex attrib arrays when none are - present - on an osg::Geometry. +Added support for OSG_SCREEN_HEIGHT into osg::DisplaySettings, and added +a DisplaySettings* to the constructors of osg::SceneView and osg::Camera. -2003-09-01 09:36 robert - * From Neil Salter, added osgSim::SphereSegment and - osgSim::ScalarBar, and - osgspheresegment and osgscalarbar, and osgsimulation examples. -2003-08-31 22:17 robert +Fri, 21 Dec 2001 13:07:35 +0000 +Checked in by : Robert OSFIELD +Updates to the support for stereo in osg::Camera, osgUtil::SceneView and the CameraManipulators. - * Converted cout's to notify's. +Thu, 20 Dec 2001 20:48:46 +0000 +Checked in by : Robert OSFIELD +Added support for glLineWidth via an osg::LineWidth StateAttribute. -2003-08-31 22:17 robert +Thu, 20 Dec 2001 16:35:38 +0000 +Checked in by : Robert OSFIELD +Updates to the camera code related to stereo, adding fusion distance. - * From Alberto Farre, fixes to the file path handling of internally - referenced - files. +Thu, 20 Dec 2001 16:34:54 +0000 +Checked in by : Robert OSFIELD +Added check for null models be returned form osgDB::readNodeFiles(..) to prevent execution when no models have been loaded. -2003-08-31 22:08 robert +Thu, 20 Dec 2001 12:12:30 +0000 +Checked in by : Robert OSFIELD +Updates to flt loading of light points, from Brede Johansen. - * Added experiment Tempated fast path implemenation, #if 0 out - right now. +Wed, 19 Dec 2001 15:20:29 +0000 +Checked in by : Robert OSFIELD +Updates to Stereo code. -2003-08-31 21:23 robert +Wed, 19 Dec 2001 10:29:18 +0000 +Checked in by : Robert OSFIELD +Updated the demos to support the new commandline handling of stereo and convinience functios for loading libs and files. - * From Tree, updated syntax highlighting. +Wed, 19 Dec 2001 08:49:10 +0000 +Checked in by : Robert OSFIELD +Added check for GL_ARB_imaging extension to osg;:ColorMatrix -2003-08-31 21:13 robert +Wed, 19 Dec 2001 01:10:04 +0000 +Checked in by : Robert OSFIELD +Compilation fixes under for Windows - * Converted cout's messages to use notify. +Wed, 19 Dec 2001 00:38:23 +0000 +Checked in by : Robert OSFIELD +Adding support for controlling visual settings via environmental variables and command line paramters. Including support for stereo and stencil buffer. -2003-08-29 23:04 robert +Tue, 18 Dec 2001 11:28:44 +0000 +Checked in by : Robert OSFIELD +Added range checking to osg::Camera::adjustAspectRatio to catch invalid values being passed to Camera. Invalid values were occuring when iconising the Windows GLUT based OSG demos. - * Added s/getCullVistorLeft/Right(), s/getRenderStageLeft/Right(), - s/getRenderGraphLeft/Right() methods. +Tue, 18 Dec 2001 10:46:15 +0000 +Checked in by : Robert OSFIELD +Fixed compilation problems in flt plugin under Windows, and removed usage of the default GeoSet::AtttributeDeleteFunctor from the DynGeoSet since it handled the memory deletion iteself via STL containers. -2003-08-29 22:05 robert +Mon, 17 Dec 2001 21:13:17 +0000 +Checked in by : Robert OSFIELD +Changed the default field of Y to 45 degrees, as this is probably a better default than 30 degrees (what it was temproarily) or the 90 degrees that it was originally. - * From Alberto Farre, added support for both / and \ slashes in - path utility - functions. +Mon, 17 Dec 2001 17:34:17 +0000 +Checked in by : Don BURNS +Fixed IRIX compile issues with the flt loader.ReaderWriterATTR.cpp had a variable "mips" defined, which is predefined for the IRIX preprocessor. +Changed this to _mips. -2003-08-29 22:04 robert +FltFile.cpp had a class and transient variable defined within the scope of member function +FltFile::readExternals(), which was causing the IRIX 7.3 compiles to hork. Moved the class +definition to outside of the member function scope. - * Added an explicit check for file extension so that only .jpg and - .jpeg files - are loaded with the JPEG plugin, thus avoid a crash which was - occuring when - it was passed non JPEG files. -2003-08-29 21:52 robert - * Added fonts/ in front of arial.ttf. +Mon, 17 Dec 2001 16:21:33 +0000 +Checked in by : Don BURNS +Fixed IRIX build. Required some namespace fixes and include and link directives in the Makefiles -2003-08-28 21:40 robert +Mon, 17 Dec 2001 15:05:06 +0000 +Checked in by : Robert OSFIELD +Updated the Optimzer::FatternStaticTransform visit so by default it ignores all dynamic transforms, previously it flattened dynamic transforms as well. - * Added getBound() to the database pager so that once a model has - been loaded - it bounding volume is computed upfront and in the database paging - thread. +Mon, 17 Dec 2001 09:29:56 +0000 +Checked in by : Robert OSFIELD +Added std:: infront of endl to ensure compilation under Windows. -2003-08-28 12:49 robert +Sun, 16 Dec 2001 22:20:26 +0000 +Checked in by : Robert OSFIELD +Integrated detailed near clipping plane calculation into osgUtil::CullVisitor, submitted by Sasa Bistroviae. - * Removed double line spacing in ExternalReference code. +Sun, 16 Dec 2001 16:30:34 +0000 +Checked in by : Robert OSFIELD +From John Davis, a little addition to the Windows version of the osg::Timer constructor such that a static variable is used to force the constructor to check the number of clock cycles per second once, this means that multiple timers can now be created with incurring a the 1 second delay used for timming the clock speed every time the constructor is called. -2003-08-28 12:47 robert +Sat, 15 Dec 2001 22:44:32 +0000 +Checked in by : Robert OSFIELD +Updated version numbers to 0.8.43 in prep for the impending release. - * Added a PushAndPopFilePath usage to the internal flt file - references. +Sat, 15 Dec 2001 22:41:28 +0000 +Checked in by : Robert OSFIELD +Added comments on how to set up STLport under Windows and IRIX. -2003-08-27 14:13 robert +Sat, 15 Dec 2001 16:56:39 +0000 +Checked in by : Robert OSFIELD +Renamed osg::Matric::makeIdent() to osg::Matrix::makeIdentity() to make it consistent with the rest of the osg::Matrix naming. Updated OSG distribution to account for new name.Added support for the STATIC/DYNAMIC osg::Transform::Type to the .osg +ASCII reader/writer plugin and the flt reader plugin. - * From Marco Jez, tangent space generator. +Removed the non cost version of osg::Transform::getMatrix() as this could +by pass the dirty mechinism. -2003-08-27 13:09 robert - * Added /Zm200 for VS6.0 build. -2003-08-27 10:34 robert +Sat, 15 Dec 2001 10:00:43 +0000 +Checked in by : Robert OSFIELD +updates for windows build. - * Added /Zm200 define to .dsp's to avoid compile errors under - VisualStudio6.0. +Fri, 14 Dec 2001 23:18:28 +0000 +Checked in by : Robert OSFIELD +Fixes to Windows build in liu of the move to using just std::streams. -2003-08-27 10:22 robert +Fri, 14 Dec 2001 21:49:04 +0000 +Checked in by : Robert OSFIELD +Updated OSG so that the old OSG_USE_IO_DOT_H has be removed from all headers that used it, all references to the Standard C++ stream classes use the std::ostream etc convention, all references to "using namespace std" and "using namespace std::ostream etc" have been removed. - * Added KeyboardMouseCallback::shutdown() support. +Fri, 14 Dec 2001 18:06:34 +0000 +Checked in by : Robert OSFIELD +Updatedwidley used includes to remove most of the float/double warnings generated when compiling under Windows with STLport. -2003-08-27 08:54 robert +Fri, 14 Dec 2001 16:15:44 +0000 +Checked in by : Robert OSFIELD +Don haved accidentally removed the reference to osg.dsp from the .dsw file, breakin the Windows build. - * Added Performer plugin .dsp +Fri, 14 Dec 2001 15:37:09 +0000 +Checked in by : Don BURNS +Removed ^M from Makefile -2003-08-27 00:39 robert +Fri, 14 Dec 2001 15:16:30 +0000 +Checked in by : Don BURNS +Appeased poor MS VisualStudio by adding the ^M's to all .dsw and .dsp files. - * Fixed CullVisitor::popProjectionMatrix() handling of othorgraphic - near - and far values. +Fri, 14 Dec 2001 15:10:42 +0000 +Checked in by : Don BURNS +Fixed newline/cr problem -2003-08-26 22:09 robert +Fri, 14 Dec 2001 14:25:38 +0000 +Checked in by : Robert OSFIELD +Fixed problem with incorrect combining of some LOD's derived from flt databases. Problem related to the order of the removal of redudent groups and LOD combining, the LOD combining only working properly if done first. - * Added missing osgFX files. +Fri, 14 Dec 2001 10:47:20 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 build related to changes in using namespace std. -2003-08-26 21:17 robert +Fri, 14 Dec 2001 10:02:27 +0000 +Checked in by : Robert OSFIELD +Removed all references to using namespace std to help solve compilation problems under Windows and IRIX.Also integrated small change to lib3ds from Drew for IRIX compilation. - * Added osgFX - Marco Jez's special effects nodekit. -2003-08-26 15:49 robert - * Moved the keyboardmouse startThread into the Viewer::realize() - method. +Wed, 12 Dec 2001 20:29:10 +0000 +Checked in by : Robert OSFIELD +Made the following name changes to Matrix and Quat to clean them up and make the functionality clear given the name. This will break user code unfortunately so please be away of the following mapping. osg::Matrix::makeTrans(..)?\026 -> osg::Matrix::makeTranslate(..) + osg::Matrix::makeRot(..)?\026 -> osg::Matrix::makeRotate(..) + osg::Matrix::trans(..)?\026 -> osg::Matrix::translate(..) -2003-08-26 08:02 robert + osg::Quat::makeRot(..)?\026 -> osg::Quat::makeRotate(..) - * Added set/getDatabasePager() method. +Also updated the rest of the OSG distribution to use the new names, and +have removed the old deprecated Matrix methods too. -2003-08-25 22:50 robert - * Added check for :: in wrapper name when writing out to .osg, so - that - if a namaspace:: exists in the wrapper name then one isn't - created for - it by default. -2003-08-25 14:04 robert +Wed, 12 Dec 2001 15:09:11 +0000 +Checked in by : Robert OSFIELD +Fixed problems with osg::Matrix::makeRot(from,to) and osg::Quat::makeRot(from,to) so that they both use the same implementation (the Quat code now) and the code has been corrected to work from and to vectors which directly opposite to one another. - * Updated NEWS for 0.9.6 release. +Wed, 12 Dec 2001 12:55:01 +0000 +Checked in by : Robert OSFIELD +Fixed problem with loading interleaved arrays in the .osg loader, and corrected a spelling mistake in osg::GeoSet. -2003-08-25 14:03 robert +Wed, 12 Dec 2001 05:09:33 +0000 +Checked in by : Don BURNS +Added translation and scaling to osgconv - * Added osgProducer:: in front of KeyboardMouseCallback. +Tue, 11 Dec 2001 17:00:29 +0000 +Checked in by : Don BURNS +Fixed Matrix::rotate( Vec3 from, Vec3 to); was using to X from to derive axis, which causes a left-handed rotation. Fixed to from X to. -2003-08-25 13:31 robert +Tue, 11 Dec 2001 16:00:32 +0000 +Checked in by : Robert OSFIELD +Fixed compilation problems under Windows due to changes in using std::ostream etc. - * Removed suplerfluous inline from setInitialViewMatrix(). +Tue, 11 Dec 2001 11:22:44 +0000 +Checked in by : Robert OSFIELD +Removed the 'using namespace std' and replaced with more specific 'using std::ostream' this should help prevent polution of the global namespace with std when including these osg include files. -2003-08-25 13:06 robert +Tue, 11 Dec 2001 11:21:30 +0000 +Checked in by : Robert OSFIELD +Added :Referenced() to the osg::Camera(..) copy constructor to prevent a warning under Linux. - * Added getInitialInverseViewMatrix() to osg::State. +Sun, 9 Dec 2001 03:46:50 +0000 +Checked in by : Don BURNS +*** empty log message *** -2003-08-25 11:37 robert +Tue, 4 Dec 2001 22:57:40 +0000 +Checked in by : Robert OSFIELD +Added support for automatic deletion of osg::GeoSet's attributes, via a default AttributeDeleteFunctor which uses delete []. Users can create their own handlers for the attribute memory to override this default behavior.Fixed a typo in ReaderWriterOBJ.cpp. - * Added support for loading nodekits/plugins to resolve associates - when - reading .osg files. -2003-08-23 20:48 robert - * Add osg_ref to osgProducer::Viewer to - ensuer that - the keyboard mousr desctructor is being called correctly. +Tue, 4 Dec 2001 20:38:27 +0000 +Checked in by : Robert OSFIELD +Various files which should have been checked in earlier but were missed... VisualStudio files for flt loader, and header files or Image and Texture for new osg::Texture::CLAMP_TO_EDGE and osg::Image::dirty. -2003-08-21 19:23 robert +Tue, 4 Dec 2001 19:41:08 +0000 +Checked in by : Robert OSFIELD +Updates to the flt loader, from Brede Johansen. - * Made getLibrary public. +Tue, 4 Dec 2001 16:03:10 +0000 +Checked in by : Robert OSFIELD +Integrated Brede Johansen's updates to flt loader. -2003-08-21 14:26 robert +Tue, 4 Dec 2001 15:56:08 +0000 +Checked in by : Robert OSFIELD +Made a output message output as osg::DEBUG only. - * Compile/Warnings fixes. +Tue, 4 Dec 2001 12:34:45 +0000 +Checked in by : Robert OSFIELD +Commented out the code to force sgv to use ANAGLYPHIC_STEREO as this should not be the default, will add options to do this later. -2003-08-21 09:52 robert +Tue, 4 Dec 2001 12:31:10 +0000 +Checked in by : Robert OSFIELD +Improved support for anaglyphic stereo.Integrated texture CLAMP_TO_EDGE, submitted by Ulrich Hertlein. - * Moved OpenThreads::Threads::Yield() calls across to new - OpenThreads::Threads::YieldCurrentThread() naming. -2003-08-21 09:51 robert - * From Marco Jez, improvement to the handling of coordinates frame - in CubeMapGenerator. +Sun, 2 Dec 2001 22:20:46 +0000 +Checked in by : Robert OSFIELD +Beginings of support for quad bufferd, red/green, and slit screen stereo. -2003-08-20 12:52 robert +Sun, 2 Dec 2001 08:59:39 +0000 +Checked in by : Don BURNS +Corrected a small booboo in preprocessor guard for header file in GLU and added Matrix::identity() to Matrix - * Added explicit calls cancel and wait until thread and no longer - running to the - DatabasePager and TXP pager. +Fri, 30 Nov 2001 20:53:50 +0000 +Checked in by : Robert OSFIELD +Fixed bug in osg::StateSet::merge(..) where the containers were being iterated from begin() to begin() rather than begin() to end(). -2003-08-20 12:51 robert +Wed, 21 Nov 2001 15:53:29 +0000 +Checked in by : Don BURNS +Small fix for preprocessor _MP symbol clash with MFC. - * Renamed instances of Click to Tick for consistency. +Mon, 19 Nov 2001 13:14:38 +0000 +Checked in by : Robert OSFIELD +Made the Warning font file not found message consistent with other file not found messages. -2003-08-20 12:50 robert +Mon, 19 Nov 2001 11:52:58 +0000 +Checked in by : Robert OSFIELD +Added DLL export to the internal classes in osgUtil::Optimize so that the internal classes can be used directly by client applications. - * Standardised the culling flags between CullingSet and CullStack, - and - made ENABLE_ALL_CULLING enable all culling including the near and - far plane. - DEFAULT_CULLING is now used for the default as uses the same - original - values as ENABLE_ALL_CULLING once did - view frustum culling with - near and - far culling. SceneView now uses DEFAULT_CULLING. +Mon, 19 Nov 2001 10:40:42 +0000 +Checked in by : Robert OSFIELD +Added warning report for when a font file cannot be found. -2003-08-20 10:38 robert +Sun, 18 Nov 2001 21:31:16 +0000 +Checked in by : Robert OSFIELD +Added osg::Image::dirtyImage() and setModifiedTag() to allow external updating of the image modified flag to be used in conjunction with texture subloading. - * Added osg::setGLExtensionDisableString && - osg::getGLExtensionDisableString() - functions the GLExtensions file, and made the - isGLExtensionSupported() function - use the extension disable string when extension are querried. +Thu, 15 Nov 2001 11:59:52 +0000 +Checked in by : Robert OSFIELD +Move the call to the manipulators before the scene app traversal to that any changes to the scene graph, such as adding an app callback can be seen by during the same frame. -2003-08-20 07:36 robert +Wed, 14 Nov 2001 15:53:36 +0000 +Checked in by : Robert OSFIELD +Fixes for windows compilation - * Moved the delete of expired subgraphs to the database thread to - improve - the stability of the frame rate. +Wed, 14 Nov 2001 15:52:27 +0000 +Checked in by : Robert OSFIELD +Fixed compilation problem under Wndows -2003-08-19 19:46 robert +Wed, 14 Nov 2001 15:32:15 +0000 +Checked in by : Robert OSFIELD +Fixed compilation problem under Wndows - * Fixes to the database paging. +Wed, 14 Nov 2001 14:10:12 +0000 +Checked in by : Robert OSFIELD +Added osgUtil::TransformCallback to help with rigid body animation. -2003-08-19 14:05 robert +Wed, 14 Nov 2001 14:09:07 +0000 +Checked in by : Robert OSFIELD +Fixes for IRIX build.Updates to the osg::Transform, adding preMult and postMult methods and +deprecating the old preRotate,preTranslate,preScale. - * Fixed typo of getNumMatrixManipulators(). +Updated the rest of the OSG so that it nolonger uses the deprecated +osg::Transform nodes. -2003-08-19 13:01 robert +Renamed osgUtil::SceneView::setGlobalState() to +osgUtil::SceneView::setGlobalStateSet() so that the name reflects its +functionality better. Updated osgGLUT::Viewer etc to cope with new +name change. - * Removed inappropriate static_cast<>. -2003-08-18 19:51 robert - * Changed applyTextParamaters() to set the wrap modes : - - GL_TEXTURE_WRAP_S for all texture targets. - GL_TEXTURE_WRAP_T for all texture targets except GL_TEXRTURE_1D - GL_TEXTURE_WRAP_R for only GL_TEXTURE_3D - - And changed the defaults to OpenGL defaults of GL_REPEAT. +Mon, 12 Nov 2001 10:04:57 +0000 +Checked in by : Robert OSFIELD +Added new files to cvs. -2003-08-18 19:36 robert +Mon, 12 Nov 2001 10:00:08 +0000 +Checked in by : Robert OSFIELD +Added src/osg/NodeCallback.cpp. - * Added applyTexImage_subload() implemention into TextureRectangle - class - to provide automatic support for texture subloading. +Sun, 11 Nov 2001 22:32:59 +0000 +Checked in by : Robert OSFIELD +Fixed compilation error in src/osgDB/FileUtils.cpp.Added support for nested NodeCallbacks, allowing them to be chained together +so that multiple operations can be applied. -2003-08-18 15:14 robert - * Changed private to protected to allow Timer to be subclassed more - easily. -2003-08-18 15:12 robert +Sat, 10 Nov 2001 15:46:05 +0000 +Checked in by : Robert OSFIELD +Fixed osgUtil::Optimizer::FlatternStaticTransformsVisitor so that the apply(osg::LOD) scaled the ranges in addition to transform the center point and children. - * Added getSecondsPerClick() method to Timer. +Sat, 10 Nov 2001 13:36:05 +0000 +Checked in by : Robert OSFIELD +Fixed bug related to osgUtil::Optimizer::FlatternStaticTransform::Visitor's apply(Billboard& ) method which was apply the accumulated transform to the billbaord geometry when it should have been applying the matrix without the transform component. -2003-08-18 10:58 robert +Fri, 9 Nov 2001 15:06:01 +0000 +Checked in by : Robert OSFIELD +Added osgText::Paragraph which is a subclass from Geode which composes a list of text drawables as a paragraph block, handles breaking of text into individual lines automatically.Changed the osg::Node::setUserData so that the data type has to be an +osg::Referenced, and removes the dependancy on osg::MemoryAdapter. I have +done this since it simplifies the OSG side of the interface and makes it +less like that the user might abuse the memory managment of the data. It +does however mean that user data will have by subclassed from Referenced, +and therefor may require users to have their own adapter to do this. +However, this little nuasance is worth the extra cleaness and robustness +afforded by going the osg::Referenced route. - * Added X_INC into the Make/makedefs and changed the *GNUmakefile* - to use it. -2003-08-18 09:24 robert - * Fixes for Java build. +Fri, 9 Nov 2001 15:01:42 +0000 +Checked in by : Robert OSFIELD +Fixed the findFileFile routine which had been broken by a fix of a dlopen problem - './' was added to all files which which directly found without requiring a search path rather than just locally found files, this broke file loads which had wern't local but had a valid path. I have moved the './' work around to inside fileDSO and made it only apply to Linux as I presume this is all it was needed for. Don? -2003-08-16 20:42 robert +Thu, 8 Nov 2001 13:50:32 +0000 +Checked in by : Robert OSFIELD +Fixed the IntersectVisitor which was broken by a recent patch to catch parallel line and traingle combinations. - * Fixes to Cygwin/Mingw makedefs. - - Converted unix line endinges to dos line endings in various VS - project files. +Wed, 7 Nov 2001 12:42:08 +0000 +Checked in by : Robert OSFIELD +Added a dirtyBound() to osgUtil::Optimizer. Corrected mispelling of alignment is osg::Text and the osgtext demo. Added guards for divide bu zero's to osg::IntersectVisitor. -2003-08-16 18:52 don +Tue, 6 Nov 2001 11:36:11 +0000 +Checked in by : Robert OSFIELD +Fixed inlcude/BoundingBox to compile under Windows. - * Added check for byte swapping when writing RGB files so rgb files - can be - created on big endian machines +Tue, 6 Nov 2001 11:07:43 +0000 +Checked in by : Robert OSFIELD +Fixed inlcude/Math to compile under Windows. -2003-08-15 09:44 robert +Tue, 6 Nov 2001 10:34:51 +0000 +Checked in by : Robert OSFIELD +Added methods to support isNaN,isInfinte and valid to osg::Vec* and osg::Math, and added a guard to IntersectVisitor which uses these new methods to prevent invalid segments being added. - * Did a to_dos on examples, plugins and core libs. +Sun, 4 Nov 2001 19:29:20 +0000 +Checked in by : Robert OSFIELD +Integrated updates to stats sent in my Geoff Michel. -2003-08-15 09:38 robert +Fri, 2 Nov 2001 21:20:32 +0000 +Checked in by : Don BURNS +Fixed findFileInPath to prepend ./ if file is in local directory. This was needed by dlopen() for dso's in the current directory - * Changed cout's to notufy(INFO). +Fri, 2 Nov 2001 20:11:37 +0000 +Checked in by : Robert OSFIELD +Updates to Makefiles to include osgText. Also a couple of undefined methods in osgText::Text have been added. -2003-08-14 00:05 robert +Fri, 2 Nov 2001 12:26:33 +0000 +Checked in by : Robert OSFIELD +Updated index.html with dependacy info about the new osgText library. Modified osg/Drawable::draw(..) so that it uses display list COMPILE rather than COMPILE_AND_EXECUTE to solve performance problems under NVidia drivers. The old behavior is still available by comments out a #define. Fixed the default compilation list src/osgPlugins/Makefile so that it compiles by defalt png and gif. - * Removed the deprecated NodeVisitor::getLocalToWorld/WorldToLocal - methods as - this are replaced by the osg::computeLocalToWorld/WorldToLocal() - functions - found in osg/Transform. - - Made the ReleaseTextureAndDisplayListsVisitor a public nested - class of - osgDB::DatabasePager to allow it to be used in the TXP plugin, - and added - usage of this visitor to the TXP plugin to make sure that - textures and - display lists are released during the update thread. +Thu, 1 Nov 2001 16:35:26 +0000 +Checked in by : Robert OSFIELD +Updates to the flt loader from Brede Johansen. -2003-08-12 23:36 robert +Thu, 1 Nov 2001 15:13:31 +0000 +Checked in by : Robert OSFIELD +Updates to osgText to fix a crash on ikart.tff font available under Linux, the bug was related to texel padding of the height not be accounted for in texture size calculation, but was used during populating the image data causing a mismatch. - * Added -lOpenThreads to the IRIX OTHER_LIBS definition. +Wed, 31 Oct 2001 22:35:44 +0000 +Checked in by : Robert OSFIELD +Added missing config.h file to src/osgPlugins/lib3ds. -2003-08-12 23:06 robert +Wed, 31 Oct 2001 20:04:32 +0000 +Checked in by : Robert OSFIELD +Added a bool paramter to osg::StateSet::compare(const StateSet& rhs,bool compareAttributeContents=false) const; to allow it to use different comparison schemes, now it can use checking for pointer equality (the default) or attribute contexts. This has been added to assist optimization of databases within the flt loader, but also could be useful for other operations too. - * Fixed capitalization of QTtexture.h +Wed, 31 Oct 2001 18:33:27 +0000 +Checked in by : Robert OSFIELD +Updated the lib3ds plugin with the new 1.1 version of lib3ds. -2003-08-12 10:15 robert +Wed, 31 Oct 2001 12:27:48 +0000 +Checked in by : Robert OSFIELD +Update to osgText to get things compiling under Windows. - * Fixed DrawVertex/DrawColors access of null arrays errors. +Wed, 31 Oct 2001 11:41:22 +0000 +Checked in by : Robert OSFIELD +Update osgText.dsp to define FTGL_STATICLIBRARY to prevent it compiling the as a seperate library and producing linkage warnings. -2003-08-09 00:46 robert +Wed, 31 Oct 2001 10:20:50 +0000 +Checked in by : Robert OSFIELD +Updated the FTGL implemention in osgText to FTFL1.1. - * Added s/getFastPathHint(). +Tue, 30 Oct 2001 19:23:24 +0000 +Checked in by : Robert OSFIELD +Further updates to the ReaderWriter support in osgDB, and a fix to a small warning in Matrix.cpp. -2003-08-08 14:41 don +Tue, 30 Oct 2001 14:20:37 +0000 +Checked in by : Robert OSFIELD +Added support for ReadResult and WriteResult to the osgDB::ReaderWriter to allo plugins to pass back more information about the success or failure of a file load. All plugins have been updated to the new convention. + +Mon, 29 Oct 2001 19:29:49 +0000 +Checked in by : Robert OSFIELD +Changed a #define ... (GLenum) 0x84fe to 0x84FE to fix problems under MacOS9 build. - * updates makedefs and makerules for Mac OSX submitted by Bob - Kuehne +Mon, 29 Oct 2001 12:22:22 +0000 +Checked in by : Robert OSFIELD +Ran to_unix over src/Demos/osgtext/main.cpp to try and fix some return type problems reported under Windows. -2003-08-08 00:36 robert +Mon, 29 Oct 2001 12:19:14 +0000 +Checked in by : Robert OSFIELD +Added missing src/osgText/Version.cpp file. - * Added support for clampping the near and far values in - othrographic projection. - - Fixed the handling of anaglyphic/stereo state in - SceneView::draw(). +Thu, 25 Oct 2001 01:11:52 +0000 +Checked in by : Bryan THRALL +Imposter.cpp added to the project -2003-08-08 00:21 robert +Thu, 25 Oct 2001 00:49:28 +0000 +Checked in by : Bryan THRALL +Changed the int to a GLint because of the differences within mac/win32/linux versions of gl.h. - * Added missing copy ops in the copy constructor. - - Added computeInternalOptimziedGeometry() and associated methods - to Geometry - to support alternate versions of a geometry to be used to - optimize rendering, - such as flattening indexed attributes to straight attribute - arrays. +Thu, 25 Oct 2001 00:45:33 +0000 +Checked in by : Bryan THRALL +sgv is almost working -2003-08-08 00:19 robert +Wed, 24 Oct 2001 23:15:15 +0000 +Checked in by : Robert OSFIELD +Completed work on osgText compilation under Win32. We now have fonts under Wndows and Linux :-) - * Added convience constructor. +Wed, 24 Oct 2001 22:29:38 +0000 +Checked in by : Robert OSFIELD +Updates to the visual studio files for osgText. -2003-08-04 22:03 robert +Wed, 24 Oct 2001 19:48:58 +0000 +Checked in by : Robert OSFIELD +Updates of osgDB/FileUtils to fix compilation problems under Win32 - * Fixed computeFastPathsUsed() so that it includes a check for the - presence - of _vertexIndices and disables fast paths in this case. +Wed, 24 Oct 2001 13:46:58 +0000 +Checked in by : Robert OSFIELD +Updates to osgText. -2003-08-04 21:09 robert +Wed, 24 Oct 2001 12:53:27 +0000 +Checked in by : Robert OSFIELD +Updates to osgText and osgDB so that the loading of text fonts can use osgDB::findFile() to locate font files from the OSGFILEPATH environmental variable. - * From Romano Magacho. add osg:: to Referenced() calls for IRIX - build. +Wed, 24 Oct 2001 09:41:42 +0000 +Checked in by : Robert OSFIELD +Updated FTGL version to 1.0 and removed a couple of warnings in the osgText demo. -2003-08-04 21:04 robert +Wed, 24 Oct 2001 09:08:02 +0000 +Checked in by : Robert OSFIELD +Updated the osgText implemention, now works under Linux. - * From Gideon May, added 'd' to end of osgdb_osgSim.lib for debug - build. +Tue, 23 Oct 2001 23:23:51 +0000 +Checked in by : Don BURNS +Added stat.c -2003-08-04 16:26 don +Tue, 23 Oct 2001 23:15:40 +0000 +Checked in by : Don BURNS +One last change needed to makedefs.linux to sync Linux and Irix pfb loader - * Removed a couple of stray PRODUCER_LIB_DIR definitions in the - examples +Tue, 23 Oct 2001 23:10:47 +0000 +Checked in by : Don BURNS +Fixed pfb loader functionality for IRIX -2003-08-03 02:59 robert +Tue, 23 Oct 2001 22:59:54 +0000 +Checked in by : Don BURNS +Fixed pfb loader so that it works for both Linux and IRix with dynamic libraries, and provides support to load (almost) all that Performer loads. - * Fixed VC6 for scoping problem in ive plugin. +Tue, 23 Oct 2001 22:28:41 +0000 +Checked in by : Robert OSFIELD +Further work on getting osgText compiling. -2003-08-03 00:24 robert +Tue, 23 Oct 2001 22:12:07 +0000 +Checked in by : Robert OSFIELD +Removed old .cc versions of FT font code. - * From Romano Magacho, fix for compile problem under IRIX. +Tue, 23 Oct 2001 22:09:21 +0000 +Checked in by : Robert OSFIELD +Adding in new .cpp versions of FT font code. -2003-07-26 23:44 robert +Tue, 23 Oct 2001 22:08:02 +0000 +Checked in by : Robert OSFIELD +Updates to the new osgText library to get it to compile under Linux. - * Post release revision change. +Tue, 23 Oct 2001 20:04:48 +0000 +Checked in by : Robert OSFIELD +Converted FTGL files from mac style return to unix style. -2003-07-26 23:06 robert +Tue, 23 Oct 2001 19:51:39 +0000 +Checked in by : Robert OSFIELD +First past integrat of Max Rhiener work on wrapping FTGL to create osgText library and demo. - * Updated dependencies. +Tue, 23 Oct 2001 15:55:01 +0000 +Checked in by : Robert OSFIELD +Added new osgGLUT::Window base class which is very basic right now, all it does is bring up a GLUT window and provide virtual functions from which users should subclass to add functionality. -2003-07-26 22:44 don +Mon, 22 Oct 2001 22:02:47 +0000 +Checked in by : Robert OSFIELD +Integrated Geoff Michel's updates to Stats code, whilest move all text rendering back in the viewer from the Statistics header.Added a osg::State::captureCurrentState(StateSet&) method and a copy constructor +to osg::StateSet. - * Small typo -2003-07-26 22:32 robert - * Typos fixed. +Sun, 21 Oct 2001 21:27:40 +0000 +Checked in by : Robert OSFIELD +Moved all #include "osg/.." references to #include to aid port to MacOS. -2003-07-26 21:06 robert +Sat, 20 Oct 2001 20:26:36 +0000 +Checked in by : Robert OSFIELD +Added support for an osgUtil::SceneView::init() traversal which is called once per scene view. The user can attach a NodeVisitor to do init for them, or leave it to the default which is to use the osgUtil::DisplayListVisitor which compiles all display lists and texture objects. The init traversal is called automatically by the first call to either app() or cull(), so should not be called by user code during initialization. This ensures that a valid graphics context has been established before OpenGL is initialized.osgUtil::DisplayListVisitor has also been updated to use a bit mask for options, and the addition of +compilation of texture objects (via StateAttribute::compile) has also been +added. - * Updated changelog for release. -2003-07-26 21:01 robert - * Updated NEWS for release. +Sat, 20 Oct 2001 09:48:22 +0000 +Checked in by : Robert OSFIELD +Added #ifdef to Performer ReaderWriterPFB so that pfdLoadFile is used under IRIX and pfdLoadFile_pfb is used under Linux. -2003-07-26 19:08 robert +Fri, 19 Oct 2001 15:53:59 +0000 +Checked in by : Robert OSFIELD +Removed Lighting.cpp from repository, it is nolonger used and was just hanging around erroneously. - * Updated NEWS +Fri, 19 Oct 2001 15:30:54 +0000 +Checked in by : Robert OSFIELD +Updated the osgUtil::Optimize so that the call to Optimize::StateVisitor is #ifdef out under Win32 and STL port isn't being used. This prevents crashes due to MS's flacky STL implementation. -2003-07-26 18:57 robert +Fri, 19 Oct 2001 14:22:02 +0000 +Checked in by : Robert OSFIELD +Added osgUtil::Optimizer which contains four visitor each designed for doing different types of optimization on the scene graph - state optimization, flattening static transforms, combining LOD's and removing redundent groups. The new Optimizer replaces the once seperate OptimizerStateVisitor. - * Fixed warning in jpeg loader by replacing longjmp with - throw/catch. +Fri, 19 Oct 2001 12:56:37 +0000 +Checked in by : Robert OSFIELD +Added support for specifying whether view frustum and small feature culling should be applied to a node or its child with the new osg::Node::setCullingActive() flag. A mechanism has been implemented so that if child has its culling disabled then their parents, all the way up to the root are also have their culling implicitly disabled.The osg::CullVisitor has updated to take account of +both the explicit control via setCullingActive and the implicit culling +disabling through children being disabled. -2003-07-26 14:15 robert +This feature is useful for nodes which don't have a bounding volume to cull +against, earth sky implementations and light sources. - * Fixed long jump warning. - CV: - ---------------------------------------------------------------------- +The default osg::Node::_cullingActive is true, i.e. culling is enabled by +default. -2003-07-26 04:51 robert - * Added openthreads to list of dependencies.: -2003-07-26 04:25 robert +Wed, 17 Oct 2001 22:17:23 +0000 +Checked in by : Don BURNS +Fixed static libraries in madefs.linux and error in ReaderWriterPFB.cpp - * Fixed warnings. +Tue, 16 Oct 2001 22:30:04 +0000 +Checked in by : Bryan THRALL +Update the tree to my version of the project file (I thought it was already in) - Hang glide demo works - sgv is still being fixed -2003-07-26 01:02 don +Tue, 16 Oct 2001 21:47:47 +0000 +Checked in by : Robert OSFIELD +Reverted Bryan's changes to FrameStamp w.r.t std::tm structure which doesn't compile under Win32 and IRIX. Will need to find another solution. - * Fixes to makedefs/makedirdefs ordering in some makefiles, and - conditional - build for osgslideshow on Sun +Tue, 16 Oct 2001 21:32:57 +0000 +Checked in by : Bryan THRALL +This was the old project file. It's no longer used. -2003-07-26 00:12 don +Tue, 16 Oct 2001 20:56:46 +0000 +Checked in by : Bryan THRALL +*** empty log message *** - * Removed command line definitions of OSG_VERSION and OSG_RELEASE +Tue, 16 Oct 2001 18:39:57 +0000 +Checked in by : Robert OSFIELD +Fixes for IRIX build - submitted by Randall Hopper. -2003-07-25 23:49 don +Tue, 16 Oct 2001 16:48:19 +0000 +Checked in by : Robert OSFIELD +Fixes for Win32 compilation. - * Removed references to PRODUCER_INCLUDE_DIR and PRODUCER_LIB_DIR - in the - local makefiles. - - Small change in txp loader for sun build +Tue, 16 Oct 2001 15:03:10 +0000 +Checked in by : Robert OSFIELD +Fixed then normal smoothing function in the .3ds loader and the osgUtil::SmoothingVisitor so that unused normals at left at 0,0,0 insead of being normalized, which results in (nan,nan,nan). -2003-07-24 06:13 robert +Tue, 16 Oct 2001 14:24:38 +0000 +Checked in by : Robert OSFIELD +Completed implementation of a the new CombineLODsVisitor, ideal for use with the .flt loader. Code is stuff currently in sgv, but will be moved out once more testing has been done. - * Fixed warnings. +Tue, 16 Oct 2001 10:04:26 +0000 +Checked in by : Robert OSFIELD +Added support for transforming LOD and Billboard centers to the OrientationConverter and the flattenTransformVisitor in sgv. -2003-07-24 06:09 robert +Tue, 16 Oct 2001 10:03:19 +0000 +Checked in by : Robert OSFIELD +Modified Veiewer.cpp so that when toggling the light with 'l' the light can be overrided to off and overrided to on, previoulsy it only overrided to off. - * Fixed warning. +Tue, 16 Oct 2001 08:24:26 +0000 +Checked in by : Robert OSFIELD +Fixed problem caused by ReaderWriterPFB::writeNode(..) not ensuring that the file extension was .pfb. Have added a check. -2003-07-24 06:07 robert +Tue, 16 Oct 2001 03:59:37 +0000 +Checked in by : Don BURNS +added float *() operator to Vec{2,3,4} so we can pass Vec3's directly to OpenGL glVertex?fv(). - * Fixed warning, which was actually a bug, sometimes you've just - gotta love - pedantic warnings. +Mon, 15 Oct 2001 15:50:55 +0000 +Checked in by : Robert OSFIELD +Fixes for compilation under IRIX, submitted by Randal Hopper, with mods from Robert. -2003-07-24 06:05 robert +Mon, 15 Oct 2001 14:29:40 +0000 +Checked in by : Robert OSFIELD +Made the new global state attribute instances in osg::State use osg:ref_ptr to automatically handle the memory deletion. - * Fix warnings. +Mon, 15 Oct 2001 14:07:54 +0000 +Checked in by : Robert OSFIELD +Added support for automatic creation of global StateAttributes to osg::State, these global attributes are created by cloning any attributes which are applied during rendering, the clone in a shallow copy, which will set up default valus for that attribute. This should prevent attribute bleed from one stateset to the next when the global StateSet doesn't contain an attribute used within the scene graph. -2003-07-23 21:32 robert +Mon, 15 Oct 2001 11:18:51 +0000 +Checked in by : Robert OSFIELD +Fixed rotations to account to the fixes made to Quat and Matrix related to right hand rule rotation. - * Removed all references to sleep/usleep. +Mon, 15 Oct 2001 08:40:30 +0000 +Checked in by : Robert OSFIELD +The writeImage/Object/Node methods in the .osg and .pfb reader/writer didn't have the new ReaderWriter::Options* structure passed to them, which meant the the virtual functions didn't bind with the new base class methods and wern't called on a write. -2003-07-23 21:18 robert +Mon, 15 Oct 2001 03:32:47 +0000 +Checked in by : Don BURNS +Updated pfb loader to load pfb files into osg. Still broken for loading osg files into Performer, however. - * Moved t->testCancel() to end of loop. - - Changed a sleep() to a Yield. - - Removed debugging messages. +Sun, 14 Oct 2001 17:54:25 +0000 +Checked in by : Robert OSFIELD +Added osgDB::ReaderWriter::Options class to the ReaderWriter base class, support for settings options in osgDB::Registry, and added the paramter to all of the reaader/writer plugins. The Options structure by default has an string attached for packing basic options, however, it also can be subclassed to encapsulate any users defined option data. In the later case both the client code *and* the plugin need to be aware of subclass, the plugin will need to use dynamic_cast<> to assertain its type. -2003-07-23 21:03 robert +Sun, 14 Oct 2001 16:56:03 +0000 +Checked in by : Robert OSFIELD +Added OrientationConverter.cpp to the VisualStudio project files for osgconv. - * From Gideon, update to the PolygonOffset for the background quad. +Sun, 14 Oct 2001 16:55:12 +0000 +Checked in by : Robert OSFIELD +Changed the OrientationConverter.cpp's to have consitent captilization as its associated header file. -2003-07-23 20:57 robert +Sun, 14 Oct 2001 14:23:47 +0000 +Checked in by : Robert OSFIELD +Fixed TransformFunctor code so that it now uses the inverse of the transformation matrix to transform the normal. - * Added makefile. +Sun, 14 Oct 2001 14:23:03 +0000 +Checked in by : Robert OSFIELD +Fixed a bug in Matrix::invert(..) which did not set full_realised=true, so that one Matrices which had not previously be initialized we're erronously initialized later in the code resetting it to identity. -2003-07-23 20:55 robert +Sun, 14 Oct 2001 09:58:49 +0000 +Checked in by : Robert OSFIELD +Added osg::StateSet::merge(const StateSet& rhs) merges merges the modes and attributes of rhs into 'this' stateset. - * Made the fine grained checking of GL errors off by default. +Sun, 14 Oct 2001 09:57:33 +0000 +Checked in by : Robert OSFIELD +Fixed the Flight and Drive manipulators to work with the updated Matrix::rotate code. -2003-07-23 20:53 robert +Sun, 14 Oct 2001 06:01:31 +0000 +Checked in by : Don BURNS +Fixed a small boo-boo in definition of bit masks in include/osg/DrawableFixed incorrect normal conversions for osgconv. - * From Romano José Magacho da Silva, extension checking for - NV_occlusion_query extension. -2003-07-23 20:50 robert - * From Sean, fix for Sun windows extension checking. +Sun, 14 Oct 2001 05:33:36 +0000 +Checked in by : Don BURNS +Mr. O added fancy, shmanzy C++ code, but broke normal transform functionality Fixed. -2003-07-23 20:38 robert +Sun, 14 Oct 2001 05:14:37 +0000 +Checked in by : Don BURNS +Quick 'n dirty fix to TrackballManipulator to get the rotations doing the right things after the Quat fixes. - * Fixes to paths and dependancies. +Sun, 14 Oct 2001 04:50:04 +0000 +Checked in by : Don BURNS +Cleaned up some 'make clobber' issues in root Makefile -2003-07-23 19:08 don +Sun, 14 Oct 2001 04:28:50 +0000 +Checked in by : Don BURNS +Quaternions were assigning inverted values during conversion to matricies. This is probably due to an error on the gamasutra web page demonstrating this. It caused left-handed rotations rather than right handed rotations. Should be fixed now. - * Added conditionals to find OpenThreads include and library - directories if - not installed +Sat, 13 Oct 2001 11:16:10 +0000 +Checked in by : Robert OSFIELD +Changed the naming and calling convention of the new Drawable::AttributeFunctor and have updated GeoSet to use mutable values for the _numverts etc, allowing osg::GeoSet::computeNumVerts() to be a const operation. osg::GeoSet::getNumVerts is now a const once more, so avoiding compilation problems. Also chaned the new osgconv orientation code to use a Drawable::AttributeFunctor so it can work on other Drawables other than just GeoSets. -2003-07-23 18:32 robert +Sat, 13 Oct 2001 09:48:37 +0000 +Checked in by : Don BURNS +Added Mr. Osfields dynamic_cast<> and test for validity test. - * Fixes for Win32 build. +Sat, 13 Oct 2001 08:34:02 +0000 +Checked in by : Don BURNS +backed out right-handed coordinate transform for makeRot(vec3,vec3) in Quat.cpp -2003-07-23 18:25 robert +Sat, 13 Oct 2001 08:32:11 +0000 +Checked in by : Don BURNS +A few more clean ups - * Fixed typo of SlideShowContructor.cpp +Sat, 13 Oct 2001 07:41:54 +0000 +Checked in by : Don BURNS +Cleaned up the usage message -2003-07-23 15:52 robert +Sat, 13 Oct 2001 07:24:25 +0000 +Checked in by : Don BURNS +Updated osgconv to be able to handle orientation swapping. - * Added support for PagedLOD node into .ive format and added - support for - - Enabled texture object reuse by setting an expiry delay in the - TextureObjectManager - of 10 seconds - done for both osgDB::DatabasePager and TXP - plugin. +Sat, 13 Oct 2001 06:23:55 +0000 +Checked in by : Don BURNS +Changed some routines to produce right-handed rotations. -2003-07-23 15:12 robert +Sat, 13 Oct 2001 06:22:49 +0000 +Checked in by : Don BURNS +checking files in to move development location - * Added control of auto option into slideshow3D +Sat, 13 Oct 2001 01:28:33 +0000 +Checked in by : Don BURNS +Removed personal note in Matrix header file -2003-07-23 15:00 robert +Fri, 12 Oct 2001 20:06:35 +0000 +Checked in by : Robert OSFIELD +Added support for the new AttributeUpdateFunctors. - * Fixed typo's slideshow3D +Fri, 12 Oct 2001 20:05:55 +0000 +Checked in by : Robert OSFIELD +Added != method to Vec2,Vec3,Vec4 and did further work on the AttributeUpdateFunctors. -2003-07-23 14:59 robert +Fri, 12 Oct 2001 17:45:15 +0000 +Checked in by : Don BURNS +Added include/osg/Math to Makefile TARGET_INCLUDE_FILES and fixed references to _mat in ConvertToPerformer.cpp - * Fixed blending mode on stats output. +Wed, 10 Oct 2001 20:20:14 +0000 +Checked in by : Robert OSFIELD +Added support for DYNAMIC/STATIC osg::Transform types and added new osg::Drawable::getStats and supportsAttributeUpdate(..) and applyAttributeUpdate(...) methods which will be to enable hooks into Drawable subclasses. -2003-07-23 14:06 robert +Wed, 10 Oct 2001 14:38:12 +0000 +Checked in by : Robert OSFIELD +Fixed spelling of osg::GeoSet::getNumInterleavedIndices, was missing a 'n'! - * From Gideon May, added support for osgSim into .osg file format. +Tue, 9 Oct 2001 21:55:47 +0000 +Checked in by : Robert OSFIELD +Fixed a crash when opening an erroneous test file (reopen.bmp). -2003-07-23 13:34 robert +Tue, 9 Oct 2001 20:22:52 +0000 +Checked in by : Robert OSFIELD +Updated to fix build problems under MSVC. - * Merged changes from Nicklov Trajce and Boris Bralo. +Tue, 9 Oct 2001 20:09:27 +0000 +Checked in by : Robert OSFIELD +Updated MSVC Workspace files to fix build problems. -2003-07-23 12:06 robert +Tue, 9 Oct 2001 20:03:51 +0000 +Checked in by : Robert OSFIELD +Updated MSVC Workspace files to fix build problems. - * Updated docs to reflect new data direcory. +Tue, 9 Oct 2001 14:18:47 +0000 +Checked in by : Robert OSFIELD +Merged Ben Discoe's clean up of the MSVC files. -2003-07-23 11:45 robert +Tue, 9 Oct 2001 11:58:13 +0000 +Checked in by : Robert OSFIELD +Merged updates to BMP plugin from Geoff Michel. Also modified a little of the code to fix a crash under Linux, Robert Osfield - * Warning fixes from Gideon May. +Mon, 8 Oct 2001 19:01:37 +0000 +Checked in by : Robert OSFIELD +Put the makedefs.linux back to default to optimize. -2003-07-23 11:37 robert +Mon, 8 Oct 2001 15:54:16 +0000 +Checked in by : Robert OSFIELD +Fixed a recently introduced crash in the flt plugin which was happen when a std::string was be be set with NULL char*. Also added support for stripping the filename from its original path, inside the osgDB::findFile function. - * Added slideshow3D.dsp. +Mon, 8 Oct 2001 08:35:06 +0000 +Checked in by : Robert OSFIELD +Added support for using osgDB::fineFile into the .flt plugin. -2003-07-23 11:27 robert +Sun, 7 Oct 2001 20:10:58 +0000 +Checked in by : Robert OSFIELD +Merged Geoff Michel's udpdates to bmp plugin, and fixed a double fclose bug which was causing a seg fault under Linux. - * Updated doc++ documentation. +Sat, 6 Oct 2001 20:29:42 +0000 +Checked in by : Robert OSFIELD +Added a osg::DegreesToRadians() and osg::RadiansToDegrees() method to osg/Math, updated the ReaderWriterBMP.cpp (mods sent in my Geoff Michel) and moved the osgUtil::Statistics to osg::Statistics in preperation to adding it to the the Drawable base class. -2003-07-23 10:11 robert +Fri, 5 Oct 2001 19:55:58 +0000 +Checked in by : Robert OSFIELD +Added bmp plugin files, bmp plguin written by Geoff Michel - * Fixed osgslideshow3D to slideshow3D +Fri, 5 Oct 2001 10:39:27 +0000 +Checked in by : Robert OSFIELD +Added bmp osgPlugin, written by Geoff Michel. -2003-07-23 09:27 robert +Fri, 5 Oct 2001 10:38:16 +0000 +Checked in by : Robert OSFIELD +Fixed a bug in osg::Image::ensureDimensionsArePowerOfTwo() which only scaled dimensions if *both* axis wern't a power of two, have fixed it to rescale if either of the axis arn't a power to two. - * Added slideshow3D to the examples list under VisualStudio. - - Partially updated the NEWS.txt. +Fri, 5 Oct 2001 01:27:54 +0000 +Checked in by : Bryan THRALL +*** empty log message *** -2003-07-23 08:54 robert +Thu, 4 Oct 2001 16:49:13 +0000 +Checked in by : Robert OSFIELD +Added the Copyright message to the top of osgWX, with Ben Disoe's name as he wrote all the code. - * Bumped up version numbers in preperation for the 0.9.5 release. +Thu, 4 Oct 2001 15:12:57 +0000 +Checked in by : Robert OSFIELD +Added a copyright notice to all core headers, which all begin with //C++ header to help scripts and editors pick up the fact that the file is a header file. -2003-07-23 08:48 robert +Thu, 4 Oct 2001 14:39:24 +0000 +Checked in by : Robert OSFIELD +Changed the ordering of comparing modes and attributes in osg::StateAttribute::compare() as part of an investigration into state sorting. - * Made the keyboard mouse callback a ref_ptr<> managed object to - fix ref count problem. +Thu, 4 Oct 2001 14:35:42 +0000 +Checked in by : Robert OSFIELD +Added an implemention of basic state sorting to the RenderBin, but have commented out the sort operation as Peformance benifit is currently negligable, will need to improve on the sort functor to see real benifits. -2003-07-23 08:18 robert +Thu, 4 Oct 2001 14:25:50 +0000 +Checked in by : Robert OSFIELD +Added extra precision to the app,cull and draw timings in the Viewer. - * Added check to allocateImage() so that if the pixel size wouldn't - be computed - unless valid _data already existed on the object. +Thu, 4 Oct 2001 14:20:23 +0000 +Checked in by : Robert OSFIELD +Removed some notify which were only used for debugging of the camera class and are now redudent. -2003-07-22 21:03 robert +Thu, 4 Oct 2001 14:10:20 +0000 +Checked in by : Robert OSFIELD +Changed the numeric ordering of StateAttributes Types, as part of an investigation into state sorting. - * Added support for osg::State::s/getInitialViewMatrix(); - - Added slideshow3D examples to the runexamples.bat. - - Fixed DatabasePager to work with the latest OpenThreads. +Wed, 3 Oct 2001 21:44:07 +0000 +Checked in by : Robert OSFIELD +Integrated changes for MacOSX, submitted by Phil Atkin, with small mods by Robert Osfield to maintain compatability under Linux. -2003-07-22 15:35 robert +Wed, 3 Oct 2001 07:56:33 +0000 +Checked in by : Robert OSFIELD +Added missing EarthSky.cpp file to osg plguin. - * Updates to the slideshow3D app. +Tue, 2 Oct 2001 15:59:49 +0000 +Checked in by : Robert OSFIELD +Added include/osg/EarthSky and src/osg/EarthSky to cvs.Also move osg across to using radians for angular paramters by default. +By defining USE_DEGREES_INTERNALLY you can get the OSG to revert to +the old style degrees. This later feature is deprecated and only meant +for helping comptability in the interim. -2003-07-22 12:48 robert - * Made BlinkSequence subclass from osg::Object. -2003-07-22 12:39 robert +Tue, 2 Oct 2001 11:36:14 +0000 +Checked in by : Robert OSFIELD +Added osg::EarthSky node to the core osg library, and added support for it into osgUtil::SceneView, osg::CullVisitor, osgPlugin/osg and updated the hangglide demo to use the new earth sky node. - * Added XML support and slideshow constructor to slideshow3D - example, now - renamed from the previous osgslideshow. +Mon, 1 Oct 2001 23:02:14 +0000 +Checked in by : Robert OSFIELD +Added support for osg::StateSet comparison operators and using this new feature added support in osgUtil::OptimizeStateVisitor for removing duplicate StateSet's from the scene graph, previously only duplicated StateAttributes we're removed. -2003-07-22 10:33 robert +Mon, 1 Oct 2001 12:06:22 +0000 +Checked in by : Robert OSFIELD +Integrated a bug fix to osg::TexMat from Geoff Michel which adds a glMatrixMode( GL_MODELVIEW ); after the setting of the texture matrix. Previously the texture matrix mode could run into normal model view matrix operations which were assuming the defaul of GL_MODELVIEW. - * Changed the Sector classes so they are derive from osg::Object to - allow them - to be shared objects with the .osg support. +Mon, 1 Oct 2001 11:15:55 +0000 +Checked in by : Robert OSFIELD +Made spelling corrections, the spelling mistakes picked up by a script written by Neil Salter.script -2003-07-22 08:42 robert - * Added Images/ infront of lz.rgb path. -2003-07-21 18:36 robert +Sun, 30 Sep 2001 20:41:20 +0000 +Checked in by : Robert OSFIELD +Interegrated changes to Timer from Neil Salter to fix compilation problems which had been introduced by doing #include's within the osg namespace. - * From Marco, updates to osgDB and .osg plugin to better handle - reading of - objects of specified types. +Sat, 29 Sep 2001 18:34:26 +0000 +Checked in by : Robert OSFIELD +Added setAttributeAndModes(new Depth,StateAttribute::ON); to the StateSet::setGlobalDefault() so that the correct default for the glDepthFunc etc are set up for scene graphs, and allows override of these value which risk of inheriting state on to the rest of the scene graph.This has allowed the hangglide demo to be simplified since it now doesn't need to set the global Depth instance itself. -2003-07-21 15:51 robert - * Added yield call to database paging main loop. -2003-07-21 15:26 robert +Sat, 29 Sep 2001 09:37:43 +0000 +Checked in by : Robert OSFIELD +Modified the Matrix multiple method added by Don so it is safer and added comments explaining why it shouldn't be needed as other more efficient methods should be doing the work for us.Also added Matrix::ensureRealized() to support the lazy initialization of Matrix, whilest keeping the implementation robust so that external calls to Matrix which get values do so on an initialized matrix. - * Fixed osgDB plugin. -2003-07-21 11:54 robert - * Removed old link. +Sat, 29 Sep 2001 02:48:31 +0000 +Checked in by : Don BURNS +Added operator * (Matrix &) to Matrix (header) and operator [] to reference matrix elements. -2003-07-21 10:39 robert +Fri, 28 Sep 2001 20:10:41 +0000 +Checked in by : Robert OSFIELD +Made spelling corrections to osg include files, spelling mistakes detected by a script written by Neil Salter which analyses comments for mistakes. - * Added missing DatabasePager. +Fri, 28 Sep 2001 19:36:58 +0000 +Checked in by : Don BURNS +Cleaned up inst rules a bit... -2003-07-21 10:11 robert +Fri, 28 Sep 2001 16:56:19 +0000 +Checked in by : Robert OSFIELD +*** empty log message *** - * Added -lOpenThreads to the OSX defines. +Fri, 28 Sep 2001 12:36:40 +0000 +Checked in by : Robert OSFIELD +*** empty log message *** -2003-07-21 08:19 robert +Thu, 27 Sep 2001 16:34:41 +0000 +Checked in by : Robert OSFIELD +*** empty log message *** - * Moved DatabasePager into from osgProducer into osgDB. This means - that osgDB - is now dependant on OpenThreads. +Thu, 27 Sep 2001 09:44:55 +0000 +Checked in by : Robert OSFIELD +*** empty log message *** -2003-07-20 00:51 don +Wed, 26 Sep 2001 12:23:02 +0000 +Checked in by : Robert OSFIELD +*** empty log message *** - * Integrated OpenThreads and brought dsps up to snuff on Win32 +Tue, 25 Sep 2001 17:56:56 +0000 +Checked in by : Robert OSFIELD +*** empty log message *** -2003-07-19 17:55 don +Sat, 22 Sep 2001 02:42:08 +0000 +Checked in by : Don BURNS +Synch with 20010921 - * Small bug in instrules +Sat, 22 Sep 2001 02:04:50 +0000 +Checked in by : Don BURNS +Added files to keep cvs from removing empty directories lib and lib/osgPlugins -2003-07-19 17:46 don +Thu, 20 Sep 2001 01:07:59 +0000 +Checked in by : Don BURNS +Added place holder README files to lib/README and lib/osgUtil/README so empty directories will not be removed by CVS - * passing $(MAKE) into instexamplesrc script to shut the religious - fanatics - on the mailing list up. +Thu, 20 Sep 2001 00:59:26 +0000 +Checked in by : Don BURNS +Removed Makedepend files -2003-07-19 00:18 don +Thu, 20 Sep 2001 00:48:36 +0000 +Checked in by : Don BURNS +Addec binary files with -kb - * Updated OSG to use OpenThreads. Moved any references to - OpenThread to - OpenThreads and removed any dependency on Producer threads, - Mutexes, etc. +Thu, 20 Sep 2001 00:47:45 +0000 +Checked in by : Don BURNS +Removed should be binary entries. Well r-add with -kb -2003-07-17 06:43 robert +Thu, 20 Sep 2001 00:07:09 +0000 +Checked in by : Don BURNS +Added ico files with -kb flag - * From Romano Jose Magacho da Silva, added osg:FragmentProgram. - - From Robert, add .osg support for FragmentProgram. +Thu, 20 Sep 2001 00:06:36 +0000 +Checked in by : Don BURNS +Trying to clean up binary commits -2003-07-16 22:26 robert +Wed, 19 Sep 2001 23:56:12 +0000 +Checked in by : Don BURNS +Added these with the -kb flag now. - * From Ruben, added support for vertex program in .osg loader. +Wed, 19 Sep 2001 23:55:38 +0000 +Checked in by : Don BURNS +Cleaning up binary commits - oops -2003-07-16 22:15 robert +Wed, 19 Sep 2001 23:52:12 +0000 +Checked in by : Don BURNS + 1) new implementation of the osg::Matrix class. Note details below. 2) cleaned up osg::Timer, still in progress. My intent has been to pave the way for support for other OS's. 3) new osg::FrameStamp class which has a frame number, reference time for each frame to be app, culled and drawn. The FrameStamp also can be passed to other machines (i.e. cluster) and the FrameStamp can be used with the slaves own app,cull and draw. I've also added the beginings of a calander time data to the FrameStamp to allow time or day and year to be used in setting up position of sun/moon etc. etc. 4) The osg::State now has contains a pointer to the last applied osg::Camera and the current osg::FrameStamp, so that drawables can use both pieces of information for creating effects such CLOD, earth/sky etc. The osg::NodeVisitor also now allows you to attach a FrameStamp to support syncronization of actions on the scene graph. - * Added setProjectionMatrix*(), setViewMatrix*() and get*() methods - to osgUtil::SceneView. +Wed, 19 Sep 2001 23:46:48 +0000 +Checked in by : Don BURNS + o Added osgUtil::StateOptimizeVisitor which traversing the scene graph and builds up a map of all StateAttributes and StateSets and then removes the duplicates. This promotes state sharing throughout the scene graph which inturn can significantly improve performance thanks to reduced state changing. Particularily effective on datasets where a great deal of duplicated state exists. o Added pure virtual compare(const osg::StateAttribute&) method to osg::StateAttribute, and implemented it in all the subclasses from StateAttribute. Added <,== & != operator on StateAttribute and Matrix to support new StateOptimizeVisitor. o Added META_Object, META_Node and META_StateAttribute macros to Object, Node and StateAttribute respectively which define the standard pure virtual methods such as clone, className & isSameKindAs. Changed all the appropriate header files to use these macro's rather define them in each header, these cleans up the headers considerably. o Corrected the implementation of osg::Light::getType so it correctly uses a unique type for each of the OpenGL lights (GL_LIGHT0.. GL_LIGHT7 relates to osg::StateAttriburte::LIGHT_0..LIGHT_7. o Changed the definition of osg::StateStateAttribute::Type to is now a unsigned int rather than an enum, and have changed the name of the previous Type enum list to be Types. This makes it more consistent with the difination of values found in StateAttribute and also easier to extend with having to cast to an enum. o From Pail Fredrikson, updated Maitrx.new implemention which uses the same matrix orientation as the original Matrix implemention. -2003-07-16 20:14 robert +Wed, 19 Sep 2001 23:41:39 +0000 +Checked in by : Don BURNS + o Updated Metrowerks files for MacOS. They aren't 100% there yet, but getting there. o First cut of osgcluster demo. Very simple beginings. Alas + I only one PC here so I can't test it in its current guise. - * Added osg::Matrix::getOtho,getFrustum and getLookAt() methods. - - Added test for new matrix methods into unit tests example, but - these really - should go in their own lib... + o New support for NodeCallbacks, via AppCallback attached to + osg::Node's, and a default osgUtil::AppVisitor which calls them on + each frame. -2003-07-16 13:17 robert + o Support for traversal masks in osg::NodeVisitor, osg::Node + which allows nodes to be switched on or off via a bit mask. - * Rejigged the management of state in the stats and help drawing so - that it used - StateSet's rather than straight OpenGL calls. + o Suppport for traversal number (frame number) and reference time + into osg::NodeVisitor to handle syncronization of app and cull + traversals. This also assist clustering as traversal number + master to slaves. -2003-07-16 09:52 robert - * Improvements to the handling of deletion of OpenGL rendering - objets such as - display lists and textures object such that they can be deleted - according - to an available amount of time given to do deletes. -2003-07-15 21:19 robert +Wed, 19 Sep 2001 23:21:31 +0000 +Checked in by : Don BURNS +0.8.42 sync - * Updates to the flush rendering objects function calls to allow - for - managment of amount of time available to do gl delete's. This - control is - required for constant frame rate applications. +Wed, 19 Sep 2001 21:51:06 +0000 +Checked in by : Don BURNS +Removed files.... synching witn 0.8.42 -2003-07-15 20:23 robert +Wed, 19 Sep 2001 21:41:52 +0000 +Checked in by : Don BURNS +And yet more clean up synch with 0.8.42 - * Fixed case of OSGL2_EXPORT define in project file. +Wed, 19 Sep 2001 21:19:47 +0000 +Checked in by : Don BURNS +More clean up for synch with 0.8.42 -2003-07-15 18:52 robert +Wed, 19 Sep 2001 21:10:39 +0000 +Checked in by : Don BURNS +Added acompole more - * Added extern + export's to global functions. +Wed, 19 Sep 2001 21:08:56 +0000 +Checked in by : Don BURNS +Added a bunch of files synched with 0.8.42 -2003-07-15 18:19 robert +Fri, 12 Jan 2001 17:34:58 +0000 +Checked in by : Don BURNS +Removed Makedepend for osg repository. No Makedepends should be in the repository - * Added missing osg:: infront of Referenced() contructor. +Wed, 10 Jan 2001 17:19:04 +0000 +Checked in by : Don BURNS +Fixed the findDSO error which excluded PATH on win32 and LD_LIBRARY_PATH in UNIX. -2003-07-15 16:22 robert - - * Moved PROGRAMOBJECT definition into StateAttribute. - -2003-07-15 16:20 robert - - * Fix for compile oddities on an Octane with old zlib headers - hanging around, - change is non intrusive. - -2003-07-15 15:49 robert - - * Added osgGL2 to workspace file. - -2003-07-15 13:46 robert - - * Moved osg::Statistics to osgUtil::Statistics and merged addition - to it - fro Pavel Moloshtan. - -2003-07-15 11:49 robert - - * Changed the SceneView::setModelViewMatrix() methods across to - being setViewMatrix(). - The old RefMatrix methods for setModelViewMatrix() and - setProjectMatrix() have - been removed to keep the API as minimal as possible. - -2003-07-15 10:45 robert - - * From Mike Weiblen's osgGL2 node kit which support the latest - OpenGL 2.0 extensions. - -2003-07-15 09:39 robert - - * From Bart Gallet, updates to VisualStudo .dsp's to keep things - compiling under Windows. - -2003-07-15 08:17 robert - - * From Gideon May, added - - typedef T element_type; - - To ref_ptr<> to make it compatible with the boost ref_ptr<> - implemenations. - -2003-07-15 07:53 robert - - * Compile fixes. - -2003-07-14 19:12 robert - - * Attempt to fix compile error caused by recent change in - osg::Texture. - -2003-07-14 14:42 robert - - * Added support for texture object manager, which provides an - automatic mechansim - for reusing deleted textures. - -2003-07-11 22:05 robert - - * warning fixes for IRIX. - -2003-07-11 18:46 don - - * included for SGI compilation of Timer header file - -2003-07-10 15:23 robert - - * Added dataToMergeList into checks for active subgraphs. - -2003-07-10 14:53 robert - - * Added default constructor implemention to LOD and PagedLOD. - - Added verbose messages to DatabasePager. - -2003-07-10 13:48 robert - - * Fix to accomodate function name change in osgDB::Registry. - -2003-07-10 13:35 robert - - * From Michael Gronger, addition of ReaderWriter* - Registry::getReaderWriterForExtension(const std::string& ext). - - Also removed copy constructor and = operator from Ouput as it was - produce - spurious warnings under gcc 3.3. - -2003-07-10 13:18 robert - - * From Tree, fixes for text bounding box initialization. - -2003-07-10 13:11 robert - - * From Eric Sokolosky, insertChild(). - -2003-07-10 11:10 robert - - * Updates to the DatabasePager code to include support for - compiling texture - objects and display lists before merging loaded subgraphs with - the main - scene graph. - -2003-07-10 08:05 robert - - * From Bob Kuehne, Fixed typo. - -2003-07-10 07:51 robert - - * Fixed typo. - -2003-07-09 19:48 robert - - * Further updates to the DatabasePager. - -2003-07-09 14:55 robert - - * Improvements to the DatabasePager and PagedLOD class adding - support for - deleting expuired children in the database thread. - -2003-07-09 07:41 robert - - * Added #include to DatabasePager.cpp. - -2003-07-08 14:44 robert - - * Added osg::PagedLOD and osgProducer::DatabasePager class, and - linked up osgProducer::Viewer - to manage the pager. - -2003-07-07 08:01 robert - - * Tweaked osg::Geometry's VBO code so that it should not call - VBO when the extension is not supported. - -2003-07-05 19:49 robert - - * Added missing setUseVertexBufferObject(). - -2003-07-05 19:08 robert - - * Integrated various fixes from users. - -2003-07-02 01:56 don - - * Fixed glBindBufferARB to extensions->glBindBuffer() - -2003-06-30 06:41 robert - - * Added an osg:: infront of the Object() copy constructor call to - AttrData. - -2003-06-29 21:53 robert - - * Added support for chunking the point data clouds into 10,000 - point chunks to - better optimize the VBO and AGP needs. - -2003-06-29 21:41 robert - - * Added support for the ARB_vertex_buffer_object into - osg::Geometry. - -2003-06-28 17:35 don - - * fixed makeinnosetup - -2003-06-27 21:41 don - - * Updates to makeinnosetup to work a bit smoother - -2003-06-27 21:01 don - - * Change some wording in help.sh and added makeinnosetup - -2003-06-27 14:33 robert - - * Added #include - -2003-06-27 14:33 robert - - * Added #include - -2003-06-26 16:21 robert - - * From Tree, updates to osgText and freetype plugin to support are - kerning paramter. - -2003-06-25 22:11 robert - - * Addition of text to default presentation. - -2003-06-25 10:39 robert - - * Fixed from Pavel for the stats in RenderBin.cpp - -2003-06-25 10:30 robert - - * Updated NEWS. - - Added AttrData.h to flt.dsp - - Removed redundent (and duplicate definition of - RenderBinPrototypeList and its - associated static) from the RenderBin header. - -2003-06-25 10:12 robert - - * From Julia Oritz Rojas, support for detail textures. - -2003-06-25 08:58 robert - - * From Ulrich Hertlein, added support for TextureRectangle to .osg - format. - -2003-06-25 08:50 robert - - * Spotted by Norman Vine - fixed typo in intersect visitor. - -2003-06-25 07:59 robert - - * Test of cvs. - -2003-06-25 07:50 robert - - * Added TessellationHints. - -2003-06-24 22:11 robert - - * Added missing file. - -2003-06-24 21:57 robert - - * Additions since the CVS back up was made. - -2003-06-24 15:40 don - - * *** empty log message *** - -2003-06-24 15:39 don - - * Updating 5/27/03 backup with 6/20/03 tarball - -2003-06-24 15:36 don - - * Update of 5/27/03 backup with 6/20/03 tarball - -2003-05-27 17:04 robert - - * Converted dos to unix file endings. - -2003-05-27 11:03 robert - - * Added support for scaling the projection in vertical and - horizontal split stereo - modes. - -2003-05-27 11:02 robert - - * Reverted recent changes so the set(Matrix&) method. - -2003-05-26 15:00 robert - - * Adjustments to the horizontal and vertical split stereo code for - better - handling of aspect ratio. - -2003-05-26 11:02 robert - - * Added missing std:: - -2003-05-26 10:05 robert - - * Added 3dc plugin for reading Arias 3D point clouds. - -2003-05-26 09:29 robert - - * Moved the GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB into its own - #ifndef block - to help with OSX support. - -2003-05-26 09:27 robert - - * Adding support using istream and ostream with the reader writers. - -2003-05-25 21:06 robert - - * Added mention of DYLD_BIND_AT_LAUNCH to OSX docs. - -2003-05-25 16:08 robert - - * From Geoff Michel, conversion from GeoSet to Geometry. - -2003-05-24 14:42 robert - - * Removed export macro. - -2003-05-24 14:26 robert - - * Added missing std:: - -2003-05-23 19:51 robert - - * Added ive reader/writer - from Rune Schmidt Jensen/Michael - Gronager - -2003-05-22 15:29 robert - - * Fixes to the Optimizer's handling of merging of osg::Geometry - -2003-05-22 14:02 robert - - * Removed occurances of SG_EXPORT. - -2003-05-22 11:09 robert - - * Convert Performer plugin across to generate osg::Geometry - directly. - -2003-05-22 08:40 robert - - * Added syntax highlighting for VisualStudio7.1 from Joseph Steel. - -2003-05-21 21:32 robert - - * Improved the handling of scaled matrices in the - Quat::set(Matrix&) method. - -2003-05-21 16:33 robert - - * Removed the _state.reset() call as it was doing OpenGL calls - outside of the - thread with the graphics context. - -2003-05-21 14:34 robert - - * Added GeoSet to osgconv. - -2003-05-21 12:15 robert - - * Removed osg::GeoSet for core osg lib and osgPlugin. - - Commented out OpenDX plugin as its still based on GeoSet. - - Added support for loading and converting GeoSet into the osgconv - example. - -2003-05-20 20:45 robert - - * Added usage of the InputRectangle into setting up of the - EventAdapter. - -2003-05-20 19:48 robert - - * Removed spurious editing file. - -2003-05-20 14:05 robert - - * Added osgtexturerectangle example from Ulrich Hertlein. - -2003-05-20 13:21 robert - - * Fixes to the handling of mouse coords after changes in the - default behavior - of Producer. - -2003-05-20 11:01 robert - - * Added setProjectMatrix(const Matrix&) and - setModelViewMatrix(const Matrix&) methods. - -2003-05-20 08:57 robert - - * Removed redundent write_usage function. - -2003-05-20 08:47 robert - - * Changed the fusion distance update code to use - OsgCameraGroup::setDistanceDistance() - rather than going through the SceneView's by hand. This should - ensure that values - are kept consistent betwen OsgCameraGroup and SceneView's. - -2003-05-20 08:43 robert - - * Fixed manipulator. - -2003-05-20 08:09 robert - - * Removed the now redundent osg::Camera. - -2003-05-19 20:18 robert - - * Removed all KeySwitchCameraManipulator class, replacing it - with the KeySwitchMatrixManipulator - -2003-05-19 15:15 robert - - * Removed remaining dependancies on osg::Camera. - -2003-05-17 13:15 robert - - * Removed redundent const - -2003-05-17 09:03 robert - - * Renamed png pnm - -2003-05-17 08:36 robert - - * Removed superfluous const - -2003-05-14 16:07 don - - * Small operation precedence bug fixed in Text.cpp - -2003-05-09 13:07 robert - - * Updates to the handling of vertex attributes. - -2003-05-08 15:13 robert - - * Add osgUtil as a dependancy of osgText - -2003-05-08 14:02 robert - - * Memory leak fixes from Joseph Steel. - -2003-05-07 15:26 robert - - * Added UserData to NodeVisitor. - -2003-05-07 13:13 robert - - * From Romano José Magacho da Silva, support for vertex attributes - in vertex program. - -2003-05-07 11:13 robert - - * From Eric Sokolowsky, support for mouse scroll wheel in - osgGA/osgProducer. - -2003-05-07 09:35 robert - - * Changed the CullVisitor::popProjection() so that it doesn't - adjust orthorgraphic - projection matrices. - -2003-05-06 18:04 robert - - * Aded extra constructors to BlendFunc and Depth to help set them - up convieniently. - - Added a background quad to osghud. - -2003-05-06 13:13 robert - - * Added support for multibuffering of tex coordinates. - -2003-05-05 14:30 robert - - * Fixed accept(PrimitiveFunctor&) so it uses the transform coords - correctly. - -2003-05-02 18:24 robert - - * Fixed build. - -2003-05-01 21:06 robert - - * Addd support for maximum screen text size into osgText when auto - scale to - screen is active. - - Added osgautotransform demo. - -2003-05-01 19:56 robert - - * Added set/getNearFarRatio() to CullVisitor. - -2003-05-01 08:51 robert - - * Remved exit(). - -2003-04-30 15:40 robert - - * From Eric Sokolowsky - pnm (ppm, pgm, pbm) plugin - -2003-04-30 15:38 robert - - * Cleanup of the API. - -2003-04-30 11:41 robert - - * Reverted the test of setAutoScaleToScreen. - -2003-04-30 11:40 robert - - * Added support for automatic scaling of text to screen coords. - Optimized - the text implementation to provide better speed, especially by - using the - alignement to screen option. - - Deprecated the Text::setFontSize(,) method, which is now being - replaced - by setFontResolution(,) - - Fixed typos in Texture*.cpp. - - Removed old deprecated methods from osg headers. - -2003-04-29 14:24 robert - - * From Ben, promoted floats to doubles to produce better stability - in the - invert method. - -2003-04-29 00:55 don - - * set glDrawBuffer( GL_BACK ) in SceneView::draw() when not drawing - in - stereo mode. Without this, we end up drawing to the wrong buffer - when - toggling stereo off. - -2003-04-28 12:57 robert - - * Updated NEWS. - -2003-04-28 11:37 robert - - * Updates to the introduction.html. - - Added support for new alignment modes in osgtext. - -2003-04-27 19:23 robert - - * Fixed typo of Fturue! - -2003-04-27 10:58 robert - - * From Tree, addition of ; after MACRO_'s to help with Java port. - - From Tree + Robert, Addition of - LEFT_BASE_LINE,RIGHT_BASE_LINE,CENTER_BASE_LINE - Alignment options in Text. - -2003-04-25 19:53 robert - - * Updates to introducution. - -2003-04-25 13:52 robert - - * Updated index.html - -2003-04-25 13:47 robert - - * Added support for gather information on which vertices have been - intersected with. - -2003-04-24 20:41 don - - * A few minor mods to introduction.html - -2003-04-24 19:54 robert - - * Updates to the introduction.html documentaition. - -2003-04-24 13:45 robert - - * Typo fix. - -2003-04-24 13:45 robert - - * cout -> notify. - -2003-04-24 13:44 robert - - * Updates to docs. - -2003-04-23 10:12 robert - - * From Romano, updated LANDEXT.DAT and new highlight.reg file for - syntax - highlighting under Windows. - -2003-04-23 09:59 robert - - * Added check for camera's sharing the same RenderSurface, if so - switches off - multi-threading of cull and draw. - -2003-04-19 09:53 robert - - * Changed the data link to OpenSceneGraph-Data-0.9.3.tar.gz since - we won't - be updating it for the release. - -2003-04-19 09:35 robert - - * Updated ChangeLog for the release. - -2003-04-19 09:09 robert - - * Updated NEWS for the release date. - - Tweaked the text sizes in osglogo. - -2003-04-19 06:57 robert - - * Mannually computes the mipmap levels to ensure correct loading of - dds - images which arn't square. - -2003-04-18 21:44 robert - - * Changed the ordering of the picking intersections. - -2003-04-18 19:46 robert - - * Fixes to BlendFunc - adding missing ZERO handling. - - Improved handling of alpha values in DXT1 compression. - -2003-04-18 15:59 robert - - * Updated NEWS for the release. - - Fixed warnings. - -2003-04-18 10:10 robert - - * Removed various assert() instances since these were causing - crashes. - - From Alberto, changed the use of the DynGeoSet to it was querried - on demand - rather than used as a pointer which was originally being - invalidate before - use. - -2003-04-18 08:17 robert - - * Added a realize callback for setting up the pbuffer so that it - definately - has a valid graphics context. - -2003-04-17 16:22 robert - - * Added doc++ documentation. - -2003-04-17 15:57 robert - - * Added setting of the RenderSurface name to the application name. - -2003-04-17 15:27 robert - - * Moved #include from Viewer to OsgCameraGroup. - -2003-04-17 13:57 robert - - * Added an alternate compile path for Windows in the toggle of - fullscreen - for the first time. - -2003-04-17 13:36 robert - - * Changed the maxx initializiation to use - (*points)[last_valid_index].x(); - -2003-04-17 11:14 robert - - * Moved the managing of frame stamp from osgProducer::Viewer into - osgProducer::OsgCamaraGroup. - - Added setting of trackball in osgcameragroup so its starts in the - correct place for different models. - -2003-04-17 06:52 robert - - * Added OSGUTIL_EXPORT to front of DelaunayTriangulator class. - -2003-04-16 23:09 don - - * InputRectangle converted to RenderSurface->get()... - -2003-04-16 21:16 don - - * Changed Rect('s to Rectangle('s - -2003-04-16 20:02 robert - - * Added support for set/getColor to ShapeDrawable. - -2003-04-16 19:21 robert - - * From Marco Jez, added DelaunayTriangulator class. - -2003-04-16 19:20 robert - - * Changed near and far instances into near_point, far_point to - avoid - problems with Win32 build. - -2003-04-16 15:14 robert - - * Moved the PickVisitor from osgUtil into the implementation of - osgProducer::Viewer. Removed methods in PickVisitor which wern't - being - used by osgProducer::Viewer. This has been done because the - PickVisitor - interface and implementation weren't ready for general usage. - -2003-04-16 14:22 robert - - * Renamed computeNearFar to computeNearFarPoints. - -2003-04-16 14:17 robert - - * Added convinence methods to osgProducer::Viewer: - - /** compute, from normalized mouse coords, for sepecified Camera, - the pixel coords relative to that Camera's RenderSurface.*/ - bool computePixelCoords(float x,float y,unsigned int - cameraNum,float& pixel_x,float& pixel_y); - - /** compute, from normalized mouse coords, for sepecified Camera, - the near and far points in worlds coords.*/ - bool computeNearFar(float x,float y,unsigned int - cameraNum,osg::Vec3& near, osg::Vec3& far); - - /** compute, from normalized mouse coords, for sepecified Camera, - intersections with the scene.*/ - bool computeIntersections(float x,float y,unsigned int - cameraNum,osgUtil::IntersectVisitor::HitList& hits); - - /** compute, from normalized mouse coords, for all Cameras, - intersections with the scene.*/ - bool computeIntersections(float x,float - y,osgUtil::IntersectVisitor::HitList& hits); - -2003-04-16 12:46 robert - - * Add a check for the result to writeNodeFile(). - -2003-04-16 09:22 robert - - * Changed OsgSceneHandler so it re-uses osgUtil::SceneView project - and modelview - matrices. - - Changed the osgpick demo so that it uses the OsgSceneHandler's - projection and - modelview matrices where possible. - -2003-04-15 20:54 robert - - * Added support for multiple cameras into osgpick. - -2003-04-15 14:29 robert - - * Changed the linking to Producer for debug builds so that - producerd.lib is linked - against. - -2003-04-15 09:33 robert - - * From Brede, Fixed the ordering of the znear and zfar. - -2003-04-15 09:33 robert - - * From Romano, extra methods/variables for controlling tesselation. - -2003-04-14 19:39 robert - - * Added -I/usr/X11R6/include to osgProducer and all the examples - GNUMakefiles. - - From Bob, mods to GNUMakefile and Make/makedefs for the extra - includes for - freetype. - -2003-04-14 18:53 robert - - * Added using namespace Producer to get round namespace issue with - CameraGroup - call. - -2003-04-14 18:49 robert - - * Updated osgstereoimage and osgimpostor to handle the new default - orientation of normalized mouse coords. - -2003-04-14 15:44 robert - - * Updates to the osgpick code. - - Updates to osgGA::CameraManipulors. - -2003-04-14 15:03 robert - - * Tweak to the debug output. - -2003-04-14 15:02 robert - - * Added extra debugging details to help track down IRIX64 & - Solaris64 problems. - -2003-04-14 13:23 robert - - * Improved the handling of Producer's no dimensional mouse coords. - -2003-04-14 13:22 robert - - * Addd new computeLocalToWorld(NodePath) etc methods. - -2003-04-14 08:16 robert - - * Changed push back to a += to try and fix compile on hopeless OSX - g++ version. - -2003-04-13 14:12 robert - - * Updated dependancies with link to Producer web page. - -2003-04-13 13:26 robert - - * Added Geoff Michel's osgpick and osgUtil::PickVisitor code. - -2003-04-13 12:02 robert - - * From Michael Gronager, changed apply(Sequence) to cast to an - Group rather than - a Switch which was a bug. - -2003-04-12 10:24 robert - - * Removed references to glut32.lib. - -2003-04-11 18:57 robert - - * Convertex a std::copy() into a for loop to get round compile - problems under - OSX. - -2003-04-11 15:34 robert - - * Clean of doc++ directories. - -2003-04-11 15:33 robert - - * Changed the uint arrays to GLuint to keep OSX build compiling. - -2003-04-11 10:37 robert - - * Fixes to documentions to refelect the move from osgGLUT to - osgProducer. - -2003-04-11 10:04 robert - - * Updated the version numbers to 0.9.4 - -2003-04-11 10:00 robert - - * Added afterescher back into the example list in runexamples.bat. - - Added osgSim and osgText into the geo/GNUmakefile LIBS. - -2003-04-11 09:54 robert - - * From Romano, added support in osg::VertexProgram for deleting the - flushed - vertex programs. - -2003-04-11 07:18 robert - - * Added guards around Geo plugin to prevent it from being built - under - OSX, Solaris and IRIX as it breaks the OSX build and doesn't - handle - Endian issues. - -2003-04-11 06:50 robert - - * Added std:: infront of cout instances. - -2003-04-10 19:32 robert - - * Added tests for presense of extensions to osgcubemap, - osgvertexproram and - osgmultitexture examples. - - Added osg::VertexProgram::Extensions class to better handle - multiple graphics - context vertex program extensions. - -2003-04-10 15:23 robert - - * Moved the osgcameragroup example across to being just based on - osgProducer::OsgCameraGroup with no usage of osgGA manipulators. - - Removed redundent files from osgProducer. - -2003-04-10 13:41 robert - - * Added support for modifying the osg::Texture*:Extensions - stuctures. - - Added an example modifying osg::Texture::Extensions to osgtext. - Optionally - compiled out by default. - -2003-04-10 12:55 robert - - * Added usage of Producer::CameraGroup::isValidForRendering() to - the Viewer::done() - implemention so apps automatically close if one of the windows is - killed. - -2003-04-10 12:11 robert - - * Added support for multiple graphics context to osg::VertexProgram - and osg::Impostor - -2003-04-10 10:21 robert - - * Changed the '-c' commandline option to '-m' to avoid overlapp - with -c - used for config files. - -2003-04-10 10:16 robert - - * Fix to the CameraGroup::setViewByMarix usage. - -2003-04-10 10:02 robert - - * Fixed Viewer and OsgCameraGroup classes so that work properly - with the - Prodicer::setViewByMatrix calls. - -2003-04-10 08:25 robert - - * From Brede, added - if (cv->getComputeNearFarMode() != - osgUtil::CullVisitor::DO_NOT_COMPUTE_NEAR_FAR) - to protect - cv->updateCalculatedNearFar(matrix,_bbox); - call to avoid inapporpriate near/far warnings. - -2003-04-09 21:53 robert - - * Fixes to the Impostor implementation. - -2003-04-09 13:29 robert - - * From Romano, ' ' now sets pause to false. - -2003-04-09 11:45 robert - - * Added using namespace std; - -2003-04-09 11:44 robert - - * Added desciptions to all the demos. - -2003-04-09 10:51 robert - - * Added environmental variable usage to OsgCameraGroup. - -2003-04-09 10:30 robert - - * Added support for osg::Node::get/setNodeMask() into .osg format. - -2003-04-09 10:26 robert - - * Made the AnimationPathManipulator::home() reset the timming of - the - animation path so that the timing always starts at the begining - of the loop. - -2003-04-09 10:13 robert - - * Added a setting of OsgCameraGroup::_applicateUsage to - ApplicationUsage::instance() by default. - -2003-04-09 10:11 robert - - * Fixed warning. - -2003-04-09 10:10 robert - - * Added fallback in RenderBin::createRenderBin(const std::string& - binName) which - return a new RenderBin when the no prototype is found with - className of binName. - -2003-04-09 08:20 robert - - * Fixed type of osg::ApplicationUsage::set/getApplictionName(), - updated - demos accordingly. - - Made OsgCameraGroup set the _applicationUsage to the - osg::ApplicationUsage::instance() when no ArgumentParser is - supplied. - - Added export to osgProducer::ViewerEventAdapter. - -2003-04-08 20:39 robert - - * Added support for key modifiers to osgProducer::EventAdapter. - -2003-04-08 20:06 robert - - * From Romano José Magacho da Silva, added 'p' toggle to animation - path - manipulator to allow animations to be paused and resumed. - - Added frame rate stats which are output on each repetition of the - path. - -2003-04-08 20:05 robert - - * Fixed warning. - -2003-04-08 15:47 robert - - * Added support for Viewer::setViewer::setView so that the internal - old - style osg::Camera and camera manipulators are updated correctly. - -2003-04-08 15:18 robert - - * Changed the Viewer::realize() calls across to not using the - threading paramter - leaving it up to the Viewer to specify the mode (which by default - is MultiThreaded). - Added a check for the presence of osgParticle systems so that - threading is - disabled in this case. - -2003-04-08 13:53 robert - - * Set the static mouse position values in osgProducer::EventAdater - to the same - value as warp pointer to ensure that the now roll is encountered - on warping - of the pointer. - -2003-04-08 13:10 robert - - * Changed the KeySwichCameraManipulator::setNode() so it set all - camera's - attached to it. - -2003-04-08 10:59 robert - - * Convert dsp's to use dos endings. - -2003-04-08 10:17 robert - - * Cleaned up some warnings and added : - - LINKARGS += -Wl,multiply_defined -Wl,suppress - - To GNUmakefile for the OSX build. - -2003-04-08 09:48 robert - - * Removed the output of command line usage when no arguments are - passed since - this example doens't need paramters. - -2003-04-08 09:44 robert - - * Added Producer to the dependcies in osgwindows. - -2003-04-08 09:42 robert - - * Added an osg::absolute template function into osg/Math. - -2003-04-07 19:19 robert - - * Added support for snaping screen images from osgProducer::Viewer - apps. - -2003-04-07 15:11 robert - - * Fixes to dds plugin from Rune. - -2003-04-07 15:07 robert - - * Set the hardware mip map generation to false in TextureCubeMap - since this - extension is not implemented when texture cube mapping. - -2003-04-07 14:57 robert - - * Set the fusion distance ratio to 1/300.0f to compensate for the - coords - of the hang gliding database being so small, this allow the scene - to be - viewed in stereo and still look a convincing size. - -2003-04-07 13:20 robert - - * From Ulrich Hertlien, new osg::TextureRectangle class. - -2003-04-07 12:51 robert - - * Added support for unref image data after apply in the - osg::Texture* - classes. Only unref's after all graphics context have been - applied. - -2003-04-07 10:20 robert - - * Added osgwindows example which sets up and Producer::CameraConfig - up - and uses that to create multiple windows. - -2003-04-07 09:46 robert - - * Moved the modified tag's from osg::Texture into the - osg::Texture1D,2D,3D and - CubeMap classes. - -2003-04-06 21:46 robert - - * Added if (!_kbmcb) to handle the case where the keyboard mouse - callback - is pre set. - -2003-04-06 21:32 robert - - * Added the usage report to the examples for when no arguments are - passed - to the examples. - -2003-04-06 18:18 robert - - * Fixed for new implemention osg OsgCameraGroup::setView(). - -2003-04-06 13:29 robert - - * Fixed setView to work with new OsgCameraGroup::setView - -2003-04-06 10:07 robert - - * Fixed handling of pixel and internal images formats. - -2003-04-05 22:24 robert - - * Added support for recording animation paths in the - osgProducer::Viewer. - -2003-04-05 20:02 robert - - * Fixed manipulator to work correctly with new - osgGA::GUIEventAdapter - code. - -2003-04-05 19:54 robert - - * Added Images/ infront of dog_left and dog_right images. - -2003-04-05 19:40 robert - - * Added a couple ability of offset the images relative to each - other - horizontally and vertically to allow better comenstation for - mismatched - imagery. - -2003-04-05 07:19 robert - - * Improvements to the handling of warp pointer call on start up. - -2003-04-05 07:11 robert - - * Fixed the drive manipulator so its height is now 1.5m and the - buffer size if - 2.0m. - -2003-04-04 19:10 robert - - * Implemented support for float x and y mouse positions, and - normalization of - mouse coords in osgGA::GUIEventAdapter, and ported osgGA camera - manaipulators - to use the new normalized values. - - Moved osgProducer across to tracking the window dimensions and - ensure that the - internals values in osgProducer::EventAdapter are kept - consistent. Moved - the warp pointer in Viewer across to using - KeyboardMouse::positionPointer(). - -2003-04-04 15:22 robert - - * Removal of trailing \ from end of couple lines in cygwin path. - -2003-04-04 11:06 robert - - * Improved support for toggle between full screen and non - fullscreen in - the osgProducer::Viewer. - -2003-04-04 08:39 robert - - * Added code to set the colour of each geometry to white to prevent - colours from the text being inherited. - -2003-04-03 21:00 robert - - * Suported for mip mapping added by Rune. - -2003-04-03 14:12 robert - - * Fixes to the multipipe initialization. - -2003-04-03 08:14 don - - * Changes to fix compiles on Mac OS X - -2003-04-03 07:37 robert - - * Fixes for Win32 - removed second copy constructor from protected - section - in ReaderWriterLOGO.cpp, and add osgText as a dependancy to - osgtexture3D example app. - -2003-04-03 07:31 robert - - * Added osgText dependancy to osgtexture2D demo. - -2003-04-02 20:43 robert - - * Added GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB etc to the Texture - header to - allow compilation across platforms. - -2003-04-02 19:41 robert - - * Fixes to the dds plugin. - -2003-04-02 18:26 robert - - * From Rune Schmidt Jensen - new dds loader. - -2003-04-02 14:54 robert - - * Removed OSX override override of PLUGIN_DIRS. - -2003-04-02 11:57 robert - - * Changed colour of anisotropic text in osgtexture2D example. - - Removed the save test.osg call in osgkeyboard. - -2003-04-02 10:50 robert - - * Added support for min pixel size, max pixel size and max visable - distance to - osgSim::LightPointNode, the max pixel size from was originally in - osg::LightPoint. - - Added additional get/set methods to osg::LightPointNode. - - Increased the compute pixel size by a ratio 1.41 (sqrtf(2)) to - correlate the - computed size with the actual size seen on screen. - -2003-04-02 08:22 robert - - * Added prefix's to ApplicationUsageProxy's and made them static to - help - prevent problems under OSX. - -2003-04-01 20:52 robert - - * Fixed std::string usage so that std::string::size_type is used - where - appropriate. - -2003-04-01 20:32 robert - - * Fixes to osg::Texture's handling of anisotropy updating and - hardware generate mip mapping. - - Added switching off generate mip map from osgText::Font.cpp. - - Changed savedmodel.osg to saved_model.osg in ViewerEventHandler. - -2003-04-01 18:50 robert - - * Changed unsigned int to std::string::size_type. - -2003-04-01 18:42 robert - - * Added convinience constructor. - -2003-04-01 18:42 robert - - * Added futher debugging messages to track down the x86-64 crash. - -2003-04-01 18:35 robert - - * Used notify for reporting the keypressing to the commandline. - -2003-04-01 16:00 robert - - * New osgtexture2D example code. - -2003-04-01 15:13 robert - - * Moved the logo plugins from the osgPlugins/logos directory to - osgPlugins/logo - to make it consistent with the naming of the plugin. - -2003-04-01 15:08 robert - - * Bug spotted and fix by Sébastien Kuntz. Changed < to <= on - Geometry.cpp, in removePrimitiveSet(), - if( i+numElementsToRemove<_primitives.size() ) - -2003-04-01 13:16 robert - - * From Macro Jez, fixes to logo plugin under VS. - -2003-04-01 12:00 robert - - * Updated NEWS. - - Removed writing of test.osg from osgstereoimage. - -2003-04-01 11:55 robert - - * Added timer code to the init in OsgCameraGroup. - - Made the stats view 20 frames rather than 6. - -2003-04-01 11:53 robert - - * Cleaned up the reset of the vertex arrays in osg::State. - -2003-04-01 11:49 robert - - * Improved handling of subloading. - - Removed the rescalling of images in osg::Image during texture - apply, moving - the rescale so it is locally calculated. This solves an - outstanding threading - problem which occured by multiple draw threads all tried to - rescale the same - image at one time. - - Made osg::Image ptr in osg::Texture2D non mutable as it is no - longer modified - during apply. - -2003-04-01 11:38 robert - - * From Marco, fix to the path of the osgPlugin logo. - -2003-04-01 08:47 robert - - * Added extra debugging messages into the - ArgumentParser::reportRemainingOptionsAsUnrecognized(ErrorSeverity - severity) - method to help track down a crash under x86-64. - -2003-03-31 21:41 robert - - * Implemented load and subload methods in osg::Texture/Texture2D. - -2003-03-31 12:48 robert - - * Made the default transparent bin be bin number 10 rather than 1 - to allow - more bins between it and the default opaque bin of 0. - - Added a check for compressed image format in osg::Texture. - -2003-03-31 11:25 robert - - * Adding reseting of the array pointers to the dirty methods. - -2003-03-30 11:10 robert - - * Removed closeLibrary reference for osgtext as this was causing - problems with the - osgtext help. - -2003-03-29 22:07 robert - - * Change the className() functions from non const to const to be - consistent with the - osg::Object definition. - -2003-03-28 10:04 robert - - * Added Escape to the help list. - Changed the help key from '?' to 'h' - -2003-03-27 18:56 robert - - * Moved demo references acros to being example references. - -2003-03-27 18:42 don - - * Fixed installation of demo source from src/Demos to examples - -2003-03-27 17:20 robert - - * Changed private to protected. - -2003-03-27 17:18 robert - - * Fixed typo. - -2003-03-27 17:16 robert - - * Added -losgGA to keep things compiling across platforms. - -2003-03-27 14:39 robert - - * Improved stats. - -2003-03-27 13:51 robert - - * Added -osgText to GNUMakefiles. - -2003-03-27 10:58 robert - - * Changed the background pixel colour to white, but kept the alpha - value zero. - This has been done to improve the quality of the mip mapping of - text. - -2003-03-27 10:54 robert - - * Updates to utilise the new Producer keyboard bindings. - -2003-03-26 20:11 robert - - * Added osgText dependency to osgProducer lib. - -2003-03-26 16:48 robert - - * Improved the stats reporting. - -2003-03-26 12:50 robert - - * Added help support for display help on screen to - osgProducer::Viewer. - -2003-03-25 15:48 robert - - * Tweak the tex coords of fonts slightly to avoid cut off of text. - -2003-03-25 15:45 robert - - * Fixed axis alignment bug in text, which occured what text was - placed on the XZ - or YZ planes. - -2003-03-25 15:13 robert - - * Added a ViewerEventHandler which manages full screen, file write, - and help - output to osgProducer. Removed FullSreenEventHandler as it is now - superseeded - by ViewerEventHandler. - -2003-03-25 13:57 robert - - * Added osgkeyboard to the ./runexamples.bat. - - Made osgstereoimage exit when non files have been loaded. - - Added non const getText() method. - -2003-03-25 13:01 robert - - * Spotted by Brede - missing ! - -2003-03-25 12:44 robert - - * Added text input field to the osgkeyboard demo. - -2003-03-25 12:42 robert - - * Added back into the win32 build of KeyboardMouseCallback the - check against VK_ESCAPE. - -2003-03-25 11:28 robert - - * Added futher keys to complete the keyboard. - -2003-03-25 10:05 robert - - * Added a viewer.sync to the end of all the demos. - - Removed the Win32 remapping of keycodes from the - osgProducer::EventAdapter. - -2003-03-24 23:12 robert - - * Added osgText dependency to osgkeyboard demo. - -2003-03-24 23:02 don - - * changes to makedefs to support AMD 64 bit - -2003-03-24 21:17 robert - - * Added new osgkeyboad example. - -2003-03-24 15:21 robert - - * Fixed typo. - -2003-03-24 15:13 robert - - * Added support for remapping of Win32 key symbols to - osgGA::GUIEventAdpater::KeySymbols. - -2003-03-24 13:43 robert - - * Added osgGA::GUIEventAdapter::KeySymbol enumate list, which is a - remapping - of the X settings. - - Added a pass through of X11 sybmbols from Producer to - osgGA::GUIEventAdapter::KeySymbol - in the osgProducer::EventAdapter. - -2003-03-24 09:37 robert - - * Redid logo dsp. - -2003-03-24 08:42 robert - - * Made the osgGA::GUIEventHandler sublassed from osg::Object as a - virtual - inheritence to allow handler to also be used as node callbacks. - - Fix to UpdateVisitor to make the visitation of Drawable more - consistent - with the way that nodes are traversed. - -2003-03-23 20:39 robert - - * Added Producer.lib to osgstereoimage demo. - -2003-03-23 20:36 robert - - * Converted to windows endings. - -2003-03-22 20:35 robert - - * Revamp of the osgstereoimage demo to provide a presentation tool - for up comming - "In Your Face" shows held at the Glasgow Science Center. - -2003-03-22 09:48 robert - - * Added a traverseGeode method to the UpdateVisitor which contains - the - traversal code for both the nodes traversal and the drawables the - geode - contains. - -2003-03-21 22:32 robert - - * Added using namespace osg and removed osg:: from CopyOp's as this - was - causing problems with VisualStudio's scoping bug. - -2003-03-21 08:30 robert - - * Added Prodcuer.lib and PThread*.lib to the osgcluster example. - -2003-03-20 22:13 robert - - * Duplicated the handling of 64 bit linux builds for ia64 and - x86_64 and placed - them under the seperate paths for Intel vs GNU compilers. - -2003-03-20 21:26 robert - - * Added -m64 -DARCH64 option to Linux 64 bit build. - -2003-03-20 20:38 robert - - * Add osg:: infront of CopyOp instances. - -2003-03-20 17:24 robert - - * Added overide of the SceneHandler::clear() making it a no-op. - Will revisit - this implemention later. - -2003-03-20 17:00 robert - - * Updates to osgProducer and osgstereoimage for stereo support. - - Changed the default distance from the scene of the home position - of the - trackball and flight manipulators. - -2003-03-20 14:07 robert - - * Added support for setting up VisualChoose with destination alpha, - stencil and - quad buffers attributes from DisplaySettings values. - -2003-03-20 08:58 robert - - * Changed the shadow texture implemention to use CLAMP_TO_BORDER - for the - WRAP_S and _T modes. Also set the border colour to 1,1,1,1 to - ensure - problem blending. - -2003-03-20 08:46 don - - * Somehow the logo plugin got left out of the windows build. Adding - it back in. (Needed for BMV) - -2003-03-20 08:43 robert - - * Added missing - setInterleavedArray( InterleaveArrayType format, float *ia, - GLuint *iai ) - method. - -2003-03-19 21:46 robert - - * Added Endian test header to the core osg, and add use of the new - getCpuByteOrder test in LightPointDrawable. - -2003-03-19 21:14 robert - - * Added getCameraManipulator(unsigned int) method. - -2003-03-19 15:57 robert - - * Added sync at the end of the main loop to prevent seg fault on - exit. - -2003-03-19 15:49 robert - - * First pass fix at implementing requestWarpPointer. - -2003-03-19 15:37 don - - * Adjusted date format for versionrules - -2003-03-19 14:27 robert - - * Addd a full screen toggle event handler to osgProducer & its - viewer base - class. - -2003-03-19 12:06 robert - - * Added a realize callback to the OsgCameraGroup. - - Move osgtexture3D across to using the new realize callback for - creating its textures. - -2003-03-19 10:28 robert - - * Fixed crash in osgoccluder which was calling setUpViewer and the - osgProducer/Viewer was assuming that the update was always set. - -2003-03-19 02:31 don - - * Fixed a globalState setting order in OsgCameraGroup::realize() - -2003-03-18 20:27 robert - - * Chaned the OsgCameraGroup so that its scene handler list used - ref_ptr<> for - robustly managing memory. - -2003-03-18 20:10 robert - - * Added a clear of allocated Records and the cache's in - flt::Registry to - prevent memory leaks and unneccesary references to model models - remaining - beyond the scope of the loader. - -2003-03-18 20:02 don - - * Set VERSION_RELEASE back to 3, replaced guards in - include/osg/Verson to - OSG_VERSION_ with trailing underscore - -2003-03-18 19:42 robert - - * From Tree, added SG_EXPORT to the inner classes for Java binding - work. - -2003-03-18 18:40 don - - * Added support for versioning to the build system - -2003-03-18 09:29 robert - - * From Tree, ushort renamed GLushort - -2003-03-17 22:53 robert - - * Implemented a object cache in osgDB::Registry. - -2003-03-17 20:08 robert - - * Added inc and links for local Producer. - -2003-03-17 09:51 robert - - * break from osgcluster main loop added for when the master send a - killed - messsage to slaves. - -2003-03-16 22:00 robert - - * Fixes for new beta release of VS.NET - -2003-03-16 21:58 robert - - * Fixes to osgcluster demo as new Producer based example. - - Added extra pragrma remove a warning about float to int cast - under VS.NET. - -2003-03-15 20:41 robert - - * Removed the GNUMakefile for the old Demos directory. - -2003-03-15 20:20 robert - - * Removed osgGLUT and Demos/*. - - Integrated Marco's updated examples/*/*.dsp's. - -2003-03-15 16:41 robert - - * Added osgpbuffer example source. - -2003-03-15 09:20 robert - - * Added VisualStudio .dsp's for the new osgProducer based examples. - -2003-03-15 08:01 don - - * Added -losgGA to all GNUmakefiles in examples. - Added one std:: in front of an endl in osgunittests.cpp - -2003-03-14 21:01 robert - - * Moved code across to use the new ArgumentParser. - -2003-03-14 20:35 robert - - * Ported osgGLUT based src/Demos across to being osgProducer based, - and placed - them in the new examples/ directory. - -2003-03-14 10:49 robert - - * Ported all glut based demos across to using the new - osg::ArgumentParser. - -2003-03-14 09:28 robert - - * The wrong file name was being used readFontFile. - -2003-03-14 02:29 don - - * Removed the building of the osgTXP library so the build system - builds only - the plugin. Building both the plugin and the library causes a - race condition - during parallel makes. - -2003-03-13 14:29 robert - - * Reverted Don's changed of sqrtf to sqrt. Don't understand why the - change was - required, suggest a problem elsewhere which should be fixed, - *not* by modification - of Vec2. - -2003-03-13 09:22 robert - - * From Gabor Dorka, Added d to /MDd option for debug build of - osgText. - -2003-03-13 06:22 don - - * Fixes for Mac OS X - -2003-03-13 02:53 don - - * Various changes to the BUILD system: - - o Object files now go in subdirectories named $(OS)$(ARCH).Opt - and - $(OS)$(ARCH).Debug for OS's that support both architectures. - eg. Linux32.Opt and Linux32.Debug - - o Libraries links are now placed in lib/$(OS)$(ARCH) - eg. lib/Linux32/ - - o Binaries are now placed in bin/$(OS)$(ARCH) - eg. bin/Linux32 - - o 'make install' and 'make instlinks' now place files/links in - /usr/local/{include,lib,share/OpenSceneGraph} by default on - most systems (Solaris still goes in /opt/OpenSceneGraph). - Rather than having the somwehat confusing INST_SYS_PREFIX and - INST_SHARE_PREFX, you can override these with just - INST_LOCATION - For example, - make INST_LOCATION=/usr - will place files at /usr/include, /usr/lib, - /usr/share/OpenSceneGraph. - -2003-03-12 21:02 robert - - * Changed the GNUMakefile for the osgproducer demo to use INC += - instead of CXXFLAGS. - -2003-03-12 20:10 don - - * Removed osgPlugins from lib, which is now built on the fly - -2003-03-12 15:36 robert - - * Fix from Gabor for proper casting of char's to unsigned ints be - setting up the - osgText::String. - -2003-03-12 14:01 robert - - * Moved the platform specific directory defs out of makedefs into - makediredefs, - and have standardised onto single instances where possible. - -2003-03-12 13:54 robert - - * Added 'w' toggle to StateSetManipulator to toggle between filled, - line and - point polygon drawing modes. - -2003-03-12 12:17 robert - - * Changed std::min to osg::minimum. - -2003-03-12 11:50 robert - - * Added -losgText - -2003-03-12 11:36 robert - - * Added missing osghud Makefile. - -2003-03-12 10:39 don - - * 1) Replaced all Makefile* with GNUmakefile*. - - 2) Changed Makedepend system to make individual dependency files, - which - should save time rebuilding dependencies by limiting the - regeneration - of dependency file for only modified source files. - -2003-03-12 09:45 robert - - * Added (unsigned int) cast to the call to osg::minimum. - -2003-03-11 21:53 robert - - * Added setBound() method to Drawable. - -2003-03-11 21:42 robert - - * Added missing osg:: to StateAttribute. - -2003-03-11 15:25 robert - - * Added support for AbortRendering flag pointer in osg::State which - is used - by osgUtil::RenderLeaf to test if any abort state has been set, - if so it - doesn't do any further drawing. - - The osgProducer::Viewer has been set up to set the osg::State's - it manages - with their AbortRendering flag pointers set to the - osgProducer::Viewer::_done - memeber varaible. Now when escape is pressed the rendering is - aborted early. - -2003-03-11 13:30 robert - - * Bug fixes to osgText to handle the osgUtil::Optimizer being used - on a scene - graph containing text. - - Fixed warning in MD2 plugin. - -2003-03-11 13:24 robert - - * Added missing osgDB:: to writeArray() usage. - -2003-03-10 16:40 robert - - * Improvements to the Text .osg support. - -2003-03-10 12:06 robert - - * Addded new osgProducer based osgreflect demo. - -2003-03-10 11:59 robert - - * Moved the RenderLeaf implementatation across to always applying - matrices - before state, which fixes problem that can occur with state that - needs - the current model view or projection matrices. - - Changes osgreflect so that it uses ClipNode rather than clip - plane, thereby - fixing the problems which occur when the above is applied. - - Create a new osgProducer version of the original GLUT based - version. - -2003-03-10 11:57 robert - - * Marged new getLibaryMethod added by Daniel. - -2003-03-10 09:15 robert - - * Moved the remain inline osg::Font methods into Font.cpp to avoid - problems with the - impossibly stupid visual studio compilers. - -2003-03-08 21:39 robert - - * Fixed examples/osghud and osgtext Makefile's to include osgText. - -2003-03-08 09:51 robert - - * Removed the OSGTEXT_EXPORT symbol from FontImplementation to - avoid problems under - VisualStudio. - -2003-03-07 21:05 robert - - * Fixes for IRIX build. - -2003-03-07 09:04 robert - - * From Daniel Sjolie, support for light source. - -2003-03-07 08:52 robert - - * Fix to comment record and longID length using both inbedded - null's and - rec length to determine the length of a string. - -2003-03-06 21:35 robert - - * Added maximum width and maximum height limits to the - osgText::Text which - automatically wraps text which goes beyond these limits. - -2003-03-06 19:41 robert - - * Reverted the changes to ref_ptr<> for implicit cast to pointer. - -2003-03-06 17:11 robert - - * Changed the osgText::Font implementation so it used a facade us - abstract away - the actual implemention. This has been done so that when a - freetype font is - created the implementation can unloaded when the freetype plugin - is unloaded - without breaking the main font. - - Also add image margin around founds to prevent any image - boundaries appearing. - -2003-03-06 13:45 robert - - * Reverted the ref_ptr<> implementation to prior implicit cast - operator via - commenting out// #define AUTOMATIC_CAST_TO_POINTER. - -2003-03-06 11:18 robert - - * Renamed Text::TextString String. - -2003-03-06 10:38 robert - - * Fixed the setInterleavedArray call. - -2003-03-06 10:38 robert - - * Add #ifndef's around the comparison operator's against const T* - now that the - implicit cast operator has been added. - -2003-03-05 21:05 robert - - * Added osgText::String implementation to better handle decoding of - encoded text. - -2003-03-05 21:04 robert - - * Added implicit cast to T* to ref_ptr<>. - -2003-03-05 21:02 robert - - * Made the State::setInterleavedArrays method use a const GLvoid*. - -2003-03-05 20:18 robert - - * Fix for non standard compiliant Forte compilers. - -2003-03-05 19:31 don - - * added directives for intel compilers - -2003-03-05 14:02 robert - - * Fixes for Win32 build. - -2003-03-05 12:28 robert - - * Updates to the GLUT and Producer text demo. - - Fix to text to better handle unsetting of vertex arrays. - -2003-03-05 09:56 robert - - * Added md2 plugin from Vladimir Vukicevic. - -2003-03-05 09:08 robert - - * Updates to Text for Sun Forte compilers. - -2003-03-04 19:52 robert - - * Added std:: infront of cout references. - -2003-03-04 17:14 robert - - * Updates to the new osgtext example and fix to the friend usage. - -2003-03-04 15:47 robert - - * Added support for using the generate mip map extension within - osgText. - -2003-03-04 14:25 robert - - * Added osgProducer project to larget list. - -2003-03-04 14:17 robert - - * Added osgProducer project file. - -2003-03-04 12:34 robert - - * Further improvements to osgText and the freetype plugin, handling - different - font sizes better and plugin removal safely. - -2003-03-04 09:08 robert - - * Renamed "libunfreetype.lib" to "freetype.lib" - -2003-03-03 22:47 robert - - * Added examples/osghud - a osgProducer port of the old osghud - demo. - -2003-03-03 22:18 robert - - * Updates osghud demo. - - Compile fixes for VisualStudio6.0 because its a hideous pile of - junk and can't - compile its way out of a paper bag. - -2003-03-03 20:28 robert - - * Fix for warning under Windows. - -2003-03-03 20:24 robert - - * Typo fix. - -2003-03-03 20:12 robert - - * Compile fixes to osgText. - -2003-03-03 16:42 robert - - * Added search path to osgText::readFontFile. - -2003-03-03 16:12 robert - - * Changed the ownership of Glyph's so that GlyphTexture's own a - reference to - Glyph's as well as Font's so keeping the Font valid even after - the Font - itself has been desctructed. - -2003-03-03 15:36 robert - - * Fixes to osgText for default parameter. - -2003-03-03 11:04 robert - - * Fixes for the new osg::Image::setImage() parameter, from Ulrich - Hertlein. - -2003-03-03 11:02 robert - - * Updates to the quicktime plugin from Bob Kuehne. - -2003-03-03 10:20 robert - - * Added project file for new freetype plugin. - -2003-03-03 09:37 robert - - * Added support for computing bounds of text. - -2003-03-02 21:05 robert - - * First cut of new osgText implementation. - -2003-02-27 08:43 robert - - * Changed incorrect instance "TRUE" to "FALSE" to match DepthMask - state. - -2003-02-27 08:38 robert - - * Changed the title of the ReaderWriter, removing the "Default" - word as its no - longer appropriate. - -2003-02-25 21:00 robert - - * Added using namespace Producer to get round scoping issues - associated with - trying to support VS6 and the rest of the compiler world. - -2003-02-25 12:28 robert - - * Renamed osgProducer::CameraGroup and SceneHandler to - OsgCameraGroup and - OsgSceneHandler to avoid the namespace bug under VS6. - - Removed the osgproducer demo (its now been replaced by - examples/osgviewer.) - -2003-02-25 11:56 robert - - * Added osg::Image::AllocationMode enum and associated set/get - methods. - osg::Image::setImage has also been modified to require the - AllocationMode - mode to be passed to it so that it knows how to delete the data - once the - image goes out of scope. - - Port the image plugins across to specify the new AllocationMode, - and converted - them across to using new/delete in place of malloc/free. - -2003-02-24 12:02 robert - - * Implemented an osg::minimum and osg::maximum template functions - to replace - the std::min/max functions previously used in parts of the osg, - since the - std::min/max methods do not seem implemented under IRIX. - -2003-02-23 17:01 robert - - * Ported osgstereoimage to use osgProducer, added it to the - examples directory. - - Added a osgProducer::CameraGroup::getSceneHanderList() methods. - -2003-02-23 15:50 robert - - * Fixes to try and keep OSX and Win32 compiling with the new usage - of std::max. - -2003-02-21 20:22 robert - - * Added #include to keep OSX build compiling. - - Reverted the mymax implementation to std::max, hopefully this - should be ok now - that we have standardised on non native STL under VisualStudio. - -2003-02-21 14:05 robert - - * Added examples directory, a place for all new OSG demo code. - - Added osgcameragroup, osgviewer, osgtext, osgconv to the new - examples directory. - -2003-02-20 21:58 robert - - * Added std:: infront of cout. - -2003-02-20 21:52 robert - - * Changed the license details across to OSGPL instead of GPL. - -2003-02-19 21:37 robert - - * Added missing std:: infront of string usage. - -2003-02-19 11:32 robert - - * Added check into the application usage list of command line args - for - unrecognized options to prevent unprocessed, but valid options - being - classed as unrecognized. - -2003-02-19 10:43 robert - - * Added keyboard mouse binding usage to the osg::ApplicationUsage - and - osgGA::GUIEventHandler and its subclasses. - -2003-02-18 21:58 robert - - * Completed first pass at providing commandline option usage via - the new - osg::ArgumentPareser and osg::ApplicationUsage classes. The - osgproducer - demo has been implemented using these new mechansims. - -2003-02-18 21:10 robert - - * Made the osg::ApplicationUsage forward declared. - - Added include of ostream to ArgumentParser header. - -2003-02-18 19:45 don - - * std::cout replaced cout - -2003-02-18 16:36 robert - - * Added new osg::ApplicationUsage and osg::ArgumentParser to help - streamline - application/example developement. - -2003-02-18 14:00 robert - - * Removed non implemented method convertWideString(const char* - text) from header - -2003-02-18 11:33 robert - - * Added reference to Group in the RegisterDotOsgWrapperProxy. - -2003-02-18 10:50 robert - - * Added missing ; - -2003-02-18 09:12 robert - - * Removed linking to osgGLUT/GLUT in the osgconv program. - -2003-02-15 19:51 robert - - * Fixes to RenderToTextureStage to account for the cull/draw - traversal no longer using - reference counting of statesets. - - Moved last uint reference over to unsigned int. - -2003-02-14 22:32 robert - - * Moved osghanglide back to pure osgGLUT based, removing - osgProducer pathways. - -2003-02-14 20:27 robert - - * More work on uint -> unsigned int. - -2003-02-14 19:47 robert - - * MOre work on uint -> unsigned int. - -2003-02-14 16:52 robert - - * Renamed futher uint/ushort instances. - -2003-02-14 11:41 robert - - * Removed last of the uint references. - -2003-02-13 15:37 robert - - * Added support for ClipNode in the .osg plugin. - -2003-02-13 15:16 robert - - * From Geoff Michel, updates to the Geo plugin. - - Removed osg::uint reference form the pfb plugin. - -2003-02-12 19:20 robert - - * Removed include/osg/Types header defining osg::ubyte, osg::ushort - etc. Changed - any reference to these in the distribution across to using - unsigned char, - unsigned short etc. This has been done to keep the OSG code more - opaque - to what types are. - -2003-02-12 14:39 robert - - * Merged linkage changes from Duncan Cavens to help the OSG osgtext - and osghud - demo's build cleanly even when a previous version of the OSG is - installed. - -2003-02-12 12:02 robert - - * From Norman Vine, updates to TXP plugin so that the Cygwin build - uses pthreads. - -2003-02-12 10:10 robert - - * Add if (!textureStateSet) return check to replace assert() to - prevent crashes - when multi-texture layers don't exist. - -2003-02-12 09:52 robert - - * Added if (!null) guard around description strings. - -2003-02-11 19:23 don - - * From Tom Jolley: - I was converting a pfb file to osg and had trouble with a missing - image - library. I added -all in front of -limage where PFLIBS is defined - in - Make/makedefs to solve my problem. - -2003-02-11 15:54 robert - - * Made the Professional services subscript optional - use "osglogo - ps" to enable - it. - -2003-02-11 12:37 robert - - * Clean up of the logo demo. - -2003-02-10 22:15 don - - * Used INC instead of CXXFLAGS - - GVS: - ---------------------------------------------------------------------- - -2003-02-10 16:48 robert - - * Removed the osg::notify() calls from the RenderBin prototype - construction to - avoid problems under OSX with construction/deletion of - std::cout/cerr. - -2003-02-10 15:16 robert - - * From Geoff Michel, updates to the Geo loader including handling - of - .geo files from the rc1 of the GEO modeller. - -2003-02-10 15:01 robert - - * From Tree, added support for using wchar_t strings with - osg::Text/EncodedText. - -2003-02-10 14:47 robert - - * Updates from Ulrich for sharing of textures. - -2003-02-10 14:31 robert - - * Rename of INSTALL to INSTALL.txt, etc. to help OSX case - insentivity issues. - -2003-02-10 14:23 robert - - * Changed int to GLint for OSX build. - -2003-02-10 13:58 robert - - * Minor fixes to ReaderWriter and Paragraph to help work with use - of Doxygen. - - Fix to CullVisior to handle the new no referenced counted cull - and draw traversal. - -2003-02-05 23:13 don - - * Right, em.... fixed eh.. problem with destruction of RenderBin - prototype list - -2003-01-31 23:46 robert - - * Fixed infinite loop in osgProducer::CameraGroup::advance(). - -2003-01-31 00:44 robert - - * Port of osghangglide to use osg producer. Default build still - uses GLUT. - -2003-01-30 23:02 robert - - * Added FrameStats support into osgProducer lib, and removed them - from the - osgproducer demo. - - Removed the producer config files osgproducer demo. - - Added a search the osgDB::DataFilePath for the producer config - file. - -2003-01-30 21:46 robert - - * Fix for endianess of colour set up of RGBA values. - -2003-01-30 16:11 robert - - * Fixed warning in osgText - - Added getBound() to begining of osgProducer::CameraGroup::frame() - to ensure - that the parallel cull traversals don't all do a getBound(). - - Added osgProducer::CameraGroup::getTopMostSceneData() convinience - method. - -2003-01-30 01:31 robert - - * From Max, fixes to UniCode support for bitmap fonts. - -2003-01-30 00:34 robert - - * Fixes to osgprerender and osgshadow scene for new cull and draw - implemention - without use of ref counting. - - New StatsEventHandler for osgprerender demo to add keyboard - control of stats - output. - -2003-01-29 17:24 robert - - * Fixed CullVisitor::getDistanceFromEyePoint so that withLODScale - is handled - correctly. - -2003-01-29 17:16 robert - - * Fixes for multipipe support. - - Addition of FrameStatsHandler to osgproducer demo to add frame - stats. - -2003-01-27 20:40 don - - * Fixes to osgProducer for IRIX build. - -2003-01-25 00:14 robert - - * Final changes for release. - -2003-01-24 23:59 robert - - * Addition for osgSim docs. - -2003-01-24 23:36 robert - - * Updates docs for release. - -2003-01-24 22:40 robert - - * Updates NEWS file with date of release. - -2003-01-24 16:57 robert - - * Removed the inline declarations of several method - implementations. - -2003-01-24 15:33 robert - - * Changed the /MDd switch to /MD to remove a warning. - -2003-01-24 15:12 robert - - * Added an #ifdef to osgGLUT/Window.cpp to handle the case of - compiling against - older versions of GLUT. - -2003-01-24 12:39 robert - - * Changes to try and placate the Sun Forte compiler. - -2003-01-24 10:22 robert - - * Removd the linking to the debug version of the freetype lib as - this won't be - included in the new OsgWin32Dependances.zip file. - -2003-01-24 09:47 robert - - * Added osgvertexprogram to the demo list. - -2003-01-24 09:46 robert - - * Udpated the freetype 2.1.3 linked to by the osgText.dsp - -2003-01-24 09:37 robert - - * Added support for osg::Transform::asMatrixTransform, - asPositionAttitudeTransform - and as DOFTransform. - -2003-01-24 09:37 robert - - * Changed the setUpViewer so it takes unisigned int to make it - easier to - do OR'ing of the various enumerates when passing in paramters - (avoids a - warning). - -2003-01-24 09:35 robert - - * Fixed the formating of the Matrix output. - -2003-01-24 09:34 robert - - * Added an #ifdef check around the glutSpecialUpFunc to help - compile unde old - version of GLUT. - -2003-01-24 09:11 robert - - * Fix for impostors bug where image insert were visible, this was - down to a double - call to RenderStage::drawPreRenderStage(). The call to it in - RenderStage inside - the draw() method has been removed, leaving on the call in - SceneView. - -2003-01-23 22:12 robert - - * Changed the template insert(,,) method for a std::copy() - implemention as it - seems that the Sun Forte compiler can't handle member templates! - -2003-01-23 15:12 robert - - * Added extra checks in the removal of rendundent nodes code so - that description - fields etc are checked. - -2003-01-23 14:46 robert - - * Fix to handling of comment records and longid's. - -2003-01-23 12:18 robert - - * Changed the image directory refered to in billboard demo. - - Updates NEWS. - - Changed the line endings in TextureCubeMap to unix endings. - -2003-01-23 12:07 robert - - * Tweaking of the osgvertexprogram tex matrix settings. - -2003-01-23 10:11 robert - - * Fixed Win32 compile problem. - -2003-01-23 09:58 robert - - * Removed COPYING file as it is now replaced by the LICENSE file. - -2003-01-23 08:39 robert - - * Fixed typo of APPLY_MATICES_BEFORE_STATE. - -2003-01-23 08:37 robert - - * Removed eroneous std:: from the from of DisplayListVector. - -2003-01-22 23:40 robert - - * From Ulrich, change to the pflib includes for Performer under - Linux to solve - problem loading pf datasets. - -2003-01-22 23:35 robert - - * Added a couple more #defines for the texture cube maps that one - can use. - -2003-01-22 23:34 robert - - * Added support for a -c option. - -2003-01-22 23:34 robert - - * Changed the implementation of the texture objects and display - list to delete - caches so that they use a std::vector<> swap on the internal data - structures - when ready to delete to minimize the amount of time that a race - condition - condition can happen. - -2003-01-22 20:48 robert - - * Vertex program update from Brede. - -2003-01-22 19:17 robert - - * Updated version numbers to 0.9.3 - -2003-01-22 16:49 robert - - * Fixed compute bound code which was applying offset first then - rotating, rather - than rotating first then offset. - -2003-01-22 16:17 robert - - * Fixed handling of rotations reading from .osg of osg::Shapes. - -2003-01-22 15:44 robert - - * From Daniel Sjölie, support for controlling which viewports are - focusable i.e. - recive mouse/keyboard events. - -2003-01-22 15:30 robert - - * Clean up to the osgProducer lib and demo. - -2003-01-22 12:50 robert - - * Fixed remove transform code to work with the new extra paramter - require by osgUtil::Optimizer. - -2003-01-22 12:25 robert - - * Changed the decal=true setting to decal=false to make sure that - textured models - come out lit ok. The makes the assumption that colour values on - the objects - and realistic, if they arn't then decal texture can produce - better results.. - -2003-01-22 12:06 robert - - * Fixed an Optimizer crash where if the top most node of a model - was - a static transform it would crash when this root was deleted. - Have fixed - by recognising this node as one not to remove and set it to - identity instead. - -2003-01-21 21:02 robert - - * Changed the local header includes from <> to "" to help the OSG - compile. - -2003-01-21 19:37 robert - - * Removed debugging messages. - -2003-01-21 16:45 robert - - * Added new Copyright/License notice to header and source files. - -2003-01-21 16:40 robert - - * Made the pre rendering texture using glCopySubImage rather than - copy to image - and then copy to texture, as the later was no longer working due - to - texture->apply ordering. - -2003-01-21 16:02 robert - - * Added gaurds around alpha function value to catch erroneous - values before they - are passed on to the OSG. - -2003-01-21 13:22 robert - - * Made a new osgproducer demo based on the new osgProducer::Viewer - class. - Kept the old camera group version around for future reference. - -2003-01-21 13:14 robert - - * Added new osgProducer::Viewer class for putting together simple - producer - based viewers very quickly. - -2003-01-21 09:09 robert - - * From Joseph Steel, addition of texture filter modes to txp - plugin. - -2003-01-20 20:40 robert - - * Made the drawable::compile(State&) method const and the - DisplayListVisitor to - compile even when dislay list is off. This has been done to allow - subclasses - of Drawable handle their own compile implementation, such as used - by text. - -2003-01-20 20:33 robert - - * Improvements to osgProducer lib, in particular adding a mutex - lock to the init() call in - SceneView to prevent init running multi-threaded. - -2003-01-20 20:28 robert - - * Improvements to the handling of multiple graphics contexts. Still - needs alot - of work, but at least it isn't crashes in trivial cases right - now. - -2003-01-20 14:08 robert - - * Removed the ReaderWriterFLY.cpp for the project as its no longer - used. - -2003-01-20 14:07 robert - - * Removed the ReaderWriterFLY demo since it was causing OSX builds - to crash when - running the osghangglide demo. - -2003-01-20 12:41 robert - - * Added the new standard copyright notice. - -2003-01-20 12:40 robert - - * Added the OpenSceneGraph Public License which is a based on the - WxWindows license which inturn is a modified LGPL. - -2003-01-20 11:54 robert - - * Clean up to the osgproducer demo. - -2003-01-20 11:52 robert - - * Fixed bug in the flight and drive manipulators where they would - uncontrollably - shrink down to a tiny window size when one rezized the window. - -2003-01-20 11:07 robert - - * Fixed osglogo demo so that is correctly set up the colour of the - background. - -2003-01-20 11:02 robert - - * Made the setting of default glNormal and glColor values an - compile - option via #ifdef USE_DEFAULT_NORMAL and USE_DEFAULT_COLOR - defines respectively. - -2003-01-20 10:41 robert - - * Updates from Pavel. - - 1. Storing color of geometry in ColorArray e.g. its don't work - when - lighting off. - - 2. Detecting of alpha channel and automatically enabling - blending. - -2003-01-20 09:56 robert - - * Update the ReaderWriterATTR file so that it used the definitions - that Joseph - Steel obtained from MPI. - - Removed the unique child check from the flt::PrimRecord and - osg::Group, this - allows more flexibility when specifing nodes, and is faster.. - -2003-01-20 09:09 robert - - * From Ruben, updates to the IV/VRML1 loader to handler large - datasets. - -2003-01-20 08:58 robert - - * Updates to osgProducer, moving the implementation of CameraGroup - and - SceneHandler into the source directory. - -2003-01-19 15:28 robert - - * Added osg::State::dirtyAllModes() and dirtyAllAttributes() - methods. - -2003-01-18 22:07 robert - - * Improvements to the osgProducer lib to better handle Producer's - normalized - coord system. - - Addition of ReadCameraConfigFile and WriteCameraConfigFile as a - tempory - measure for implementing local a C++ read/write of the - Producer::CameraConfig, this - will be removed once these implementations or similar have been - moved to Producer. - -2003-01-18 10:17 robert - - * Updated the KeyboardMouseCallback so this it takes into account - the the new - passiveMouseMotion support in Producer. - -2003-01-18 09:44 robert - - * From Eric Sokolowsky, Fix for IRIX build, adding typename into - the graph_array - to allow the compiler to leave instation of typedefs until - required. - -2003-01-17 20:27 robert - - * Added comment about osgProducer to the NEWS. - -2003-01-17 20:05 robert - - * Added KeyboardMouse::allowContinousMouseMotionUpdate(), but - commented out right - now as Producer crashes when you use it.. - -2003-01-17 18:34 robert - - * Added osgProducer library to the distribution. - - Cleaned up the osgproducer demo, and made it work with the new - osgProducer lib. - -2003-01-17 16:00 robert - - * Removed the addition of 0 to the add of the encoded text vector - as it is now - redundent having added support for the begin,end range into - FTFont. - -2003-01-17 15:01 robert - - * Fixed a bug on the handling of empty EncodedText. - -2003-01-17 14:12 robert - - * Further improvements to the osgproducer demo. - -2003-01-17 14:12 robert - - * Added new getCurrentCamaeraManipulator(), and removed and - debugging message. - -2003-01-17 14:11 robert - - * Removed the osg::Referenced::createCount() and deleteCount() - methods and - associated variables which were only compiled in on debug build. - These optional - methods/static vars were causingproblems when mixing debug and - release builds. - -2003-01-17 13:34 robert - - * Integated the trackball manipulator with the osgproducer demo. - -2003-01-17 11:26 robert - - * Added ProducerEventCallback class to manager the conversion of - producer events - into GUIEventAdapter versions. - -2003-01-16 19:27 robert - - * Added DOUBLECLICK EventType to GUIEventAdapter. - -2003-01-16 16:37 robert - - * Added support for ReferenceFrame into osg::LightSource, modified - the .osg - plugin and cull visitor to account for this change. - -2003-01-16 12:39 robert - - * Added support for frame stamping each frame. - -2003-01-16 12:18 robert - - * Updates to clean up the demo. - -2003-01-15 21:54 don - - * Added gstabs+ to DBGF in Linux in makedefs - -2003-01-15 20:57 robert - - * Warning fix for Win32. - -2003-01-15 20:53 robert - - * Added #include simply to include the #pragma's for - disabling the - daft VisualStudio warnings. - -2003-01-15 20:50 robert - - * Made the osgDB::ParamterOutput class so that it is purely defined - in terms - of the header, and therefore not requiring to be exported. - - Updated the MUSE_READ_ME.txt to include mention of syntax - highlighting. - -2003-01-15 19:23 robert - - * Updates to the osgproducer demo. - -2003-01-15 15:44 robert - - * Removed the -> methods from the arc class to prevent stupid - warnings under - VisualStudio6.0. - -2003-01-15 15:24 robert - - * First cut and a demo which uses Open Producer for windowing. - -2003-01-15 13:17 robert - - * Attempts to fix more of the *stupid* errors in the - VisualStudio6.0 compiler. - -2003-01-15 11:33 robert - - * Patch from Joseph Steel, added missing check for the mipmap - usage. - -2003-01-15 11:29 robert - - * Removed the template versions of the PrimitiveSet constructors as - this was - causing problem under VisualStudio6.0. - -2003-01-14 19:12 robert - - * Fix for win32. - -2003-01-14 16:39 robert - - * Fixes for Win32 build. - -2003-01-14 14:25 robert - - * From Daniel Sjölie, updates to the GUIEventAdapter and - GLUTEventAdapter to handle - key and key down, modifiers and funcion keys. - -2003-01-14 14:21 robert - - * Added an compile in option of applying the matrices before state - in the RenderLeaf - apply method. This order is intended to help support of vertex - programming, but - unfortunately breaks the osgreflect demo so the original ordering - is kept by default. - -2003-01-14 14:00 robert - - * Submission from Joseph Stell, added LoadModels to TerrapageNode. - -2003-01-14 12:36 robert - - * Fixed typo. - -2003-01-14 10:54 robert - - * Replaced the NVTriStrip code with tri_stripper written by Tanguy - Fautré. - -2003-01-13 20:14 robert - - * Typo fix if USE_HOME_POSITION. - -2003-01-13 14:56 robert - - * Added handling of the case when length is -1, allowing the code - to just test - against characters being zero, rather than against length, which - is now only - done when a valid value of length (i.e >=0) is passed in. - -2003-01-13 14:11 robert - - * Clean up to the cross platform support in DirectX plugin. - -2003-01-13 14:05 robert - - * Fixes to osgText to handle std::string correctly. - -2003-01-13 10:39 robert - - * Added missing _bbox.init() to ShapeDrawable.cpp. - -2003-01-11 20:56 don - - * ReaderWriterDirectX.cpp needed some std::'s - -2003-01-11 20:43 robert - - * From Ulrich, fixes to double to float conversion warnings under - Windows. - -2003-01-11 12:50 robert - - * Moved some in inline methods in ParamterOutput into the new - ParamterOutput.cpp - file to clean up the interface. - -2003-01-10 17:06 robert - - * Updates from Ulrich. - -2003-01-10 16:56 robert - - * Added missing header for new matric reading and writing methods. - -2003-01-10 09:25 robert - - * Made the more of the OSG's referenced object desctructors - protected to ensure - that they arn't created on the stack inappropriately. - - Split the implemention of Matrix up so that it is a simple no - referenced counted - class and can be safefly created on the stack. To support - referenced counting a - seperate subclass now exists, this is RefMatrix which inherits - from both Matrix and - Object. - -2003-01-09 18:41 robert - - * Fixed typo. - -2003-01-09 16:13 robert - - * Added #ifndef GL_TEXTURE_WRAP_S #define block to keep things - compiling - on old drivers. - -2003-01-09 11:48 robert - - * Fixed typo. - -2003-01-09 10:06 robert - - * Added setting of the R wrap paramter to applyTexParamters(). - -2003-01-08 22:52 robert - - * From Ulrich Hertlein, DirectX .x model loader plugin. - -2003-01-08 16:37 robert - - * Fix to case statement from Tree. - -2003-01-08 16:33 robert - - * Added Shape.cpp to cvs resposity. Shape.cpp adds support for the - various - osg::Shape in the .osg file format. - -2003-01-08 16:30 robert - - * Cleaned up the code for the animation flags of the group record. - -2003-01-08 15:22 robert - - * From Tree, support for encoded text added into osgText. - -2003-01-08 14:32 robert - - * Added support for reading and writing Sphere, Box, Cone, Cylinder - and Grid shapes. - -2003-01-07 16:29 robert - - * Added support for sharing arrays in the .osg format for - osg::Geometry. - - Fixed the osgUtil::Optimizater so it takes into account sharing - of arrays when - deciding whether an geometry can be merged or not. - -2003-01-06 23:19 robert - - * Fixes for Irix64 build. - -2003-01-06 16:42 robert - - * Removed the osg::LightPoint::OPAQUE option, and implemented the - ADDTIVE blending option. - -2003-01-06 13:45 robert - - * Fixed headers guard typo in LightPoint. - - Updated the NEW files. - -2003-01-04 20:45 robert - - * Added new ARB vertex program state attribute and demo program, - sent in my Brede Johansen. - -2003-01-04 20:44 robert - - * Fixed small typo. - -2003-01-04 20:43 robert - - * Added usage info in -O option. - -2003-01-04 20:43 robert - - * Fixed options code. - -2003-01-03 21:42 robert - - * Removed the dual inheritance from the AnimationPathCallback, - moving the - NodeVisitor implemention into the .cpp. - - Small tweak to the lighpoint drawable implmenentation to improve - the additive - blending and state resotoration. - -2003-01-02 20:10 robert - - * Added a AnimationPathCallback which can update both a - MatrixTransform and a - PositionAttitudeTransform, removed the equivialnt callbacks once - found in these - transform classes. - - Changed the NodeCallback class so its derived from osg::Object - instead of - osg::Referenced to allow it to be saved out in the .osg format. - - Added support for Update and Cull callbacks into the .osg file - format. - - Added support for AnimationPathCallback into the .osg file - format. - -2002-12-21 19:41 robert - - * Updates the terrapage to try and make it thread "safer" when used - with the OSG. - -2002-12-21 11:30 robert - - * Turned display lists off in the osg::Geomety created by the - terrapage loader, - this is done because terrapage will dynamic page in and out - geometry so we - don't want to keep creating and deleting display lists. - -2002-12-20 10:48 robert - - * Tweaked the colours in the logo. - -2002-12-20 09:47 robert - - * From March Jez, updated the osgSim.dsp with the addition of /Op - option to - enable VS.NET to compile with crashes. - -2002-12-20 09:43 robert - - * Renamed the app method update. - -2002-12-19 19:50 don - - * Update for ia64 - -2002-12-19 19:50 don - - * update for ia64 - -2002-12-19 15:55 robert - - * Renamed all instance of AppCallback/AppVisitor to - UpdateCallback/UpdateVisitor - inline with the decision to rename the "app phase" the "update - phase". - -2002-12-19 10:32 robert - - * Changed the remaining #include <> to #include "" to get things - compiling under VS. - -2002-12-18 11:43 robert - - * Removed the reference of Sequence from Switch. - -2002-12-18 10:17 robert - - * Removed the osg:: from the front of the Group::computeBound() - method to keep - things compiling under Windows. - -2002-12-18 09:50 robert - - * Changed the <*.h> to "*.h> in the terrapage plugin to get it - compile under Windows. - -2002-12-17 17:22 robert - - * From Daniel Sjölie, support for reading comment records into - description fields. - -2002-12-17 16:07 robert - - * Moved the include/osgTXP back into src/osgPlugins/txp as a - seperate include directory is no longer required. - - Removed the osgtxp demo as it is no longer required. - -2002-12-17 15:41 robert - - * Added txp::TerrapageNode to the txp plugin, and implemented the - node so that it - automatically assign handles the updates of eye points and - database merges. - -2002-12-16 21:39 robert - - * Added a few more comments on the DeleteHandler. - - Changed the friend struct DeleteHandler to friend class - DeleteHandler. - -2002-12-16 19:39 don - - * Fixed a scope issue for 3.2 compiler for friend declarattion, l - ine 39 in - include/osg/Referenced - -2002-12-16 17:00 robert - - * Moved TriangleFunctor from Drawable into its own header file. - -2002-12-16 16:57 robert - - * Removed the redundent export symbol. - -2002-12-16 16:55 robert - - * Removed MemoryManager. - -2002-12-16 14:52 robert - - * Fix for a warning. - -2002-12-16 14:12 robert - - * Removed reference to osg/MemoryManager. - -2002-12-16 13:46 robert - - * Renamed osgtests.bat to rundemos.bat and moved it into the root - directory. - -2002-12-16 13:44 robert - - * Removed the memory manager. - -2002-12-16 13:40 robert - - * Converted the instance of osgNew and osgDelete back to new and - delete as part - of depecating the include/osg/MemoryManager - -2002-12-16 13:27 robert - - * Redone the project files for osgpbuffer and osgtxp to get it to - work under - VisualStudio. - -2002-12-16 13:14 robert - - * Fixed the traverse method so it calls Transform::traverse() - instead of - MatrixTransform::traverse() which was recursive.. - -2002-12-16 10:28 robert - - * Added seperate Referenced.cpp implementation. - -2002-12-16 10:25 robert - - * Added a DeleteHandler into osg::Referenced so that it can delete - objects - via a seperate delete handler. Useful for making unref()/ref() - thread safe if - the users needs to address this issue. - -2002-12-16 10:22 robert - - * Integrated further updates from Geoff on the Geo loader. - -2002-12-16 10:05 robert - - * Changed the std::hex and std::dec to hex and dec to get it - compile under VisualStudio, - and added a using namespace std to keep it compiling on all other - compilers! - -2002-12-16 09:55 robert - - * Added supported for setting animation path on MatrixTransform's. - -2002-12-16 00:33 don - - * Uncommented fix for returning to non-stereo from stereo to get - color mask - back to normal. - -2002-12-15 22:42 robert - - * Updates the details on the plans for Open Procuder and osgSim. - -2002-12-15 09:57 robert - - * Fixes to txp plugin for Windows. - -2002-12-14 07:55 robert - - * Disabled the MemoryManager in all builds since it isn't yet - thread safe. - -2002-12-14 06:42 robert - - * Added a check for extension of a filename to the gif loader, - since it looks - like the isn't reconginizing rgb files as not being gif. - -2002-12-13 20:33 don - - * Added TrPageViewer.[h,cpp] to Demos/osgtxp (moved from the plugin - directory) - and modified Makefile accordingly - -2002-12-13 20:29 don - - * Moved TrpageViewer.h to Demos/src/osgtxp - -2002-12-13 20:28 don - - * Move TrPageViewer.cpp to src/Demos/osgtxp - -2002-12-13 19:41 robert - - * Merged fixes to warnings in geo plugin from Geoff. - -2002-12-13 16:05 robert - - * Fixes for txp plugin. - -2002-12-12 11:36 robert - - * Added the axis alignment into the Outline and Texture fonts - drawing. - -2002-12-12 11:35 robert - - * Turned lighting off for whole of logo. - -2002-12-12 11:25 robert - - * Changed the osglogo demo to use arial texured font. - -2002-12-12 10:03 robert - - * Changed the colour of the text to be the same as the OpenGL logo. - -2002-12-11 22:39 robert - - * Removed redundent std:: - -2002-12-11 19:49 robert - - * Converted the file to unix file endings. - -2002-12-11 16:27 robert - - * Removed erroneous character from end of file. - -2002-12-11 16:24 robert - - * Added the afteresher.geo demo to osgtest.bat and debugtests.bat. - - Converted the osgtxp demo to use straight string comparison - instead of case sensitive string - comparion to help cross platform portability. - -2002-12-11 16:14 robert - - * Added osgSim to the dependancy list of the geo plugin. - -2002-12-11 14:30 robert - - * Removed the duplicate file out from the GEO plugin. - - Changed the osglogo to reference a jpeg instead of a tiff one. - -2002-12-11 14:24 robert - - * Added code to the path to the executable, adding it into the - libary and data - file paths. - -2002-12-11 10:07 robert - - * Fixes for Win32. - -2002-12-11 10:03 robert - - * Added space in bettern /D "OSGTXP_LIBRARY" and /YX to fix a - compile problem under VisualStudio. - -2002-12-10 21:18 robert - - * Fixes from IRIX build from Bob Kuehne. - -2002-12-10 20:26 robert - - * From Ulrich Hertlien, fix for new changes in osg::Switch - interface. - Small clean to changes by Robert. - -2002-12-10 20:00 robert - - * Updates from Geoff Michel to geo loader and demo. - -2002-12-10 19:58 robert - - * From Micheal Gronager, fix to osg::Quat::getRotate(..) to handle - zero rotations. - - Port of Sequence to subclass directly from osg::Group. - -2002-12-10 19:56 robert - - * Updates to the light points support to improve the control of the - blending of - light points with their background. - -2002-12-10 17:57 don - - * Fixed endif placement for SunOS build - -2002-12-09 21:03 robert - - * Added setting of the current texture unit into the - applyTextureAttribute() method. - -2002-12-09 09:26 robert - - * Changed cout to notify. - -2002-12-09 06:00 don - - * fixed small typo (forgot std::) - -2002-12-08 19:45 robert - - * Fixes for VisualStudio build of txp plugin. - -2002-12-08 17:22 robert - - * Modifed the .attr loaders handling if TX_BILINEAR minification - filter so that - it remaps it to LINEAR_MIPMAP_LINEAR to get round image quality - issue of some - OpenFlight databases. - -2002-12-07 21:20 robert - - * Tweaks the light points blend function. - -2002-12-07 21:18 robert - - * Updated the Switch, Sequence and Group classes so that they all - used a - similar style removeChild() mechansim. - - Made the old style osg::Switch::setValue() method deprecated. - -2002-12-07 06:59 don - - * Cleanin' up after Robert's spelling ...er ... challenges. - -2002-12-06 19:56 don - - * Typo png was npg - -2002-12-06 19:03 robert - - * From Tree, added support for accept(PrimitiveFunctor) into - osg::Text. Currently - implemention is overly simple, but will do until rewrite. - -2002-12-06 11:16 robert - - * Added checking of parents against switch and sequence into the - RemoveRendundentNodeVisitor to prevent breaking of the orinal - order of the nodes. - -2002-12-06 09:44 robert - - * From Tree, mods to help support the creation of Java bindings. - -2002-12-06 09:43 robert - - * Updated NEWS - -2002-12-06 09:41 robert - - * Update from Norman Vine for Cygin gcc3.2 support. - -2002-12-06 09:20 robert - - * Updates to the osglogo demo adding colour to the sides of the - cube. - -2002-12-06 09:19 robert - - * Fixes from Norman Vine for Cygwin support. - -2002-12-05 15:21 robert - - * Updates to the osglogo demo. - -2002-12-05 14:30 robert - - * Added Brede Johansen's osgpbuffer demo, currently only runs under - Windows, - requires the equivilant glx support to be added. - -2002-12-05 12:43 robert - - * Norman Vine's changes for gcc 3.2 under Cygwin, moving of - SG_EXPORT to after - the extern declaration. - -2002-12-05 12:13 robert - - * Added osglogo to test scripts. - -2002-12-05 12:04 robert - - * Added first pass at a new logo, this time generated by a osglogo - demo. - -2002-12-05 12:01 robert - - * Added support for setting the axis which the text should be - aligned along. - -2002-12-04 17:34 robert - - * Fixes for Cywin gcc3.x build in GL and Math headers. - - Fix for VS build in osgshadowtexture. - -2002-12-04 13:26 robert - - * Removed the osg:: from the from of the osg::TexGen::apply() call. - -2002-12-03 17:20 robert - - * Made the callback class uses virtual inheritance of - osg::Referenced to ensure - that a single class can be used for two different types of - callbacks whithout - incurring issues of multiple ref counts and ref()/unref() methods - existing. - -2002-12-03 10:19 robert - - * Fixed the ifeq ($(OS),SunOS) so it was correctly on its own - seperate line, and - complimented by the required endif - -2002-12-02 19:37 don - - * updated difference between forte compilers and gnu compilers on - Solaris - -2002-11-29 22:10 don - - * Modified Files: - include/osgTXP/trPagePageManager.h src/Demos/osgtxp/osgtxp.cpp - Added Files: - VisualStudio/Demos/osgtxp/osgtxp.dsp - -2002-11-29 16:14 don - - * Fixes to txp loader - -2002-11-27 05:29 don - - * Made LIB's dependent on PLUGINS for directories where both are - built - -2002-11-25 16:57 robert - - * Added comment for future reference about the validity of using - delete in - the demo code... should really by using ref_ptr<> etc. - -2002-11-25 16:40 robert - - * Added check of translucency of an image via - osg::Image::isImageTranslucent(). - -2002-11-25 16:39 robert - - * Added implementation of isImageTranslucent method. - -2002-11-25 16:38 robert - - * Added isImageTransulacent() method. - -2002-11-25 16:30 robert - - * Added extra check to the freeing of memory. - -2002-11-25 16:13 robert - - * Fixes for OSX build from Stephan Huber. - -2002-11-24 21:36 don - - * Added Paging TerraPage loader and osgTXP library. - -2002-11-24 00:23 don - - * Forced GLPixmapGlyph color to white rather than using - glGetCurrentColor - -2002-11-23 05:16 don - - * Freetype 2.1 and later align bitmap pitch on boundaries of 2 - bytes. It is - therefore necessary to use glPixelStorei(..,UNPACK_..., 2). There - is an - #if() statement that allows the continued use of freetype 2.0 (Rh - 7.x), as - well as accomodating newer releases. - -2002-11-22 17:36 don - - * Merged in Joseph Steel's updates to rgb plugin - -2002-11-22 09:46 robert - - * Warning fixes. - -2002-11-22 08:23 robert - - * Adjusted tabbing. - -2002-11-22 08:05 robert - - * Added d to the end of the dll name for the debug build of the - ac3d loader. - -2002-11-22 05:00 don - - * Fixes for IRIX build - -2002-11-21 20:28 don - - * Fixed std:: prefix and reinitialized variable for gcc 3.2 - -2002-11-21 16:08 robert - - * Added use of ref_ptr<> for the replaced node in - osg::Group::replaceChild(,) - to prevent it being deleted while it was still being used with - the body of - the method. - - Added mention of the shadow texture demo. - -2002-11-21 15:35 robert - - * Moved the shadow creation code into a seperate - CreateShadowedScene header and source, - and exposed just the basic createShadowedScene function in the - header. - -2002-11-21 14:54 robert - - * Clean up of the shadow texture code... - -2002-11-21 14:38 robert - - * Added shadow texture demo .dsp under the correct name! - -2002-11-21 13:25 robert - - * Fixed the updating of projection matrix so that is done in eye - coordinates. - -2002-11-21 09:07 robert - - * Added osg::Geometry::setPrimtiveSet,removePrimtiiveSet, - insertPrimitiveSet - and getPrimitiveSetIndex(). - - Renamed osg::Group::findChildNum(..) to getChildIndex(). - - Renamed osg::Geode::findDrawableNum(..) to getDrawableIndex(). - -2002-11-21 07:53 robert - - * Fix for compile problems under IRIX. - -2002-11-20 15:51 robert - - * First pass at shadow textures. - -2002-11-20 14:40 robert - - * Moved the code to create StateSet around textures into - flt::Pool::getTexture so that - the code associated with loading textures is done is just one - place. - -2002-11-20 07:46 robert - - * Fixed the texture apply method which was broken yesterday, the - new code wasn't - checking for the validity of _image before doing checks on it. - This breaks when - render to texture is used as there is no image to check - against... - - Added osgshadowtexture demo source. Demos still in development, - so don't expect - any shadows yet... - -2002-11-20 07:44 robert - - * Fixed the references osgSim project file. - - Added the osgshadowtexture demo project file. - -2002-11-19 12:48 robert - - * Added handling of image dirty after a textyre has been bound, the - texture - is now updated when the image is dirty. - -2002-11-19 12:26 robert - - * Updated OSX defs to compile osgSim and osglightpoint - -2002-11-19 12:25 robert - - * Added osglightpoint to the demo list. - -2002-11-19 12:23 robert - - * Added visual workspace files for osgSim nodekit and osglightpoint - demo. - -2002-11-19 10:57 robert - - * Added osgSim library which encapulsulates light points. - - Added osglightpoint demo. - -2002-11-19 10:56 robert - - * Moved Drawable across to using osg::buffered_value. - - Added new osg::State::setInterleavedArray() method. - - Added new osg::Group::setNode(uint,Node*) method. - - Cleaned up and fixed the osg::Texture's handling of - dirtyTextureParamters(). - -2002-11-18 16:14 robert - - * Added setDrawable(uint,Drawable*) method. - -2002-11-14 15:30 robert - - * From Jason Daly, fix for long file names on sequence nodes. - -2002-11-14 09:03 robert - - * Updated the plugins so they do the extension checking with a non - case sensitive comparison. - -2002-11-13 13:04 robert - - * Updated NEWS and ChangeLog for the release. - -2002-11-13 12:42 robert - - * Updates to docs for release - -2002-11-13 11:09 robert - - * Added State::computeSecondaryColorSupported() & - computeFogCoordSupported(). - - Updated NEWS. - -2002-11-13 10:23 robert - - * Small improvement to the computation of the pixel size vector. - -2002-11-12 15:50 robert - - * Fixed ansisotropic scaling problem with pixel scaling/small - feature culling. - -2002-11-12 13:51 robert - - * Fixed bug in stats where overdraw would be reported incorrectly. - -2002-11-12 13:37 robert - - * Removed debugging messages. - -2002-11-12 13:36 robert - - * Fixed bug in osg::Transform's computation of a its bounding - sphere, where - it was erroneously using the y axis for the z axis test. - -2002-11-12 10:22 robert - - * Added LEFT_EYE and RIGHT_EYE stereo to - osg::DisplaySettings/osgUtil::SceneView - - Renamed LODBias to LODScale. - -2002-11-11 20:18 don - - * Fixed a const/non-const inconsistency in NodeVisitor.cpp - Fixed a blank namespace issue in UnitTestFramework.cpp - -2002-11-11 16:11 robert - - * Fixes to typo of *Dirty() - -2002-11-11 09:06 robert - - * Added missing demos and libs into the darwin defines. - -2002-11-11 09:01 robert - - * Added a getBound() to the SceneView::app() to make sure the - bounding volume is - updated well before the cull traversal which can be - multithreaded. - -2002-11-11 08:52 robert - - * Fixed bug in osg::Node::isCullingActive(). - - Rnabled the automatic selection of the animation path if one is - specified - on the commandline in sgv. - -2002-11-11 08:08 robert - - * Updates to news. - -2002-11-11 08:05 robert - - * Updates to doc - -2002-11-11 08:05 robert - - * Fixes for MING build - -2002-11-11 08:04 robert - - * Fixes to const paramter types. - -2002-11-11 07:20 robert - - * *** empty log message *** - -2002-11-11 07:12 robert - - * Added osgText to dependancy list of geo plugin. - -2002-11-08 15:56 robert - - * Fixes to build in VS7.0 - -2002-11-08 14:24 robert - - * Added newly generated html files. - -2002-11-08 14:15 robert - - * Checking in updates to documentition for the 0.9.2 release. - -2002-11-08 14:03 robert - - * Removed deprecated API - -2002-11-08 12:58 robert - - * Updates version numbers to 0.9.2 - -2002-11-08 12:56 robert - - * Updates to GEO loader from Geoff Michel. - -2002-11-08 12:54 robert - - * Minor warning fix. - -2002-11-08 12:26 robert - - * Added #define DARWIN_OSX_PRE_10_2 and related #ifdef checks to - cope with backwards compatiblity - with versions of OSX before 10.2. - -2002-11-08 11:00 robert - - * Added GL_LIBS to the osgText/Makefile for OSX build. - - Fixed typo in IntersectVisitor. - - Fixed warnings in osgimpsotor demo. - -2002-11-08 10:25 robert - - * Updates to Math for OSX build. - - Added 3dmodelworld.com to the data source directory. - - Fixed compile problem under VC6.0 in osgimpostor. - -2002-11-08 08:51 robert - - * Fixes for VisualStudio6.0 build. - -2002-11-08 08:45 robert - - * Removed the usage report from sgv when it fails to load a file. - -2002-11-08 08:34 robert - - * Converted usage of GLuint to usigned int, in hope that it will - get round the - warnings generated under OSX. - -2002-11-08 08:12 robert - - * Commented back in LIBS into Makefile for OSX build. - -2002-11-08 08:11 robert - - * Fixes for VisualStudio build and OSX build. - -2002-11-08 08:00 robert - - * Added TestManipulator into osgimpostor project file. - -2002-11-07 16:08 robert - - * Compile fix from Duvan Cope. - -2002-11-07 15:45 robert - - * Commented out the selection of the animation path manipulator - since it - was somehow disabling culling?!? - -2002-11-07 15:13 robert - - * Titled the view in osganimate and added the title into - osgimpostor. - -2002-11-07 14:44 robert - - * Renamed Primitive:: to PrimitiveSet. - -2002-11-07 14:29 robert - - * Commented out the USE_DEPRECATED_API define. - -2002-11-07 14:13 robert - - * Intergrated Martin Kada's impostor test program with the old test - program. - -2002-11-07 13:56 robert - - * Added Geoff Michel's new osggeomdemo program which allows control - of - geo models via the mouse. - -2002-11-07 13:47 robert - - * Updates to GEO loader from Geoff Michel. - -2002-11-07 08:49 robert - - * Added shape drawable into dot osg plugin. - -2002-11-07 08:48 robert - - * Fix for build under Linux. - -2002-11-06 23:00 don - - * Oops... experiment gon awry in makerules. This works for Solaris, - but not - Linux, evidently. The goal was to do a dependency update on only - files - that had changed, since Solaris is so gawdawful slow at doing CC - -xM - -2002-11-06 18:39 don - - * Changed a couple of const/non-const discrpancies between header - and source - for TexGen. Removed external library dependencies in plugin - makefiles - -2002-11-06 16:04 robert - - * Fix for backwards compatibility. - -2002-11-06 15:43 robert - - * Name change and const change of - Drawable::drawImmediateMode(State&) to - Drawable::drawImplementation(State&) const. Various updates to - the - rest of the OSG to accomodate this. - -2002-11-06 11:15 robert - - * Added in default value of _timeScale. - -2002-11-06 10:46 robert - - * Renamed ProceduralGeometry to ShapeDrawable to better reflect its - current - purpose. - -2002-11-06 10:24 robert - - * Added support for recording camera animation paths in - osgGLUT::Viewer, and fixed - the osgGA::AnimationPathManipulator to handle it. - - Added a new Drawable::ConstAttributeFunctor and make the - accept(PrimitiveFunctor) - be a const method so can disallows modification. Added - Drawable::supports(...) methods - for each of the AttributeFunctor, ConstAttributeFunctor and - PrimitiveFunctor so - that programs can querry whether it is possible to use functors - with that object type. - -2002-11-05 07:50 robert - - * From Jason Daly, fix for 14.2 color records in versions of - OpenFlight files. - -2002-11-04 15:33 robert - - * From Stephan Huber, fix for OSX build. - -2002-11-04 10:37 robert - - * Added std:: in front of string. - -2002-11-04 09:08 robert - - * From Ulrich Hertlien, added ReaderWriter::Options to the osgconv - and pfb plugin - so that all the pfi files can be converted to rgb be the plugin. - -2002-11-04 09:07 robert - - * Fixed warning under Visual.NET - -2002-11-04 08:40 robert - - * Added in guard to png loader so that it only accepts png files. - This has been - added since the png loader itself doesn't not seem robust enough - at detecting - non png files. - - Added a tab in to the flt code to make it more obvious what is - happening in - the flow of the code. - -2002-11-04 08:35 robert - - * Added back in the missing flt.dsp. - -2002-11-01 15:12 robert - - * Added support for primitive functor into the new - osg::ProceduralGeometry class - -2002-11-01 15:11 robert - - * Futher fixes for VisualStudio.NET compilation. - -2002-11-01 14:16 robert - - * Michael Gronage fix for aspect ratio in split stereo. - -2002-11-01 12:48 robert - - * Fixed VisualStudio7.0 compile error related to an - std::vector<>::iterator - no longer being a pointer, fixed by using a &(*itr). - -2002-11-01 12:40 robert - - * Added missing Shape and ProceduralGeometry references in the osg - project file. - -2002-11-01 12:20 robert - - * Futher updates to shapes support. - -2002-11-01 12:11 robert - - * Added handled of invlid drawable bounding boxes. - -2002-11-01 10:39 robert - - * Added export to the height field class. - -2002-11-01 10:25 robert - - * Updates to Shape support. - -2002-10-31 15:24 robert - - * Added a dirtyBound & diryDisplayList to the geometry merge - operation in the - Optimizer to fix a bug where the bouding volumes where being - invildated. - -2002-10-31 12:51 robert - - * From Geoff Michel, added AC3D .ac and GEO .geo loaders. - -2002-10-31 10:36 robert - - * Added osg::Grid shape class, and added an example of its use into - the - hang glide demo. - -2002-10-31 10:35 robert - - * Yefei He's updates to Pool and flt2osg to use lazy loading of - textures from a - texture pallette. - -2002-10-30 13:27 robert - - * Added first cut of new primtive shapes support. - -2002-10-30 12:58 robert - - * Removal of more redundent const base types. - -2002-10-30 12:56 robert - - * Updated osgText .osg support so that it handles text via the - osgDB::Outpur::wrapString() method. - -2002-10-30 10:07 robert - - * Fixed addChild(node,value) so that it resizes using the - _newChildDefaultValue - rather than the add child value, then sets the child's value to - value. - -2002-10-28 12:55 robert - - * Updated the handling of string in the .osg reading and writing so - that it - handles the use of " quotes inside the string. - -2002-10-28 09:43 robert - - * Removed the remapping of special keys to keyboard events. - -2002-10-25 12:29 robert - - * From Gideon May, fixes to remain const base type instances in - headers. - -2002-10-25 09:34 robert - - * Updated the min and mag filter modes to be more appropriate, - still some - of the FLT modes havn't been mapped across as its is not obvious - how to map - them to OpenGL/OSG. - -2002-10-24 20:49 don - - * changed unsigned int's to unsigned longs so 64 bit build would - work. - -2002-10-24 20:45 don - - * Added ARCH64 def for 64 bit builds - -2002-10-24 15:24 don - - * FIxed set_new_handler to std::set_new_handler - -2002-10-23 07:46 robert - - * Fix from Don Tidrow for bug when moving between RenderGraph when - popping back - up to common parents. - -2002-10-21 15:09 robert - - * Changed the nameing of iterators to prevent clashes with - VisualStudio's dumb - compiler. - -2002-10-21 13:03 robert - - * Fixed spelling mistake in comment. - -2002-10-21 13:02 robert - - * Changed the private: to protected: to allow easier extension. - -2002-10-18 12:47 robert - - * Merged Pavel's updates to LWO2 for handle multiple texture - layers. - -2002-10-18 12:26 robert - - * Added default colour and normal definition to the Geometry draw - to prevent state - inheritance of these attributes from causing problems of Geometry - which arn't - fully defined. - -2002-10-18 12:23 robert - - * Added extension checking to the rgb and bmp write of images. - -2002-10-17 21:25 don - - * USE_MM was not defined for IRIX - -2002-10-17 13:48 robert - - * Renamed the RenderBin::sort_local to sortImplementation(), - draw_local to drawImplementation() and added a new - RenderBin::DrawCallback(). - - Added osgcubemap to the Make/ test scripts. - -2002-10-17 11:59 robert - - * Fixed memory allocation. - -2002-10-17 11:50 robert - - * Checked in fix for std::hex for dumb arsed compilers. - -2002-10-17 11:39 robert - - * Fixed compile error under Windows. - -2002-10-17 10:04 robert - - * Fixed error in #ifdef GL_SECONDARY_COLOR... - CV: - ---------------------------------------------------------------------- - -2002-10-15 19:10 don - - * Changed std::malloc to new in src/osgUtil/CubeMapGenerator.cpp - -2002-10-14 21:10 don - - * Fixed cstdlib to stdlib.h for IRIX in - src/osgUtil/CubeMapGeneragortor.cpp - -2002-10-10 20:04 robert - - * Fixes from Macro. - -2002-10-10 18:02 robert - - * Added missing .cpp's. - -2002-10-10 14:58 robert - - * Fixed the names of the ControlPoint parameters so they weren't - capitals, to avoid - the clash with the parameter type itself. - - Addd a PER_PRIMTIIVE_SET handling to the existing PER_PRIMTIIVE - code, this code - is still flacky though and needs a rewrite as it doens't handle - all attributes or - the full consequences of per primitive and per primitive set - bindings. - -2002-10-10 13:06 robert - - * Added a little more info into the State contextID docs. - -2002-10-10 12:44 robert - - * Added Macro's new cube map generation classes and osgcubemap - demo. - -2002-10-10 09:42 robert - - * Maded the "flt::Registry::getPrototype: Unkown opcode:" message a - INFO level - notify message rather than a NOTICE. - -2002-10-10 09:39 robert - - * Made the warning about a mis-matching in the number of children - in a switch - a INFO level notify message rather than a WARN. - -2002-10-10 09:29 robert - - * Added remapping of special keys to be handle like a convential - key press. - -2002-10-10 09:00 robert - - * From Gabor Dorka, Fixes to memory leaks. - -2002-10-09 15:43 robert - - * Fixes to smoothing visitor and tesselator to handle indexed - Geometry. - -2002-10-09 15:41 robert - - * Changed the default value of StandardOrientation to true, to fix - orientation - problems which commonly occur with png files. Leaves the - quesition of how to set - this value automatically. - -2002-10-08 16:02 robert - - * Fixed bug in osg::LOD::addChild() which was forcing all ranges to - be identical - values. - -2002-10-08 14:10 robert - - * Fixed a bug in the Optimizer where BIND_PER_PRIMITIVE_SET - primitives where being eroneously merged. - - Added missing support for reading geometry indices from the .osg - format. - - Added handling of geometry indices into the primitive functor in - osg::Geometry. - - Moved the method implementions of AnimationPathManipulator into - src/osgGA and added extra convinience - methods for setting the manipulator with an hand built - AnimationPath. - - FCVS: VisualStudio/osgPlugins/iv/iv.dsp - -2002-10-08 08:39 don - - * osgdb_osg loader had more issues with const/non-const - discrepancies on - Solaris. Modified Geoset.cpp and Point.cpp - -2002-10-08 08:36 don - - * Solaris didn't like filebuf. Using old FILE - -2002-10-08 07:39 don - - * Added AnimationPathManipulator to osgGA and modified sgv to use - it. - -2002-10-08 05:41 don - - * Fixed some inconsistencies between header files and function - definitions - where the header file declared a parameter non-const, but the - function - definition expected a const. The Solaris linker was coming up - with - undefined symbols. - -2002-10-07 21:23 robert - - * Added extra convinience methods to LOD - addChild(child,min,max). - - Added osganimate to test scripts. - -2002-10-07 20:17 robert - - * Fixes to Switch so that it defaults to adding children switched - on, and adds - a flag to control whether children and added as true or false. - -2002-10-07 20:01 robert - - * Set the default values for scale to 1,1,1. This fixes the bug - obsevered when - using AnimationPath with MatrixTransform without setting the - scale value of - the osg::AnimationPath::ControlPoint's. - -2002-10-07 19:51 robert - - * Added new osganimate demo which demonstrate the - osg::AnimationPath in action. - - Added extra parameters to the AnimationPath callbacks to allow - finer control. - -2002-10-07 11:06 robert - - * Added missing osg::TextureCubeMap::getAssociatedMode(). - -2002-10-07 10:02 robert - - * Added code to Viewer::addViewport(..) to force the sharing of a - single - osg::State object between viewports. - -2002-10-07 09:41 robert - - * From Daneil Sjölie - modifications to the support of custom - GUIEventHandlers in osgGLUT - -2002-10-06 20:33 robert - - * Converted osg::LOD from used n+1 successive ranges to n min/max - ranges, - one min/max pair per child. Converted the rest of the OSG to use - the new - osg::LOD node. - -2002-10-04 16:40 robert - - * Fixes for Win32 build. - -2002-10-04 14:50 robert - - * Implemented OpenFlight style switches so that each child of a - switch can now - be individually turned on or off. Moved the OpenFlight code - across to use the - new scheme, removing the old hack of using node masks to achieve - the same end - result. - -2002-10-04 13:53 robert - - * Changed the include of MatrixTransform to Transform. - -2002-10-02 15:28 robert - - * Added osgteapot demo to show how to implement custom Drawables to - wrap up OpenGL code. - -2002-10-02 13:16 robert - - * Added back in the old osg::Geometry::addPrimitive(..) methods for - backwards - compatibility and have placed them within a #ifdef - USE_DEPREACATED_API block. - -2002-10-02 13:12 robert - - * Moved the new osg::IndexedGeometry class over the top of the the - existing - osg::Geometry class, and removed the temporary IndexedGeometry. - Port the rest - of the OSG across to account for the change in method calls - - osg::Geometry::addPrimitive(..) becomes osg::addPrimitiveSet(..) - -2002-09-30 18:12 robert - - * Removed inappropriate inline keyword from getOrCreateStateSet(). - -2002-09-30 18:11 robert - - * Added setActiveTextureUnit(0) to State::reset(). - -2002-09-30 16:50 robert - - * Added traverse the AnimationPath callbacks. - -2002-09-30 13:30 robert - - * Added support for per primitive bindings in osg::IndexedGeometry. - Added a - convertToIndexedGeometry() method to GeoSet to allow datasets - with per primitive - bindings to be be mapped to across to osg::IndexedGeometry for - testing purposes. - -2002-09-29 17:55 robert - - * From Macro, added a setActiveTextureUnit(0) to - osg::Text::drawImmediateMode() to - prevent the wrong OpenGL mode being used. - -2002-09-29 12:33 robert - - * From Daniel, Fixes for warnings under Win32. - -2002-09-28 19:09 robert - - * Fixes to IndexedGeometry.cpp to repair bugs introduced with Win32 - build fixes.S - -2002-09-28 07:47 robert - - * Added a dirtyAllVertexArrays() to State::reset(). - -2002-09-28 07:43 robert - - * Fixes for Win32 build. - -2002-09-27 19:04 robert - - * Fix build after change in GLExtensions. - -2002-09-27 19:01 robert - - * Fixes to IndexGeometry for Win32 build. - -2002-09-27 17:47 robert - - * Improvements to IndexedGeometry. - -2002-09-26 15:26 robert - - * Futher work on the IndexedGeometry class. Indexed coordinates - should now - work. - -2002-09-24 20:14 robert - - * Changed the linux linking of -lgif to -lungif. - - Fixed a typo in the Images name. - -2002-09-24 20:04 robert - - * Changed the image file so that use the Images/ prefix to help - locate the files - within the OpenSceneGraph-Data directory. - -2002-09-24 19:41 robert - - * Removed redundent / - - -------------------------------------------------------------------- - -2002-09-22 07:09 robert - - * Renamed Primitive to PrimitiveSet. - -2002-09-20 15:55 robert - - * From Gideon, support for tracking the number of objects - constructed and deleted, - only compiled in when unit tests are compiled in. - -2002-09-20 15:54 robert - - * From Ulrich Hertlien, supported add to textures in the .lwo - format. - -2002-09-20 14:51 robert - - * Renamed osg::Primitive to osg::PrimitiveSet which better reflect - what it - encapsulates. - - Added new osg::IndexGeometry implemention, *not* complete yet. - - Changed the rest of the OSG to handle the renaming og Primitive - to PrimitiveSet. - -2002-09-20 14:48 robert - - * From Daniel, changed setEventHandler to addEventHandler. - -2002-09-19 10:30 robert - - * Added PolygonStipple class from Mike, with mods from Robert to - make data - management local. - -2002-09-19 09:52 robert - - * Made the calls to the drawing of the pre rendering stages exclit, - using - a seperate method in RenderStage and associated calls in - sceneView.cpp. - This fixes problems when doing stereo and prerender at the same - time. - -2002-09-19 09:05 robert - - * Fixed copy constructor so that the _stage member variable was set - to this - correctly. - -2002-09-18 16:10 robert - - * Fix the sceondary color code. - -2002-09-18 16:05 robert - - * Added missing isCompressedInternalFormat() method. - -2002-09-18 15:59 robert - - * Fixed mispelling of SEPARATION. - -2002-09-18 14:57 robert - - * Simplified the depth calculation code in CullVisitor so that it - always computes - the depth of all drawables, so that it is always safe for - RenderBin sort routines can use - these values directly. - - Add an example of a RenderBin::SortCallback to sgv.cpp. - -2002-09-18 11:11 robert - - * From Daniel Sjölie - added support for multitexured flt files. - -2002-09-17 15:47 robert - - * Improved the sort callback support in osgUtil::RenderBin, and - removed the - now rendundent DepthSortedBin class. - -2002-09-16 20:58 robert - - * Further work on multiple context extensions. - -2002-09-16 10:55 robert - - * Commented out the call to combine LOD's in the optimizer as it - was causing - problems in some flt datasets. - -2002-09-14 10:38 robert - - * Updates the osg::Texture3D::Extensions interface to support the - standardisation - of extensions supported across multiple graphics contexts. - -2002-09-13 13:50 robert - - * Added dirty methods for vertex arrays to better support external - OpenGL - code which modifies the OpenGL state and needs to tell the - osg::State - about it to ensure that the OSG doesn't make any errors during - lazy - state updating. - -2002-09-12 20:30 robert - - * From Pavel Moloshtan, fixes for Mingw32 build. - -2002-09-12 19:59 robert - - * Added opengl32.lib and glu32.lib links to osgGLUT.dsp - -2002-09-12 15:34 robert - - * Added asGroup() and asTransform() methods to osg::Node to - downcast nodes - to these types without requiring an expensive dynamic_cast<>. - - Also added asGeometry() to osg::Drawable for the same reasons. - -2002-09-12 14:29 don - - * Fixed setFusionDistance - -2002-09-12 13:23 robert - - * From Brede Johansen - Fixes to osg::Plane::valid and added a new - set method. - - From Stephan Huber - Compilation fix to Texture.cpp for OSX. - - From Don Tidrow - added dirtyBound() to - osgText::Text::setPosition - -2002-09-09 04:40 don - - * Added ability to accept '.tif' files (as well as '.tiff') and - printed - notify() on error - -2002-09-05 15:45 robert - - * Improvements to osg::Texture3D::Extensions code. - -2002-09-05 15:13 don - - * For Solaris, /usr/local/lib dependencies now compile static - libraries. This - reduces the dependencies for binary installs. ALso rearranged the - SunOS - gnu and Forte compiler sections to be more generic - -2002-09-05 11:42 robert - - * Added new buffered_value template class which encapsulates a - std::vector but - initializes the array to the number of graphics contexts, and - automatically - expands the array when indices outside the current size are - required. - - Added new osg::Texture::Extensions nested class to handle - extensions on a per - context basis. - -2002-09-04 10:51 robert - - * From Ulrich Hertlein, check for max 3d texture size into the - osgtexture demo. - -2002-09-04 10:49 robert - - * Added support for setting the fusion distance directly in - SceneView, defaults - to the original behavior of using the values from the Camera if - attached. - -2002-09-04 08:14 robert - - * Added support for multiple graphics contexts to osg::Texture and - its - subclasses. - -2002-09-04 01:15 don - - * Added setting colormask to SceneView on every frame to allow - toggling - between stereo on and off in Anaglyphic mode. - -2002-09-03 20:12 robert - - * Fixes to the LWO to better handle 3 and 4 vertex polygons. - - Added an extra pass into the Optimizer's merging of geometry - primitives so - it convertex 3 and 4 vertex polygons into triangles and quads - respectively. - -2002-09-03 19:25 robert - - * Removed const from the evaluateLODChild(,,) callback method. - -2002-09-03 14:42 robert - - * Removed the temporary commenting out of the Optimizer, which was - done for - debugging purposes. - -2002-09-03 13:04 robert - - * Fixed LWO2 ReaderWriter problem which was down to an the compiler - reodering - the evaluation of a Vec3 paramter. - -2002-09-03 09:50 robert - - * Fixed and unmatched malloc/free pair, which was previously doing - a mallco/delete. - -2002-09-02 12:31 robert - - * Converted the instances of const built in types being returned - from methods - and passed as paramters into straight forward non const built in - types, - i.e. const bool foogbar(const int) becomes bool foobar(int). - -2002-08-31 09:59 robert - - * From Yfei He, added in missing RoadConstruction handler. - -2002-08-31 09:51 robert - - * Bug fix from Tom Jolly, which adds a check aginst a delete of gl - textures - in FTGLTextureFont destructor to prevent a NULL be passed to - glDeleteTextures. - This solves the crash on exit of osghud/osgtext. - -2002-08-31 06:04 don - - * Added the script to make IRIX distribution packages (via 'inst'). - -2002-08-30 19:45 robert - - * Renamed osg::Statistics::addOpaque to addDrawable to better - reflect its current - function. - -2002-08-30 16:17 robert - - * Updates to windows build docs. - - Merge fixes for OSX from bob. - - Added checking for impostor sprites into stats. - -2002-08-30 15:32 robert - - * Fixes to Math for MacOSX build. - - Converted TextureCubeMap to unix file endings. - -2002-08-30 15:17 robert - - * Update LANDEXT.DAT to contain all the latest core OSG files. - -2002-08-30 15:07 robert - - * Fixed the flatten static transform visitor. - -2002-08-30 13:38 robert - - * Added std:: infront of ends references. - -2002-08-30 07:17 robert - - * Removed the OSG_COMPILE_UNIT_TESTS define from the OSX build to - avoid - issues with the missing - -2002-08-30 01:34 don - - * Some small clean ups and editorializing of the NEWS file. - -2002-08-29 20:41 robert - - * Fixed the numerical accuracy problems in the Drive and Flight - Manipulators. - -2002-08-29 16:38 robert - - * Fixed numerical accuracy problem in Trackball manipulator. - -2002-08-29 14:48 robert - - * Updated change log. - -2002-08-29 14:41 robert - - * Removed html files which relate to now removed API. - -2002-08-29 14:39 robert - - * Added new autogenerated .html files - -2002-08-29 14:29 robert - - * Updated docs. - -2002-08-29 14:05 robert - - * Updated the NEWS to release the new release. - -2002-08-29 11:02 robert - - * Renamed the ConvexPlaner* classes to ConvexPlanar* and changed - all the various - classes that reference it. - - Added MUST_READ_ME.txt to the VisualStudio directory. - -2002-08-29 08:39 robert - - * Added SG_EXPORT. - -2002-08-29 03:49 don - - * Blast it, Don... You should rebuild before you check things in! - -2002-08-29 03:22 don - - * Fixed 69 occurance of 'Seperate' misspelling (should be - 'Separate') - -2002-08-28 21:40 robert - - * Changed instances of new across to use osgNew to help debugging, - and fixed - an unitialized variable in Sequence. - -2002-08-28 19:46 robert - - * Fixed the optimized library name of the osgText plugin. - -2002-08-28 18:49 robert - - * Updated the version numbers to reflect the upcomming release - 0.9.1. - -2002-08-28 18:38 robert - - * Fixes to Win32 build. - -2002-08-28 17:37 robert - - * Added std:: infront of cout and endl. - -2002-08-28 16:59 robert - - * Fixes for Win32 build. - -2002-08-28 16:25 robert - - * Fixed unitialized variable in the MyTextureSubloadCallback. - -2002-08-28 16:17 robert - - * Added fixes to UnitTestFramework to get it compiling under - Windows. - -2002-08-28 15:44 robert - - * Warning fixes for Windwos - -2002-08-28 15:35 robert - - * Fixed typo on osgunittests project name. - -2002-08-28 15:28 robert - - * Removed deprecated code from the distribution. - - Added .osg support for Texture1D and Texture3D. - -2002-08-28 14:28 robert - - * Added -I{THISDIR} into the iv Makefile. - -2002-08-28 14:27 robert - - * Updates, from Neil Salter, to comments etc to osgGA which add - better - explanations of how each of the classes operates. - -2002-08-28 14:26 robert - - * Added Neil Salter's osgUtx library into the distribution, have - put all the - orignal seperate headers and source into - include/osg/UnitTestFrameWork - and src/osg/UnitTestFramework.cpp respectively. I have done this - to - keep the include and source directories focused on the scene - graph rather - than the test framework. - - Have added a very simple unit test to Vec3.cpp, which are - optionally - compiled in with the OSG_COMPILE_UNIT_TESTS define, which is only - currently defined in debug builds under unix. It should be fine - to - add it in under Windows project files as well. - - Finally, a new demo app osgunittests runs the tests and reports - success - or failure of the tests. - -2002-08-27 21:01 robert - - * Commented out the #define TEXTURE_USE_DEPRECATED_API from - includ/osg/Texture - which forces the use of a typedef Texture2D Texture; in place of - the orignal - texure implementation. - -2002-08-27 20:54 robert - - * Added code to write byte/int/float arrays out with 8 values per - line by default, rather than - 1 per line as before. - -2002-08-27 20:18 robert - - * Added support for DOFTransforms into .osg format, and add pivot - point support - to the PositionAttitudeTransform .osg support. - - Removed a double light reference in the osglight demo. - -2002-08-27 15:46 robert - - * Added support for reading and writing - osg::PositionAttitudeTransform. - -2002-08-27 15:46 robert - - * Fixed bug in the Light reading code. - -2002-08-27 14:02 robert - - * Added proper osgtexture1D demo - this demo uses a 1D texture to - dynamically - contour the scene. - -2002-08-27 14:00 robert - - * From Marco, fix to include/GL to clean up warnigns in Windows - builds. - -2002-08-27 10:06 robert - - * Added osgtexture3D demo, renamed osgtexture demo to osgtexture2D, - and have - added osgtexture1D demo which currently is simply copy of - osgtexture2D. I - will be modifying it to do 1D texturing next. - - Fixed a bug in osg::Texture3D relating to checking of existance - of - texturing. - - Merged some fixes to the pfb loader from Ulrich Hertlein. - -2002-08-26 20:11 robert - - * Fixed typo of _texParametersDirty. - -2002-08-26 19:35 robert - - * Removed #ifdef hacks to remove optimization with VS6.0's STL. - VS6.0 STL is - now no longer supported! - -2002-08-26 15:02 robert - - * Moved the #define GL_DOT3_RGB_ARB's into their own #ifndef - GL_ARB_texture_env_dot3 block. - -2002-08-26 13:04 robert - - * Moved #define's for OpenGL1.2 image formats into the - include/osg/Image header - to allow compilation of the rgb plugin under Windows with its 1.1 - OGL headers. - - Added float.h to Math's compile path for VS7 compilation. - -2002-08-26 12:34 robert - - * Made the sort callback's sort method pure virtual. - -2002-08-26 12:28 robert - - * Removed redundent parameter in sort() callback which was never - being used. - -2002-08-26 10:30 robert - - * Added #include to include/osg/glut for Windows build. - -2002-08-26 10:24 robert - - * Updated Texture3D to use extension checking to get the relevant - 3d texturing - extensions. - -2002-08-26 03:15 don - - * Added writer to RGB plugin - -2002-08-25 15:31 robert - - * Converted code dependant on osg::Texture across to its - replacement osg::Texture2D. - -2002-08-25 11:00 robert - - * Fixes for Win32 build - -2002-08-24 21:12 robert - - * Added guard to prevent VS7 builds using the #defines for cosf - etc. - -2002-08-24 21:12 robert - - * Added brief items to NEWS in prep for the 0.9.1 release. - -2002-08-24 21:11 robert - - * Added support for the texture_env_dot3 extension. - -2002-08-24 19:39 robert - - * Added new osg::TextureBase, osg::Texture1D, osg::Texture2D, and - osg::Texture3D - classes, and changed osg::Texture and osg::TextureCubeMap so that - they now derive - from osg::TextureBase. - -2002-08-24 19:35 robert - - * Clean up of include/osg/GL and include/osg/GLExtensions for - better support of - Windows build. - -2002-08-23 00:43 don - - * Modifed osgGLUT viewer and messages in SGV to allow for start up - in full - screen mode. - -2002-08-22 17:36 don - - * Fixed a dependency order - -2002-08-22 09:19 robert - - * Added calling of the LightSource and ClipNode as Group by the - NodeVisitor and - fixed the CullVisitor and Optimizer to take account of this. - -2002-08-22 08:14 robert - - * Fixed the osg::Transform::coompute*() methods so the were using - the _referenceFrame - correctly, as previously they were doing the exact opposite from - what they - should have been doing. - -2002-08-21 20:42 robert - - * From Stephan Huber, "I found a small bug in QTtexture.c: the code - fails, when the image-files - don't reside on the boot-partition. I replaced the offending - function by a - cleaner one.". - -2002-08-20 22:43 robert - - * Moved the include from the State header into - State.cpp, and - added it into other files which now required it. - -2002-08-20 18:00 robert - - * Added IO Support for TexEnvCombine state attribute. - -2002-08-20 14:15 robert - - * Added support for the tex_env_add and tex_env_crossbar - extensions. - -2002-08-20 14:12 robert - - * Fixes to new osgText and osgParticle project files. - -2002-08-20 12:29 robert - - * Added the definition of GL_FOG_COORDINATE_SOURCE to Fog.cpp. - - Added #include to the GLExtensions header. - -2002-08-20 11:27 robert - - * Moved the IO support for the osgText and osgParticle libraries - into seperate - plugin libraries. - -2002-08-20 10:26 robert - - * Added a error message for when OSG_NOTIFY_LEVEL is not set - correctly. - -2002-08-20 10:14 robert - - * Merged fixes to the osg::GLExtensions function pointer code from - Stefan Huber, - and a fix to osg::State's secondary color code from Bob Kuehne. - - Moved the body of the getGLExtensionFuncPtr() into the header to - help out - support for Windows mapping of different OpenGL extensions - function ptr per - dll. - -2002-08-20 10:08 robert - - * A FogCoordinateSource set/get methods to osg::Fog which - correspond to the - FogCoord support added to osg::Geometry. Added suppot for these - new parameters - to the .osg plugin. - -2002-08-20 08:14 robert - - * Reordered the string comparions so that DEBUG_INFO comes before - INFO, since - the find op will find INFO in a DEBUG_INFO string, and hence - report the wrong - notify level. - -2002-08-19 19:53 robert - - * Added default values to the TexEnvCombine constructor. - -2002-08-19 15:14 robert - - * Added missing include/osg/ClearNode - -2002-08-19 15:11 robert - - * Added new osg::TexEnvCombine state attribute. - -2002-08-19 11:42 robert - - * Renamed the osg::EarthSky to osg::ClearNode to make it more - obvious what - role it has play and make it more relevant to non vis-sim - applications. - -2002-08-19 08:35 robert - - * Moved "unsigned int i" from for(.. to just before it, and removed - subsequent - ones to get the VisualStudio compiler working once more. - -2002-08-18 14:42 robert - - * Added DOFTransform, MatrixTransform and PositionAttitudeTransform - to NodeVisitor. - - Added - osg::Matrix/Quat::makeRotate(angle1,axis1,angle2,axis2,angle3,axis3) - and - osg::Matrix::rotate(angle1,axis1,angle2,axis2,angle3,axis3) - method. - - Made osg::Matrix/Quat::makeRotate(heading,pitch,roll) and - osg::Matrix::rotate(heading,pitch,roll) all deprecated API. - - Fixed the Quat*Quat & Quat*=Quat multiplication methods so that - they multiplied - in the correct order - they were reversed originally due to the - Quat code being - based on code example which used the v' = M v ordering, rather - than the OSG's - v' = v M ordering. - -2002-08-18 11:16 robert - - * Added check to disable color binding when the secondary colour - extension doesn't - exist. - -2002-08-17 07:34 robert - - * Fixed typo in #define of UBYTE4 - -2002-08-16 15:14 robert - - * Added Texuture::SubloadCallback example into the osgprerender - demo to illustrate - how to use it. - - Changed the ImpostorSprite to use LINEAR,LINEAR for min and mag - filters for the - impostor texture. - -2002-08-16 13:33 robert - - * Added new osg::Texture::SubloadCallback, and getNumMipmapLevels() - to osg::Texture - and osg::Image. This additions are design to make texture - subloading more - flexible. - -2002-08-16 10:56 robert - - * Fixes from Ulrich Hertlein to get the pfb plugin compiling with - using - any deprecated API. - -2002-08-15 20:27 robert - - * Supported added for secondary color & fog coords to osg::Geometry - and osg::State. - -2002-08-15 20:25 robert - - * From Perry, support for color added to the - MeshPrimtive/LocalVertexPool code. - -2002-08-15 15:04 robert - - * Removed the getData() from MeshRecord and the dummy SMesh record, - this - allow the FaceRecord base class to directly provide the datatype. - -2002-08-15 14:09 robert - - * Added a using namespace std; and removed std:: from from std::hex - and std::dec. - -2002-08-15 13:04 robert - - * Added a virtual keyword into the getData() overrided methods. - -2002-08-15 11:25 robert - - * Submission from Perry Miller for support of OpenFlight15.7's - local vertex pool - and mesh primitives. Converted Perry's code to work with the - osg::Geometry - instead of osg::GeoSet. - -2002-08-14 20:56 robert - - * Added SG_EXPORT to PositionAttitudeTransform and MatrixTransform. - -2002-08-14 09:30 robert - - * Commented out the #define USE_DEPRECATED_API. - -2002-08-13 18:29 don - - * Added some comments - -2002-08-13 15:31 robert - - * Futher improvements and fixes to osg::AnimationPath, and the - osglight - demo to show it action. - -2002-08-13 13:22 robert - - * Made improvements to osg::AnimationPath, added - osg::PositionAttitudeTransform::AnimationPathCallback which us an - app callback - which uses an AnimationPath to specify the new positions of the - transform. - - Added AnimationPath code to osglight to animate the positional - light. - - Added CullVisitor::setCullingMode() code into SceneView so that - SceneView's - CullingMode is now properly passed onto CullVisitor. Note, this - work - had been done before, but must has been lost in a merge. Umm... - -2002-08-13 09:35 robert - - * Fixed uninitialized _sortMode. - -2002-08-12 17:40 robert - - * Added new s/getPivotPoint() support to - osg::PositionAttitudeTransform. - - Modified the osglight demo to use an AppCallback and a - PositionAttitudeTransform - to animate the loaded model. - -2002-08-12 13:42 robert - - * Updates to DOFTransform so that its overrides the traverse() and - compute*() methods - rather than depending upon callbacks for animating and compute - matrices. Merged the - put/inverseput code between Sasa's and Ferndinand's DOF code. - - From Bora Utka, Added support to osg::Sequence/OpenFlight - AnimNode to the flt plugin. - -2002-08-12 13:37 robert - - * attempt to fix read only status of Sequence.cpp. - -2002-08-11 21:26 robert - - * Removed dependency of the new osg::DOFTransform and osg::Sequence - Node's - on osgUtil by implementing a NodeVisitor::VisitorType enum, and - associated - g/setVisitorType. This allows callbacks to querry the - visitor/traversal - type without doing down cast's to specific visitor subclasses - such as - osgUtil::AppVisitor/CullVisitor. - -2002-08-11 10:32 robert - - * Temporarily commented out the flat staic transforms visitor since - it - was causing problems with the new DOFTransform class. - -2002-08-09 19:51 robert - - * Submission for Gideon May, fixes for spacing in various osgText - files. - -2002-08-09 16:27 robert - - * Fixed the X and Y axis rotation billboards so that now rotate - correctly. - - Rewrote the osgbillboard demo so that it creates a point - rotatated billbaord - and X,Y and Z axis billboards to both test and demonstrate this - types of - billboards in action. - -2002-08-08 21:36 robert - - * Fixes for IRIX 32bit timmer on O2. From Tom Jolley. - -2002-08-08 15:10 robert - - * Fixed warning related to where _increasingFlags is an unsigned - short and 0xffffff is being - truncated, spotted by Tom Jolly. - -2002-08-08 15:09 robert - - * Removed inline definition from front of setMaxAnisotropy method. - -2002-08-08 13:45 robert - - * Fixed typos, sent in by Warren Macchi. - -2002-08-08 13:41 robert - - * Fixed bug related to switching on/off culling modes. Patch from - Nikolaus Hanekamp. - -2002-08-08 11:27 robert - - * Changed the Geometry::setVertexArray and GeoSet::setCoords so - that they - call dirtyBound() instead of reseting the local bound flag, this - ensures - the updates are propagated upwards through into the parents. - -2002-08-08 11:01 robert - - * Fixed the shininess factor in 3ds plugin. - -2002-08-07 15:52 robert - - * Changed the support for anisotropic filtering in osg::Texture so - that it - is now controlled via the setMaxAnisotropy(float) method, and is - set up - independently for the mag filter mode, which it previously was - done. - -2002-08-07 10:10 robert - - * Renamed osgsequence.cpp to osgsequence.dsp, as it was clearly a - typo... - -2002-08-07 10:08 robert - - * Fixed type of DOFTransform.cpp - -2002-08-06 17:07 robert - - * Added shells for DOFTransform and PositionAttitudeTransform to - the .osg - loader, still need to fill in the saving and loading of - paramters. - - Went through the distribution remove old API usage. - -2002-08-06 10:37 robert - - * Changed the default value of _animationOn to true. - -2002-08-06 10:07 robert - - * Fixed typo in comment. - -2002-08-06 10:04 robert - - * Adde getViewFrustum() to camera. - -2002-08-05 15:07 robert - - * Added new osg::DOFTransform node from Sasa Bistrovic, designed to - mirror - the OpenFlight DOF transform nodes. - -2002-08-05 13:29 robert - - * Added support for PROTECTED modes into the .osg reading and - writing. - -2002-08-05 13:12 robert - - * Added an example of the use of the PROTECTED modes and attributes - into - the osgreflect demo so that toggling texturing on or off won't - affect - the mirror planes texturing. - -2002-08-05 12:52 robert - - * Fixed compile errors under IRIX. - -2002-08-05 12:40 robert - - * Added support to StateAttribute/State to support PROTECTED flag - for modes and attributes - so that they cannot be overriden from above via the OVERRIDE - flag. This is - useful for things like manipulators that have handles display in - the scene, you - might want to prevent their state being affected by other - overriding of - light, wireframe modes etc. - -2002-08-04 21:11 robert - - * Fix to iv/vrml loader so that it correctly passes back the right - ReadResult - and checks the validity of the file extension being passed to the - plugin. - Removed main.cpp * .h moving all its functionality into - readerwriter.cpp. - -2002-08-04 20:51 robert - - * Changed the error reporting so that it directs it all via - osg::notify, and - only uses the INFO level for reporting that the file to load is - not - recognised. Also add check for LWO2 loading so that it returns - FILE_NOT_HANDLED - message correctly. - -2002-08-04 20:34 robert - - * From Ruben Lopez, updates to VRML/IV loader. - - From Ben Discoe, corrections to comments in osg::Transform - - From Alberto Barbati, Lazy evaluation of inverse matrix in - osg::MatrixTransfrom - -2002-08-03 19:42 robert - - * Added Sequence.cpp to osg plugin workspace file. - -2002-08-03 19:37 robert - - * Changed the copy constructor of for _light mem var to use a - dynamic_cast. - -2002-08-03 18:11 robert - - * Integrated Ulrich Hertlien's osg::Sequence node, and osgsequence - demo, and - support for osg::Sequence in the pfb loader. - -2002-08-03 18:03 robert - - * Changed the range max and min members variables to maximum and - minimum to - prevent collision with windows min and max macros. - -2002-08-03 16:49 robert - - * Added support for a sort callback in RenderBin. - -2002-08-03 16:48 robert - - * Fixed comments. - -2002-08-03 16:37 robert - - * Added cout's of the view frustum to the aid debugging, these - cout's are - now commented out, and are just left in so that they may be used - to - double check things in future. - -2002-08-02 19:11 robert - - * Fix for Win32 build - -2002-08-02 15:14 robert - - * Added missing _nodePath.clear() and _segHitList.clear() to - InteresectVisitor::reset(). - -2002-07-31 15:16 robert - - * Updates to iv/vrml loader from Ruben. - -2002-07-30 10:08 robert - - * Updates to the iv loader from Ruben - conversion from GeoSet to - Geoemetry. - -2002-07-29 21:29 robert - - * Forced the use of non mip mapped texture during subloading in the - osgprerender - demo. - -2002-07-29 11:02 robert - - * Removed default value from constructor. - -2002-07-29 00:04 robert - - * Fixes to the new texture subloading methods. - -2002-07-28 23:28 robert - - * Checked in new methods for setting up texture subloading, these - allow the - user to control which parts on an image are subloaded from, and - how big - the initial texture is. - -2002-07-28 23:27 robert - - * Checked in Pavel's updates for non texured surfaces. - -2002-07-28 21:25 robert - - * Added set/getUnrefImageOnApply() methods and associated flag and - code in Texture::apply() to set the _image to 0 on apply. Note, - this will only work when you have a single graphics context, as - with multiple graphics contexts one can't delete the image after - the first apply, as there will be more than one texture object to - update. - -2002-07-28 21:15 robert - - * Checked in Marco's commented out #defines/rejigged struct names - to get things - compiling under Windows, will need to check this in future as it - may change with regeneration of parser files - with lex/yacc. - -2002-07-28 12:52 robert - - * Chagned the initiliazation of iterators, sent in by Alberto - Barbati. - -2002-07-28 12:49 robert - - * Fixes to NodeCallback and RenderBin from Alberto Barbati. - -2002-07-27 21:35 robert - - * Fixes to the inventor/vrml loader. - -2002-07-27 10:34 robert - - * From Macro, removal of use of display lists during double pass - rendering of - particles. - -2002-07-27 10:25 robert - - * Fix for Windows - -2002-07-27 10:22 robert - - * Fixes for Win32 build. - -2002-07-27 10:09 robert - - * Added return value to addViewport. - -2002-07-26 18:46 robert - - * Added missing osg:: from various references to osg::Objectf - -2002-07-26 16:33 robert - - * Added support for LWO2, send in by Pavel Moloshtan. - -2002-07-26 16:02 robert - - * Added project file for inventor plugin. - -2002-07-26 15:37 robert - - * Added Ruben Lopez's Inventor/VRML 1.0 loader. - -2002-07-26 12:49 robert - - * Change Geometry paramter name to lower case geometry. - -2002-07-25 22:08 robert - - * From Ferdinand Cornelissen - Futher updates to the DOF code. - -2002-07-25 21:58 robert - - * Added missing return statement to if() block in Matrix::mult - code. Bug spotted - by Ray Conner. - -2002-07-25 21:50 robert - - * Fixes to Doxygen files from Neil. - - Removed unused set/getReportMode() methods and member variables - from IntersectVisitor. - - Added deep copy construction of Geometry objects. - -2002-07-25 21:45 robert - - * Changed > operator to < and swapped sides of expression, to - enable compilation - across compilers. - -2002-07-25 16:15 robert - - * Fix to geometry combiner which wasn't check the overall color - array values - in the lessGeometry functor. - -2002-07-25 15:25 robert - - * Fix to DOF Record from Sasa Bistroviae. - -2002-07-25 15:21 robert - - * Fix for colors in old flt models from Brede. - -2002-07-25 14:42 robert - - * Removed double quotes from around the : - DBGF = -g -DOSG_USE_MEMORY_MANAGER - - As this was breaking the build. - -2002-07-24 16:29 robert - - * Implemented the DOF handling more cleanly, as per OpenFlight15.7 - docs. - -2002-07-23 18:44 robert - - * Added missing std:: to endl; - -2002-07-23 15:48 robert - - * Added the missing _primtives from the copy constructor list. - -2002-07-23 15:45 robert - - * Added fog toggling to Viewer.cpp, 'y' reduces fog density, 'Y' - increases - fog density. - -2002-07-23 15:01 robert - - * Mods for HP-UX port. - -2002-07-23 14:35 robert - - * Added mode checking into StateSet to try and catch non texture - OpenGL modes - which have been applied to the texture modes and visa-versa. - -2002-07-23 13:30 robert - - * Support added for Gnu C++ under Solaris. - -2002-07-23 10:48 robert - - * Checked in Tino Schwarze's port to HP-UX. - -2002-07-22 16:01 robert - - * Updates to osgParticle form Macro. - -2002-07-22 13:05 robert - - * Merged changed to osgParticle from Macro, these add the ability - to - orientate the particles to predefined axis. - -2002-07-22 12:41 robert - - * Fixed more uninitialized variables and two potential memory - leaks. - -2002-07-21 20:34 robert - - * Fixed various uninitiliazed variables. - -2002-07-21 10:44 robert - - * Added default construction values for various member variables to - fix report - uninitialized variables. - -2002-07-21 10:04 robert - - * Futher work on ensuring that all datatypes are initilizaed in OSG - objects. - -2002-07-21 01:29 robert - - * Futher changes to remove unitialized variables/reordering of - initialization to - prevent unitialized warnings. - -2002-07-20 23:54 robert - - * Various fixes to constructors to ensure that all variables are - initialized. - -2002-07-20 22:44 robert - - * Added missing default values to State constructor. - -2002-07-20 22:40 robert - - * Added default values for FrameStamp.cpp constructor. - -2002-07-20 22:36 robert - - * Removed the rendundent variables in the ConvexPlanerPolygon as - these were - unused and unitialized. - -2002-07-20 22:36 robert - - * Added new debugging switch checkOnAllocations which is now on by - default - when compiling with debug build (under UNIX) and can be turned on - or off - with the OSG_MM_CHECK_ON_ALLOCATIONS environmental variable. - -2002-07-20 21:37 robert - - * Added some extra checks for memory initialization into the - osg::MemoryManager, - this is turned off by default, even in debug build. However you - can turn it - on by setting the OSG_MM_CHECK_FOR_UNINITIALIZED - -2002-07-20 18:27 robert - - * Umm... these should have already been commited, not sure why cvs - has just - popped these ones up... - -2002-07-20 16:24 don - - * Added logo plugin - -2002-07-20 15:01 robert - - * Fixed the char[] array length to fully encompass the strings - bring written - to them. - -2002-07-20 15:00 robert - - * Fixed the glTessCallback type to GLU_TESS_ERROR_DATA. - -2002-07-19 15:49 robert - - * Small bug fix to osg::BoundingBox::expandBy(x,y,z). - - Updated ChangeLog and NEWS for the release. - -2002-07-19 15:03 robert - - * Removed debugging cout's. - -2002-07-19 14:52 robert - - * Updated Doyxgen files. - -2002-07-19 14:19 robert - - * Updates to the Geometry to add more access methods, and updates - to Optimizer - to add the new merge primtives option. - -2002-07-19 13:49 robert - - * Added primitve merging into the osg::Geometry optimizer. - -2002-07-19 12:51 robert - - * Removed the cow.osg paramter for the osgparticle cow.osg in the - test scripts - -2002-07-19 10:18 robert - - * Added MatrixTransform.cpp. - -2002-07-19 09:10 robert - - * Changed the "reflect.rgb" path to "Images/reflect.rgb" to the - help find the - file required. - -2002-07-18 22:35 robert - - * Updates NEWS file for 0.9.0 release. - - Added default computeBound() implementation to osg::Drawable - which uses - a PrimtiveFunctor to compute the bounding box in a generic way, - that - will work for all Drawable subclasses that implement the - accept(PrimitiveFunctor&). - -2002-07-18 22:34 robert - - * Added osgoccluder to test scripts. - -2002-07-18 19:54 robert - - * Moved the 't' operation on texture modes across to use the new - StateSet::setTextureMode methods, this enables 't' to work once - more! - -2002-07-18 19:54 robert - - * Updated docs ready for the release. - -2002-07-18 19:41 robert - - * Moved get/setUserData from osg::Node into its superclass - osg::Object to - allow other subclasses to add their own custom data. - -2002-07-18 15:36 robert - - * Rewrote the osg::Drawable::AttributeFunctor and PrimtiveFunctor - to make - them more consistent with each other. This does mean an API - change, so - dependanct code in the OSG has been updated accordingly. - -2002-07-18 15:28 robert - - * From Randall Hopper, warning fixes for IRIX. - -2002-07-18 15:25 robert - - * From Brede Johansen, fix the TexturePaletteRecord::endian() to - handle - old flt versions (11, 12 & 13). - -2002-07-18 14:29 robert - - * From Brede Johansen - "I have found one bug in the ConvertFromFLT::visitFace() - function. In the - early days of the Flight format, before the LightPoint record - existed - they used face records with a light (-point) attribute." - -2002-07-18 14:20 robert - - * Rewrote osg:Statistics so that it is PrimitiveFunctor as is now - completely - decoupled from osg::Drawable. The Drawable::getStats() virtual - method - no longer exists. - - Updated the Viewer to use the osg::Statistics incarnation and - reformated stats - to clean it up. - -2002-07-18 10:55 robert - - * Added code into osg::LightSource so it correctly computes its - bounding - sphere, taking into account any subgraph below, and the light - itself - if it is not a infinite light. - -2002-07-18 10:49 robert - - * Updated the test scripts to include cube mapping example and - osglight demo. - -2002-07-18 10:41 robert - - * Removed repeated return transform in the visitDOF method. - -2002-07-18 10:38 robert - - * Added support for .sgi alias extension to the .rgb plugin. - -2002-07-18 10:06 robert - - * Fixed warnings. - -2002-07-18 09:55 robert - - * Converted the osg::Material::set/getShininess option to use the - standard - OpenGL range of 0.0 to 128.0 instead of the previous normalised - shiniess - range. This brings it inline with the way the rest of the OSG - uses a - 1 to 1 mapping to OpenGL. - - Converted the various loaders to use the new range, which is - almost all - cases was simply removing the /128.0f which was required before! - -2002-07-18 09:17 robert - - * Added const to LessGeometry functor to fix Win32 build. - -2002-07-18 00:55 robert - - * Fixed spelling mistake. - -2002-07-18 00:53 robert - - * Various fixes to the flt loader, and knock on changes to the - osgUtil::Optimizer - to better support removal of seperate osg::Geometry instances - where they - share the same state and bindings. - -2002-07-17 16:24 robert - - * Changed from a -> to *() when using the object pointed to by a - reverse iterator, - to fix problems with build under VS6/STLport. - -2002-07-17 12:21 robert - - * Fix for Win32 build. - -2002-07-17 10:00 robert - - * Several items of work related to adding a manual creation of - occluders - option to the osgoccluder demo. - - First the osgGA classes have been generalised a little to better - support - new GUIEventHandler subclasses. - - Second osgGLUT has a new option for registering a user defined - event handler, - the allows the application to add externally extra options to the - osgGLUT viewer. - - Third, the osgoccluder demo now works in two modes. The original - create - four occluder sides to wrap an loaded model, the second an - interactive - mode which allows the users to add occluders to the model by - pointing - to points and pressing 'a' to add a point, the 'e' to end the - occluder - polygon, polygons must be convex, planer and be defined in an - anitclockwise - order. To start the osgoccluder in this mode one simple runs it - with the - '-c' option. Run osgoccluder with no parameter to get a list of - options. - -2002-07-16 20:07 robert - - * Updated docs and added osgGA - -2002-07-16 19:21 robert - - * Updates from Bob Kuehne and Kristopher Bixler to remove the fink - dependency from the MacOSX build. - -2002-07-16 19:19 robert - - * Fix to DOF Record from Sasa Bistrovic - -2002-07-16 19:17 robert - - * Added SpotExponent to the spot light. - -2002-07-16 18:56 robert - - * Removed repeat line from Makefile. - -2002-07-16 15:43 robert - - * Bumped up the version numbers to 0.9.0 to reflect the upcomming - release. - -2002-07-16 15:28 robert - - * Rewrote the apply_imp template method so that it takes an - initialization - paramater. - -2002-07-16 15:13 robert - - * Fixes for MacOSX build from Bob Kuehne. - -2002-07-16 15:12 robert - - * Added the beginings of an osglight demo. - -2002-07-16 11:33 robert - - * Added TextureCubeMap.cpp to the .osg plugin Makefile. - -2002-07-16 10:20 robert - - * Fixed the new TemplateArray desctructor. - -2002-07-16 10:16 robert - - * Added protected destrcutor to TemplateArray. - -2002-07-15 22:23 robert - - * Added support to osgUtil::Tesselator to insert extra vertices and - other - attributes into an osg::Geometry node. Uses the new - osg::ArrayVisitor. - - Converted the osg plugin Geometry support to use the new UByte4 - class. - -2002-07-15 22:18 robert - - * Added osg::UByte4 class, which can be used to represent packed - colors. - - Changed osg::UByte4Array across to use the new osg::UByte4 class - rather - than a GLuint as do previously. - - Cleaned up some of the paramters in osg::Vec4. - -2002-07-15 13:39 robert - - * Removed the second texture from the prerender demo so as not over - complicate - the final image. - -2002-07-15 13:20 robert - - * Fixed the orientation of the osgreflect demo so that the - reflection plane - is orientated towards the viewer. - - Changed the lightmodel ambient level to 0.1,0.1,0.1 instead of - 0.0, so that - a small amount of ambient lighting is available to render back - surfaces. - The osgreflect and osgprerender suffered unexpected behaviors - because of - no lighting on the backfaces. - -2002-07-15 13:14 robert - - * Added a MatrixTransform to tilt the osgreflect demo so that the - reflection - plane is seen clearly. - -2002-07-15 13:13 robert - - * Fixed the optimization of the orientation conversion. - -2002-07-15 11:44 robert - - * Fixed memory leak in FieldReaderIterator.cpp. - - Updated the Make/osgtests.bat and Make/debugtests.bat scripts. - -2002-07-15 10:53 robert - - * Renamed hangglide to osghangglide - -2002-07-15 10:51 robert - - * Removed the old hangglide directory. - -2002-07-15 10:45 robert - - * Renamed osghangglide demo. - -2002-07-15 10:43 robert - - * Renamed the hangglide demo osghangglide to make it consistent - with the rest - of the demos. - -2002-07-15 10:03 robert - - * Added State::disableTexCoordPointersAboveAndIncluding( unit ) - method so that - all unsed texture units can be turned off simply within Drawables - such - as Geometry and GeoSet. This can be used to prevent bleed of - arrays from - one object to the next - which can cause crashes. - -2002-07-15 04:42 don - - * Changes for Sunos - -2002-07-14 21:49 don - - * Added Logos loader - -2002-07-14 20:51 robert - - * Fixed unused variable `osg::StateSet *osgStateSet' warning - -2002-07-14 20:48 robert - - * Added Drawable::AppCallback example and fixed a warning. - -2002-07-14 20:32 robert - - * Tweaked the color and aspect ratio settings of the pre rendering - bin. - -2002-07-14 16:26 robert - - * Fixed computeNearFar bug in CullVisitor::apply(Billboard&). - -2002-07-14 10:46 robert - - * Fixes to read/write of MatrixTransform/Transform. - -2002-07-14 08:35 robert - - * Copy and Paste bug where an for() loop was repeated within - itself, which - was introduced when moving across to use osg::Geometry. - -2002-07-13 21:17 robert - - * Fixed various warnings which were appearing under MacOSX. - -2002-07-13 20:31 robert - - * Conveted GeoSet to use the new state::set*Pointer/disable*Pointer - methods - to keep the current state valid. - -2002-07-13 14:16 robert - - * Support added for multitextured TXP files, sent in by Boris - Bralo. - -2002-07-13 02:46 don - - * put a typedef in public area of class for sun compilers - -2002-07-12 21:45 robert - - * Added missing MatrixTransform.cpp file - -2002-07-12 21:45 robert - - * added glutInit to osgparticle demo to fix crash under MacOSX. - -2002-07-12 21:42 robert - - * Added second texture to osgprerender demo to test out - multitexture in - osg::Geometry, it works!! - -2002-07-12 21:08 robert - - * Added MatrixTransform header and source. - -2002-07-12 19:50 robert - - * Changed the osgmultitexture demo so that it uses a TexEnv::BLEND - mode - with a colour. This lightens the resultant models. - -2002-07-12 18:14 robert - - * Added using namespace osgUtil to get round IRIX/Windows compiler - differences. - -2002-07-12 18:12 robert - - * Ported distribution across to use the new osg::MatrixTransform - and osg::BlendFunc - class instead of osg::Transform and osg::Transparancy - respectively. - -2002-07-12 14:25 robert - - * Have added a #define USE_DEPRECATED_API to include/osg/Export, - and - various - osg header and source files to optional compile in deprecated - parts of - the - OSG API. - - Have renamed osg::Transparency osg::BlendFunc to bring it in line - with - the - rest of the OSG's StateAttribute classes which are named after - their - OpenGL counterparts. include/osg/Transparency still exists and is - simply - a typedef to BlendFunc and is enclosed in a #ifdef - USE_DEPRECTATED_API - block. - - The matrix methods in the osg::Transform class have been - moved/replicated in - a osg::MatrixTransform sublcass from osg::Transform. The old - matrix - functionality is still present in the osg::Transform class but is - guard - by #ifdef USG_DEPRECATED_API blocks. One should now think of - osg::Transform - as being a Transform Node base class. MatrixTransform has all the - functionality of the original Transform class, so should be used - instead. - -2002-07-12 13:00 robert - - * Fix, sent in by Macro Jez, to the set of the camera with the - computed near and far plane, so that - it is only updated when _computeNearFar != - CullVisitor::DO_NOT_COMPUTE_NEAR_FAR. - -2002-07-12 10:30 robert - - * Added blend color to osg::TexEnv - -2002-07-12 09:16 robert - - * Fixed indenting. - -2002-07-12 08:48 robert - - * Addition of RoadRecords from Yefei He. - -2002-07-11 23:30 don - - * added -lpthread to the link line for Linux builds. Seems Red Hat - 7.3 - turns up undefined symbols without it. - -2002-07-11 21:08 robert - - * Fixes for Win32 build - -2002-07-11 18:33 robert - - * Added Makefile for osgmultitexture demos. - -2002-07-11 18:32 robert - - * Added #define for GL_TEXTURE0_ARB - -2002-07-11 16:12 robert - - * Added support for multitexturing to osg::State and added - osgmultitexture - demo which adds as spherical environment map using texture 1 to - any model. - -2002-07-11 14:32 robert - - * Moved the code referencing osg::BoundingBox::isValid() and - osg::BoundingSphere::isValid() across to use the valid() methods, - the later - being more consitent with other classes such as osg::ref_ptr<>. - -2002-07-11 12:57 robert - - * Fixes for win32 build - -2002-07-11 11:36 robert - - * Fixes for Win32 build - -2002-07-11 11:33 robert - - * Fixed bug in disabledTexCoordPointer where a '>' was being used - where it - should have been a '>='. - -2002-07-11 11:08 robert - - * Fixed the pathname for the osgprerender demo. - -2002-07-11 08:28 robert - - * changed unsigned int/short/char* references to - GLuint,GLushort,GLubyte respectively. - -2002-07-10 22:38 robert - - * Updates for new use of GLushort instead of osg::ushort in GeoSet - index pointer. - -2002-07-10 22:33 robert - - * Tidied up the types in osg::GeoSet so that the index pointers use - GLushort - and GLuint to get round compile issues under MacOSX. - -2002-07-10 20:30 robert - - * Updates to osg::Drawable::AppCallback and osgprerender demo. - -2002-07-10 15:35 robert - - * Added app callback to Drawable. - -2002-07-10 13:33 robert - - * Updates to osgprerender to support use of rendering to an image, - rather then - just a texture. - -2002-07-10 11:26 robert - - * Rejigged the line endings. - -2002-07-10 11:22 robert - - * Ported all the demos and loaders across to use the new - multitexturing API. - -2002-07-10 09:32 robert - - * Added Yefei He's RoadRecords to the flt loader, these records - will be - ignored by the loader, but will allow the loader to skip over - them and - continue reading the rest of the file correctly. - -2002-07-10 09:14 robert - - * Updates from Macro to support the new multitexture API, and - improve - bounding box computation. - -2002-07-10 09:04 robert - - * Added setCurrentRenderBin() method. - -2002-07-09 19:23 robert - - * Implemented more code for the new osgprerender demo. - -2002-07-09 13:31 robert - - * Updates to the osgprerender code. Still doesn't do anything - interesting yet.. - -2002-07-09 13:17 robert - - * Added new demo osgprerender to demonstrate how to prerender a - scene and use - the result in the main rendering for special effects. - -2002-07-09 10:33 robert - - * Warnings fixes for IRIX - there was a missing "const" in the - sameKindAs(.) method. - -2002-07-09 10:23 robert - - * Fixes for IRIX build. - -2002-07-09 09:35 robert - - * Implemented most of the changes required for supporting - multitexturing in - the osg::State/osg::StateSet/osg::StateAttribute and related - classes. - -2002-07-08 09:42 robert - - * Added Mike Connell to authors list. - -2002-07-07 22:12 robert - - * Added comment to reflect Clay Fowlers findings on getting VS to - compile - without the Vector wrapper classes. - -2002-07-07 22:08 robert - - * Added winsock32 libs to osgcluster demo. - -2002-07-07 20:16 robert - - * Rehashed the osgcluster project file to see if it solves the - failure under - windows. - -2002-07-07 17:42 robert - - * Fixes for Windows build. - -2002-07-07 17:40 robert - - * Added include to __DARWIN_OSX__ build. - -2002-07-07 17:30 robert - - * Did a to_dos on osgcluster.dsp since it was original saved with - unix file endings. - -2002-07-07 14:40 robert - - * Work on supporting multitexturing in - State/StateSet/StateAttribute/Geoemtry. - -2002-07-04 18:47 robert - - * Added VisualStudio files for Win32 port of osgcluster demo. - -2002-07-04 18:41 robert - - * Added support for Win32 broadcast and recience over lan. Changes - sent in - by Michael Gronager. - -2002-07-04 14:49 robert - - * Used typedef's for std::vector<>'s used inside DrawElements - implementations. - - Added deperecated comment to osg::GeoSet header. - -2002-07-04 14:23 robert - - * Added osgGA to the MIGNW makedefs. - -2002-07-04 09:49 robert - - * Fixed the TriangleFunctor QUAD_STRIP code so that it produces - consistent - results. - -2002-07-03 20:33 robert - - * Spotted by Neil Salter - missing transform. in the Transform copy - operator. - -2002-07-03 11:16 robert - - * Added osgUtil dependency to the flt project. - -2002-07-02 19:53 robert - - * Reimplemted the osgUtil::SceneView::setCalcNearFar() - functionality to bring - it inline with the CullStack/CullVisitor implementation. Also - added the - setSmallFeatureCullingPixelSize() method and wired them up inside - SceneView.cpp so they set the corresponding CullVisitor - paramters. - - Intergrated pfImage copying change in the Performer plugin, - submission sent in by Ulrich Hertlein - -2002-07-02 15:01 don - - * -n32 and -64 entries were reversed in makedefs - -2002-07-02 06:28 don - - * osgcallback required fixes for new osg::Drawable::CullCallback - -2002-07-02 06:22 don - - * Added support for CullVisitor to contain a osg::State. This used - when - cull Callbacks require the contextID for doing operations on - texture - objects, for example. Modified CullVisitor SceneView and Drawable - -2002-07-01 14:40 don - - * More 64 bit build specifics in IRIX makedefs file - -2002-07-01 14:20 don - - * Removed -ldl from makedefs for IRIX - -2002-06-28 22:42 robert - - * Rewrote the osgUtil::Tesselator so that it is easier to use, and - can also - easily retesselate osg::Primitive::POLYGONS found in Geometry - objects. - Added calls to the tesselate to the lwo and flt loaders. - -2002-06-28 20:54 robert - - * A couple fixes to remove Performer runtime warnings. - -2002-06-28 16:25 robert - - * Fixes from Ulrich Hertlein to build of pfb plugin. Small mods to - these - by Robert. - -2002-06-28 14:42 robert - - * Added to the osggeometry demo. - -2002-06-28 11:11 robert - - * Rewriting the osggeomtry demo to illustrate more primitive types. - -2002-06-28 08:47 robert - - * Removed commas from the end of enum lists. - -2002-06-28 08:36 robert - - * Change =0 to osg::Vec2Array::iterator() in .obj loader to get - round warnings - under gcc3.0.x - -2002-06-27 20:29 robert - - * Ported the flt plugin across to use osg::Geometry, it still uses - a GeoSet - internally, and I will remove this after some futher work. - -2002-06-27 15:18 robert - - * Added SG_EXPORT which was missing. - -2002-06-27 13:15 robert - - * Converted the template DrawElements primitive class into three - seperate - non templated classes - UByteDrawElements, UShortDrawElements, - UIntDrawElements. - -2002-06-27 10:50 robert - - * Moved the AttributeArray and Primitive classes into their own - header and - source files. - -2002-06-27 09:56 robert - - * Removed the test aginst a iterator as a bool. - -2002-06-26 21:11 robert - - * Added comment to explain #ifdefs for member templates. - -2002-06-26 21:10 robert - - * Added #idef to Export to add check for support for member - templates. - -2002-06-26 21:08 robert - - * Ported LWO loader across to use osg::Geometry. Work not quite - complete, - as we need to retesselate any concave polygons that can exists in - these - datasets. - -2002-06-26 17:48 robert - - * Added templated constructor to TemplateArray & DrawElements - template to - handle VisualStudio7.0 build. - - Ported 3DS across to use osg::Geometry instead of osg::GeoSet. - -2002-06-26 14:34 robert - - * Ported pfb, txp and obj loaders across to use osg::Geometry. - -2002-06-26 10:28 robert - - * Ported various demos and support classes over to use the new - osg::Geometry class - thus removing dependancy on osg::Geoset from most of the OSG, - only loaders - left to port now. - -2002-06-25 20:47 robert - - * Fixes for Cygwin build from Norman Vine. - -2002-06-25 20:36 robert - - * Fix to Quat::slerp so that it interpolates along the shortest - path. - -2002-06-25 20:27 robert - - * Added osg::Drawable::PrimitiveFunctor and TriangleFunctor - subclass for - querrying the primitive data inside Drawables. Moved various - support - classes over from being osg::GeoSet based to osg::Geometry based. - -2002-06-24 21:44 robert - - * Fixed osgText::Text::DrawModeType::ALIGNEMENT spelling mistake, - now - is ALIGNMENT. - -2002-06-24 21:37 robert - - * Checked in .osg support for the new osg::Geometry class. - -2002-06-24 12:53 robert - - * Added required std:: to front of endl to fix Win32 build. - -2002-06-23 21:43 robert - - * Added conversion to osg::GeoSet::converToGeometry() utility to - help the - migration to and testing of the new osg::Geometry class. - -2002-06-22 15:46 robert - - * Compile Fixes for Win32. - -2002-06-21 19:24 robert - - * Temporarily removed the references to multi-texturing calls. - -2002-06-21 16:45 robert - - * Added new osggeometry demo to test the work on the new - osg::Geometry Drawable. - -2002-06-21 15:14 robert - - * Bug fix to the size calculation of bmp images, changed both the - reading and - writing of images. - -2002-06-21 07:48 robert - - * Fixed constructor for TemplateArray(const TemplateArray& t,const - CopyOp& copyop). - -2002-06-20 19:54 robert - - * Addd new experimental osg::Geometry Drawable which will - eventually replace - GeoSet. Currently doesn't draw anything, and is very much in the - early design stages. - -2002-06-20 18:17 robert - - * Mods to MemoryManager to make the optimized build produce dummy - implementations for all the public functions found in the header, - this should prevent problems when not compiling in the - MemoryManager - under IRIX 64 build. - -2002-06-19 20:38 robert - - * Fixed incorrect naming of ConvexPlanerOccluder. - -2002-06-19 18:45 robert - - * Added support for reading the new OSG_MAX_TEXTURE_SIZE - environmental variable - inside the osg::Image::ensureValidSizeForTexturing() method. The - smallest of GL_MAX_TEXTURE_SIZE and OSG_MAX_TEXTURE_SIZE is used - for the - final max texture size. - - This new env. var. allows users to deliberate cap the size of - their textures - so they can test whether their models are limited by texture - memory. If - reducing the max texture size increases performance then you are - limited - by texture memory! - -2002-06-19 16:06 robert - - * Added support for reading and writing OccluderNode's to the .osg - file format. - -2002-06-19 15:18 robert - - * Added computation of the bounding volume of osg::OccluderNodes. - - Added support for - osg::BoundingSphere::expandBy*(osg::BoundingBox) and have - added osg::BoundingSphere/Box::valid() which deprecates - isValid(), this - is to be more consistent with other classes in the OSG. - -2002-06-19 10:19 robert - - * Added support for occlusion of holes in occluders, and cleaned up - the - interface to ShadowVolumeOccluders. - -2002-06-19 08:34 robert - - * Changed the osg::LightSource so its Light attribute is now - generalised to - be a StateAttribute. This allows alternative implementations of - Lights - other than the standard osg::Light. - -2002-06-18 22:35 robert - - * Added support for occluders occluding other occluders, which - helps reduce - the number of occluder that will be used in cull traversal to - only the - ones that will be effective. Note. Holes in occluders arn't - handled in - this occluder occlusion test, will implement this later. - -2002-06-18 10:18 robert - - * Clean ups for the Windows build. - -2002-06-18 09:09 robert - - * Added the length argument to a std::string argument, under Linux - it - compiled with the default value npos, under Windows it broke the - build, - add the npost excpilicity should get round this difference in - implementation. - -2002-06-17 21:50 robert - - * Rewrote the FileUtils support for data and library file paths, - moving the - storage of the path lists into osgDB::Registry, and changed the - data - structor from a char* to a std::deque. Changed a names of couple - of the - convinience functions in osgDB/FileUtils to better reflect the - two - public FilePathList's - DataFilePathList and the - LibraryFilePathList. - - Added support into the osgDB::Registry::readNode/Image/Object - methods - for pushing and popping the path of the current file being - loaded. - -2002-06-17 09:10 robert - - * Fixes to the occluder culling code to properly disable occluders - to prevent - self occlusion. - -2002-06-15 20:57 robert - - * Fixes for Visual .NET and Mingw builds, and fix MacOSX notify() - crash. - -2002-06-15 12:14 robert - - * Added computation of occluders volume scaled relative to the - frustum volume, - all volumes computed in eye coords. - -2002-06-14 16:28 robert - - * Added computation of the occluders volume, scale it to a ratio of - the - frustum. - -2002-06-14 14:50 robert - - * Added occluder hole test code into the osgoccluder demo. The code - works, - but I've commented it out right now as the Geode physically - representing - the occluder doesn't yet have a hole in it - just a cosmetic - thing. - -2002-06-14 13:49 robert - - * Refined the CollectOccluderVisitor so that it checks the subgraph - below - a node contains occluders before traversing. - -2002-06-14 11:27 robert - - * Improvements to the plane clipping code. - -2002-06-14 08:45 robert - - * Further updates to the occlusion culling code, also adding - missing OccludeNode - file the .osg plugin. - -2002-06-13 23:46 robert - - * Further work on occlusion culling. - -2002-06-13 19:39 don - - * removed the use of gettimeofday for 32 bit architectures... - -2002-06-13 19:34 robert - - * Added #include so that it will compile properly - regardless - of include order. - -2002-06-13 19:10 robert - - * Added -osgGA to the Makefile list. - -2002-06-13 18:27 robert - - * Merge Randall's changes. - -2002-06-13 16:21 robert - - * Further work on Occlusion Culling. Most of work is complete, just - debugging - required now. - -2002-06-12 16:23 robert - - * Removed inappropriate inline keyword which was breaking the IRIX - build. - -2002-06-12 15:43 robert - - * IRIX build fix. - -2002-06-12 14:57 robert - - * Changes for MacOSX build, send in by Bob Kuehne. - -2002-06-12 14:46 robert - - * Fixed the osgDB::getFilePath, osgDB::getSimpleFileName() and - osgDB::getStrippedName() - so that they check for both unix style '/' and windows style '\' - slashes in - file names. - -2002-06-12 13:54 robert - - * Fix for renaming of ShadowOccluderVolume to ShadowVolumeOccluder. - -2002-06-12 09:22 robert - - * Further work on occludision code. - -2002-06-11 19:52 robert - - * A little more work on Occlusion culling. - -2002-06-11 18:41 robert - - * Checked in Macro Jez's additions to osgText to support .osg IO - make it - a fully functioning NodeKit. - - Also reimplement notify() to try an prevent a crash which has - been caused by - to objects in notify.cpp being initiliazed twice, the second time - the auto_ptr - holding the dev/null ofstream was being initilized to 0. - -2002-06-10 13:50 robert - - * Added osg::CollectOccludersVisitor which is a helper class for - finding active - occluder in the view frustum, to be used as pre cull traversal. - -2002-06-10 11:21 robert - - * Created new helper class osg::CullStack to handle the - accumulation of projection, - modelview and culling sets, to be used during travesal of the - scene graph, such - as the cull traversal. - -2002-06-09 13:10 robert - - * Checked in migration from osgUtil based GUIAdapter code to Neil - Salter's - osgGA (Gui Abstraction). This may break users code, but all it - should - require to fix the builds should be a change from - osgUtil::CameraManipulator (etc) to osgGA::CameraManipulator and - include Calendar - -2002-05-22 12:19 robert - - * Removed the usage of memory manager from the debug windows build. - -2002-05-22 12:01 robert - - * Added osgUtil::CullVisitor::getCurentRenderGraph() and - getRootRenderGraph() - methods which replace getRenderGraph(). Small changing of order - of push/pop - of StateSet's in SceneView to clean things up. - -2002-05-22 10:04 robert - - * Changed the public osg::State::applyMode() and applyAttribute - methods so that - they dirty the associated state, this helps keep the OpenGL state - valid once - out of local drawing routines. - -2002-05-22 08:50 robert - - * Updates for Doxygen and osgGA headers from Neil. - -2002-05-21 19:34 robert - - * Typo and grammer fixes to introduction.html from Neil Salter. - -2002-05-21 09:16 robert - - * Renamed osg::State::getCurrentMode/Attribute(..) to - getLastAppliedMode/Attribute() to make it more consistent with - the internal - workings of osg::State. - -2002-05-21 08:59 robert - - * Added osg::State::getCurrentMode and - osg::State::getCurrentAttribute(). - - Aded osg::clampAbove(..) and osg::clampBelow() template functions - to - include/osg/Math. - -2002-05-21 00:58 don - - * Modified instrules so that the functionality of instlinks is that - system links are not made to point to links, rather the real - files. So - links installed on a system are pointing to platform specific - files rather - than links that may be pointing to files of the wrong platform - type. - -2002-05-18 08:39 robert - - * Various API updates to suppor light points developments better, - but should also - benifit other extensions to rendering. - -2002-05-18 08:37 robert - - * Made trilinear filtering the default mode for osg::Texture's. - -2002-05-18 08:35 robert - - * Modified the setting of min and mag texture filter modes to - produce higher - quality mip maps. - -2002-05-15 19:58 robert - - * Fixed problem with orhographic projections due to a bug in - CullVisitor - where it automatically resets the near and far to the values - calculated - during cull traversal. The maths for converting the computed far - and near - into clip coordinates was wrong, fixed this and the problem goes - away. - -2002-05-15 11:27 robert - - * Exposed the CullVisitor::setComputeNearFarMode - -2002-05-14 10:20 robert - - * Fixes to new flipVertical/flipHorizontal. - -2002-05-14 09:34 robert - - * Added osg::Image::flipHorziontal and flipVertical, submitted by - Brede Johansen. - -2002-05-13 21:19 robert - - * Added new template versions of a commonly used maths functions. - -2002-05-13 07:30 robert - - * Reverted change to use decal flag. - -2002-05-10 19:30 robert - - * Added image plugin library defs for IRIX, submission from Randall - Hopper. - -2002-05-10 15:42 robert - - * Fix for finding windows fonts. - -2002-05-09 22:48 don - - * Small std::cout fix - -2002-05-09 19:02 robert - - * Fix compile problems with osgGA under Windows. - -2002-05-09 18:59 robert - - * Added pixelSize method to CullVisitor, and converted small - feature - culling to use the pixelSize method instead of a ratio of radius - to - distance from eye point. setSmallFeatureCullingPixelSize() method - has also been added to provide the user with finer control of - small - featyre culling. - -2002-05-09 10:31 robert - - * Added new osgGA - GUI Adapter library submitted by Neil Salter. - This will - replace the current GUI adapter code inside osgUtil. - -2002-05-08 07:32 robert - - * Addded missing ClipNode references to osg.dsp. - -2002-05-07 11:44 robert - - * Fixed osg::Camera::getModelViewMatrix() so that it handles the - EYE_TO_MODEL - transform correctly. - - Fixed warning in ClipNode.cpp. - -2002-05-07 11:12 robert - - * Support added for OpenFlight switch nodes, submission from Brede - Johansen. - -2002-05-07 11:08 robert - - * Added default values in the constructors of Vec2,Vec3,Vec4 and - Quat - default constructors. - -2002-05-07 02:51 don - - * Fixed rpath nonsense in makedefs for Irix - -2002-05-03 22:47 robert - - * Added osg::Node::getValidStateSet(). - -2002-05-03 16:47 robert - - * Added support for the managing the StateSet above a LightSource - node, - and made it an osg::Group so that it can be used a decorator - above a - scene. - - Added osgclip demo to the test suite. - -2002-05-02 22:02 robert - - * Made osg::Viewport::getViewport(..) const. - -2002-05-02 00:14 robert - - * dded osg::ClipNode class for managing OpenGL clipping planes, and - osgclip demo. - -2002-04-26 16:01 robert - - * Updated the AUTHORS file to mention the original authors of the - terrapage - loader. - -2002-04-26 15:21 don - - * Testing .dsp and .dsw as binary files - -2002-04-26 13:49 robert - - * Added mention of MemoryManager to NEWS file. - -2002-04-26 13:45 robert - - * Updated docs. - - Fix to pfb Makefile for missing $. - -2002-04-26 12:06 robert - - * Fix for CisualStudio6.0 build. - -2002-04-26 08:25 robert - - * Fixed remaining MAX_PATH usuage, replacing it with the new - DX_MAX_PATH, this - should solve compile problems under VisualStudio .NET. - -2002-04-26 08:16 robert - - * Qarning fixes, and updated the date in NEWS to reflect todays - release of 0.8.45 - -2002-04-25 22:09 robert - - * Fixes for IRIX build. - - Fix for a warning under VisualStudio.NET. - -2002-04-25 22:07 robert - - * Cygwin build fixes. - -2002-04-25 21:31 robert - - * Fix for window build. - -2002-04-25 15:54 don - - * Added small blurb for Solaris... - -2002-04-25 13:26 robert - - * Ran the spell checker through the new documentation. - -2002-04-25 12:35 robert - - * Updated change log for 0.8.45 release. - -2002-04-25 11:37 robert - - * Added to the .plan. - -2002-04-25 11:30 robert - - * Fixes to .obj plugin from gideon. - -2002-04-25 11:29 robert - - * Added Bob to the AUTHORS list for his efforts on MacOSX. - -2002-04-25 10:46 robert - - * A more verbose version of the test script, using each and more - memleaks.log - to print out progress and report any memory leaks which have been - logged. - The later will only occur with a debug build. The use of echo and - more - makes this version osgtest.bat not portable to windows - unfortuntately. - -2002-04-25 10:14 robert - - * Added another bullet point to the plan. - -2002-04-25 10:10 robert - - * Removed these old files that do little in the context of the - current - OpenSceneGraph disitribution apart from clogs things up! - -2002-04-25 10:07 robert - - * Add doc/plan.html and links to it from the rest of the docs. - -2002-04-25 08:54 robert - - * Fixed compile problem under VisualStudio. - -2002-04-25 07:47 robert - - * Fixed relative path for image. - -2002-04-25 07:29 robert - - * Updated demos documentation. - -2002-04-25 06:27 robert - - * Fixed spellings in introduction.html, and update osgtext and - osgviews images. - -2002-04-25 05:43 robert - - * Added back in as binary file. - -2002-04-25 05:42 robert - - * Temporily removing to change it to a binary file. - -2002-04-24 20:57 robert - - * Merged Bob's changes for MacOSX build. This change is simply the - addition of - GLUT_LIB to the link line. This change should be removed once we - fixed the - OSG_LIBS so that it doens't include osgGLUT, however, I'll leave - this for another - day... - -2002-04-24 20:36 robert - - * Fix for MacOSX build, making sure that the compresed tex image is - defined - on all builds by removing the #ifdef's but then changing the name - used - in the typedef so it doesn't collide with local implementations. - -2002-04-24 20:32 robert - - * Updated doc++ docs once more. - -2002-04-24 20:24 robert - - * Removed CullViewState from the distribution, moved - CullViewState::CullingMode - into CullVisitor, and then removed all references to - CullViewState from other - parts of the scene graph. - -2002-04-24 20:13 robert - - * Updateds doc++ documention. - -2002-04-24 20:04 robert - - * Changes for Mac OSX build, sent in by Bob Kuehne - -2002-04-24 14:52 robert - - * Removed the use of __FUNCTION__ from MemoryManager to remove - problems with - VisualStudio .NET compile. - - Added support for OSG_NOTIFY_LEVEL and OSG_FILE_PATH into the - relevant getenv - routines. This compliments the exisiting OSGNOTIFYLEVEL & - OSGFILEPATH which - are deprecated but still supported. The OSG_ version are more - consistent - with the rest of the env variables used in the OSG. - -2002-04-24 14:14 robert - - * Updates to the documentation. - -2002-04-24 13:08 robert - - * Moved doc/OpenSceneGraphBanner_Distribution.jpg to doc/images/ to - tidy up - the doc directory. - -2002-04-24 13:05 robert - - * Futher work on documentation - added seperate context.html, a new - demos.html - directory and moved the previous doc/index.html to - doc/documentation.html. - -2002-04-24 08:50 robert - - * Fix for the Cygwin build related to the new FileUtils_Unix not - using the - Windows PATH environmental variable for searching for libraries. - Sent in - by Norman Vine. - - Reoder of the makedefs/makedirdefs to fix Mac OSX compilation. - Sent in by - Bob Kuehne. - -2002-04-23 22:04 robert - - * Updated the docs on compiling under Windows. - -2002-04-23 15:05 robert - - * Added OSG_USE_MEMORY_MANAGER to Windows debug build - -2002-04-23 15:01 robert - - * Fixed compilation problem associated wirh moving FileUtils source - out into - seperate files. - -2002-04-23 14:58 robert - - * Fixed ordering of paramters in osg::Image constructor to remove - warning. - -2002-04-23 13:59 robert - - * Seperated out the platform specific implementions of the file - search/access - routines - we now have FileUtils_Windows.cpp, FileUtils_Mac.cpp - and - FileUtils_Unix.cpp. The FileUtils_Mac.cpp is based on code - submitted - by Josh Portway and add uses the carbon API for searching for - files. - -2002-04-23 13:12 robert - - * Addtional details on the OpenSceneGraph and support. - -2002-04-23 11:03 robert - - * Changed the Windows gauard around so that it only works for - VisualStudio - and not Cygwin/Mingw. - -2002-04-23 11:02 robert - - * Added a pragma to get round a VisualStudio warning that I - couldn't fix - in any easy way. - -2002-04-23 10:55 robert - - * Added an imageList.clear() to osgbillboard so that its memory - would be - cleared before entering the viewer main loop, this removes - memorymanager - a reported memory leak due to the viewer using exit() which - bypasses - the clean up on main itself. - - Added an osgNew to the ReaderWriterRGB.cpp to aid detected of - tracking of - memory leaks. - -2002-04-23 10:34 robert - - * Fixed compile problems under VisualStudio w.r.t the new additions - for - precompiled mipmaps. Changed std::size_t to unsigned int. - -2002-04-23 09:06 robert - - * Replaced texture compression extension define so that its #ifndef - guard used - GL_ARB_texture_compression as natured intended. - -2002-04-23 08:40 robert - - * Updated ChangeLog in preperation for the 0.8.45 release. - -2002-04-23 08:34 robert - - * Added to the NEWS file. - -2002-04-23 08:29 robert - - * Fixed warning in swapBytes, simple addded unsigned to the int - loop count, - since sizeof() is always an unsigned int. - -2002-04-22 23:54 don - - * Impleneted byte swap for use between machines with different - endians. - -2002-04-22 21:45 don - - * Fixed couple of small errors caught by Solaris compiler - -2002-04-22 21:18 robert - - * A couple of API additions to osg::ClippingVolume, osg::Matrix and - osg::Plane - sent in by Mike Connell. - -2002-04-22 21:13 robert - - * Integrated submission from Boris Bralo: - - Supported added for precompiled mip maps stored in osg::Image, - and read - by osg::Texture. - - Updates to TerraPage loader for support of compressed texture - images and - precompiled mip maps. - -2002-04-22 19:41 robert - - * Added code in hangglide to move the earth sky around with the eye - point, - use osg::Transform::ComputeTransformCallback. - -2002-04-22 14:54 robert - - * Added support for compute the near and far planes and then - applying to - the current projection matrix into CullVisitor itself. Similar - code to - support this has been moved out of SceneView completely. - - Added Matrix:: infront of the definition of the static - osg::Matrix::inverse(Matrix) method which was missing. - -2002-04-22 09:55 robert - - * Slight changes to FAQ to make a little more relevant, it really - needs - a total re-write though. - -2002-04-22 09:50 robert - - * Added test script which runs all the demos in the OSG to make - sure they - run ok. User has to verify they are correct visually. - -2002-04-22 09:37 robert - - * Cleaned up the handling of the Viewport with - osg::SceneView/RenderStage - and CullVisitor so that the Viewport is now managed as part as - the global - stateset so that it can be pushed and popped like the rest of - state without - problems. This makes it easier to have multiple viewports within - one - scene graph. - -2002-04-22 09:31 robert - - * Fixes the .mlt loading from Ben Discoe. - -2002-04-21 22:05 robert - - * Updated TODO list. - - Converted AnimationPath so it is now subclassed from - osg::Transform::ComputeTransfromCallback() - so that it can be directly attached to the scene to move objects - about. - - Changed the osg::SateSet::setGlobalDefaults() so that is sets - GL_DEPTH_TEST - to ON. - - Added guards and creation of default helper classes in - osgGLUT::Viewer and - osgUtil::SceneView so that sensible defaults are used when no - settings - are used of - osg::State/StateSet,osgUtil::RenderStage/RenderGraph/CullVisitor. - -2002-04-21 21:53 robert - - * A second try at commit these updates to docs. - -2002-04-21 10:12 robert - - * Fixes to spelling mistakes in NEWS file. - -2002-04-21 10:11 robert - - * Updated Versions, and NEWS file to reflect impending release of - 0.8.45. - -2002-04-21 09:51 robert - - * Updates to docs. - -2002-04-20 20:35 robert - - * Updated the docs. - -2002-04-20 15:49 robert - - * Reorginising the docs so that data source, dependencies and - installation - istrucions sit in the doc directory as html files. - -2002-04-19 19:55 robert - - * Changed the implementation of - osg::Quat::makeRotate(heading,pitch,roll) so that - it conforms to the OpenFlight convention of euler angles. Added - documentation - into Matrix and Quat to reflect this. - - Added so test code to osgcube for stress testing memory - allocation and deallocation. - - Commented out the registering of app and cull callbacks in - osghud. - -2002-04-19 16:22 robert - - * Fixes for Max OSX build from Bob Kuehne. - -2002-04-19 16:21 robert - - * updated the introduction.html, still not complete but getting - there. No edited - for typo's yet :-) - -2002-04-19 16:00 don - - * Fixed an assignment that should have been a test - -2002-04-19 15:34 don - - * Updated some files sent by Boris Bralo for the txp loader. - -2002-04-19 15:02 don - - * Fixed small typo in src/osgUtil/RenderStage.cpp - -2002-04-19 15:00 don - - * Added Bob K's fix - -2002-04-18 23:30 don - - * Fixed small typo in SceneView::setDefaults(). - -2002-04-18 21:29 robert - - * Added introduction html file. - -2002-04-18 16:40 robert - - * Updated stereo documentation to include details about horizontal - and vertical - split stereo. - -2002-04-18 16:08 don - - * Changed make makeosx to make - -2002-04-18 15:37 don - - * changed LIBEXT to LIB_EXT for Darwin - -2002-04-18 15:16 don - - * Added -lXi to the Linux X_LIBS - -2002-04-18 10:38 robert - - * Fixed VisualStudio .NET warnings in TXP plugin. - -2002-04-18 09:57 robert - - * Fixed memory leak in FTGL associated with the function of - gluTesselate. - - Fixed a warnings in the DW plugin. - -2002-04-17 20:04 robert - - * Warning fixes for VisualStudio - -2002-04-17 14:18 robert - - * Fixed type in location of redhat glu patch. - -2002-04-17 11:36 robert - - * Fixes for warnings under VisualStudio - -2002-04-17 11:29 robert - - * Added a gset->computeNumVertices() which was missing, this was - causing models - to disappear after application of tri stripping. - -2002-04-17 09:48 robert - - * Changed the osg::Billboard comution so that it get passed in the - current - modelview matrix rathan than an identity matrix, this matrix is - then modified - locally. - - Changed the osg::Matrix set methods so they are inline. - - Added a few useful comments to MemoryManager.cpp to help people - understand - the assert's better. - -2002-04-16 21:39 don - - * Changed Linux makedepend flag from -MM to -M - -2002-04-16 21:08 robert - - * Fixed the seveal hunderd warnings in TerraPage loader! - -2002-04-16 15:44 robert - - * Fix to TXP plugin to handle to new osg::Image method naming. - -2002-04-16 15:31 robert - - * Added clearing of seperation band between horizontal/vertical - split stereo - areas. - -2002-04-16 15:21 don - - * Added makedirdefs via a request from Bob Kheune. This allows us - to edit - the DIRS cruft in a single file in the Make directory instead of - having - to edit multiple files. Also edited Makefiles that needed to - include - this file. - - Also cleaned up txp loader to compile with SunOS. This needs to - be retested - on other platforms. - -2002-04-16 14:57 robert - - * Added osg::Image::setPixelFormat(..) and - setInternalTextureFormat(), and - renamed osg::Image::pixelFormat(), - internalTextureFormat(),dataType() to - osg::Image::getPixelFormat() etc. These changes are to bring it - more - into line with the style of the rest of the OSG. - - Updated the rest of the distribution to take account for these - names changes. - -2002-04-16 14:09 robert - - * Purge on warnings under Linux. - -2002-04-16 11:41 robert - - * Removed the cached matrices from osg::Camera, so that - osg::Camrea::getModelViewMatrix() and - osg::Camera::getProjectionMatrix() are - calculated on the fly. Removed various redudent methods, - including the - project and unproject methods which are better supported within - osgUtil::SceneView. - - Added a computeWindowMatrix() method to Viewport, to make it - easier to construct - a MV*P*W matrix for converting local coords into screen coords - and visa versa. - Converted SceneView and CullVisitor to use this new method. - -2002-04-16 11:36 robert - - * Updates to the flt plugin from Brede Johansen. - -2002-04-16 08:01 robert - - * Warnings fix. - -2002-04-16 05:29 don - - * Fixed some boo-boos in makerpms for building demo source files... - -2002-04-16 04:13 don - - * Fixed Solaris 'make distribution' for demo source. - -2002-04-16 03:24 don - - * fixed a few problems that didn't work right with installing demo - source - on platforms other than Solaris. - -2002-04-15 21:48 robert - - * Compile fixes for IRIX, submitted by Randall Hopper. - -2002-04-15 21:03 robert - - * Added support for OSG_USE_MEMORY_MANAGER into Windows build. - -2002-04-15 19:12 robert - - * Added Makefile.inst which was not added ealier with the check in - osghud. - -2002-04-15 14:45 don - - * Added Daniel Sjölie's request to use a default complier (CXX) in - makedefs. - Doing this only for Linux - -2002-04-15 14:29 robert - - * Fixed error in project w.r.t name of source file. - -2002-04-15 14:21 robert - - * Renamed Demos/osgtext/osgtext.dsp back to - Demos/osgtext/osgtextdemo.dsp - -2002-04-15 13:15 robert - - * Added CullCallbacks to osg::Node, and osgUtil::CullVisitor. - -2002-04-15 11:03 robert - - * Added osghud, a head up display demo. - -2002-04-15 10:59 robert - - * Fixes to warning in Win32 build - -2002-04-15 08:51 robert - - * Fixed the copying of LongIDRecord's strings in flt plugin so it - now uses the record length-4, - to create the string. Also Removed some in appropriate comments - from LongIDRecord, since they - were obvious and hang over of a copy and paste job on the code. - -2002-04-15 08:09 robert - - * Fixed display problem with the HUD in osgtext which was caused by - the - new mods to SceneView not honouring the z near/far calculation - flag. - -2002-04-14 22:21 robert - - * Added support for specificing the eye mapping and seperation - between the - horizontal and veritical split stereo modes. - - Renamed osg::Image::ensureDimensionArePowerOfTwo() to - osg::Image::ensureValidSizeForTexturing(). - -2002-04-14 20:30 robert - - * Used a faster method for checking for power of 2 on the image - dimensions and - did a check on forcing 16bits textures in osg::Texture (which - speeds things - up on the Umea model which is performance bound by texture - memory.), the - later check is now commented out. - -2002-04-14 13:41 robert - - * Fixes to osg::Image::createImage(..), and addition of code to - Viewer.cpp to support - output of screen snapshot via 'O'. - -2002-04-14 12:54 robert - - * Addition of write .bmp to the BMP plugin. - -2002-04-14 12:53 robert - - * Fix for crash in SceneView introduced when ungarded use of - _dispalySettings - pointer was added, a if (valid) guard has been added to solve the - problem. - -2002-04-13 22:19 robert - - * Clean up for VisualStudio build - -2002-04-13 18:53 robert - - * Added a space into the project name because it was confusing - VisualStudio. - -2002-04-13 18:45 robert - - * Further changes to VisualStudio.dsw for dependancies. - -2002-04-13 11:36 robert - - * Added dependanices into osgPlugins. - -2002-04-13 11:08 robert - - * Fixed compile problem related to missing includes (a result of - removing include of Camera..) - -2002-04-13 10:29 robert - - * Added dependancies to Demos. - -2002-04-13 10:18 robert - - * Saved workspace from VisualStudio to follow up on missing demo - dependancies - -2002-04-13 09:28 robert - - * Added Core infront of the names of the project dependancies. - -2002-04-12 18:06 robert - - * Further work on cleaning up SceneView and Camera, in particular - moving strereo - support out of Camera and into SceneView. Also enabled the option - to set the - projection and modelview matrices directly on SceneView thereby - removing the - dependance on osg::Camrea to control the view of the scene. - -2002-04-12 14:05 robert - - * Fixes for Win32 build. - -2002-04-12 13:06 robert - - * Futher updates to VisualStudio files, adding osgstereoimage and - osgversion in particular. - -2002-04-12 12:51 robert - - * Added "Core " infront of the osg, osgDB, osgUtil, osgText, and - osgGLUT libraries - in the Visual Studio workspace/project files. - -2002-04-12 12:15 robert - - * Renamed the osgtext demo project to reflect the name. - -2002-04-12 11:57 robert - - * Added "Demo " and "osgPlugin " infront of all demo and plugin - project names to - help differentiate them within VisualStudio. - -2002-04-12 10:24 robert - - * Attempt to add osgPlugin infront of the 3ds name to force - VisualStudio to - present it as plugin in the browser. - -2002-04-12 10:12 robert - - * Reorganised the names of libraries and Demos to make it clear - what is what. - -2002-04-12 09:53 robert - - * Fixes for Win32 build - -2002-04-12 09:25 robert - - * Removed double reference of osgtexture - -2002-04-12 09:25 robert - - * Removed Metroweks files since they wern't being used, and were - not up to - date. An attempt at using Metrowerks for MacOSX build failed, and - we - have Cywgin/Mingwin VisualStudio for windows so there is little - need for it. - -2002-04-12 08:01 robert - - * Removed dangling references to NewCullVisitor from osgUtil.dsp. - -2002-04-12 06:18 don - - * Solaris PKG distribution now makes a shar (self-extracting shell - archived) - changed makepgk to do this. - - Changed another one of those pesky cout = std::cout in - CullVisitor.cpp - -2002-04-12 05:09 don - - * added 'make cleandepend' to build system. - -2002-04-12 05:06 don - - * Added the 'make cleandepend' target to the build system. - -2002-04-11 23:20 robert - - * Added DataVariance enum and set/get fields to osg::Object to help - identify - which objects have values that vary over the lifetime of the - object (DYNAMIC) - and ones that do not vary (STATIC). Removed the equivalent code - in - osg::Transform, StateSet and StateAttribute, as these are now - encompassed - by the new DataVariance field. - - Removed MatrixMode enum from Matrix, and associated - fields/parameters from - osg::Transfrom and osg::NodeVisitor, since MatrixMode was not - providing - any useful functionality, but made the interface more complex - (MatrixMode - was an experimental API) - - Added ReferenceFrame field to osg::Transform which allows users - to specify - transforms that are relative to their parents (the default, and - previous behavior) - or absolute reference frame, which can be used for HUD's, camera - relative - light sources etc etc. Note, the view frustum culling for - absolute Transform - are disabled, and all their parents up to the root are also - automatically - have view frustum culling disabled. However, once passed an - absolute Transform - node culling will return to its default state of on, so you can - still cull - underneath an absolute transform, its only the culling above - which is disabled. - -2002-04-11 17:15 robert - - * Added several new methods to osg::Image to help keep track of - memory and added - osg::Image::readPixels to encapsulate glReadPixels. - - Reordering of includes in include/osg/Fog and include/osg/Light - to remove silly warnings under Visual Studio. - -2002-04-11 17:13 robert - - * Patch to ReadWriter3DS from Mike Connel. - -2002-04-11 16:05 don - - * Backed out bad addition of NewCUllVisitor - -2002-04-11 15:54 don - - * Somehow, cvs forgot to check in a modified Makefile with - NewCullVisitor added - to it... Hm.. anyway this fixes it. - -2002-04-11 13:53 robert - - * Fix for Win32 build. - -2002-04-11 09:16 robert - - * Changed the comments for Clay Fowlwer about the GLU patch for - RedHat7.2 to - reflect the new position of the tarball and its new name. - -2002-04-11 08:24 robert - - * Fixed refrences to NewCullVisitor which has now been mapped onto - CullVisitor. - -2002-04-10 22:10 robert - - * Copied NewCullVisitor over top of CullVisitor and then removed - NewCullVisitor. - - Added some defines to Image in prep for writing code to determine - how big a - pixel is. - -2002-04-10 21:51 robert - - * Added new osg::DrawPixels class with encapsulates glDrawPixels as - and - osg::Drawable. Added osg::Image::readPixels to osg::Image. - - Made osg::LightSource to default to cullActive set to false to - that LightSource - nodes don't get culled by default. - -2002-04-10 14:34 don - - * Added placeholder .README file to the PKG directory to keep CVS - from removing - the directory on an update. - -2002-04-10 14:32 don - - * Removed big honkin' SUN PKG files from cvs distribution. - -2002-04-10 01:29 don - - * Added (previously omitted) libpng, libjpeg, libtiff, libgif to - makedefs - in the Linux section - -2002-04-09 22:54 don - - * Fixed makedepend to do the right thing. - -2002-04-09 21:46 robert - - * Added setProjectionMatrix and setModelViewMatrix() methods to - osg::SceneView, - and associated member variables. I have not linked them up to the - cull traversal yet, but this will be the next task. - -2002-04-09 16:09 robert - - * Further work on removing Camera references from NewCullVisitor - and releted - classes, this work paves the way for making osg::Camera an - optional - extra rather than a requirement for rendering. - -2002-04-09 15:51 don - - * Checking in all Makefile.inst in src/Demos/*. These are the - Makefiles - that get installed rather than the build Makefiles. - -2002-04-09 14:55 don - - * Added pkgadd distribution for Solaris. - - Added a cleaner way to install demo source so that installed - versions use a - simplified makedefs/makerules. - - Small fix to get osgText to compile with Solaris CC. Constructor - declared - with a non-const argument, but implemented with const argument. - -2002-04-08 16:50 don - - * Added -lstdc++ to begining of LIBS on link line.. ?? - -2002-04-08 16:25 don - - * Put quotes around "DBGF" for multi argument - -2002-04-08 08:23 robert - - * Changed a char* into const char* to fix Solaris build. - -2002-04-08 08:22 robert - - * Fix for VisualStudio's lack of auto_ptr::reset. - -2002-04-07 17:47 don - - * Added a stop gap fix for cygwin build. Previous experiements were - creating - library and plugin files that looked like system library and - system files - which would have deleted original files on a 'make install'. - Cygwin is not - tested yet, but this needed to get fixed before a cygwin user - wiped out his - system library files. - -2002-04-06 09:24 robert - - * Updates to Makefile to reflect recent .cpp additions such as - TextureCubeMap, - MemoryManager etc. - -2002-04-05 02:49 don - - * Fixed a small oversight in the previous bug fix. in - GeoSet::computeBound() - _numcoords is NOT necesarily _cindex._size. - -2002-04-05 01:52 don - - * Edited INSTALL for new make and installation procedures. - Checking in a fix for Norman Vine - Added helprules and help.sh for a long-winded help message if you - 'make help'. - -2002-04-04 18:01 don - - * Added Norman Vine's changes for CYGWIN builds - - Added distrules and makerpms for building RPM distributions - - Removed old RedHatRPM distribution build directory - - Added new dist/RPM directory and placed temporary .spec files - (these - are generated by Make/makerpms and are not intended for - stand-alone - use, but they keep the directory warm and CVS happy) - -2002-04-04 00:30 don - - * Fixed a small bug in compute bound that caused it to come up with - the - wrong number if the coord array was indexed, and containing bogus - (unindexed, yet in-line) numbers. - -2002-04-03 17:53 don - - * Cleaned up in stallation directives - -2002-04-03 17:42 don - - * Reinstated Norman Vine's TARGET_BASENAME variable in the - makefiles and - added prefixes and suffixes to libs and plugins. ALl this to - accomodate - cygwin... - - Also added INST_SYS_PREFIX and INST_SHARE_PREFIX for - installation, as well - as "standardizing" the install locations for the various - platforms. - -2002-04-02 06:58 don - - * Oops forgot to add makedefs and makerules - -2002-04-02 06:44 don - - * The new order for building OSG. All Makefiles are replaced and - the Make directory is left with four files only : - makedefs - makerules - makedirrules - instrules - - These work for all platforms supported so far, which include : - Linux - Irix - Solaris - MacOSX - Cygwin - FreeBSD - -2002-04-02 06:27 don - - * Folded in Bob Kuehne's changes for Mac OSX to makedefs and - makerules - -2002-04-01 15:37 don - - * Added cleanlite rules to makerules.new - -2002-04-01 04:54 don - - * *** empty log message *** - -2002-04-01 03:39 don - - * Completed and tested instrules.new - -2002-03-31 16:43 don - - * Added more to instrules and makedefs.new Folded in Randall - Hopper's - changes for FreeBSD - -2002-03-31 16:40 robert - - * Added new osg::Projection node, and osgUtil::NewCullVisitor which - are work - in progress for the new support for controlling the projection - matrix from - within the scene graph. - - Also Added osg::State::getClippingVolume(), getProjectionMatrix() - and - getModelViewMatrix() with allows drawables to access the current - projection, - and model view matrices and the view frustum in local coords to - the drawable. - -2002-03-31 09:54 robert - - * Removed reference to malloc.h, replacing by stdlib.h instead. - -2002-03-30 21:20 robert - - * Warnings fixes, submitted by Randall Hopper. - -2002-03-30 15:13 robert - - * Fix for Cygwin build. - -2002-03-29 17:26 robert - - * Move the applying of Projection and ModelView matrices into - osg::State so that - it now maintains references to the last applied matrices, - automatically doing - lazy state updating. This simplifies the various places in the - OSG which - were previously doing the applying, add paves the way for - managing the - projection matrix within the scene graph. - - Remove MemoryAdapter and mem_ptr as they arn't being used, and - can potentially - confuse users by their existance. - -2002-03-29 12:23 robert - - * Converted from dos file endings to unix. - -2002-03-29 12:23 robert - - * Fixes for dos endings in MemoryManager.cpp, and compile fix for - osgText for - Cygwin. - -2002-03-29 06:54 don - - * Added new install rules for makefiles and updated makedefs and - makerules... more to come - -2002-03-28 23:06 robert - - * Fixes for IRIX build. - -2002-03-28 07:29 don - - * Couple a fixes in makedefs and makerules - -2002-03-28 06:35 don - - * Added Norman Vines fixeds for cygwin - -2002-03-27 23:04 robert - - * A compile fix to the new Texture subload changes. - -2002-03-27 22:51 robert - - * Added support for setting the texture subload width and height - within - osg::Texture. The values default to 0, and in this state they are - sizes of the glTexSubImage2D are taken from the source image - size. This - allows the previous setup with no settings for subload size to - work as - before. - -2002-03-27 16:31 robert - - * Futher updates to MemoryManager, fixed memory leak in osgconv. - -2002-03-27 14:56 robert - - * Updates to various files, replacing delete calls with osgDelete - so that - greater debugging info can be gleaned. - -2002-03-27 10:52 robert - - * Added support for VERTICAL_SPILT and HORIZONTAL_SPLIT stereo - modes. - -2002-03-27 06:09 don - - * Update to makeefs/makerules - -2002-03-27 00:55 don - - * update to makedefs.new makerules.new - -2002-03-26 23:52 robert - - * Added support for osg::MemoryManager which is based upon Paul - Nettle's - memory manager published at flipcode.com. This can be turned on - with the OSG_USE_MEMORY_MANGER option which then uses custom - global - new and delete operators as well as provide osgNew and osgDelete - macro's - which add ability to log line and file from which calls are made. - - Updated osg,osgUtil,osgDB,osgText and osgPlugins/osg to use - osgNew/osgDelete, - and fixed memory leaks highlighted by the new memory manager. - -2002-03-26 21:26 don - - * Adding makedirrrules to Make directory - -2002-03-26 21:24 don - - * Temporarily adding makedefs.new and makerules.new to keep them - separate from current makedefs/makerules files. Will eventually - remove all makedefs.* and makerules.* and replace only makedefs - and makerules with makedefs.new and makedefs.new - -2002-03-25 23:18 robert - - * Added osg::MemoryManger which is currently based on Paul Nettle's - memory manager - published at flipcode. I havn't adopted Paul's macro's for - new/delete etc, but use - osg prefixed versions instead to allow greater flexiblity in - handling include - ordering. - - Have fixed a couple of new/delete[] problems which existed as a - result. - - To use the MemoryManager to track memory usage simply add - -DOSG_USE_MEMEORY_TRACKING to the compile line. - - Have yet to move the osg from using new to osgNew, will do this - next. - -2002-03-25 23:13 robert - - * Added missing osgstereoimage.dsp - -2002-03-25 19:04 robert - - * Fixes for MacOSX build. - -2002-03-23 21:30 robert - - * Fixed warning in DisplaySettings.cpp - -2002-03-23 21:28 robert - - * Moved the exit on escape into Window, and added a virtual free - method on both - Window an Viewer to clean up the windows, this is now called - before exit is - finally called, ensure that more more memroy is clean up prior to - exit. - -2002-03-23 10:55 robert - - * Added GL_TEXTURE_3D definition for those with gl.h headers which - don't - contain it. - -2002-03-21 15:46 robert - - * Added missing TextureCubeMap.cpp to cvs. - -2002-03-21 12:36 robert - - * Renamed have_applied_mode, have_applied_attribute, apply_mode, - apply_attribute - to haveAppliedMode, haveAppliedAttribute, applyMode, - applyAttribute to make - it more consistent with the general OSG name convetion. - -2002-03-21 12:00 robert - - * Added osg:State:have_applied_mode(mode) and - have_applied_attribute(type) to make it - easier to specify which modes and attributes have been modified - without - the user requiring to know to what value, or to have an - equivilant attribute - to pass to the have_applied_attribute method. The original - have_applied(mode) - and have_applied(attribute) methods have been renamed - have_applied_mode(), - have_applied_attribute() as this was required to prevent the mode - and type - values colliding during compile (it was causing a compile error - when the method - names were the same.) - -2002-03-21 11:57 robert - - * _cullMaskRight was not being initialized in the constructor which - was - resulting in some sporadic problems when running stereo - - occoasionally the - right eye view wouldn't appear! - -2002-03-21 07:50 don - - * Modified files reflect small changes to work with Sun OS port.... - - Removed redundant README file in osgviews... was a copy of - sgv/README. - -2002-03-20 22:39 robert - - * Added osg::TextureCubeMap which encapsulates OpenGL's cube - texture mapping. - -2002-03-20 14:03 robert - - * Added a Referenced::unref_nodelete() method which unreferences - but does - not delete the object even if its count goes to 0 or below. This - should - only be called in special circumstances, the - ReaderWriter::ReadResult - being one of them. This new method has allowed the problem of - objects - being multiple referenced on return from readNodeFile() & - readImageFile(). - -2002-03-20 11:24 robert - - * Updates to Texture and TextureCubeMap to clean up the code so - they share - much more of the core texture setup code. This largely invloved - paramterizing - the applyImmediateMode, which has also been rename applyTexImage - to reflect - its functionality better. - -2002-03-20 11:22 robert - - * Added the fallback of intersecting with the a drawables bounding - box, if the drawable - isn't a GeoSet and hence supported by the IntersectVisitor's - GeoSet primitive - intersections code. - -2002-03-18 23:10 robert - - * Added osg::TextureCubeMap. submission from Brede Johansen. - -2002-03-18 22:03 robert - - * Fixed the MS version number check in Optiizer.cpp. Fixes to - memory handling - in ReaderWriterDW.cpp. Submissions from Geoff Michel. - -2002-03-18 21:56 don - - * Changes required for SUN Solaris port... - -2002-03-17 18:44 robert - - * Added new osgstereoimage demo which loads two stero paired images - to create - a 3D via of photographed scene. - -2002-03-14 23:19 robert - - * Fix of a delete char array so it used delete []. - -2002-03-14 20:29 don - - * Fixed a problem for finding MIPS 64 bit libraries. Was seaching - for - LD_LIBRARYN32_PATH instead of LD_LIBRARY64_PATH - -2002-03-14 17:34 robert - - * Integrated various changes worked on at the Glasgow Science - Center. Changes - include change the CameraManipulators so they work with double - for time - instead of float. Also added support for DataType to - osg::StateAttribute - and StateSet so that they can be set to either STATIC or DYNAMIC, - this - allows the optimizer to know whether that an attribute can be - optimized - or not. - -2002-03-14 16:42 robert - - * Added a TextureCallback which cycles through various filter - modes, used - in testing new glTextParamters update functionality. I have - commented out - the call to attaching of the callback so osgtexture outwardly - behaves as - before. The code lies dormant just incase we need to use it for - testing - in the future. - -2002-03-14 16:01 robert - - * Changed Texture so that is use lazy updating on texture paramters - (Filter/Wrap) - mode by using a _texParamtersDirty flag in combination with an - applyTexParamters(State&) method which does the paramters setting - in one - tidy bundle. This new implementations replaces the CompileFlags - submitted - yesterday. - - Simplified NodeCallback by remove osg::NodeCallback::Requirements - as they - are no longer needed. - - Fixed comments in Drawable. - - Put guards around cosf definations so that they are only used - under Win32/Mac. - - Fixed warning in CullVisitor. - -2002-03-14 15:26 robert - - * Fix to handling of big/little endian in trpage_readbuf sent in by - Randall Hopper, - and a waning fix. - -2002-03-14 00:07 don - - * Fixed compile flags in Texture - -2002-03-13 22:44 don - - * Fixed DrawCallback in Drawable and added CullCallback to Drawable - Cull Visitor now checks for a Drawable's CullCallback and calls - it - if it exists. It then prunes based on the return value (bool) of - the - cull callback. - -2002-03-09 10:54 robert - - * Support added for pivot points, submission from Mike Connel. - -2002-03-09 10:53 robert - - * Fixed setWindowWidth call to account for width and height - correctly. - -2002-03-09 10:52 robert - - * TXP plugin updates from Boris Bralo. - -2002-03-09 10:52 robert - - * TXP plugin changes submitted by Boris Bralo. - -2002-03-09 10:51 robert - - * TXP plugin update from Boris Bralo. - -2002-03-04 01:37 robert - - * Added file extension guard to .obj reader plugin. - -2002-03-03 22:31 robert - - * Added support for seperate traversal masks for standard, left and - right - cull traversals. This allows one to create seperate rendering for - left - and right eyes when doing stereo. - -2002-03-02 09:24 robert - - * Added a GL vesion number check to LightModel, and small typo fix - in Registry. - -2002-03-01 09:29 robert - - * Added getInverse implementation to AnimationPath, and added #if - guard - to Optimizer.cpp to all compilation on state optimizer when using - VS7. - -2002-03-01 09:28 robert - - * Fixes to osgText to improve robustness when running multithreaded - multipipe - apps. - -2002-03-01 09:27 robert - - * Updates to the clamp to border support in osg::Texture. - -2002-02-28 00:11 robert - - * Added support for setting the maximum number of graphics contexts - that the - OSG has to maintian. - -2002-02-27 22:12 robert - - * Added an using namespace osg to fix a MipsPro7.3 build error. - -2002-02-27 22:04 robert - - * Updated AUTHORS file with Boris' email address. - -2002-02-27 22:00 robert - - * Integrated support for GL_CLAMP_TO_BORDER_ARB extension to - osg::Texture, - submitted by Sasa Bistrovic. - -2002-02-27 21:57 robert - - * Fixes to DW loader, submitted by Geoff Michel. - -2002-02-27 00:58 robert - - * Added new osg::AnimationPath which is contaner for a set of key - frames for - defining an animation path. To be used with osg::Transform etc. - -2002-02-26 20:01 robert - - * Added makeRotate(heading,pitch,roll) to Quat in prep for new - classes for - animation paths. - -2002-02-25 23:14 robert - - * Added LightModel.cpp's to Codewarrior files and added - definiations for pre gl version 1.2 headers lack of support for - color control. - -2002-02-25 22:46 robert - - * Added support for glLightModel functionality via osg::LightModel. - -2002-02-24 23:03 robert - - * Updated docs, ChangLog and NEW for patched version of 0.8.44. - -2002-02-24 22:39 robert - - * Added LineStipple to mcp file. - -2002-02-24 20:55 robert - - * Added support for glLineStipple via osg::LineStipple state - attribute. - -2002-02-24 20:21 robert - - * Removed Metrowerks.mcp as it has not been kept up to date since - October, - the new OpenSceneGraph.mcp replaces it. - -2002-02-24 16:49 robert - - * Integrated fixes to the detailed depth calculation in the - CullVisitor from - Sasa, and fix to the IntersectVisitor's management of path from - Sean. - -2002-02-23 00:16 robert - - * Updates to Windows Codwarrior file - -2002-02-22 23:40 robert - - * updates for Win32 Codewarrior build - -2002-02-22 23:39 robert - - * Fix for win32 Codewarrior build - -2002-02-22 17:12 robert - - * Add support for Metrowerks Codewarrior build under Windows. - -2002-02-19 18:59 robert - - * fixed txp build name problem - was overwriting .osg plugin. - -2002-02-18 23:01 robert - - * Fixed stereo implementation. - -2002-02-18 21:52 robert - - * Fixes to Win32 build of new DX writer plugin. - -2002-02-18 20:48 robert - - * Comment w.r.t OpenDX plugin updated. - -2002-02-18 20:46 robert - - * Added OpenDX writer from Randall Hopper. - -2002-02-14 13:26 robert - - * Beginings of reimplementation of stereo support in scene view. - Work - not complete yet. - -2002-02-14 12:55 robert - - * updated the options for the txp plugin. - -2002-02-14 12:51 robert - - * Removed osgWX workspace files. - -2002-02-14 11:06 robert - - * Fixed impostor bug introduced when new modelview matrix was moved - entirely - within the cull traversal/draw traversal. The impostor code has - been adapted - to the new convention. - -2002-02-13 22:56 robert - - * Updated the makefiles to all have the #!gmake reference to force - IRIX - compilation using gmake rather than pmake or smake. This gets - round - issues with exporting OSGHOME. - -2002-02-13 22:53 robert - - * Updated the osgconv support for orientation conversion so that it - used - inserted a static transform to do the work of rotating the scene, - then - applied a standard - osgUtil::Optimizer::FlattenStaticTransformsVisitor - traversal to flatten the transfrom down on to the geometry nodes. - -2002-02-13 22:52 robert - - * Fixed the fabsf define which was eroneous mapped to sqrtf, due to - the copy and - paste antipattern no doubt. - -2002-02-13 00:13 robert - - * Fixed problems with intersection visitor coupled with the viewer. - -2002-02-13 00:00 robert - - * Added sgv -stereo cessna.osg to make test list. - -2002-02-12 23:49 robert - - * Added a set of test runs to the makefiles and demos. The demos - now have - titles relevenat to their function. - -2002-02-12 22:51 robert - - * Updates for IRIX build, and docs updates. - -2002-02-12 22:35 robert - - * Removed references to osgWX from the doc++ directory. - -2002-02-12 08:23 robert - - * Updates to Transform and CullVistor to support new - getLocalToWorldMatrix methods. - -2002-02-11 23:24 robert - - * Updates to Transform handling in CullVisitor, in prep for moving - camera - modelview and projection into Transform nodes. - -2002-02-11 22:53 robert - - * Clean up of TXP plugin for IRIX build. - -2002-02-11 19:51 robert - - * Cleand up the root Makefile. - - Moved CullVisitor/RenderStage/RenderStageLighting across to - managing lights - entirely within RenderStageLighting, and changed the management - of modelview - matrices so that RenderLeaf now stores the absolute modelview - matrix, rather - than a model matrix as done previously. The later allows - RenderLeaf's to do - a glLoadMatrix rather than a - glPushMatrix/glMultMatrix/glPopMatrix. - -2002-02-11 15:09 robert - - * Fixed Linux hang of the TXP loader by overriding the default -O2 - optimization - level which appears to cause the code to hang, -O works fine for - some strange - reason, I havn't found any direct problems in the code. This may - be compiler - bug or a code bug, the bug may go away in later versions of - GNUC++, the - problem currently occurs under GCC2.96. - -2002-02-11 12:51 robert - - * Applied fix to transparancy in flt loader. - -2002-02-11 03:26 robert - - * Fixed the date on the release. - -2002-02-11 02:38 robert - - * Updated changelog for release. - -2002-02-11 02:34 robert - - * Fixed a make install error on the plugins related to the old - definitions for - plugin names hanging around despite being deprecated. These - definiations - confused the make install/make instclean so it tried to link a - non existant - library. Have removed old definitions and everything intalls - properly once - more:-) - -2002-02-11 01:02 robert - - * Updated changelog. - -2002-02-11 00:51 robert - - * Did a make docs, in prep for the 0.8.44 release. - -2002-02-11 00:42 robert - - * Added missing doc++ generated .html files. - -2002-02-11 00:40 robert - - * Updated Stats code, sent in by Geof Michel. - -2002-02-11 00:23 robert - - * Clean up INSTALL notes. - -2002-02-10 23:19 robert - - * Updateds NEWS for the 0.8.44 release. - - Change the osg::NodeVisitor::getLocalToWorldMatrix() / - getWorldToLocalMatrix() methods so it do not initilize the matrix - being - passed to them, and assume the the users has already initiliazed - them - appropriately, such as to take account of camera positions. - -2002-02-10 22:35 robert - - * Implemented NodeVisitor's getLocalToWorldMatrix and - getWorldToLocalMatrix - to allow users to querry the current accumulated matrix state - within the - scene graph. - -2002-02-10 20:05 robert - - * Disbalbed a dumb warning in Windows build via a #pragma. - -2002-02-10 17:16 robert - - * Fixed a bug in the drive manipulator which was due to it using - the local - coords of the intersection point with the scene rather than the - world - coord value for that point. The code now uses - osgUtil::Hit::getWorldIntersectionPoint() method for getting the - world coords. - - Added support for getWorldIntersectionPoint to Viewer.cpp. - - Put and #ifdef around the setting of the default display list - visitor so - it nolonger sets in under IRIX. This is a world around to the IR - graphics - imbending lighting info into display lists, if the display lists - are - created before state is set up it produces lighting artifacts - such as - flickering. Remove the the default display list init visitor - removes - these problems, display lists are then built on the fly and - drawables - a drawn for the first time. - -2002-02-10 11:17 robert - - * Fixes for MacOSX build. - -2002-02-10 10:42 robert - - * Fixes to TXP loader for Cygwin and Ming builds. - -2002-02-09 22:29 robert - - * Fixed the osgUtil::Optimizer::FlattenStaticTransformVisitor so - that it - does not flatten drawables which have double references to them, - but only - one reference with a static transform on it. This case can't be - flattened - but this wasn't picked up. The code now detects the case - correctly. - -2002-02-09 21:29 robert - - * Updates to BMP loader from Geoff Michel. - -2002-02-09 19:46 robert - - * Added std:: infront of string refrences to solve compile problems - under gcc 3.0.3. - - Also converted to unix file endings so other the windows style - files. - -2002-02-09 14:29 robert - - * Updates to docs and fixes to a few warnings. - -2002-02-09 10:54 robert - - * Updated docs. - -2002-02-09 10:50 robert - - * Fix to BMP loader. - -2002-02-09 10:24 robert - - * Fixes for cygwin and mingw builds. - -2002-02-08 23:07 robert - - * Removed further wxsgv files. - -2002-02-08 23:04 robert - - * Removed osgWX and wxsgv from the repositry as it is intend to - keep the core - distribution clean from GUI examples, these instead should live - in the bazaar. - This can better accomodate the many different types of viewer - that users are - developming. - -2002-02-08 22:55 robert - - * Added support for parents to Drawables. - - Bumped up version numbers in prep for 0.8.44. - -2002-02-08 09:30 robert - - * Fixes for IRIX and Boris Bralo's TerraPage loader. - -2002-02-07 08:07 robert - - * Fixed teh setDrawCallback so that it now calls dirtyDisplayList() - instead of - dirtyBound. - -2002-02-07 01:17 robert - - * Fix for Win32 build. - -2002-02-07 01:15 robert - - * Various investigations into culling errors w.r.t matrix inversion - resulted in - the conclusion that the osg::Matrix::inverse was broken, have - lifted a new - implementation from sgl and it seems to work fine. Will need - further testing - but looks good. - -2002-02-07 01:12 robert - - * Fix for the handling of lighting in the DW loader. - -2002-02-07 01:11 robert - - * Added a check to the destructor of Referenced so that it detects - referenced - objects that are deleted whilest still having a positive - _refCount, such - as when a object has been deleted on the stack, yet other - references still - exist for it. Have put the desctructor implementation in - Object.cpp to - avoid adding yet another file with only a couple of lines of code - in. - -2002-02-07 01:07 robert - - * Added callbacks to allow users to modify the underlying - functionality of - LOD, Billboard and Drawabel objects. - -2002-02-07 01:05 robert - - * Added extensions code submitted by Yefrei. - -2002-02-06 08:57 robert - - * Compile fixes. - -2002-02-05 21:54 robert - - * Have taken a few more steps towards support for view dependant - transformations - by adding a ComputeTransformCallback to osg::Transform, and have - now removed - the recently added AutoTransform since it is nolonger required. - Have also - updated CullVisitor to account for the new ways for tracking - transformation - matrices in the scene. - -2002-02-05 21:51 robert - - * Have removed the old lazy initialization of Matrix since it was - causing bugs - and adding checks to many mothods which in the end slow it down - more than - not intilizing the code! The code is now simpler, more robust and - faster:-) - -2002-02-05 10:49 robert - - * Added comment to flt2osg's handling of osg::Material setup w.r.t - osg::Material::_colorMode. - -2002-02-03 22:32 don - - * added shademodel to TARGET_INCLUDE_FILES - -2002-02-03 20:57 robert - - * Added beginings of new AutoTransform class. - -2002-02-03 19:18 robert - - * Fixes for GCC 3.0.3 build. - -2002-02-03 12:33 robert - - * Removed the trailing ; after namespace {...} declariations in - headers - which was being picked as a warning under Codewarrior. - -2002-02-03 11:38 robert - - * Added first cut at new AutoTransform node which will be used for - generating - Transform's during the cull traversal such as for earth/sky etc. - -2002-02-03 11:35 robert - - * Updates for Borland compilation. - -2002-02-02 20:07 robert - - * Added defined( __BCPLUSPLUS__) to windows export code segments. - -2002-02-02 19:49 robert - - * Fixed a copy and paste error which was causing compile problems - under Windows, - due to a incorrect comparison of objects of different types. - -2002-02-02 10:52 robert - - * Typo fixed in the header guard. - -2002-01-30 19:59 robert - - * Fixed clone(CopyOp&) and cloneType() methods which were out of - sync with the - new style clone operations. - -2002-01-30 18:59 robert - - * Fixes for Windows build - -2002-01-30 16:24 robert - - * Fixes for Windows build. - -2002-01-30 15:27 robert - - * Removed the M_PI defines from include/osg/Math and have use a - const double osg::PI etc - in its place. - -2002-01-30 15:02 robert - - * Changes for Borland C++ compiler changes. - -2002-01-30 15:02 robert - - * Added osgbillboard project files to the VisualStudio workspace. - -2002-01-30 15:01 robert - - * Added osgbillboard demo. The code is main a copy of osgtexture - right now, - my plan to do change it to make it a better demo of the different - types - of billboard that one can do. - -2002-01-30 14:37 robert - - * Removed a Makedepend that didn't belong! - -2002-01-30 13:15 robert - - * Fixed the rotation direction of the POINT_ROT_* modes, this was - broken by - earlier fixes to the osg::Matrix. - -2002-01-30 12:09 robert - - * Made the LineSegment destructor protected to force users to - create segments - on the stack thus ensure that they arn't created locally and have - their - memory deleted incorrectly. - - Also updated the IntersectVisitor so that it no used - osg::ref_ptr<> internally - for storing all data. Have also move the IntersectState helper - class to inside the - IntersectVisitor which simplifies the external interface to the - class. - -2002-01-29 20:25 robert - - * Fixes for windows build. - -2002-01-29 14:20 robert - - * Removed the now rendundent DeepCopy and ShallowCopy files. - -2002-01-29 14:04 robert - - * Moved all references to osg::Cloner to osg::CopyOp. - -2002-01-29 12:55 robert - - * Fixed the header guard, which was using the name define as - FileUtils. - Problem spotted by Terry Welsh. - -2002-01-29 12:52 robert - - * Have add new osg::CopyOp which replaces last nights osg::Cloner, - the new - class now combines Cloner and DeepCopy into one class. Cloner and - DeepCopy - will be removed in next commit. - - Also have added osgcopy app to Demos which shows how the CopyOp - have be - subclassed to create users own specific handling of copying. - - Have fixed copy constructor problems in GeoSet which fix the deep - copy - problem experienced yesterday. - -2002-01-28 21:49 robert - - * A couple of fixes to DeepCopy Cloner. - -2002-01-28 21:17 robert - - * Added support for shallow and deep copy of nodes, drawables and - state, via a - copy constructor which takes an optional Cloner object, and the - old - osg::Object::clone() has changed so that it now requires a Cloner - as paramter. - This is passed on to the copy constructor to help control the - shallow vs - deep copying. The old functionality of clone() which was clone of - type has - been renamed to cloneType(). - - Updated all of the OSG to work with these new conventions, - implemention all - the required copy constructors etc. A couple of areas will do - shallow - copies by design, a couple of other still need to be updated to - do either - shallow or deep. - - Neither of the shallow or deep copy operations have been tested - yet, only - the old functionality of the OSG has been checked so far, such - running the - viewer on various demo datasets. - - Also fixed a problem in - osg::Optimize::RemoveRendundentNodesVisitor which - was not checking that Group didn't have have any attached - StateSet's, Callbacks - or UserData. These checks have now been added, which fixes a bug - which was - revealled by the new osgscribe demo, this related to removal of - group acting - as state decorator. - - method - -2002-01-27 20:28 robert - - * Added - stateset->setMode(GL_LIGHTING,osg::StateAttribute::OVERRIDE_ON); - to scribbed - subgraph so that lighting is always on, this is needed since - glMaterial is only - active when lighting is enabled. - -2002-01-26 20:03 robert - - * Added VisualStudio workspace files for new osgscribe demo. - -2002-01-26 19:48 robert - - * Added new osgscribe demo which demostrates how to create a - wireframe - overlay of a model. - -2002-01-26 14:13 robert - - * Fixed the LOD center and range code that so that the values are - now multiple - by the _unitScale to compenstate for different scales in the flt - model. This - _unitScale had already been applied to the geometry data. - - Integrated new defaults for the texturing wrap mode, for when now - .attr file - is supplied with a flt file. - -2002-01-23 22:15 robert - - * Have made osg::Transform more extensible via additions of new - getLocalToWorldMatrix() - and getWorldToLocalMatrix(), computeLocalToWorld() and - computeWorldToLocal() - methods. - - Have updated the CullVisitor, IntersectVisitor and Optimizer to - use the - new osg::Transform::getLocalToWorldMatrix() which has the same - functionality - as the old getMatrix() but is now supports subclasses of - osg::Transform - transparently. - - Have added osg::PositionAttitudeTransform as subclass of - osg::Transform - which manages the transform as position and attitude via a Vec3 - and Quat - respectively. - -2002-01-23 15:42 robert - - * Updates to osg::Transform to allow it subclassed more easily. - -2002-01-23 15:28 robert - - * Fixed problem with Optimzer::removeRedundentNodesVisitor which - was removing the - correct redundent groups but for groups which had a single child - it was - was not using replaceChild to rettach the child to its parents. - It was using - parent->removeChild(group)...parent->addChild(child); which was - allow the child - to be attached in a different place than the original group, this - broke LOD code. - Have used removeChild instead which solves the LOD problem. - -2002-01-23 12:04 robert - - * Changed the ordering of applying OpenGL modes and attributes back - to the original - modes first then attributes since the it was cause a display bug - on some - datesets. It seems that the modes needs enabling before - glMaterial's - take affect, at least on the NVidia drivers under Windows and - Linux. - The OpenGL reference guide doesn't mention any dependancy so I'm - not - sure what the official line is. Some other OpenGl attribute and - modes - need to be applied in that order according to the blue book, - however, - drivers, at least the NVidia drivers seem require the opposite. - This may raise - the spectra of before and after mode applies, but this will - require extra - support in osg::State and osg::StateAttribute, and would have to - be handled - on a per attribute basis, and possibly different of each - platform. Yuck. - -2002-01-22 19:30 robert - - * Fixed FlattenStaticTransformVisitor bug which related to - incorrect handling - of objects which were transformed by multiple matrices at one - time - this - cannot be handled in the flattening process (since we only have - one piece - of geometry to transform). This visitor now handles this case by - disabling - flattening of any objects and transforms associated in this way. - -2002-01-22 12:03 robert - - * Temporily commented out the call to the - FlatternStaticTransformVisitor to - prevent a bug in handling instance nodes. Will be commented back - in once the - bug has been solved. - -2002-01-22 11:03 robert - - * Updated AUTHORS file to reflect recent submission. - -2002-01-22 11:03 robert - - * Added support for node instances to Open Flight loader. Submitted - by Yefei He. - -2002-01-20 19:30 robert - - * Fixes to Windows compile. - -2002-01-20 16:24 robert - - * Updates to help compilation under gcc 3.03. - -2002-01-19 22:11 robert - - * Converted osgUtil::GUIEventAdapter::MouseButtonMask from - LEFT_BUTTON etc to - LEFT_MOUSE_BUTTON etc, to prevent classes with #define of - LEFT_BUTTON.. when - including certain MS Windows headers. Arhsh Snarfff.. - -2002-01-19 20:34 robert - - * Fixed the handling of non transparent billboards, since it was - not taking into - account any accumulated transforms inherited from above. - -2002-01-18 22:36 robert - - * UPdates to CullVisitor so that it keeps in sync with the new - method paramter - change in osg::Billboard. - - Removed in instance of an object being passed () brackets, have - removed the - brackets to avoid an amiguity with the compiler intepreting it as - a function. - -2002-01-18 22:34 robert - - * Changes to fix compilation problems on the Sparc. - - GeoSet.cpp simply remove rendundent code that had already been - commented out. - -2002-01-18 22:25 robert - - * Added support for multiple graphics contexts, submission from Max - Rhiener. - - Alas changed the indenting to use 4 spaces instead of tabs, this - irons out - differences when working under Windows and Unix, keeping the - identing - consistent. - -2002-01-18 22:15 robert - - * First steps to updating the calcTransform function in Billboard - to fix - z axis contraint on rotation axis. - -2002-01-18 19:00 robert - - * Fixed copy constructor which was copying a matrix to unitialized - memory. - -2002-01-18 14:12 robert - - * Removed the global scope operators for the isnan(..) etc calls to - fix compilation - under some compiler combinations. - -2002-01-18 14:11 robert - - * Made the osg::Timer::tick() method a const method. - -2002-01-18 10:26 robert - - * Fixed typo in comment, reference to BoundingSphere has been - changed to - BoundingBox. Typo spotted by Gial Paolo Lorenzetto. - -2002-01-17 22:41 robert - - * Fixed ENALBE_ALL_CULLING spelling mistake, have changed it to - ENABLE_ALL_CULLING. - -2002-01-17 22:40 robert - - * Added support for glutSpecialFunc, glutSpaceballMotion, - glutSpaceballRotate and - glutSpaceballRotate into osgGLUT::Window base class. - -2002-01-16 21:23 robert - - * Reversed the ordering of setting of OpenGL modes and attributes, - so that - attributes are now set first, then modes. This is keep consistent - with - the setting of glColorMaterial and glEnable(GL_COLOR_MATERIAL) as - specfied - in OpenGL documentation. - -2002-01-16 21:22 robert - - * Changed the enum Types { ... } so that in no longer explicitly - sets the values, - leaving C++ to ensire that values are unque and insequence. - -2002-01-16 21:20 robert - - * Fixes to makefiles which have become a bit unhinged after MacOS X - integration. - -2002-01-16 21:12 robert - - * Added support for billboard in OpenFlight loader. Submission from - Nikolaus Hanekamp. - -2002-01-16 12:29 robert - - * Submission from Sean Spicer which adds Make/makedefs.irix.std.64 - which - compiles the OSG as 64bit. Small changes by Robert to accomodate - recent MacOSX makefile changes. - -2002-01-16 12:08 robert - - * Changes to Make/makerules.* and Make/makedefs.* to accomodate - MacOSX's need - to treat plugins and shared libraries seperately. - -2002-01-16 12:05 robert - - * Integrated the changes to osgPlugin/Makefile's for MacOSX port. - -2002-01-16 12:03 robert - - * Changed hardwired char[1024] arrays to - char[FILEUTILS_MAX_PATH_LENGTH] and - defined the value to be 2048, this should avoid problems with - path lengths - which have been overflowing the 1024 limit (Sasa report this - bug). The - real solution is to use std::string throught FileUtils, but this - will have - to wait for another day. - -2002-01-16 10:41 robert - - * Added quicktime plugin (for Mac's only), submitted by Phil Atkin. - -2002-01-16 10:36 robert - - * First batch of changes required for MacOS X build. Orignal - submission from - Phil Atkin, merged by Robert Osfield. - -2002-01-15 23:21 robert - - * Changed the use of std::vector<..>.begin() to &vector<..>.front() - in code - from passing the vector contents to the - GeoSet::setPrimLengths(..) etc. - methods. This has been done to fix the compile under the MS .NET - compiler - which has changed the definiation of the - std::vector<..>::iterator to - a class rather than a pointer. - -2002-01-15 19:54 robert - - * Fix to osgDB::getStrippedName(..) so that handles the case of - file without - an extension. - -2002-01-15 15:49 robert - - * Added '# LIBS += -limage' and explanation in comments to pfb - Makefile, - submitted by Randall Hooper. - -2002-01-15 12:13 robert - - * Added the set of GL_TEXTURE_GEN_S and _T to code converting - pfTexGen to - osg::TexGen. This is try and fix a bug in handling tex gen - datasets such - as sj_texgen.pfb. - -2002-01-15 11:05 robert - - * New ajustAspectRatio (ADJUST_NODE) mode added to osg::Camera to - fix issue - with integration with vrjuggler, submitted by Allen Bierbaum. - -2002-01-12 21:49 robert - - * Missing _attachedTransformMode in osg::Camera constructor, fix - submitted by - Ben Discoe. - -2002-01-05 16:19 robert - - * Change TOP to OSGHOME in makefiles. - -2002-01-05 16:18 robert - - * Moved the setting of camera fusion distance mode into the handle - method so that - it is updated on everyframe to ensure that switching between - Drive/Flight - and Trackball happens seemlessly. - -2002-01-04 20:44 robert - - * Renamed the TOP variable in the Makefiles to OSGHOME. - -2002-01-04 20:43 robert - - * Added a guard to osg::LOD::evaluate so that it returns -1 if the - range - matched does not have a corresponding child to relate to. This - can happen - if a user creates more than n+1 ranges, where n is the number of - LOD children. - -2002-01-04 17:35 robert - - * Added osg::ShadeModel state attribute which encapsulates - glShadeModel. - -2002-01-04 17:34 robert - - * Fixed a bug in writing of line strips and line loops to the .osg - file. - -2002-01-04 13:14 robert - - * Fixed multiple deletion of shared indecies in GeoSet destructor. - -2002-01-03 23:28 robert - - * Futher Makefile updates for Cygwin support - from Norman Vine. - -2002-01-03 23:19 robert - - * Makefile changes to support Cywin port - submission from Norman - Vine, updates - to fix case problems under unix by Robert. - -2002-01-03 21:34 robert - - * Updates for Cygwin port, from Norman Vine. - -2002-01-03 19:28 robert - - * Small source code changes for Cygwin port of OSG. - -2002-01-02 17:01 robert - - * Updates in preperation for the third attempt at the 0.8.43 - release. - -2002-01-02 15:42 robert - - * Updates from Randall Hopper to fix build under IRIX. - -2002-01-02 11:03 robert - - * A small bug fix to the matrix dump function (it was primtiing out - 5 columns - instead of four). - - Added support for multiplying mesh geometry by the matrix - attached to the - Lib3dsMesh structure, however this produces disjointed models so - have - to the default mode to bypass this multiplication code. Will need - to revisit - this in the future. - -2002-01-02 10:59 robert - - * Commented out the smoothing of FLAT_TRIANGLE_STRIP and - FLAT_TRIANGLE_FAN - since it was causes problems with any color list which were - attached. - -2002-01-02 10:53 robert - - * Moved the glShadeModel(FLAT/SMOOTH) outside of the primtitive - inner loop to reduce - the amount state changes incurred when using FLAT_ primtives. - -2002-01-02 10:49 robert - - * Fixed the orientation of for_each_triangle cases for QUAD and - QUAD_STRIP. - -2001-12-31 23:21 robert - - * Removed the variables which were duplicated in osgGLUT::Viewer - and - osgGLUT::Window, standardising on the Window ones, and therefore - removing - an unitialized variable that had been introduced. This caused a - crash - under WindowsXP due to send invalid values to glutReshapeWindow. - -2001-12-31 23:16 robert - - * Added a more detailed explanation of how LOD's work. - -2001-12-31 00:04 robert - - * Updates to NEWS for date of release, and added - include/osg/DisplaySettings - and include/osg/LineWidth to the src/osg/Makefile. - -2001-12-30 20:48 robert - - * Final update of ChangeLog for the 0.8.43 release. - -2001-12-30 20:03 robert - - * Added osg::GeoSet::FLAT_TRIANGLE_FAN to the list if primitive - handled by the - for_each_triangle template function. - -2001-12-30 19:04 robert - - * Added /usr/local/lib to the s_default_dso_path search path for - plugins. - -2001-12-30 17:13 robert - - * Made the output message related to not registering a camera - manipulator - with the GLUT Viewer output as INFO rather than as a NOTICE. This - suppress - this message which was appearing on some of the demos all the - time, even - though are quite reasonable default behaviour is used. - -2001-12-30 16:59 robert - - * Added references to sgv -stereo and sgv -stencil to the notes of - running - the demos. - -2001-12-30 16:58 robert - - * Updated the default home position of so that a better view of the - scene is seen. - -2001-12-30 15:24 robert - - * Moved the old by hand ChangeLog to ChangeLog.preCVS and then ran - cvs2cl.pl - to automatically generate the new ChangeLog. - -2001-12-30 15:12 robert - - * Did a make docs, in preperation for 0.8.43 release. - -2001-12-30 15:01 robert - - * Compilation fix to pfb plugin, sent in by Ulrich Hertlein. - -2001-12-30 15:00 robert - - * Added a comment in Windows section on INSTALL notes such that it - now - recommends that you build all the libs. - -2001-12-29 20:53 robert - - * Added .README to prevent CVS from deleting the empty bin - directory when checking - out copies. This was a problem with the nightly tarballs. - -2001-12-29 14:27 robert - - * Added comment to osg::Transform w.r.t use of GL_NORMALIZE when - using - scaling Transforms. - -2001-12-29 12:28 robert - - * Updates form Randall Hopper for the FreeBSD build - -2001-12-27 20:06 robert - - * Made inline documentation on the Values enum clearer w.r.t the - function of - OVERRIDE_ON and OVERRIDE_OFF. - -2001-12-26 20:55 robert - - * Added more details about using stereo with the OSG, in particular - the - role of the camera manipulators and the fusion distance. - -2001-12-24 23:34 robert - - * Updated doc++ references so that CVS knows about all the newly - generated - files. - -2001-12-24 23:28 robert - - * Updated the index.html to include references to the new osgText - library and - demo app. - -2001-12-24 23:14 robert - - * Removed references to redundent environmental variables. - -2001-12-24 21:56 robert - - * Did a make docs. - -2001-12-24 21:34 robert - - * Fixed the osg::Light so that it requires the user to explicitly - define which - OpenGL light is being operated on, and also now relies upong the - standard - osg::State handling of OpenGL modes to switch on the appropriate - lights. - - The previous static counter mechansim for the light number was - causing a - redundent light to be created when the osg plugin created the - first osg::Light - to use a prototype for other osg::Light's to be cloned from in - the - .osg plugin execution. - - The static count mechanism also prevent the lights modes being - controlled - independantly from the setting of the light paramters themselves. - This - meant that a light once created was global, and couldn't be - turned off - locally via the OSG's support for OpenGL mode enabling/disabling. - This - has been overcome with the new implementation, the user has - complete - flexiblity of when and where to use the different lights at their - disposal. - -2001-12-24 19:06 robert - - * Updated the osgGLUT::Viewer to subclass from osgGLUT::Window as - has been - intended since the development of osgGLUT::Window. - -2001-12-24 15:12 robert - - * updates for windows build - -2001-12-24 14:12 robert - - * Various clean ups for the release. - -2001-12-22 22:30 robert - - * Updates to keep things compiling under Windows. Also cleaned up - the new stereo.html docs. - -2001-12-22 21:35 robert - - * Added beginnings on documentation for stereo support, the - stereo.html needs - to be re-edited in a html editor before it becomes readable - though.. - -2001-12-22 14:55 robert - - * Updated usage messages to include new stereo and stencil - commandline options. - -2001-12-21 22:48 robert - - * Further work on improving stereo support in the OSG. - - Renamed the osg::VisualsSettings to osg::DisplaySettings, and - osgUtil::VisualsRequirementsVisitor to - osgUtil::DisplayRequirementsVisitor. - - Added support for OSG_SCREEN_HEIGHT into osg::DisplaySettings, - and added - a DisplaySettings* to the constructors of osg::SceneView and - osg::Camera. - -2001-12-21 13:07 robert - - * Updates to the support for stereo in osg::Camera, - osgUtil::SceneView and - the CameraManipulators. - -2001-12-20 20:48 robert - - * Added support for glLineWidth via an osg::LineWidth - StateAttribute. - -2001-12-20 16:35 robert - - * Updates to the camera code related to stereo, adding fusion - distance. - -2001-12-20 16:34 robert - - * Added check for null models be returned form - osgDB::readNodeFiles(..) to - prevent execution when no models have been loaded. - -2001-12-20 12:12 robert - - * Updates to flt loading of light points, from Brede Johansen. - -2001-12-19 15:20 robert - - * Updates to Stereo code. - -2001-12-19 10:29 robert - - * Updated the demos to support the new commandline handling of - stereo and - convinience functios for loading libs and files. - -2001-12-19 08:49 robert - - * Added check for GL_ARB_imaging extension to osg;:ColorMatrix - -2001-12-19 01:10 robert - - * Compilation fixes under for Windows - -2001-12-19 00:38 robert - - * Adding support for controlling visual settings via environmental - variables - and command line paramters. Including support for stereo and - stencil buffer. - -2001-12-18 11:28 robert - - * Added range checking to osg::Camera::adjustAspectRatio to catch - invalid values being - passed to Camera. Invalid values were occuring when iconising the - Windows GLUT - based OSG demos. - -2001-12-18 10:46 robert - - * Fixed compilation problems in flt plugin under Windows, and - removed usage of - the default GeoSet::AtttributeDeleteFunctor from the DynGeoSet - since it handled - the memory deletion iteself via STL containers. - -2001-12-17 21:13 robert - - * Changed the default field of Y to 45 degrees, as this is probably - a better - default than 30 degrees (what it was temproarily) or the 90 - degrees that - it was originally. - -2001-12-17 17:34 don - - * Fixed IRIX compile issues with the flt loader. - - ReaderWriterATTR.cpp had a variable "mips" defined, which is - predefined for the IRIX preprocessor. - Changed this to _mips. - - FltFile.cpp had a class and transient variable defined within the - scope of member function - FltFile::readExternals(), which was causing the IRIX 7.3 compiles - to hork. Moved the class - definition to outside of the member function scope. - -2001-12-17 16:21 don - - * Fixed IRIX build. Required some namespace fixes and include and - link - directives in the Makefiles - -2001-12-17 15:05 robert - - * Updated the Optimzer::FatternStaticTransform visit so by default - it ignores - all dynamic transforms, previously it flattened dynamic - transforms as well. - -2001-12-17 09:29 robert - - * Added std:: infront of endl to ensure compilation under Windows. - -2001-12-16 22:20 robert - - * Integrated detailed near clipping plane calculation into - osgUtil::CullVisitor, - submitted by Sasa Bistroviae. - -2001-12-16 16:30 robert - - * From John Davis, a little addition to the Windows version of the - osg::Timer - constructor such that a static variable is used to force the - constructor - to check the number of clock cycles per second once, this means - that - multiple timers can now be created with incurring a the 1 second - delay - used for timming the clock speed every time the constructor is - called. - -2001-12-15 22:44 robert - - * Updated version numbers to 0.8.43 in prep for the impending - release. - -2001-12-15 22:41 robert - - * Added comments on how to set up STLport under Windows and IRIX. - -2001-12-15 16:56 robert - - * Renamed osg::Matric::makeIdent() to osg::Matrix::makeIdentity() - to make - it consistent with the rest of the osg::Matrix naming. Updated - OSG - distribution to account for new name. - - Added support for the STATIC/DYNAMIC osg::Transform::Type to the - .osg - ASCII reader/writer plugin and the flt reader plugin. - - Removed the non cost version of osg::Transform::getMatrix() as - this could - by pass the dirty mechinism. - -2001-12-15 10:00 robert - - * updates for windows build. - -2001-12-14 23:18 robert - - * Fixes to Windows build in liu of the move to using just - std::streams. - -2001-12-14 21:49 robert - - * Updated OSG so that the old OSG_USE_IO_DOT_H has be removed from - all headers - that used it, all references to the Standard C++ stream classes - use the - std::ostream etc convention, all references to "using namespace - std" and - "using namespace std::ostream etc" have been removed. - -2001-12-14 18:06 robert - - * Updatedwidley used includes to remove most of the float/double - warnings - generated when compiling under Windows with STLport. - -2001-12-14 16:15 robert - - * Don haved accidentally removed the reference to osg.dsp from the - .dsw file, - breakin the Windows build. - -2001-12-14 15:37 don - - * Removed ^M from Makefile - -2001-12-14 15:16 don - - * Appeased poor MS VisualStudio by adding the ^M's to all .dsw and - .dsp files. - -2001-12-14 15:10 don - - * Fixed newline/cr problem - -2001-12-14 14:25 robert - - * Fixed problem with incorrect combining of some LOD's derived from - flt databases. - Problem related to the order of the removal of redudent groups - and LOD combining, - the LOD combining only working properly if done first. - -2001-12-14 10:47 robert - - * Fixes for Win32 build related to changes in using namespace std. - -2001-12-14 10:02 robert - - * Removed all references to using namespace std to help solve - compilation problems - under Windows and IRIX. - - Also integrated small change to lib3ds from Drew for IRIX - compilation. - -2001-12-12 20:29 robert - - * Made the following name changes to Matrix and Quat to clean them - up and make - the functionality clear given the name. This will break user code - unfortunately - so please be away of the following mapping. - - osg::Matrix::makeTrans(..)?\026 -> osg::Matrix::makeTranslate(..) - osg::Matrix::makeRot(..)?\026 -> osg::Matrix::makeRotate(..) - osg::Matrix::trans(..)?\026 -> osg::Matrix::translate(..) - - osg::Quat::makeRot(..)?\026 -> osg::Quat::makeRotate(..) - - Also updated the rest of the OSG distribution to use the new - names, and - have removed the old deprecated Matrix methods too. - -2001-12-12 15:09 robert - - * Fixed problems with osg::Matrix::makeRot(from,to) and - osg::Quat::makeRot(from,to) - so that they both use the same implementation (the Quat code now) - and the - code has been corrected to work from and to vectors which - directly opposite - to one another. - -2001-12-12 12:55 robert - - * Fixed problem with loading interleaved arrays in the .osg loader, - and corrected - a spelling mistake in osg::GeoSet. - -2001-12-12 05:09 don - - * Added translation and scaling to osgconv - -2001-12-11 17:00 don - - * Fixed Matrix::rotate( Vec3 from, Vec3 to); was using to X from to - derive - axis, which causes a left-handed rotation. Fixed to from X to. - -2001-12-11 16:00 robert - - * Fixed compilation problems under Windows due to changes in using - std::ostream etc. - -2001-12-11 11:22 robert - - * Removed the 'using namespace std' and replaced with more specific - 'using std::ostream' - this should help prevent polution of the global namespace with - std when including - these osg include files. - -2001-12-11 11:21 robert - - * Added :Referenced() to the osg::Camera(..) copy constructor to - prevent a warning - under Linux. - -2001-12-09 03:46 don - - * *** empty log message *** - -2001-12-04 22:57 robert - - * Added support for automatic deletion of osg::GeoSet's attributes, - via a - default AttributeDeleteFunctor which uses delete []. Users can - create - their own handlers for the attribute memory to override this - default - behavior. - - Fixed a typo in ReaderWriterOBJ.cpp. - -2001-12-04 20:38 robert - - * Various files which should have been checked in earlier but were - missed... - VisualStudio files for flt loader, and header files or Image and - Texture - for new osg::Texture::CLAMP_TO_EDGE and osg::Image::dirty. - -2001-12-04 19:41 robert - - * Updates to the flt loader, from Brede Johansen. - -2001-12-04 16:03 robert - - * Integrated Brede Johansen's updates to flt loader. - -2001-12-04 15:56 robert - - * Made a output message output as osg::DEBUG only. - -2001-12-04 12:34 robert - - * Commented out the code to force sgv to use ANAGLYPHIC_STEREO as - this should - not be the default, will add options to do this later. - -2001-12-04 12:31 robert - - * Improved support for anaglyphic stereo. - - Integrated texture CLAMP_TO_EDGE, submitted by Ulrich Hertlein. - -2001-12-02 22:20 robert - - * Beginings of support for quad bufferd, red/green, and slit screen - stereo. - -2001-12-02 08:59 don - - * Corrected a small booboo in preprocessor guard for header file in - GLU and - added Matrix::identity() to Matrix - -2001-11-30 20:53 robert - - * Fixed bug in osg::StateSet::merge(..) where the containers were - being - iterated from begin() to begin() rather than begin() to end(). - -2001-11-21 15:53 don - - * Small fix for preprocessor _MP symbol clash with MFC. - -2001-11-19 13:14 robert - - * Made the Warning font file not found message consistent with - other file not - found messages. - -2001-11-19 11:52 robert - - * Added DLL export to the internal classes in osgUtil::Optimize so - that the internal - classes can be used directly by client applications. - -2001-11-19 10:40 robert - - * Added warning report for when a font file cannot be found. - -2001-11-18 21:31 robert - - * Added osg::Image::dirtyImage() and setModifiedTag() to allow - external - updating of the image modified flag to be used in conjunction - with - texture subloading. - -2001-11-15 11:59 robert - - * Move the call to the manipulators before the scene app traversal - to that - any changes to the scene graph, such as adding an app callback - can be - seen by during the same frame. - -2001-11-14 15:53 robert - - * Fixes for windows compilation - -2001-11-14 15:52 robert - - * Fixed compilation problem under Wndows - -2001-11-14 15:32 robert - - * Fixed compilation problem under Wndows - -2001-11-14 14:10 robert - - * Added osgUtil::TransformCallback to help with rigid body - animation. - -2001-11-14 14:09 robert - - * Fixes for IRIX build. - - Updates to the osg::Transform, adding preMult and postMult - methods and - deprecating the old preRotate,preTranslate,preScale. - - Updated the rest of the OSG so that it nolonger uses the - deprecated - osg::Transform nodes. - - Renamed osgUtil::SceneView::setGlobalState() to - osgUtil::SceneView::setGlobalStateSet() so that the name reflects - its - functionality better. Updated osgGLUT::Viewer etc to cope with - new - name change. - -2001-11-12 10:04 robert - - * Added new files to cvs. - -2001-11-12 10:00 robert - - * Added src/osg/NodeCallback.cpp. - -2001-11-11 22:32 robert - - * Fixed compilation error in src/osgDB/FileUtils.cpp. - - Added support for nested NodeCallbacks, allowing them to be - chained together - so that multiple operations can be applied. - -2001-11-10 15:46 robert - - * Fixed osgUtil::Optimizer::FlatternStaticTransformsVisitor so that - the - apply(osg::LOD) scaled the ranges in addition to transform the - center - point and children. - -2001-11-10 13:36 robert - - * Fixed bug related to - osgUtil::Optimizer::FlatternStaticTransform::Visitor's - apply(Billboard& ) method which was apply the accumulated - transform to - the billbaord geometry when it should have been applying the - matrix without - the transform component. - -2001-11-09 15:06 robert - - * Added osgText::Paragraph which is a subclass from Geode which - composes a - list of text drawables as a paragraph block, handles breaking of - text into - individual lines automatically. - - Changed the osg::Node::setUserData so that the data type has to - be an - osg::Referenced, and removes the dependancy on - osg::MemoryAdapter. I have - done this since it simplifies the OSG side of the interface and - makes it - less like that the user might abuse the memory managment of the - data. It - does however mean that user data will have by subclassed from - Referenced, - and therefor may require users to have their own adapter to do - this. - However, this little nuasance is worth the extra cleaness and - robustness - afforded by going the osg::Referenced route. - -2001-11-09 15:01 robert - - * Fixed the findFileFile routine which had been broken by a fix of - a dlopen - problem - './' was added to all files which which directly found - without - requiring a search path rather than just locally found files, - this broke - file loads which had wern't local but had a valid path. I have - moved the - './' work around to inside fileDSO and made it only apply to - Linux as I - presume this is all it was needed for. Don? - -2001-11-08 13:50 robert - - * Fixed the IntersectVisitor which was broken by a recent patch to - catch parallel - line and traingle combinations. - -2001-11-07 12:42 robert - - * Added a dirtyBound() to osgUtil::Optimizer. - Corrected mispelling of alignment is osg::Text and the osgtext - demo. - Added guards for divide bu zero's to osg::IntersectVisitor. - -2001-11-06 11:36 robert - - * Fixed inlcude/BoundingBox to compile under Windows. - -2001-11-06 11:07 robert - - * Fixed inlcude/Math to compile under Windows. - -2001-11-06 10:34 robert - - * Added methods to support isNaN,isInfinte and valid to osg::Vec* - and osg::Math, - and added a guard to IntersectVisitor which uses these new - methods to prevent - invalid segments being added. - -2001-11-04 19:29 robert - - * Integrated updates to stats sent in my Geoff Michel. - -2001-11-02 21:20 don - - * Fixed findFileInPath to prepend ./ if file is in local directory. - This was - needed by dlopen() for dso's in the current directory - -2001-11-02 20:11 robert - - * Updates to Makefiles to include osgText. - Also a couple of undefined methods in osgText::Text have been - added. - -2001-11-02 12:26 robert - - * Updated index.html with dependacy info about the new osgText - library. - Modified osg/Drawable::draw(..) so that it uses display list - COMPILE - rather than COMPILE_AND_EXECUTE to solve performance problems - under - NVidia drivers. The old behavior is still available by comments - out - a #define. - Fixed the default compilation list src/osgPlugins/Makefile so - that it - compiles by defalt png and gif. - -2001-11-01 16:35 robert - - * Updates to the flt loader from Brede Johansen. - -2001-11-01 15:13 robert - - * Updates to osgText to fix a crash on ikart.tff font available - under Linux, the - bug was related to texel padding of the height not be accounted - for in texture - size calculation, but was used during populating the image data - causing a - mismatch. - -2001-10-31 22:35 robert - - * Added missing config.h file to src/osgPlugins/lib3ds. - -2001-10-31 20:04 robert - - * Added a bool paramter to osg::StateSet::compare(const StateSet& - rhs,bool compareAttributeContents=false) const; - to allow it to use different comparison schemes, now it can use - checking for pointer equality (the default) - or attribute contexts. This has been added to assist optimization - of databases within the flt loader, but - also could be useful for other operations too. - -2001-10-31 18:33 robert - - * Updated the lib3ds plugin with the new 1.1 version of lib3ds. - -2001-10-31 12:27 robert - - * Update to osgText to get things compiling under Windows. - -2001-10-31 11:41 robert - - * Update osgText.dsp to define FTGL_STATICLIBRARY to prevent it - compiling - the as a seperate library and producing linkage warnings. - -2001-10-31 10:20 robert - - * Updated the FTGL implemention in osgText to FTFL1.1. - -2001-10-30 19:23 robert - - * Further updates to the ReaderWriter support in osgDB, and a fix - to a small warning - in Matrix.cpp. - -2001-10-30 14:20 robert - - * Added support for ReadResult and WriteResult to the - osgDB::ReaderWriter - to allo plugins to pass back more information about the success - or failure - of a file load. All plugins have been updated to the new - convention. - -2001-10-29 19:29 robert - - * Changed a #define ... (GLenum) 0x84fe to 0x84FE to fix problems - under MacOS9 - build. - -2001-10-29 12:22 robert - - * Ran to_unix over src/Demos/osgtext/main.cpp to try and fix some - return type - problems reported under Windows. - -2001-10-29 12:19 robert - - * Added missing src/osgText/Version.cpp file. - -2001-10-25 01:11 bryan - - * Imposter.cpp added to the project - -2001-10-25 00:49 bryan - - * Changed the int to a GLint because of the differences within - mac/win32/linux versions of gl.h. - -2001-10-25 00:45 bryan - - * sgv is almost working - -2001-10-24 23:15 robert - - * Completed work on osgText compilation under Win32. We now - have fonts under Wndows and Linux :-) - -2001-10-24 22:29 robert - - * Updates to the visual studio files for osgText. - -2001-10-24 19:48 robert - - * Updates of osgDB/FileUtils to fix compilation problems under - Win32 - -2001-10-24 13:46 robert - - * Updates to osgText. - -2001-10-24 12:53 robert - - * Updates to osgText and osgDB so that the loading of text fonts - can use - osgDB::findFile() to locate font files from the OSGFILEPATH - environmental - variable. - -2001-10-24 09:41 robert - - * Updated FTGL version to 1.0 and removed a couple of warnings in - the osgText demo. - -2001-10-24 09:08 robert - - * Updated the osgText implemention, now works under Linux. - -2001-10-23 23:23 don - - * Added stat.c - -2001-10-23 23:15 don - - * One last change needed to makedefs.linux to sync Linux and Irix - pfb loader - -2001-10-23 23:10 don - - * Fixed pfb loader functionality for IRIX - -2001-10-23 22:59 don - - * Fixed pfb loader so that it works for both Linux and IRix with - dynamic - libraries, and provides support to load (almost) all that - Performer loads. - -2001-10-23 22:28 robert - - * Further work on getting osgText compiling. - -2001-10-23 22:12 robert - - * Removed old .cc versions of FT font code. - -2001-10-23 22:09 robert - - * Adding in new .cpp versions of FT font code. - -2001-10-23 22:08 robert - - * Updates to the new osgText library to get it to compile under - Linux. - -2001-10-23 20:04 robert - - * Converted FTGL files from mac style return to unix style. - -2001-10-23 19:51 robert - - * First past integrat of Max Rhiener work on wrapping FTGL to - create osgText - library and demo. - -2001-10-23 15:55 robert - - * Added new osgGLUT::Window base class which is very basic right - now, all it does - is bring up a GLUT window and provide virtual functions from - which users should - subclass to add functionality. - -2001-10-22 22:02 robert - - * Integrated Geoff Michel's updates to Stats code, whilest move all - text rendering - back in the viewer from the Statistics header. - - Added a osg::State::captureCurrentState(StateSet&) method and a - copy constructor - to osg::StateSet. - -2001-10-21 21:27 robert - - * Moved all #include "osg/.." references to #include to - aid port to - MacOS. - -2001-10-20 20:26 robert - - * Added support for an osgUtil::SceneView::init() traversal which - is called once - per scene view. The user can attach a NodeVisitor to do init for - them, or - leave it to the default which is to use the - osgUtil::DisplayListVisitor - which compiles all display lists and texture objects. The init - traversal - is called automatically by the first call to either app() or - cull(), so - should not be called by user code during initialization. This - ensures - that a valid graphics context has been established before OpenGL - is initialized. - - osgUtil::DisplayListVisitor has also been updated to use a bit - mask for options, and the addition of - compilation of texture objects (via StateAttribute::compile) has - also been - added. - -2001-10-20 09:48 robert - - * Added #ifdef to Performer ReaderWriterPFB so that pfdLoadFile is - used under - IRIX and pfdLoadFile_pfb is used under Linux. - -2001-10-19 15:53 robert - - * Removed Lighting.cpp from repository, it is nolonger used and was - just hanging - around erroneously. - -2001-10-19 15:30 robert - - * Updated the osgUtil::Optimize so that the call to - Optimize::StateVisitor is - #ifdef out under Win32 and STL port isn't being used. This - prevents crashes - due to MS's flacky STL implementation. - -2001-10-19 14:22 robert - - * Added osgUtil::Optimizer which contains four visitor each - designed for doing - different types of optimization on the scene graph - state - optimization, - flattening static transforms, combining LOD's and removing - redundent groups. - The new Optimizer replaces the once seperate - OptimizerStateVisitor. - -2001-10-19 12:56 robert - - * Added support for specifying whether view frustum and small - feature culling - should be applied to a node or its child with the new - osg::Node::setCullingActive() - flag. A mechanism has been implemented so that if child has its - culling disabled - then their parents, all the way up to the root are also have - their culling - implicitly disabled. - - The osg::CullVisitor has updated to take account of - both the explicit control via setCullingActive and the implicit - culling - disabling through children being disabled. - - This feature is useful for nodes which don't have a bounding - volume to cull - against, earth sky implementations and light sources. - - The default osg::Node::_cullingActive is true, i.e. culling is - enabled by - default. - -2001-10-17 22:17 don - - * Fixed static libraries in madefs.linux and error in - ReaderWriterPFB.cpp - -2001-10-16 22:30 bryan - - * Update the tree to my version of the project file (I thought it - was already in) - - Hang glide demo works - - sgv is still being fixed - -2001-10-16 21:47 robert - - * Reverted Bryan's changes to FrameStamp w.r.t std::tm structure - which doesn't - compile under Win32 and IRIX. Will need to find another solution. - -2001-10-16 21:32 bryan - - * This was the old project file. It's no longer used. - -2001-10-16 20:56 bryan - - * *** empty log message *** - -2001-10-16 18:39 robert - - * Fixes for IRIX build - submitted by Randall Hopper. - -2001-10-16 16:48 robert - - * Fixes for Win32 compilation. - -2001-10-16 15:03 robert - - * Fixed then normal smoothing function in the .3ds loader and the - osgUtil::SmoothingVisitor so that unused normals at left at 0,0,0 - insead - of being normalized, which results in (nan,nan,nan). - -2001-10-16 14:24 robert - - * Completed implementation of a the new CombineLODsVisitor, ideal - for use with - the .flt loader. Code is stuff currently in sgv, but will be - moved out once - more testing has been done. - -2001-10-16 10:04 robert - - * Added support for transforming LOD and Billboard centers to the - OrientationConverter and the flattenTransformVisitor in sgv. - -2001-10-16 10:03 robert - - * Modified Veiewer.cpp so that when toggling the light with 'l' the - light can - be overrided to off and overrided to on, previoulsy it only - overrided to off. - -2001-10-16 08:24 robert - - * Fixed problem caused by ReaderWriterPFB::writeNode(..) not - ensuring that the - file extension was .pfb. Have added a check. - -2001-10-16 03:59 don - - * added float *() operator to Vec{2,3,4} so we can pass Vec3's - directly to - OpenGL glVertex?fv(). - -2001-10-15 15:50 robert - - * Fixes for compilation under IRIX, submitted by Randal Hopper, - with mods - from Robert. - -2001-10-15 14:29 robert - - * Made the new global state attribute instances in osg::State use - osg:ref_ptr - to automatically handle the memory deletion. - -2001-10-15 14:07 robert - - * Added support for automatic creation of global StateAttributes to - osg::State, - these global attributes are created by cloning any attributes - which are - applied during rendering, the clone in a shallow copy, which will - set up - default valus for that attribute. This should prevent attribute - bleed - from one stateset to the next when the global StateSet doesn't - contain - an attribute used within the scene graph. - -2001-10-15 11:18 robert - - * Fixed rotations to account to the fixes made to Quat and Matrix - related to - right hand rule rotation. - -2001-10-15 08:40 robert - - * The writeImage/Object/Node methods in the .osg and .pfb - reader/writer didn't - have the new ReaderWriter::Options* structure passed to them, - which meant the - the virtual functions didn't bind with the new base class methods - and wern't - called on a write. - -2001-10-15 03:32 don - - * Updated pfb loader to load pfb files into osg. Still broken for - loading osg - files into Performer, however. - -2001-10-14 17:54 robert - - * Added osgDB::ReaderWriter::Options class to the ReaderWriter base - class, support - for settings options in osgDB::Registry, and added the paramter - to all of the - reaader/writer plugins. The Options structure by default has an - string attached - for packing basic options, however, it also can be subclassed to - encapsulate - any users defined option data. In the later case both the client - code *and* - the plugin need to be aware of subclass, the plugin will need to - use - dynamic_cast<> to assertain its type. - -2001-10-14 16:56 robert - - * Added OrientationConverter.cpp to the VisualStudio project files - for osgconv. - -2001-10-14 16:55 robert - - * Changed the OrientationConverter.cpp's to have consitent - captilization as its - associated header file. - -2001-10-14 14:23 robert - - * Fixed TransformFunctor code so that it now uses the inverse of - the - transformation matrix to transform the normal. - -2001-10-14 14:23 robert - - * Fixed a bug in Matrix::invert(..) which did not set - full_realised=true, - so that one Matrices which had not previously be initialized - we're - erronously initialized later in the code resetting it to - identity. - -2001-10-14 09:58 robert - - * Added osg::StateSet::merge(const StateSet& rhs) merges merges the - modes and - attributes of rhs into 'this' stateset. - -2001-10-14 09:57 robert - - * Fixed the Flight and Drive manipulators to work with the updated - Matrix::rotate - code. - -2001-10-14 06:01 don - - * Fixed a small boo-boo in definition of bit masks in - include/osg/Drawable - - Fixed incorrect normal conversions for osgconv. - -2001-10-14 05:33 don - - * Mr. O added fancy, shmanzy C++ code, but broke normal transform - functionality - Fixed. - -2001-10-14 05:14 don - - * Quick 'n dirty fix to TrackballManipulator to get the rotations - doing the - right things after the Quat fixes. - -2001-10-14 04:50 don - - * Cleaned up some 'make clobber' issues in root Makefile - -2001-10-14 04:28 don - - * Quaternions were assigning inverted values during conversion to - matricies. - This is probably due to an error on the gamasutra web page - demonstrating this. - It caused left-handed rotations rather than right handed - rotations. Should be - fixed now. - -2001-10-13 11:16 robert - - * Changed the naming and calling convention of the new - Drawable::AttributeFunctor - and have updated GeoSet to use mutable values for the _numverts - etc, allowing - osg::GeoSet::computeNumVerts() to be a const operation. - osg::GeoSet::getNumVerts - is now a const once more, so avoiding compilation problems. Also - chaned the new - osgconv orientation code to use a Drawable::AttributeFunctor so - it can work on - other Drawables other than just GeoSets. - -2001-10-13 09:48 don - - * Added Mr. Osfields dynamic_cast<> and test for validity test. - -2001-10-13 08:34 don - - * backed out right-handed coordinate transform for - makeRot(vec3,vec3) in Quat.cpp - -2001-10-13 08:32 don - - * A few more clean ups - -2001-10-13 07:41 don - - * Cleaned up the usage message - -2001-10-13 07:24 don - - * Updated osgconv to be able to handle orientation swapping. - -2001-10-13 06:23 don - - * Changed some routines to produce right-handed rotations. - -2001-10-13 06:22 don - - * checking files in to move development location - -2001-10-13 01:28 don - - * Removed personal note in Matrix header file - -2001-10-12 20:06 robert - - * Added support for the new AttributeUpdateFunctors. - -2001-10-12 20:05 robert - - * Added != method to Vec2,Vec3,Vec4 and did further work on the - AttributeUpdateFunctors. - -2001-10-12 17:45 don - - * Added include/osg/Math to Makefile TARGET_INCLUDE_FILES and fixed - references - to _mat in ConvertToPerformer.cpp - -2001-10-10 20:20 robert - - * Added support for DYNAMIC/STATIC osg::Transform types and added - new osg::Drawable::getStats - and supportsAttributeUpdate(..) and applyAttributeUpdate(...) - methods which will - be to enable hooks into Drawable subclasses. - -2001-10-10 14:38 robert - - * Fixed spelling of osg::GeoSet::getNumInterleavedIndices, was - missing a 'n'! - -2001-10-09 21:55 robert - - * Fixed a crash when opening an erroneous test file (reopen.bmp). - -2001-10-09 20:22 robert - - * Updated to fix build problems under MSVC. - -2001-10-09 20:09 robert - - * Updated MSVC Workspace files to fix build problems. - -2001-10-09 20:03 robert - - * Updated MSVC Workspace files to fix build problems. - -2001-10-09 14:18 robert - - * Merged Ben Discoe's clean up of the MSVC files. - -2001-10-09 11:58 robert - - * Merged updates to BMP plugin from Geoff Michel. Also modified a - little of the - code to fix a crash under Linux, Robert Osfield - -2001-10-08 19:01 robert - - * Put the makedefs.linux back to default to optimize. - -2001-10-08 15:54 robert - - * Fixed a recently introduced crash in the flt plugin which was - happen when a - std::string was be be set with NULL char*. Also added support for - stripping - the filename from its original path, inside the osgDB::findFile - function. - -2001-10-08 08:35 robert - - * Added support for using osgDB::fineFile into the .flt plugin. - -2001-10-07 20:10 robert - - * Merged Geoff Michel's udpdates to bmp plugin, and fixed a double - fclose bug - which was causing a seg fault under Linux. - -2001-10-06 20:29 robert - - * Added a osg::DegreesToRadians() and osg::RadiansToDegrees() - method to osg/Math, - updated the ReaderWriterBMP.cpp (mods sent in my Geoff Michel) - and - moved the osgUtil::Statistics to osg::Statistics in preperation - to adding it - to the the Drawable base class. - -2001-10-05 19:55 robert - - * Added bmp plugin files, bmp plguin written by Geoff Michel - -2001-10-05 10:39 robert - - * Added bmp osgPlugin, written by Geoff Michel. - -2001-10-05 10:38 robert - - * Fixed a bug in osg::Image::ensureDimensionsArePowerOfTwo() which - only - scaled dimensions if *both* axis wern't a power of two, have - fixed it - to rescale if either of the axis arn't a power to two. - -2001-10-05 01:27 bryan - - * *** empty log message *** - -2001-10-04 16:49 robert - - * Added the Copyright message to the top of osgWX, with Ben Disoe's - name as - he wrote all the code. - -2001-10-04 15:12 robert - - * Added a copyright notice to all core headers, which all begin - with - //C++ header to help scripts and editors pick up the fact that - the - file is a header file. - -2001-10-04 14:39 robert - - * Changed the ordering of comparing modes and attributes in - osg::StateAttribute::compare() as part of an investigration into - state sorting. - -2001-10-04 14:35 robert - - * Added an implemention of basic state sorting to the RenderBin, - but have commented - out the sort operation as Peformance benifit is currently - negligable, will need - to improve on the sort functor to see real benifits. - -2001-10-04 14:25 robert - - * Added extra precision to the app,cull and draw timings in the - Viewer. - -2001-10-04 14:20 robert - - * Removed some notify which were only used for debugging of the - camera class - and are now redudent. - -2001-10-04 14:10 robert - - * Changed the numeric ordering of StateAttributes Types, as part of - an - investigation into state sorting. - -2001-10-03 21:44 robert - - * Integrated changes for MacOSX, submitted by Phil Atkin, with - small mods by - Robert Osfield to maintain compatability under Linux. - -2001-10-03 07:56 robert - - * Added missing EarthSky.cpp file to osg plguin. - -2001-10-02 15:59 robert - - * Added include/osg/EarthSky and src/osg/EarthSky to cvs. - - Also move osg across to using radians for angular paramters by - default. - By defining USE_DEGREES_INTERNALLY you can get the OSG to revert - to - the old style degrees. This later feature is deprecated and only - meant - for helping comptability in the interim. - -2001-10-02 11:36 robert - - * Added osg::EarthSky node to the core osg library, and added - support for it into - osgUtil::SceneView, osg::CullVisitor, osgPlugin/osg and updated - the hangglide - demo to use the new earth sky node. - -2001-10-01 23:02 robert - - * Added support for osg::StateSet comparison operators and using - this new feature - added support in osgUtil::OptimizeStateVisitor for removing - duplicate - StateSet's from the scene graph, previously only duplicated - StateAttributes - we're removed. - -2001-10-01 12:06 robert - - * Integrated a bug fix to osg::TexMat from Geoff Michel which adds - a - glMatrixMode( GL_MODELVIEW ); after the setting of the texture - matrix. - Previously the texture matrix mode could run into normal model - view - matrix operations which were assuming the defaul of GL_MODELVIEW. - -2001-10-01 11:15 robert - - * Made spelling corrections, the spelling mistakes picked up by a - script - written by Neil Salter. - - script - -2001-09-30 20:41 robert - - * Interegrated changes to Timer from Neil Salter to fix compilation - problems which had been introduced by doing #include's within the - osg namespace. - -2001-09-29 18:34 robert - - * Added setAttributeAndModes(new Depth,StateAttribute::ON); - to the StateSet::setGlobalDefault() so that the correct default - for the glDepthFunc etc are set up for scene graphs, and allows - override of these value which risk of inheriting state on to the - rest of the scene graph. - - This has allowed the hangglide demo to be simplified since it now - doesn't need to set the global Depth instance itself. - -2001-09-29 09:37 robert - - * Modified the Matrix multiple method added by Don so it is safer - and added comments explaining why it shouldn't be needed as other - more efficient methods should be doing the work for us. - - Also added Matrix::ensureRealized() to support the lazy - initialization of Matrix, whilest keeping the implementation - robust so that external calls to Matrix which get values do so on - an initialized matrix. - -2001-09-29 02:48 don - - * Added operator * (Matrix &) to Matrix (header) and - operator [] to reference matrix elements. - -2001-09-28 20:10 robert - - * Made spelling corrections to osg include files, spelling mistakes - detected by a script written by Neil Salter which analyses - comments for mistakes. - -2001-09-28 19:36 don - - * Cleaned up inst rules a bit... - -2001-09-28 16:56 robert - - * *** empty log message *** - -2001-09-28 12:36 robert - - * *** empty log message *** - -2001-09-27 16:34 robert - - * *** empty log message *** - -2001-09-27 09:44 robert - - * *** empty log message *** - -2001-09-26 12:23 anonymous - - * *** empty log message *** - -2001-09-25 17:56 robert - - * *** empty log message *** - -2001-09-22 02:42 don - - * Synch with 20010921 - -2001-09-22 02:04 don - - * Added files to keep cvs from removing empty directories lib and - lib/osgPlugins - -2001-09-20 01:07 don - - * Added place holder README files to lib/README and - lib/osgUtil/README so - empty directories will not be removed by CVS - -2001-09-20 00:59 don - - * Removed Makedepend files - -2001-09-20 00:48 don - - * Addec binary files with -kb - -2001-09-20 00:47 don - - * Removed should be binary entries. Well r-add with -kb - -2001-09-20 00:07 don - - * Added ico files with -kb flag - -2001-09-20 00:06 don - - * Trying to clean up binary commits - -2001-09-19 23:56 don - - * Added these with the -kb flag now. - -2001-09-19 23:55 don - - * Cleaning up binary commits - oops - -2001-09-19 23:52 don - - * 1) new implementation of the osg::Matrix class. Note details - below. - 2) cleaned up osg::Timer, still in progress. My intent has been - to - pave the way for support for other OS's. - 3) new osg::FrameStamp class which has a frame number, reference - time for each frame to be app, culled and drawn. The FrameStamp - also can be passed to other machines (i.e. cluster) and the - FrameStamp can be used with the slaves own app,cull and draw. - I've also added the beginings of a calander time data to the - FrameStamp to allow time or day and year to be used in setting - up position of sun/moon etc. etc. - 4) The osg::State now has contains a pointer to the last applied - osg::Camera and the current osg::FrameStamp, so that drawables - can use both pieces of information for creating effects such - CLOD, earth/sky etc. The osg::NodeVisitor also now allows you - to attach a FrameStamp to support syncronization of actions on - the scene graph. - -2001-09-19 23:46 don - - * o Added osgUtil::StateOptimizeVisitor which traversing the scene - graph and builds up a map of all StateAttributes and StateSets - and then removes the duplicates. This promotes state sharing - throughout the scene graph which inturn can significantly improve - performance thanks to reduced state changing. Particularily - effective on datasets where a great deal of duplicated state - exists. - o Added pure virtual compare(const osg::StateAttribute&) - method to osg::StateAttribute, and implemented it in all the - subclasses from StateAttribute. Added <,== & != operator - on StateAttribute and Matrix to support new StateOptimizeVisitor. - o Added META_Object, META_Node and META_StateAttribute macros to - Object, Node and StateAttribute respectively which define the - standard pure virtual methods such as clone, className - & isSameKindAs. Changed all the appropriate header files to - use these macro's rather define them in each header, these cleans - up the headers considerably. - o Corrected the implementation of osg::Light::getType so it - correctly - uses a unique type for each of the OpenGL lights (GL_LIGHT0.. - GL_LIGHT7 relates to osg::StateAttriburte::LIGHT_0..LIGHT_7. - o Changed the definition of osg::StateStateAttribute::Type to - is now a unsigned int rather than an enum, and have changed the - name of the previous Type enum list to be Types. This makes it - more consistent with the difination of values found in - StateAttribute - and also easier to extend with having to cast to an enum. - o From Pail Fredrikson, updated Maitrx.new implemention which - uses - the same matrix orientation as the original Matrix implemention. - -2001-09-19 23:41 don - - * o Updated Metrowerks files for MacOS. They aren't 100% there yet, - but getting there. - - o First cut of osgcluster demo. Very simple beginings. Alas - I only one PC here so I can't test it in its current guise. - - o New support for NodeCallbacks, via AppCallback attached to - osg::Node's, and a default osgUtil::AppVisitor which calls them - on - each frame. - - o Support for traversal masks in osg::NodeVisitor, osg::Node - which allows nodes to be switched on or off via a bit mask. - - o Suppport for traversal number (frame number) and reference time - into osg::NodeVisitor to handle syncronization of app and cull - traversals. This also assist clustering as traversal number - master to slaves. - -2001-09-19 23:21 don - - * 0.8.42 sync - -2001-09-19 21:51 don - - * Removed files.... synching witn 0.8.42 - -2001-09-19 21:41 don - - * And yet more clean up synch with 0.8.42 - -2001-09-19 21:19 don - - * More clean up for synch with 0.8.42 - -2001-09-19 21:10 don - - * Added acompole more - -2001-09-19 21:08 don - - * Added a bunch of files synched with 0.8.42 - -2001-01-12 17:34 don - - * Removed Makedepend for osg repository. No Makedepends should be - in the - repository - -2001-01-10 17:19 don - - * Fixed the findDSO error which excluded PATH on win32 and - LD_LIBRARY_PATH in - UNIX. - -2001-01-10 16:32 don - - * Initial revision - -2001-01-10 16:32 - - * New repository initialized by cvs2svn. +Wed, 10 Jan 2001 16:32:10 +0000 +Checked in by : Don BURNS +Initial revision +Wed, 10 Jan 2001 16:32:10 +0000 +Checked in by : Robert OSFIELD +New repository initialized by cvs2svn.